Skip to content

Commit 255ca92

Browse files
committed
Merge branch 'main' into copilot/update-documentation-for-actions-run
2 parents 7fd205d + 2b46dca commit 255ca92

File tree

967 files changed

+140014
-3728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

967 files changed

+140014
-3728
lines changed

.github/copilot-instructions.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@ Mission: Build the "Post-SaaS Operating System" — an open-core, local-first ec
2525
## 📘 1. The Metamodel Standards (Knowledge Base)
2626

2727
### **A. DATA PROTOCOL (`src/data/*.zod.ts`)**
28-
*Core Business Logic & Data Model*
28+
*Core Data Model*
2929

3030
* **Field (`src/data/field.zod.ts`)**:
3131
* **Type Enum**: `text`, `textarea`, `number`, `boolean`, `select`, `lookup`, `formula`, ...
3232
* **Props**: `name` (snake_case), `label`, `type`, `multiple` (Array support), `reference` (Target Object).
3333
* **Object (`src/data/object.zod.ts`)**:
3434
* **Props**: `name` (snake_case), `label`, `fields` (Map), `enable` (Capabilities: `trackHistory`, `apiEnabled`).
35-
* **Flow (`src/data/flow.zod.ts`)**: Visual Logic Orchestration (`autolaunched`, `screen`, `schedule`).
36-
* **Logic**: `validation.zod.ts` (Rules), `permission.zod.ts` (ACL), `workflow.zod.ts` (State Machine).
35+
* **Validation**: `validation.zod.ts` (Rules).
3736

3837
### **B. UI PROTOCOL (`src/ui/*.zod.ts`)**
3938
*Presentation & Interaction*
@@ -56,6 +55,20 @@ Mission: Build the "Post-SaaS Operating System" — an open-core, local-first ec
5655
* **API (`src/system/api.zod.ts`)**: REST/GraphQL Endpoint Definitions.
5756
* **Translation (`src/system/translation.zod.ts`)**: Internationalization (i18n).
5857

58+
### **D. AUTOMATION PROTOCOL (`src/automation/*.zod.ts`)**
59+
*Business Logic & Orchestration*
60+
61+
* **Flow (`src/automation/flow.zod.ts`)**: Visual Logic Orchestration (`autolaunched`, `screen`, `schedule`).
62+
* **Workflow (`src/automation/workflow.zod.ts`)**: State Machine & Approval Processes.
63+
* **Trigger (`src/automation/trigger-registry.zod.ts`)**: Event-driven Automation.
64+
65+
### **E. AI PROTOCOL (`src/ai/*.zod.ts`)**
66+
*Artificial Intelligence & Agents*
67+
68+
* **Agent (`src/ai/agent.zod.ts`)**: Autonomous Actors (`role`, `instructions`, `tools`).
69+
* **RAG (`src/ai/rag-pipeline.zod.ts`)**: Retrieval Augmented Generation (`indexes`, `sources`).
70+
* **Model (`src/ai/model-registry.zod.ts`)**: LLM Configuration & Routing.
71+
5972
---
6073

6174
## 🛠️ 2. Coding Patterns

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: pnpm --filter @objectstack/spec test:coverage
5353

5454
- name: Upload coverage reports
55-
uses: actions/upload-artifact@v4
55+
uses: actions/upload-artifact@v6
5656
with:
5757
name: coverage-report
5858
path: packages/spec/coverage/
@@ -110,7 +110,7 @@ jobs:
110110
echo "Build outputs verified successfully"
111111
112112
- name: Upload build artifacts
113-
uses: actions/upload-artifact@v4
113+
uses: actions/upload-artifact@v6
114114
with:
115115
name: build-output
116116
path: |

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
uses: actions/checkout@v4
3131

3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v3
33+
uses: github/codeql-action/init@v4
3434
with:
3535
languages: ${{ matrix.language }}
3636
queries: security-and-quality
3737

3838
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v3
39+
uses: github/codeql-action/autobuild@v4
4040

4141
- name: Perform CodeQL Analysis
42-
uses: github/codeql-action/analyze@v3
42+
uses: github/codeql-action/analyze@v4
4343
with:
4444
category: "/language:${{matrix.language}}"

.github/workflows/pr-automation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Add size label
16-
uses: codelytv/pr-size-labeler@v1.10.1
16+
uses: codelytv/pr-size-labeler@v1.10.3
1717
with:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919
xs_label: 'size/xs'

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Close stale issues and PRs
19-
uses: actions/stale@v9.0.0
19+
uses: actions/stale@v10.1.1
2020
with:
2121
repo-token: ${{ secrets.GITHUB_TOKEN }}
2222

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ next-env.d.ts
7070
# Fumadocs
7171
.source/
7272
apps/*/. source/
73-
apps/*/.next/
73+
apps/*/.next/docs/
74+
docs/

0 commit comments

Comments
 (0)