apcore-cli 0.10.4 → 0.10.5
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 +14 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,20 @@ 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
8
|
|
|
9
|
+
## [0.10.5] - 2026-08-17
|
|
10
|
+
|
|
11
|
+
Patch release. Bumps the required `apcore-js` floor to `0.27.0` to track the aligned apcore 0.27.0 release (2026-08-14). **No source changes** — the full test suite (653 tests across 30 files) plus `tsc --noEmit` and `build` pass unchanged against apcore-js 0.27.0.
|
|
12
|
+
|
|
13
|
+
The apcore-js 0.26.0 → 0.27.0 delta is BREAKING at the spec level, but touches no surface the CLI consumes — verified against the release notes and the actual call sites:
|
|
14
|
+
|
|
15
|
+
- **Middleware semantics** — `beforeStep` failure is now terminal/non-recoverable, `afterStep` fires after a recovered step body. The CLI never constructs or configures middleware or pipelines; it only consumes injected `registry` / `executor` objects and introspects `describePipeline` / `currentStrategy.steps` (read-only). No exposure.
|
|
16
|
+
- **ACL-failed `validate()` introspection** — a failed `acl` check now withholds `module_preflight` / `module_preview` checks and `predictedChanges`. The CLI's `--dry-run` / `apcli validate` consume `PreflightResult.valid` / `checks` / `requiresApproval` (never `predictedChanges`); `--dry-run --trace` prints a hardcoded preset step list, not SDK data. ACL-denied results still map to exit 77 via the hardcoded check-name map in `output.ts` (acl→77) or the `ACL_DENIED` error code. No code change needed.
|
|
17
|
+
- **`Registry.register` metadata `dependencies` persistence** — the CLI never calls `register`; registration runs via the SDK's `discover()` (sandbox runner) or host-injected registries. The `--deps` column reads top-level `dependencies` (already always-empty in 0.26.0); 0.27.0 persistence under metadata does not regress it. No exposure.
|
|
18
|
+
- **Schema conversion (A23)** — object detection, nullable `anyOf` wrapping, sorted `required` are SDK-conversion rules. The CLI runs its **own** schema→Commander converter (`schema-parser.ts` / `ref-resolver.ts`) on the descriptor's `inputSchema`; `required` is order-insensitive. Nullable `{anyOf:[orig,{type:null}]}` properties fall to the "no type → string + warning" path — a behavior nuance, not a break (matches v0.10.3's Python-side fix).
|
|
19
|
+
- **`pipeline.configure` 4-field set / `requires`/`provides` non-configurable** — the CLI never configures pipelines; a host config carrying other keys now fails at load (spec-mandated strictness, upstream concern). `Config.get(key)` used by `apcli config get` is unaffected — required-field validation applies to the load/validate path, which the CLI never invokes.
|
|
20
|
+
- **No type coercion at the module boundary** — the CLI already performs its own coercion (Commander `parseArg`, `reconvertEnumValues`) before `executor.execute`, so CLI-passed values are typed already.
|
|
21
|
+
- **Removed root exports** — `CTX_TRACING_SPAN_ID`, `OtelTracer`, `OtelSpan`, `TracingMiddlewareOptions` are no longer exported from `apcore-js` 0.27.0 — none imported by this CLI. (`ExecutionPolicy.fromObject` boolean strictness is host-side.)
|
|
22
|
+
|
|
9
23
|
## [0.10.4] - 2026-07-14
|
|
10
24
|
|
|
11
25
|
Patch release. Bumps the required `apcore-js` floor to `0.26.0` to align the ecosystem on the 0.26.0 governance layer (additive, no breaking changes). No code or API changes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apcore-cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
4
4
|
"description": "CLI wrapper for the apcore core SDK — exposes apcore modules as CLI commands",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"node": ">=20.0.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"apcore-js": ">=0.
|
|
32
|
+
"apcore-js": ">=0.27.0",
|
|
33
33
|
"apcore-toolkit": ">=0.10.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
@@ -62,4 +62,4 @@
|
|
|
62
62
|
"LICENSE",
|
|
63
63
|
"CHANGELOG.md"
|
|
64
64
|
]
|
|
65
|
-
}
|
|
65
|
+
}
|