prjct-cli 2.42.0 → 2.42.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 +17 -10
- package/dist/bin/prjct-core.mjs +361 -355
- package/dist/bin/prjct.mjs +1 -1
- package/dist/daemon/entry.mjs +272 -262
- package/dist/mcp/server.mjs +154 -142
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,20 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### Refactoring
|
|
6
|
+
- **Single command manifest — the quadruple-dispatch problem is gone.** Four hand-maintained lists had to agree on which commands exist and where they route (`_binCommands` in bin/prjct.ts, the shim skip-set in scripts/build.js, `standardCommands` in core/index.ts, and the dispatch.ts switch); 18 bin-only commands existed in no metadata at all. `command-data.ts` now carries `routingMode` and `optionSchema` per command, and all four surfaces derive from it: bin imports the derived set, the build evaluates the manifest to emit the shim, and BOTH dispatch paths map flags generically through one schema — the daemon "flag-strip" bug class (a command losing options to a missing hand-written case) disappears by construction. Adding a command is now one manifest entry. Guarded by a new `manifest-completeness` suite plus the rewritten parity/shim-sync tests.
|
|
7
|
+
- **Dead code:** deleted `core/session/session-snapshot.ts` (217 lines, zero importers) and its orphaned schema; knip's `exports` rule went `off` → `warn` so dead exports are visible again (that blindness is what hid the module).
|
|
8
|
+
- **Deduped the provider status table** (version output) — the two hand-rolled copies in core/index.ts and bin/prjct.ts had already drifted; the line renderer now lives once in `core/utils/provider-status.ts`.
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
## [2.42.2] - 2026-06-10
|
|
11
|
+
|
|
12
|
+
### Refactoring
|
|
13
|
+
|
|
14
|
+
- single command manifest — quadruple dispatch eliminated, flag-strip class gone by construction (#418)
|
|
11
15
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- **MCP server instructions trimmed ~3×.** The SDD canonical-sequence block duplicated the `prjct_spec_*` tool descriptions verbatim on every MCP turn and contradicted the skill's default-DIRECT routing; the instructions are back to the anti-harness shape (use-when + what's-here + gotchas). `prjct_task_set_status` now surfaces the real "unsupported transition" message instead of a generic no-active-task line.
|
|
16
|
+
|
|
17
|
+
## [2.42.1] - 2026-06-10
|
|
15
18
|
|
|
16
19
|
### Performance
|
|
17
|
-
|
|
18
|
-
-
|
|
20
|
+
|
|
21
|
+
- hot paths — Stop hook config/transcript once, CAS→txn, backfill anti-join + ghost-DB fix (#416)
|
|
22
|
+
|
|
23
|
+
### Refactoring
|
|
24
|
+
|
|
25
|
+
- perf: hot paths — Stop hook config/transcript once, CAS→txn, backfill anti-join + ghost-DB fix (#416)
|
|
19
26
|
|
|
20
27
|
## [2.42.0] - 2026-06-10
|
|
21
28
|
|