@pathmode/mcp-server 1.29.0 → 1.31.0

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 (32) hide show
  1. package/README.md +7 -1
  2. package/dist/index.js +41001 -6168
  3. package/dist/packages/intentspec-format/briefChoices.d.ts +128 -0
  4. package/dist/packages/intentspec-format/briefChoices.d.ts.map +1 -0
  5. package/dist/packages/intentspec-format/repoChoices.d.ts +118 -0
  6. package/dist/packages/intentspec-format/repoChoices.d.ts.map +1 -0
  7. package/dist/packages/intentspec-format/serializeIntentMd.d.ts +4 -0
  8. package/dist/packages/intentspec-format/serializeIntentMd.d.ts.map +1 -1
  9. package/dist/packages/mcp-server/src/adopt.d.ts +3 -0
  10. package/dist/packages/mcp-server/src/adopt.d.ts.map +1 -1
  11. package/dist/packages/mcp-server/src/api-client.d.ts +9 -5
  12. package/dist/packages/mcp-server/src/api-client.d.ts.map +1 -1
  13. package/dist/packages/mcp-server/src/index.d.ts +0 -26
  14. package/dist/packages/mcp-server/src/index.d.ts.map +1 -1
  15. package/dist/packages/mcp-server/src/intent-compiler.d.ts +4 -0
  16. package/dist/packages/mcp-server/src/intent-compiler.d.ts.map +1 -1
  17. package/dist/packages/mcp-server/src/local-reader.d.ts +4 -0
  18. package/dist/packages/mcp-server/src/local-reader.d.ts.map +1 -1
  19. package/dist/packages/mcp-server/src/measurement-schema.d.ts +98 -449
  20. package/dist/packages/mcp-server/src/measurement-schema.d.ts.map +1 -1
  21. package/dist/packages/mcp-server/src/push-spec.d.ts +14 -0
  22. package/dist/packages/mcp-server/src/push-spec.d.ts.map +1 -1
  23. package/dist/packages/mcp-server/src/readiness.d.ts +19 -0
  24. package/dist/packages/mcp-server/src/readiness.d.ts.map +1 -1
  25. package/dist/packages/mcp-server/src/repo-bound-preflight.d.ts +18 -0
  26. package/dist/packages/mcp-server/src/repo-bound-preflight.d.ts.map +1 -0
  27. package/manifest.json +1 -1
  28. package/package.json +3 -2
  29. package/skills/compile-intent/SKILL.md +3 -1
  30. package/skills/implement-intent/SKILL.md +10 -1
  31. package/skills/preflight/SKILL.md +4 -2
  32. package/skills/review-against-intent/SKILL.md +3 -3
package/README.md CHANGED
@@ -86,7 +86,7 @@ timeouts exceeding 3 seconds.
86
86
  - **Unknown provider status**: Hold order, notify user within 30s
87
87
  ```
88
88
 
89
- The `readiness` line is the deterministic preflight verdict, stamped on every save — "passed 6/6", or "failed N/6" naming the blocking gates — so any agent reading the file knows whether the spec cleared the gate without re-running it. Specs exported from a Pathmode workspace also carry `source:` (the canonical intent URL — the file is a working copy of that record) and `evidence:` (how many linked evidence items back it).
89
+ The `readiness` line is the deterministic preflight verdict, stamped on every save — "passed 6/6", or "failed N/6" naming the blocking gates, with "blocked by N unresolved product choice(s)" appended when a brief's proposed choices still await a human in Pathmode — so any agent reading the file knows whether the spec cleared the gate without re-running it. Specs exported from a Pathmode workspace also carry `source:` (the canonical intent URL — the file is a working copy of that record) and `evidence:` (how many linked evidence items back it).
90
90
 
91
91
  **.cursorrules** — Agent-directive format for Cursor:
92
92
  ```
@@ -100,6 +100,12 @@ Your implementation MUST satisfy ALL of these:
100
100
  - Failed payments show actionable error with retry
101
101
  ```
102
102
 
103
+ The optional `productChoices` frontmatter extension carries durable choice records and their
104
+ claim IDs. Both MCP and CLI recompute the execution block after reading the file; local saves
105
+ preserve the records. An older file with a blocked readiness stamp but no records stays blocked
106
+ via `productChoiceReadinessUnknown` until refreshed from the source. Connected updates refuse
107
+ to save if the current choice state cannot be read, leaving both copies unchanged.
108
+
103
109
  **CLAUDE.md** — Appends a `<!-- PATHMODE:START -->` section so Claude Code sees the intent in every conversation.
104
110
 
105
111
  ## Skill Pack for Claude Code