@gencode/server 0.4.5 → 0.4.6

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @gencode/server
2
2
 
3
+ ## 0.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - f943d95: 使用 `aimax run --channel CRON --parent-session-id <主会话ID>` 启动的定时任务,在继续把完整执行记录保存到 `.aimax/crons/<执行会话ID>/` 的同时,会在成功或失败终态把一条最终结论追加到 `.aimax/sessions/<主会话ID>/transcript.jsonl`。同一执行会话只追加一次;来源主会话不存在时任务会明确失败,避免创建无法展示的空壳会话。
8
+ - e8238b3: 新增显式最终产物登记:每个新的 root run 都应调用且只调用一次 `record_artifacts`,将已校验的文件或 URL 累计写入 Session 的 `artifacts.json` V2;没有产物时传入 `{ "artifacts": [] }`,历史轮次的调用不计入当前轮。漏调不会触发运行时终态门禁,也不会阻止运行成功结束;工具调用后的持久化失败仍会使运行失败。`--artifacts-url-whitelist` 按 hostname 限制 URL,未配置时允许全部域名。文件工具审计迁移到独立的 `changes.json` V1。运行结果、回调、WebSocket done 和 transcript 不再返回或推断 artifacts;Claude Code、Codex、OpenCode 与 Pi 通过各自运行时工具桥接登记,ACP 暂不支持。
9
+ - b7e60a9: 工具执行完成后,`tool_end.details` 现在会作为结构化 JSON 数据通过 callback/websocket 提供给 UI,并写入 `.aimax/sessions/<sessionId>/transcript.jsonl` 的 `tool_result.details`,便于页面展示、会话回放与审计。结构化 `tool_end.output` 不再重复包含顶层 `details`;该字段在当前轮和历史恢复的模型请求边界也会被移除,模型仍只接收工具的 `content`。
10
+ - Updated dependencies [875ff97]
11
+ - Updated dependencies [f943d95]
12
+ - Updated dependencies [e8238b3]
13
+ - Updated dependencies [0521d16]
14
+ - Updated dependencies [b7e60a9]
15
+ - @gencode/cli@0.18.2
16
+ - @gencode/agents@0.21.2
17
+ - @gencode/uni@0.4.2
18
+
3
19
  ## 0.4.5
4
20
 
5
21
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gencode/server",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "aimax-server": "./dist/bin.js"
@@ -19,9 +19,9 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@gencode/agents": "0.21.1",
23
- "@gencode/uni": "0.4.1",
24
- "@gencode/cli": "0.18.1"
22
+ "@gencode/agents": "0.21.2",
23
+ "@gencode/uni": "0.4.2",
24
+ "@gencode/cli": "0.18.2"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^22.0.0",