apcore-cli 0.10.0 → 0.10.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -5,6 +5,35 @@ All notable changes to apcore-cli (TypeScript SDK) will be documented in this fi
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.10.1] - 2026-06-15
9
+
10
+ ### Changed
11
+
12
+ - **Required runtime bumped to apcore-js 0.24.0 and apcore-toolkit 0.8.1.** Peer
13
+ dependency floors in `package.json` raised from `apcore-js>=0.22.0` /
14
+ `apcore-toolkit>=0.8.0` to `apcore-js>=0.24.0` / `apcore-toolkit>=0.8.1` (and the
15
+ `apcore-toolkit` devDependency to `^0.8.1`), tracking the aligned apcore 0.24.0 and
16
+ apcore-toolkit 0.8.1 releases. **No source changes** — the full test suite passes
17
+ unchanged.
18
+
19
+ The apcore-js 0.22.0 → 0.24.0 delta does not touch any surface the CLI consumes:
20
+ - **Error `details` key casing camelCase → snake_case (A-D-019)** scopes only the
21
+ *inner* `details` keys of `CALL_DEPTH_EXCEEDED` / `CIRCULAR_CALL` /
22
+ `CALL_FREQUENCY_EXCEEDED` (`maxDepth` → `max_depth`, etc.). The CLI's error
23
+ serialization in `main.ts` reads top-level fields (`details`, `suggestion`,
24
+ `ai_guidance`, `retryable`, `user_fixable`) and forwards `details` verbatim — it
25
+ never references the inner keys, and the public TS getters (`maxDepth`, …) are
26
+ unchanged. Transparent pass-through; no golden tests pin the shape.
27
+ - **Per-instance `ToggleState` isolation (#71)** — the CLI never constructs
28
+ `ToggleState`/`APCore` nor calls `isModuleDisabled()`.
29
+ - The CLI's internal `Registry` / `Executor` / `ModuleDescriptor` mirror interfaces
30
+ in `src/cli.ts` (`list(): string[]`, `getDefinition()`, `call()`,
31
+ `moduleId`, `name: string | null`) still match apcore-js 0.24.0 exactly.
32
+ - Out of scope and unused by the CLI: `Registry.unregister()` drain fix (A-D-001),
33
+ array redaction (A-D-003), `Config` env coercion (A-D-008), middleware
34
+ `on_error` (A-D-011), ACL `removeRule(null)` (A-D-016), `CircuitBreakerMiddleware`,
35
+ `A2ASubscriber`, DLQ, `EventEmitter`.
36
+
8
37
  ## [0.10.0] - 2026-05-18
9
38
 
10
39
  ### Changed — BREAKING
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apcore-cli",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "CLI wrapper for the apcore core SDK \u2014 exposes apcore modules as CLI commands",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,8 +29,8 @@
29
29
  "node": ">=20.0.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "apcore-js": ">=0.22.0",
33
- "apcore-toolkit": ">=0.8.0"
32
+ "apcore-js": ">=0.24.0",
33
+ "apcore-toolkit": ">=0.8.1"
34
34
  },
35
35
  "dependencies": {
36
36
  "@sinclair/typebox": "^0.34.0",
@@ -46,7 +46,7 @@
46
46
  "@typescript-eslint/eslint-plugin": "^8.59.0",
47
47
  "@typescript-eslint/parser": "^8.59.0",
48
48
  "@vitest/coverage-v8": "^2.0.0",
49
- "apcore-toolkit": "^0.8.0",
49
+ "apcore-toolkit": "^0.8.1",
50
50
  "apdev-js": "^0.2.4",
51
51
  "eslint": "^10.2.1",
52
52
  "tsup": "^8.0.0",