@c4a/context-cli 0.7.99 → 0.7.100
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/cli.js +1 -1
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +1 -1
- package/plugins/claude/resources/context/routine-update.md +5 -2
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +1 -1
- package/plugins/codex/skills/context/references/routine-update.md +5 -2
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +1 -1
- package/plugins/cursor/resources/context/routine-update.md +5 -2
- package/plugins/skills/context/SKILL.md +1 -1
- package/plugins/skills/context/references/routine-update.md +5 -2
- package/providers/context/manifest.json +3 -3
- package/providers/context/provider.yaml +1 -1
package/cli.js
CHANGED
|
@@ -101059,13 +101059,13 @@ import { join as join101 } from "node:path";
|
|
|
101059
101059
|
async function productionPlanningRoute(input, stage) {
|
|
101060
101060
|
const request = stage ? undefined : await productionPlanningRequest(input.projectRoot);
|
|
101061
101061
|
const present = !!stage || !!request;
|
|
101062
|
-
const revision = stage?.id ?? request?.revision ?? "requirements-configuration";
|
|
101063
101062
|
const prepared2 = !!stage && await productionPlanningIsPrepared(input.projectRoot, stage);
|
|
101064
101063
|
const context = { workspace: input.projectRoot, authorities: [...input.authorities], facts: {
|
|
101065
101064
|
production: { requirements_present: present, planning_prepared: prepared2, planning_complete: prepared2 && (stage?.planning_complete ?? false) }
|
|
101066
101065
|
} };
|
|
101067
101066
|
const provider = await loadContextWorkflowProvider();
|
|
101068
101067
|
const evaluated = evaluateGraph(provider, "indexer", "production-planning", context);
|
|
101068
|
+
const revision = stage?.id ?? request?.revision ?? evaluated.evaluation.revision;
|
|
101069
101069
|
const selected = evaluated.evaluation.primaryRoute;
|
|
101070
101070
|
if (!selected)
|
|
101071
101071
|
throw new TypeError("Production planning has no current graph route");
|