@gencode/web 0.5.9 → 0.6.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 +57 -2
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,10 +1,65 @@
1
1
  # @gencode/web
2
2
 
3
- ## 0.5.9
3
+ ## 0.6.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - @gencode/console@0.5.9
7
+ - bc161b3: Expose the current user data root on plugin hook context as `ctx.dataDir`. Plugin hooks can now distinguish the persistent AIMax data directory from the effective working directory exposed as `ctx.workspaceDir`, which may point to `--project-dir` when a run is scoped to a specific repository.
8
+ - d77a70b: 插件现在可以通过 `api.hitl.pause()` 发起持久化人工确认,并通过 `api.hitl.isPause()` 识别暂停信号。插件只需使用 `@gencode/plugin-sdk` 的类型,不再需要运行时引入 `@gencode/agents`;请求 ID、当前会话 ID 和创建时间由 AIMax 自动补齐,现有暂停、恢复与外部事件行为保持不变。
9
+ - Updated dependencies [bc161b3]
10
+ - Updated dependencies [d77a70b]
11
+ - @gencode/console@0.6.2
12
+
13
+ ## 0.6.1
14
+
15
+ ### Patch Changes
16
+
17
+ - @gencode/console@0.6.1
18
+
19
+ ## 0.6.0
20
+
21
+ ### Minor Changes
22
+
23
+ - 6717f94: Add `llm.headers` option to allow passing custom HTTP headers into every LLM request. Default AIMax headers (`Client-Code`, `X-Session-Id`, etc.) are preserved; entries in `llm.headers` are merged on top and can override defaults.
24
+
25
+ Usage:
26
+
27
+ ```json
28
+ {
29
+ "llm": {
30
+ "baseUrl": "https://api.example.com/v1",
31
+ "apiKey": "...",
32
+ "model": "...",
33
+ "headers": {
34
+ "Client-Code": "MyApp",
35
+ "X-Custom": "value"
36
+ }
37
+ }
38
+ }
39
+ ```
40
+
41
+ - 9ff9574: Add `api.yaml` to PluginApi, giving plugins direct access to the `yaml` module for parsing, stringifying, and manipulating YAML documents.
42
+
43
+ Plugins can now use `api.yaml.parse()`, `api.yaml.stringify()`, `api.yaml.Document`, and all other exports from the `yaml` npm package without adding their own dependency.
44
+
45
+ ### Patch Changes
46
+
47
+ - 0279e82: Default local memory is now built into the core: daily entries go to `.aimax/memory/YYYY-MM-DD.md`, structured `MEMORY.md` updates merge by section, and no plugin is required for the default provider path. Optional core capabilities—recall, capture, compaction recall, and Knowledge Controller—are configured via `memory.core` and remain off unless explicitly enabled (`memory.core.*.enabled`). CLI parses `AIMAX_MEMORY_KC_*` into structured `memory.core.knowledgeController` for agents. The `aimax-memory-plugin` continues to provide Mem0 Cloud, Mem0 OSS, and third-party memory provider overrides when selected through `plugins.slots.memory` in `plugins.json` or a file passed with `--plugins-config`, with plugin discovery configured through `plugins.load.paths`.
48
+ - 0279e82: The built-in memory provider now handles recent memory writes without requiring a plugin: daily entries are appended to `.aimax/memory/YYYY-MM-DD.md`, session entries use `.aimax/memory/session-<sessionId>.md`, and structured `MEMORY.md` updates replace matching sections while preserving unrelated sections. This keeps the default CLI memory path aligned with the local memory layout users already configure under `.aimax`.
49
+ - 0279e82: Require the public `goal` completion tool to submit a per-task acceptance report. A complete goal now needs `completedTasks` entries covering every required task and required acceptance criterion with evidence summaries and sources; AIMax records those entries as manual evidence before marking the workflow complete.
50
+
51
+ Goal continuation context now includes the required task and acceptance-criterion ids needed to build that completion report. Calls that omit required summaries, tasks, criteria, or evidence sources are rejected with structured errors such as `missing_summary`, `missing_completed_tasks`, `missing_required_completed_task`, `missing_required_acceptance_evidence`, `blocked_tasks_remain`, `unknown_completed_task`, `unknown_acceptance_criterion`, `missing_evidence_summary`, `missing_evidence_source`, `workflow_not_initialized`, or `workflow_corrupt`.
52
+
53
+ - 0279e82: `aimax run` now releases built-in memory index watchers and timers at the end of each agent run. This keeps the default core memory provider path from holding the Node.js process open after the final session output has been written, while preserving the existing `.aimax/MEMORY.md` and `.aimax/memory/YYYY-MM-DD.md` storage layout.
54
+ - Updated dependencies [0279e82]
55
+ - Updated dependencies [0279e82]
56
+ - Updated dependencies [6717f94]
57
+ - Updated dependencies [0279e82]
58
+ - Updated dependencies [0279e82]
59
+ - Updated dependencies [0279e82]
60
+ - Updated dependencies [9ff9574]
61
+ - @gencode/shared@0.6.0
62
+ - @gencode/console@0.6.0
8
63
 
9
64
  ## 0.5.8
10
65
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gencode/web",
3
- "version": "0.5.9",
3
+ "version": "0.6.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.5.9",
17
- "@gencode/shared": "0.5.0"
16
+ "@gencode/console": "0.6.2",
17
+ "@gencode/shared": "0.6.0"
18
18
  },
19
19
  "devDependencies": {},
20
20
  "scripts": {