@gencode/plugin-sdk 0.1.14 → 0.2.1
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 +26 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @gencode/plugin-sdk
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f7a9b2f: 修复使用 `apiFormat: "anthropic-messages"` 连接第三方 Anthropic 兼容 API 网关时,因 SSE 事件顺序不严格(缺少 `message_start` 或 `message_delta` 先于 `message_start` 到达)导致请求失败并报 `Unexpected event order, got message_delta before "message_start"` 的问题。修复后系统会自动修正事件流顺序,无需调整 API 网关配置。
|
|
8
|
+
- Updated dependencies [f7a9b2f]
|
|
9
|
+
- @gencode/agents@0.9.1
|
|
10
|
+
|
|
11
|
+
## 0.2.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- dd8966e: Add Anthropic Messages API format support for AIMax runs. Users can keep the existing OpenAI-compatible default or set `AIMAX_API_FORMAT=anthropic-messages` / `--api-format anthropic-messages` with an Anthropic-compatible base URL, API key, and model. Agent turns, subagents, history compaction, topic segmentation, title generation, plugin LLM access, CLI runs, CLI resume, summarize, and Console-spawned runs now inherit the selected API format.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- c2278fa: When the LLM returns a recognizable context-limit error (typically HTTP 400, including messages such as `请求上下文过大`), a single `aimax run` now automatically performs emergency history compaction and retries the current turn before exiting. Each turn allows one compaction plus one retry; each run allows up to two compactions shared by the main agent and subagents. If recovery succeeds, the run completes normally (`exit 0`) and active goals continue as before. If compaction is skipped or the retry still fails, the run exits with `exit 1` and an error message that notes emergency compaction was attempted and suggests `/compact` or reducing tool output. Non-context errors (for example invalid API keys) are not retried via this path.
|
|
20
|
+
- d747bbd: Localize AIMax `/goal` user-facing guidance and status messages for Chinese-first users while keeping the `/goal`, `/goal pause`, `/goal resume`, `/goal clear`, and `--token-budget` command syntax unchanged. The empty-goal help now includes examples that show how to write both the objective and clear completion criteria together, so goal completion is guided by verifiable conditions such as test results and bug reproduction checks.
|
|
21
|
+
- 2f4d004: Topic segmentation now maintains Flash-generated conversation segments, stores segment embeddings in a session-level `topic-segments.sqlite` vector index, and uses a local `transformers.js` embedding model from the mounted `model/` directory to retrieve older relevant topics before final classification. Long IM-style sessions can now return to much older topics more reliably while still preserving the existing transcript files, fallback behavior, and CLI usage. Online Flash rerank and turn-supplement fallbacks now share an 8-second request budget; when that budget is exhausted, AIMax immediately returns the local retrieval result instead of waiting longer on remote model calls.
|
|
22
|
+
- Updated dependencies [c2278fa]
|
|
23
|
+
- Updated dependencies [e84813b]
|
|
24
|
+
- Updated dependencies [dd8966e]
|
|
25
|
+
- Updated dependencies [d747bbd]
|
|
26
|
+
- Updated dependencies [2f4d004]
|
|
27
|
+
- @gencode/agents@0.9.0
|
|
28
|
+
|
|
3
29
|
## 0.1.14
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gencode/plugin-sdk",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@gencode/
|
|
22
|
-
"@gencode/
|
|
21
|
+
"@gencode/agents": "0.9.1",
|
|
22
|
+
"@gencode/shared": "0.2.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"typescript": "^5.9.3"
|