@gencode/web 0.7.0 → 0.7.2

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 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @gencode/web
2
2
 
3
+ ## 0.7.2
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
+ - 0521d16: fix: edit_file tool supports files with mixed line endings
10
+
11
+ Fix edit_file tool failing with "old_string not found" when file uses CRLF (`\r\n`) line endings but the model returns `old_string` with LF (`\n`) line endings.
12
+
13
+ The tool now normalizes line endings automatically, ensuring it works correctly with both Windows and Unix formatted files.
14
+
15
+ - b7e60a9: 工具执行完成后,`tool_end.details` 现在会作为结构化 JSON 数据通过 callback/websocket 提供给 UI,并写入 `.aimax/sessions/<sessionId>/transcript.jsonl` 的 `tool_result.details`,便于页面展示、会话回放与审计。结构化 `tool_end.output` 不再重复包含顶层 `details`;该字段在当前轮和历史恢复的模型请求边界也会被移除,模型仍只接收工具的 `content`。
16
+ - Updated dependencies [f943d95]
17
+ - Updated dependencies [e8238b3]
18
+ - Updated dependencies [0521d16]
19
+ - Updated dependencies [b7e60a9]
20
+ - @gencode/console@0.7.2
21
+ - @gencode/shared@0.7.2
22
+
23
+ ## 0.7.1
24
+
25
+ ### Patch Changes
26
+
27
+ - 0f9d5da: Agent Team 的协调提示词现使用英文,并要求协调 Agent 将成员职责可覆盖的实质性工作优先委派给团队成员;运行时会在 SubAgent 工具中提示精确成员选择和并行/串行协作方式。直接完成仅适用于简单答复、没有匹配成员或委派不可用的情况。
28
+ - c562e03: CRON 定时任务现在支持通过 `--parent-session-id <主会话ID>` 关联来源会话。调度器省略 `--session-id` 后,每次触发都会在 `.aimax/crons/<执行会话ID>/` 创建独立 transcript 和日志;callback 与 websocket 的 `sessionId` 表示本次执行,`parentSessionId` 表示来源主会话。生产调度配置需停止把主会话 ID 作为 `--session-id` 传入。
29
+ - Updated dependencies [0f9d5da]
30
+ - Updated dependencies [c562e03]
31
+ - @gencode/console@0.7.1
32
+ - @gencode/shared@0.7.1
33
+
3
34
  ## 0.7.0
4
35
 
5
36
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gencode/web",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -13,8 +13,8 @@
13
13
  "CHANGELOG.md"
14
14
  ],
15
15
  "dependencies": {
16
- "@gencode/console": "0.7.0",
17
- "@gencode/shared": "0.7.0"
16
+ "@gencode/console": "0.7.2",
17
+ "@gencode/shared": "0.7.2"
18
18
  },
19
19
  "devDependencies": {},
20
20
  "scripts": {