@c4a/context-cli 0.6.0-beta.3 → 0.6.0-beta.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.
Files changed (28) hide show
  1. package/README.md +6 -1
  2. package/cli.js +21613 -20964
  3. package/package.json +2 -2
  4. package/plugin/skills/skill-continue-workflow/SKILL.md +4 -1
  5. package/plugin/skills/skill-review-gate/SKILL.md +6 -0
  6. package/plugin/skills/skill-source-scope/SKILL.md +38 -3
  7. package/plugins/VERSION +1 -1
  8. package/plugins/claude/.claude-plugin/plugin.json +1 -1
  9. package/plugins/claude/skills/skill-continue-workflow/SKILL.md +4 -1
  10. package/plugins/claude/skills/skill-review-gate/SKILL.md +6 -0
  11. package/plugins/claude/skills/skill-source-scope/SKILL.md +38 -3
  12. package/plugins/codex/.codex-plugin/plugin.json +2 -2
  13. package/plugins/codex/skills/continue/references/internal-procedures/skill-continue-workflow.md +4 -1
  14. package/plugins/codex/skills/continue/references/internal-procedures/skill-review-gate.md +6 -0
  15. package/plugins/codex/skills/continue/references/internal-procedures/skill-source-scope.md +38 -3
  16. package/plugins/codex/skills/init/references/internal-procedures/skill-continue-workflow.md +4 -1
  17. package/plugins/codex/skills/init/references/internal-procedures/skill-review-gate.md +6 -0
  18. package/plugins/codex/skills/init/references/internal-procedures/skill-source-scope.md +38 -3
  19. package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
  20. package/plugins/cursor/skills/skill-continue-workflow/SKILL.md +4 -1
  21. package/plugins/cursor/skills/skill-review-gate/SKILL.md +6 -0
  22. package/plugins/cursor/skills/skill-source-scope/SKILL.md +38 -3
  23. package/plugins/skills/context-continue/references/internal-procedures/skill-continue-workflow.md +4 -1
  24. package/plugins/skills/context-continue/references/internal-procedures/skill-review-gate.md +6 -0
  25. package/plugins/skills/context-continue/references/internal-procedures/skill-source-scope.md +38 -3
  26. package/plugins/skills/context-init/references/internal-procedures/skill-continue-workflow.md +4 -1
  27. package/plugins/skills/context-init/references/internal-procedures/skill-review-gate.md +6 -0
  28. package/plugins/skills/context-init/references/internal-procedures/skill-source-scope.md +38 -3
package/README.md CHANGED
@@ -77,6 +77,11 @@ context source add repo sample-lib --local ../sample-lib
77
77
  # Do not register the parent monorepo and use extractTs.include as a package selector.
78
78
  context source add repo sample-lib --local ../packages/sample-lib
79
79
 
80
+ # Keep non-standard TypeScript entry roots in the Context project src/index.ts.
81
+ # Do not add package.json entry fields or source files solely for Context.
82
+ # extractTs({ source, collection: "codegraph", include: ["src/**/*.ts"], entries: ["src/api.ts"] })
83
+ # Use mode: "scan" instead when every include-matched file is a scan root.
84
+
80
85
  # Optional overrides when origin / HEAD cannot be inferred:
81
86
  context source add repo sample-lib \
82
87
  --local ../sample-lib \
@@ -135,7 +140,7 @@ For project workflows, `context` is a semantic service. Agents should call the C
135
140
  | `context source list|get <name>` | CLI | Inspect the repo source registry and readiness metadata. |
136
141
  | `context source inspect [name]` | CLI | Detect module/package boundaries in registered repo sources without extraction. Use this before extracting monorepo roots; it prints package names, paths, versions when available, and suggested source registration commands. |
137
142
  | `context run --list` | CLI | List phases declared by `src/index.ts`. |
138
- | `context run <phase-id> [--dry-run]` | CLI | Inspect or run one declared phase. Dry run prints reads/writes and, for extract phases when sources are ready, a resolved preview with modules, file counts, symbol counts, candidate estimates, and module error hints. It does not mutate project files. |
143
+ | `context run <phase-id> [--dry-run] [--auto-promote]` | CLI | Inspect or run one declared phase. Extract dry-run separates discovered, AST-analyzed, skipped, symbol, and relation counts. Missing/empty entries fail with `NO_ENTRY_DETECTED`; TypeScript aliases come from tsconfig/jsconfig `baseUrl` and `paths`. Codegraph defaults to first-run full Review and later delta-only Review; `--auto-promote` is the verified codegraph-only CI/CD mode. |
139
144
  | `context review html [collection] [--open]` | CLI | Render the local self-contained HTML review surface under `.tmp/context-runtime/review/`, emit a clickable `file://` URL, and optionally open it with the system browser. |
140
145
  | `context review list [collection]` | CLI | List draft candidates for CLI-oriented review. |
141
146
  | `context review apply <payload-file>` | CLI | Apply copied review decisions; approved entities materialize to `knowledge/`, rejected entities remain in `unapproved/entities.jsonl`. |