@gencode/server 0.4.4 → 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 +31 -2
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
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
+
19
+ ## 0.4.5
20
+
21
+ ### Patch Changes
22
+
23
+ - c562e03: CRON 定时任务现在支持通过 `--parent-session-id <主会话ID>` 关联来源会话。调度器省略 `--session-id` 后,每次触发都会在 `.aimax/crons/<执行会话ID>/` 创建独立 transcript 和日志;callback 与 websocket 的 `sessionId` 表示本次执行,`parentSessionId` 表示来源主会话。生产调度配置需停止把主会话 ID 作为 `--session-id` 传入。
24
+ - Updated dependencies [0f9d5da]
25
+ - Updated dependencies [c562e03]
26
+ - @gencode/agents@0.21.1
27
+ - @gencode/cli@0.18.1
28
+ - @gencode/uni@0.4.1
29
+
3
30
  ## 0.4.4
4
31
 
5
32
  ### Patch Changes
@@ -8,12 +35,14 @@
8
35
 
9
36
  Builtin memory projection now persists deterministic memory, session, recipe, target, and projected revisions in a versioned meta envelope. Freshness is true only when the persisted target revision equals the projected revision—not dirty flags or chunk counts. Concurrent sync, rebuild, affected, session, and recovery work share a single-flight scheduler so one manager never runs overlapping applies. Failed or partial applies keep the previous projected revision, surface error diagnostics, and recover on a later sync while search can fall back to canonical Markdown. Enabling or disabling session sources, changing the session store identity, or changing embedding recipe settings (provider/model key, chunk size/overlap, vector settings) invalidates the projection until a full-compatible sync repairs it; ranking-only overrides such as max results do not force a rebuild.
10
37
 
38
+ - Updated dependencies [82f4ca0]
39
+ - Updated dependencies [82f4ca0]
11
40
  - Updated dependencies [08214df]
12
41
  - Updated dependencies [12db0bf]
13
42
  - Updated dependencies [221dd2f]
14
43
  - Updated dependencies [766962b]
15
- - @gencode/agents@0.20.3
16
- - @gencode/cli@0.17.5
44
+ - @gencode/agents@0.21.0
45
+ - @gencode/cli@0.18.0
17
46
 
18
47
  ## 0.4.3
19
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gencode/server",
3
- "version": "0.4.4",
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.20.3",
23
- "@gencode/cli": "0.17.5",
24
- "@gencode/uni": "0.4.0"
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",