akm-cli 0.9.24 → 0.9.25-alpha.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 +173 -0
- package/dist/cli.js +1 -1
- package/dist/commands/health/checks.js +10 -11
- package/dist/commands/improve/consolidate/pair-pass.js +4 -2
- package/dist/commands/improve/consolidate.js +10 -4
- package/dist/commands/improve/execution.js +4 -11
- package/dist/commands/improve/extract-prompt.js +4 -4
- package/dist/commands/improve/extract.js +11 -13
- package/dist/commands/improve/improve-cli.js +65 -34
- package/dist/commands/improve/improve-strategies.js +49 -43
- package/dist/commands/improve/improve-usage-report.js +8 -17
- package/dist/commands/improve/loop-stages.js +3 -0
- package/dist/commands/improve/preparation.js +3 -1
- package/dist/commands/improve/reflect-noise.js +125 -0
- package/dist/commands/improve/reflect.js +105 -172
- package/dist/commands/improve/retrieval-gate.js +7 -2
- package/dist/commands/improve/stage.js +67 -24
- package/dist/commands/proposal/drain.js +11 -2
- package/dist/commands/proposal/proposal-cli.js +1 -5
- package/dist/commands/proposal/propose-cli.js +2 -2
- package/dist/commands/proposal/propose.js +72 -84
- package/dist/commands/proposal/validators/proposal-quality-validators.js +4 -2
- package/dist/commands/read/search-cli.js +0 -38
- package/dist/commands/remember.js +3 -3
- package/dist/commands/sources/schema-repair.js +1 -1
- package/dist/core/config/config-schema.js +37 -60
- package/dist/core/config/engine-semantics.js +15 -11
- package/dist/core/config/schema/improve-processes.js +18 -2
- package/dist/core/improve-result.js +3 -3
- package/dist/core/redaction.js +4 -0
- package/dist/core/spawn-env.js +25 -0
- package/dist/core/structured.js +11 -1
- package/dist/execution/source.js +10 -0
- package/dist/indexer/passes/memory-inference.js +2 -1
- package/dist/integrations/agent/builder-shared.js +15 -0
- package/dist/integrations/agent/config.js +1 -1
- package/dist/integrations/agent/engine-resolution.js +13 -31
- package/dist/integrations/agent/execution.js +48 -22
- package/dist/integrations/agent/index.js +1 -1
- package/dist/integrations/agent/profiles.js +2 -2
- package/dist/integrations/agent/prompts.js +55 -114
- package/dist/integrations/agent/request-lowering.js +21 -8
- package/dist/integrations/agent/runner-dispatch.js +96 -3
- package/dist/integrations/agent/runner.js +8 -2
- package/dist/integrations/harnesses/aider/agent-builder.js +10 -23
- package/dist/integrations/harnesses/aider/index.js +0 -5
- package/dist/integrations/harnesses/amazonq/agent-builder.js +9 -21
- package/dist/integrations/harnesses/amazonq/index.js +0 -5
- package/dist/integrations/harnesses/claude/agent-builder.js +47 -36
- package/dist/integrations/harnesses/claude/index.js +0 -14
- package/dist/integrations/harnesses/codex/agent-builder.js +3 -4
- package/dist/integrations/harnesses/codex/index.js +0 -4
- package/dist/integrations/harnesses/copilot/agent-builder.js +4 -13
- package/dist/integrations/harnesses/copilot/index.js +2 -7
- package/dist/integrations/harnesses/gemini/agent-builder.js +4 -13
- package/dist/integrations/harnesses/gemini/index.js +0 -5
- package/dist/integrations/harnesses/ids.js +12 -10
- package/dist/integrations/harnesses/opencode/agent-builder.js +41 -9
- package/dist/integrations/harnesses/opencode/index.js +0 -8
- package/dist/integrations/harnesses/opencode/model-config.js +33 -0
- package/dist/integrations/harnesses/opencode/model-work-agent.js +115 -0
- package/dist/integrations/harnesses/opencode-sdk/harness.js +2 -7
- package/dist/integrations/harnesses/opencode-sdk/sdk-runner.js +114 -28
- package/dist/integrations/harnesses/openhands/agent-builder.js +7 -21
- package/dist/integrations/harnesses/openhands/index.js +0 -5
- package/dist/integrations/harnesses/pi/agent-builder.js +7 -21
- package/dist/integrations/harnesses/pi/index.js +0 -5
- package/dist/llm/client.js +5 -0
- package/dist/llm/feature-gate.js +12 -9
- package/dist/llm/index-passes.js +2 -5
- package/dist/llm/memory-infer.js +6 -5
- package/dist/llm/structured-call.js +33 -11
- package/dist/output/shapes/passthrough.js +1 -0
- package/dist/scripts/akm-migrate-node.js +298 -228
- package/dist/scripts/akm-migrate.js +298 -228
- package/dist/workflows/exec/step-work.js +6 -5
- package/dist/workflows/exec/unit-dispatch.js +4 -13
- package/dist/workflows/freeze/step-values.js +1 -1
- package/docs/reference/cli.md +41 -18
- package/docs/reference/configuration.md +165 -12
- package/docs/reference/data-and-telemetry.md +2 -3
- package/docs/reference/workflow-schema.md +10 -9
- package/package.json +1 -1
- package/schemas/akm-config.json +108 -0
package/schemas/akm-config.json
CHANGED
|
@@ -819,6 +819,33 @@
|
|
|
819
819
|
}
|
|
820
820
|
},
|
|
821
821
|
"additionalProperties": true
|
|
822
|
+
},
|
|
823
|
+
"defectFilter": {
|
|
824
|
+
"type": "object",
|
|
825
|
+
"properties": {
|
|
826
|
+
"placeholders": {
|
|
827
|
+
"type": "array",
|
|
828
|
+
"items": {
|
|
829
|
+
"type": "string",
|
|
830
|
+
"minLength": 1
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
"metaCommentary": {
|
|
834
|
+
"type": "array",
|
|
835
|
+
"items": {
|
|
836
|
+
"type": "string",
|
|
837
|
+
"minLength": 1
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"frontmatterKeys": {
|
|
841
|
+
"type": "array",
|
|
842
|
+
"items": {
|
|
843
|
+
"type": "string",
|
|
844
|
+
"minLength": 1
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"additionalProperties": true
|
|
822
849
|
}
|
|
823
850
|
},
|
|
824
851
|
"additionalProperties": true
|
|
@@ -2471,6 +2498,33 @@
|
|
|
2471
2498
|
}
|
|
2472
2499
|
},
|
|
2473
2500
|
"additionalProperties": true
|
|
2501
|
+
},
|
|
2502
|
+
"defectFilter": {
|
|
2503
|
+
"type": "object",
|
|
2504
|
+
"properties": {
|
|
2505
|
+
"placeholders": {
|
|
2506
|
+
"type": "array",
|
|
2507
|
+
"items": {
|
|
2508
|
+
"type": "string",
|
|
2509
|
+
"minLength": 1
|
|
2510
|
+
}
|
|
2511
|
+
},
|
|
2512
|
+
"metaCommentary": {
|
|
2513
|
+
"type": "array",
|
|
2514
|
+
"items": {
|
|
2515
|
+
"type": "string",
|
|
2516
|
+
"minLength": 1
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
"frontmatterKeys": {
|
|
2520
|
+
"type": "array",
|
|
2521
|
+
"items": {
|
|
2522
|
+
"type": "string",
|
|
2523
|
+
"minLength": 1
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
},
|
|
2527
|
+
"additionalProperties": true
|
|
2474
2528
|
}
|
|
2475
2529
|
},
|
|
2476
2530
|
"additionalProperties": true
|
|
@@ -3584,6 +3638,33 @@
|
|
|
3584
3638
|
},
|
|
3585
3639
|
"additionalProperties": true
|
|
3586
3640
|
},
|
|
3641
|
+
"defectFilter": {
|
|
3642
|
+
"type": "object",
|
|
3643
|
+
"properties": {
|
|
3644
|
+
"placeholders": {
|
|
3645
|
+
"type": "array",
|
|
3646
|
+
"items": {
|
|
3647
|
+
"type": "string",
|
|
3648
|
+
"minLength": 1
|
|
3649
|
+
}
|
|
3650
|
+
},
|
|
3651
|
+
"metaCommentary": {
|
|
3652
|
+
"type": "array",
|
|
3653
|
+
"items": {
|
|
3654
|
+
"type": "string",
|
|
3655
|
+
"minLength": 1
|
|
3656
|
+
}
|
|
3657
|
+
},
|
|
3658
|
+
"frontmatterKeys": {
|
|
3659
|
+
"type": "array",
|
|
3660
|
+
"items": {
|
|
3661
|
+
"type": "string",
|
|
3662
|
+
"minLength": 1
|
|
3663
|
+
}
|
|
3664
|
+
}
|
|
3665
|
+
},
|
|
3666
|
+
"additionalProperties": true
|
|
3667
|
+
},
|
|
3587
3668
|
"requirePlannedRefs": {
|
|
3588
3669
|
"type": "boolean"
|
|
3589
3670
|
},
|
|
@@ -3973,6 +4054,33 @@
|
|
|
3973
4054
|
}
|
|
3974
4055
|
},
|
|
3975
4056
|
"additionalProperties": true
|
|
4057
|
+
},
|
|
4058
|
+
"defectFilter": {
|
|
4059
|
+
"type": "object",
|
|
4060
|
+
"properties": {
|
|
4061
|
+
"placeholders": {
|
|
4062
|
+
"type": "array",
|
|
4063
|
+
"items": {
|
|
4064
|
+
"type": "string",
|
|
4065
|
+
"minLength": 1
|
|
4066
|
+
}
|
|
4067
|
+
},
|
|
4068
|
+
"metaCommentary": {
|
|
4069
|
+
"type": "array",
|
|
4070
|
+
"items": {
|
|
4071
|
+
"type": "string",
|
|
4072
|
+
"minLength": 1
|
|
4073
|
+
}
|
|
4074
|
+
},
|
|
4075
|
+
"frontmatterKeys": {
|
|
4076
|
+
"type": "array",
|
|
4077
|
+
"items": {
|
|
4078
|
+
"type": "string",
|
|
4079
|
+
"minLength": 1
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4082
|
+
},
|
|
4083
|
+
"additionalProperties": true
|
|
3976
4084
|
}
|
|
3977
4085
|
},
|
|
3978
4086
|
"additionalProperties": true
|