@nocobase/app-plugin-agents 0.1.0-beta.3 → 0.1.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/dist/database/migrations/.manifest.json +4 -0
- package/dist/database/migrations/202610100001_ag_index_run_event_types.d.ts +4 -0
- package/dist/database/migrations/202610100001_ag_index_run_event_types.d.ts.map +1 -0
- package/dist/database/migrations/202610100001_ag_index_run_event_types.js +17 -0
- package/dist/database/migrations/202610100001_ag_index_run_event_types.js.map +1 -0
- package/dist/package.json +1 -1
- package/dist/server/core/runs/run.service.d.ts +2 -2
- package/dist/server/core/runs/run.service.d.ts.map +1 -1
- package/dist/server/core/runs/run.service.js +8 -2
- package/dist/server/core/runs/run.service.js.map +1 -1
- package/dist/server/routes/admin.d.ts.map +1 -1
- package/dist/server/routes/admin.js +3 -3
- package/dist/server/routes/admin.js.map +1 -1
- package/dist/server/routes/schemas.d.ts +2 -1
- package/dist/server/routes/schemas.d.ts.map +1 -1
- package/dist/server/routes/schemas.js +10 -1
- package/dist/server/routes/schemas.js.map +1 -1
- package/dist/server/vendor/just-bash.js +117 -117
- package/package.json +10 -10
- package/skills/nocobase-app-plugin-agents/references/verification-and-troubleshooting.md +4 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@nocobase/app-plugin-agents",
|
|
3
3
|
"displayName": "Agents",
|
|
4
4
|
"description": "Agents for NocoBase applications: agents, the model services online agents call, their runs and conversations, and the runners people connect to run them (registration, the long-poll claim, slots, the sweeper, build jobs, and the runner and CLI tarballs the application serves).",
|
|
5
|
-
"version": "0.1.0-beta.
|
|
5
|
+
"version": "0.1.0-beta.4",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"prettier": "@nocobase/dev-config/prettier",
|
|
8
8
|
"engines": {
|
|
@@ -160,15 +160,15 @@
|
|
|
160
160
|
"react-router": "^7.0.2",
|
|
161
161
|
"recharts": "^3.8.0",
|
|
162
162
|
"remark-gfm": "^4.0.1",
|
|
163
|
-
"@nocobase/app-cli": "^1.0.0-beta.
|
|
164
|
-
"@nocobase/app-client": "^
|
|
165
|
-
"@nocobase/app-plugin-authentication": "^2.0.0-beta.
|
|
166
|
-
"@nocobase/app-plugin-authorization": "^1.0.0-beta.
|
|
167
|
-
"@nocobase/app-plugin-file": "^1.0.0-beta.
|
|
168
|
-
"@nocobase/app-server": "^2.0.0-beta.
|
|
163
|
+
"@nocobase/app-cli": "^1.0.0-beta.17",
|
|
164
|
+
"@nocobase/app-client": "^3.0.0-beta.0",
|
|
165
|
+
"@nocobase/app-plugin-authentication": "^2.0.0-beta.3",
|
|
166
|
+
"@nocobase/app-plugin-authorization": "^1.0.0-beta.26",
|
|
167
|
+
"@nocobase/app-plugin-file": "^1.0.0-beta.22",
|
|
168
|
+
"@nocobase/app-server": "^2.0.0-beta.3",
|
|
169
169
|
"@nocobase/authorization": "^1.0.0-beta.12",
|
|
170
170
|
"@nocobase/db": "^1.0.0-beta.18",
|
|
171
|
-
"@nocobase/i18n": "^1.0.0-beta.
|
|
171
|
+
"@nocobase/i18n": "^1.0.0-beta.6",
|
|
172
172
|
"@nocobase/markdown-mermaid": "^0.1.0-beta.1",
|
|
173
173
|
"@nocobase/service-provider": "^0.0.2-beta.1"
|
|
174
174
|
},
|
|
@@ -185,10 +185,10 @@
|
|
|
185
185
|
"react-dom": "^19.2.8",
|
|
186
186
|
"typescript": "^6.0.3",
|
|
187
187
|
"vitest": "^4.1.10",
|
|
188
|
-
"@nocobase/app-testing": "0.1.0-beta.
|
|
188
|
+
"@nocobase/app-testing": "0.1.0-beta.2",
|
|
189
189
|
"@nocobase/db-postgres": "0.1.0-beta.3",
|
|
190
190
|
"@nocobase/db-sqlite": "0.1.0-beta.4",
|
|
191
|
-
"@nocobase/dev-config": "0.1.0-beta.
|
|
191
|
+
"@nocobase/dev-config": "0.1.0-beta.21",
|
|
192
192
|
"@nocobase/jobs": "0.1.0-beta.2"
|
|
193
193
|
},
|
|
194
194
|
"scripts": {
|
|
@@ -22,6 +22,10 @@ Test what the App builds on the plugin, not the plugin itself. `@nocobase/app-pl
|
|
|
22
22
|
| Vectors | `vectors.status()` on `agentsToken`: availability, store and the `VectorUnavailableCode` |
|
|
23
23
|
| The runner itself | `nocobase-runner status`, `nocobase-runner logs -f [--run <id>]`, `~/.nocobase-runner/policy.json` |
|
|
24
24
|
|
|
25
|
+
## Filtering a run transcript
|
|
26
|
+
|
|
27
|
+
`GET /api/agents/runs/:runId/events` accepts repeated `type` query parameters (for example, `?type=text&type=input`). The generated `run events` command exposes repeatable `--type` flags. Values are raw protocol event types, not UI groups: `text`, `thinking`, `toolUse`, `toolResult`, `permission`, `input`, `checkout`, `status`, `error`, `usage`. Omitting the filter returns every type. The service equivalent is `agents.runs.events(runId, afterSeq, limit, types?)`. Filtering happens before pagination; retain the same types with `pageToken` or the returned `lastSeq`. These API/CLI filters are exact and do not automatically include errors. A UI that summarizes hidden events must load the complete history and filter locally.
|
|
28
|
+
|
|
25
29
|
## Troubleshooting
|
|
26
30
|
|
|
27
31
|
| Symptom | Cause and fix |
|