apcore-cli 0.10.0 → 0.10.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.
- package/CHANGELOG.md +54 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,60 @@ 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.2] - 2026-06-24
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **Required runtime bumped to apcore-js 0.25.0 and apcore-toolkit 0.9.1.** Peer
|
|
13
|
+
dependency floors in `package.json` raised from `apcore-js>=0.24.0` /
|
|
14
|
+
`apcore-toolkit>=0.8.1` to `apcore-js>=0.25.0` / `apcore-toolkit>=0.9.1` (and the
|
|
15
|
+
`apcore-toolkit` devDependency to `^0.9.1`), tracking the aligned apcore 0.25.0 and
|
|
16
|
+
apcore-toolkit 0.9.1 releases. **No source changes** — the full test suite passes
|
|
17
|
+
unchanged.
|
|
18
|
+
|
|
19
|
+
Neither delta touches a surface the CLI consumes:
|
|
20
|
+
- **apcore-js 0.24.0 → 0.25.0** adds config-driven ACL discovery (`acl.root`
|
|
21
|
+
activation + `ACL.discover`), auto-wired only by the `APCore` bootstrap and
|
|
22
|
+
skipped when the caller supplies its own `Executor`. The CLI never constructs
|
|
23
|
+
`APCore`, so discovery does not engage; the change is backward-compatible
|
|
24
|
+
regardless (a missing `acl.root` attaches no ACL, preserving the no-enforcement
|
|
25
|
+
default).
|
|
26
|
+
- **apcore-toolkit 0.8.1 → 0.9.1** is a bug-fix release; the TypeScript fixes
|
|
27
|
+
(`RegistryVerifier` calling `get()` instead of the nonexistent `getModule()`,
|
|
28
|
+
and `RegistryWriter.write` awaiting the async `register()`) correct internal
|
|
29
|
+
behavior without changing call-site signatures. The toolkit surface the CLI
|
|
30
|
+
uses (`BindingLoader`, `DisplayResolver`, `RegistryWriter`, `formatCsv`,
|
|
31
|
+
`formatJsonl`) is unchanged.
|
|
32
|
+
|
|
33
|
+
## [0.10.1] - 2026-06-15
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- **Required runtime bumped to apcore-js 0.24.0 and apcore-toolkit 0.8.1.** Peer
|
|
38
|
+
dependency floors in `package.json` raised from `apcore-js>=0.22.0` /
|
|
39
|
+
`apcore-toolkit>=0.8.0` to `apcore-js>=0.24.0` / `apcore-toolkit>=0.8.1` (and the
|
|
40
|
+
`apcore-toolkit` devDependency to `^0.8.1`), tracking the aligned apcore 0.24.0 and
|
|
41
|
+
apcore-toolkit 0.8.1 releases. **No source changes** — the full test suite passes
|
|
42
|
+
unchanged.
|
|
43
|
+
|
|
44
|
+
The apcore-js 0.22.0 → 0.24.0 delta does not touch any surface the CLI consumes:
|
|
45
|
+
- **Error `details` key casing camelCase → snake_case (A-D-019)** scopes only the
|
|
46
|
+
*inner* `details` keys of `CALL_DEPTH_EXCEEDED` / `CIRCULAR_CALL` /
|
|
47
|
+
`CALL_FREQUENCY_EXCEEDED` (`maxDepth` → `max_depth`, etc.). The CLI's error
|
|
48
|
+
serialization in `main.ts` reads top-level fields (`details`, `suggestion`,
|
|
49
|
+
`ai_guidance`, `retryable`, `user_fixable`) and forwards `details` verbatim — it
|
|
50
|
+
never references the inner keys, and the public TS getters (`maxDepth`, …) are
|
|
51
|
+
unchanged. Transparent pass-through; no golden tests pin the shape.
|
|
52
|
+
- **Per-instance `ToggleState` isolation (#71)** — the CLI never constructs
|
|
53
|
+
`ToggleState`/`APCore` nor calls `isModuleDisabled()`.
|
|
54
|
+
- The CLI's internal `Registry` / `Executor` / `ModuleDescriptor` mirror interfaces
|
|
55
|
+
in `src/cli.ts` (`list(): string[]`, `getDefinition()`, `call()`,
|
|
56
|
+
`moduleId`, `name: string | null`) still match apcore-js 0.24.0 exactly.
|
|
57
|
+
- Out of scope and unused by the CLI: `Registry.unregister()` drain fix (A-D-001),
|
|
58
|
+
array redaction (A-D-003), `Config` env coercion (A-D-008), middleware
|
|
59
|
+
`on_error` (A-D-011), ACL `removeRule(null)` (A-D-016), `CircuitBreakerMiddleware`,
|
|
60
|
+
`A2ASubscriber`, DLQ, `EventEmitter`.
|
|
61
|
+
|
|
8
62
|
## [0.10.0] - 2026-05-18
|
|
9
63
|
|
|
10
64
|
### Changed — BREAKING
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apcore-cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
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.
|
|
33
|
-
"apcore-toolkit": ">=0.
|
|
32
|
+
"apcore-js": ">=0.25.0",
|
|
33
|
+
"apcore-toolkit": ">=0.9.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.
|
|
49
|
+
"apcore-toolkit": "^0.9.1",
|
|
50
50
|
"apdev-js": "^0.2.4",
|
|
51
51
|
"eslint": "^10.2.1",
|
|
52
52
|
"tsup": "^8.0.0",
|