akm-cli 0.9.25-alpha.2 → 0.9.25-alpha.4
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 +102 -0
- package/dist/assets/prompts/reflect-feedback-framing.md +1 -1
- package/dist/assets/prompts/reflect-llm-framed-contract.md +2 -9
- package/dist/assets/prompts/reflect-llm-schema-contract.md +1 -3
- package/dist/assets/prompts/reflect-output-repair.md +1 -1
- package/dist/commands/improve/extract-cli.js +3 -2
- package/dist/commands/improve/extract.js +1 -1
- package/dist/commands/improve/reflect.js +140 -320
- package/dist/commands/improve/session-asset.js +6 -0
- package/dist/commands/improve/stage.js +15 -5
- package/dist/commands/proposal/validators/proposal-quality-validators.js +7 -3
- package/dist/commands/proposal/validators/proposal-validators.js +4 -5
- package/dist/core/asset/asset-serialize.js +1 -1
- package/dist/core/content-safety.js +0 -24
- package/dist/integrations/agent/prompts.js +51 -91
- package/dist/integrations/harnesses/codex/index.js +6 -11
- package/dist/integrations/harnesses/codex/session-log.js +211 -0
- package/dist/integrations/harnesses/types.js +3 -3
- package/dist/scripts/akm-migrate-node.js +258 -92
- package/dist/scripts/akm-migrate.js +258 -92
- package/docs/reference/cli.md +17 -9
- package/docs/reference/configuration.md +1 -3
- package/package.json +1 -1
|
@@ -34,14 +34,14 @@ export function isSessionLogHarness(h) {
|
|
|
34
34
|
* `HarnessCapabilities` union type here, and each subclass narrows it to a
|
|
35
35
|
* literal `sessionLogs: true`/`false` variant via `caps({...})`.
|
|
36
36
|
* `sessionLogProvider` is intentionally NOT declared here at all (not even
|
|
37
|
-
* optional): the
|
|
37
|
+
* optional): the 7 non-session-log subclasses simply never declare it, which
|
|
38
38
|
* satisfies `NonSessionLogHarness`'s `sessionLogProvider?: undefined` (an
|
|
39
39
|
* absent optional property satisfies an `undefined`-typed optional); had this
|
|
40
40
|
* class declared it as `sessionLogProvider?: () => SessionLogHarness`
|
|
41
41
|
* instead, every non-session-log subclass would inherit that (function |
|
|
42
42
|
* undefined) type and fail to satisfy `NonSessionLogHarness` at the
|
|
43
|
-
* `HARNESS_REGISTRY` `satisfies` check. The
|
|
44
|
-
* (Claude, OpenCode) declare their own required `sessionLogProvider`.
|
|
43
|
+
* `HARNESS_REGISTRY` `satisfies` check. The three session-log subclasses
|
|
44
|
+
* (Claude, Codex, OpenCode) declare their own required `sessionLogProvider`.
|
|
45
45
|
*/
|
|
46
46
|
export class BaseHarness {
|
|
47
47
|
setupDetectionDir;
|