@c4a/context-cli 0.7.101 → 0.7.102
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 +5 -2
- 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/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +1 -1
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +1 -1
- package/plugins/skills/context/SKILL.md +1 -1
- package/providers/context/manifest.json +5 -5
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/procedures/production-stage-files.md +3 -1
package/cli.js
CHANGED
|
@@ -79260,8 +79260,8 @@ async function readGitHead(cwd) {
|
|
|
79260
79260
|
async function ensureMaterializedSymlink(input) {
|
|
79261
79261
|
const linkPath = join24(input.projectRoot, input.materializedAt);
|
|
79262
79262
|
await mkdir14(dirname18(linkPath), { recursive: true });
|
|
79263
|
-
|
|
79264
|
-
|
|
79263
|
+
const stats = await lstat6(linkPath).catch(() => null);
|
|
79264
|
+
if (stats !== null) {
|
|
79265
79265
|
if (!stats.isSymbolicLink()) {
|
|
79266
79266
|
input.diagnostics.push(`materialized path exists and is not a symlink: ${input.materializedAt}`);
|
|
79267
79267
|
return false;
|
|
@@ -110975,6 +110975,9 @@ async function completeCurrentIndexerActionInternal(input) {
|
|
|
110975
110975
|
...await readApprovedRevision(found.projectRoot) ? {
|
|
110976
110976
|
expected_stage: "approved-revision",
|
|
110977
110977
|
hint: "Submit the active revision with stage: approved-revision and its current revision token. Do not clear the task or remove sources to repair a payload."
|
|
110978
|
+
} : await readKnowledgeUpdate(found.projectRoot) ? {
|
|
110979
|
+
expected_stage: "source-update",
|
|
110980
|
+
hint: "Submit the source update decision with stage: source-update, decisions, scope_summary and new_topics, as in the Route's output schema."
|
|
110978
110981
|
} : {},
|
|
110979
110982
|
next_action: { command: "context status --format json" }
|
|
110980
110983
|
});
|