@gencode/web 0.3.22 → 0.5.0
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 +44 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @gencode/web
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 40ba841: Thread Goal now exposes a single minimal `goal` model tool by default. Users still manage goals through CLI commands and Console `/goal`; the model-facing tool is only used to submit terminal `complete` or `blocked` status, while task planning, evidence recording, and workflow repair stay internal to the runtime and no longer appear in the default tool list or session tool snapshots.
|
|
8
|
+
- 32c7221: Agents can now publish lightweight task plans with the built-in `update_task` tool during multi-step work. Agents are instructed to publish an initial plan before substantive multi-step work, advance it after user-visible steps, and, for explicit numbered or bulleted user steps, update the completed step before starting the next one so several completed steps are not batched into one late update. Callback and websocket consumers receive these snapshots as normal progress events with `event.type: "task_updated"`, including `toolCallId`, optional `explanation`, `updatedAt`, and ordered task items whose status is `pending`, `in_progress`, or `completed`. Console displays the latest task snapshot in the event timeline, while dependency-chain entrypoints are versioned so installing the latest CLI, Web bridge, server, or plugin SDK packages picks up the new runtime and shared progress protocol. AIMax does not create a separate task-plan store, so reconnect/resume behavior continues to rely on the transcript and progress stream.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 132ee84: CRON channel runs now keep their session data, logs, and subagent outputs under `<dataDir>/.aimax/crons/<sessionId>/`. Root CRON logs are written to `<dataDir>/.aimax/crons/<sessionId>/logs/<messageId>/`, and subagents spawned by the CRON run are nested under `<dataDir>/.aimax/crons/<sessionId>/subagents/<childSessionId>/` with their own logs, transcript, context, and tool-results. This prevents CRON diagnostics and subagent files from escaping into the default `.aimax/sessions/` store or into top-level sibling `crons` sessions.
|
|
13
|
+
- 89f1931: AIMax now protects agent runs from stalled plugin hooks. Hooks that only observe lifecycle events, such as session, turn, LLM, agent-end, and memory change notifications, run with a per-plugin timeout and report a plugin diagnostic if one plugin hangs or fails, while the main run continues toward its normal done or error callback. Hooks whose return values control the run, such as prompt, model, tool, context, resource, and compaction hooks, also run with a timeout but surface a clear failure to the run instead of hanging indefinitely.
|
|
14
|
+
- Updated dependencies [32c7221]
|
|
15
|
+
- Updated dependencies [132ee84]
|
|
16
|
+
- Updated dependencies [89f1931]
|
|
17
|
+
- Updated dependencies [40ba841]
|
|
18
|
+
- Updated dependencies [32c7221]
|
|
19
|
+
- @gencode/console@0.5.0
|
|
20
|
+
- @gencode/shared@0.4.0
|
|
21
|
+
|
|
22
|
+
## 0.4.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- 5af5e22: Add an opt-out switch for LLM session title generation. New sessions now generate a conversational title via the flash model by default (unchanged), but you can skip that LLM call for runs that don't need it — for example batch/one-shot jobs, embedded API usage, or CI.
|
|
27
|
+
|
|
28
|
+
- CLI: pass `--disable-title` on `aimax run` or `aimax resume`. It overrides the new env var `AIMAX_DISABLE_TITLE=true`.
|
|
29
|
+
- Programmatic: set `titleGeneration: { enabled: false }` on `AgentRunParams`.
|
|
30
|
+
|
|
31
|
+
When the switch is off, the session still gets a title — it falls back to a truncated version of the first user message, so the session list is never blank. No token cost and no network call happen. The switch controls only title generation; topic segmentation is unaffected. Start-up logs now show the resolved state as `titleGen: enabled|disabled`.
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- cbd1dba: AIMax now treats `LLMRequestError` model failures as retryable transient LLM failures even when the upstream gateway also reports non-retryable-looking metadata such as `BadRequestError` or HTTP 400. Runs still avoid replaying an attempt after assistant text or tool results have already been produced, and the agent log now records why a retry was skipped with fields such as `reason`, `retryableError`, `attemptRecordCount`, `recordsWithToolResults`, and `recordsWithAssistantText`.
|
|
36
|
+
- cbd1dba: AIMax now retries LLM turns when the streaming connection is torn down mid-response by the network or upstream, instead of failing the whole run on the first attempt.
|
|
37
|
+
|
|
38
|
+
Previously, if the HTTP socket was closed while the model was still streaming (for example an upstream gateway or load balancer dropping the connection, surfacing in logs as `streamErrorType="TypeError"`, `streamErrorMessage="terminated"`, `streamErrorCauseCode="UND_ERR_SOCKET"`, or Node errno codes such as `ECONNRESET`/`EPIPE`/`ETIMEDOUT`), the error reached the turn-retry loop without any retryable metadata, so it was treated as a final failure and the run stopped at `attempt=1` even though `maxAttempts` was higher.
|
|
39
|
+
|
|
40
|
+
Such transport-level failures are now recognized as transient and replayed within the existing turn-retry budget (default 3 attempts, exponential backoff). No configuration is required — the new behavior is on by default. User-initiated aborts and genuine non-retryable provider errors (e.g. HTTP 4xx with a real status code) are still not retried, and an attempt is still never replayed once assistant text or tool results have been produced.
|
|
41
|
+
|
|
42
|
+
- Updated dependencies [cbd1dba]
|
|
43
|
+
- Updated dependencies [cbd1dba]
|
|
44
|
+
- Updated dependencies [5af5e22]
|
|
45
|
+
- @gencode/console@0.4.0
|
|
46
|
+
|
|
3
47
|
## 0.3.22
|
|
4
48
|
|
|
5
49
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gencode/web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
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.
|
|
17
|
-
"@gencode/shared": "0.
|
|
16
|
+
"@gencode/console": "0.5.0",
|
|
17
|
+
"@gencode/shared": "0.4.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {},
|
|
20
20
|
"scripts": {
|