@flyingrobots/graft 0.9.0 → 0.10.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 (91) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +23 -15
  3. package/dist/adapters/colorful-cli-prose-projector.d.ts +13 -0
  4. package/dist/adapters/colorful-cli-prose-projector.d.ts.map +1 -0
  5. package/dist/adapters/colorful-cli-prose-projector.js +89 -0
  6. package/dist/adapters/colorful-cli-prose-projector.js.map +1 -0
  7. package/dist/adapters/node-process-runner.d.ts.map +1 -1
  8. package/dist/adapters/node-process-runner.js +1 -0
  9. package/dist/adapters/node-process-runner.js.map +1 -1
  10. package/dist/api/index.d.ts +7 -2
  11. package/dist/api/index.d.ts.map +1 -1
  12. package/dist/api/index.js +14 -3
  13. package/dist/api/index.js.map +1 -1
  14. package/dist/contracts/output-schema-fragments.d.ts +21 -0
  15. package/dist/contracts/output-schema-fragments.d.ts.map +1 -1
  16. package/dist/contracts/output-schema-fragments.js +11 -0
  17. package/dist/contracts/output-schema-fragments.js.map +1 -1
  18. package/dist/contracts/output-schema-mcp.d.ts +7 -0
  19. package/dist/contracts/output-schema-mcp.d.ts.map +1 -1
  20. package/dist/contracts/output-schemas.d.ts.map +1 -1
  21. package/dist/contracts/output-schemas.js +11 -0
  22. package/dist/contracts/output-schemas.js.map +1 -1
  23. package/dist/echo/structural-reading-generated-model.d.ts +18 -0
  24. package/dist/echo/structural-reading-generated-model.d.ts.map +1 -0
  25. package/dist/echo/structural-reading-generated-model.js +324 -0
  26. package/dist/echo/structural-reading-generated-model.js.map +1 -0
  27. package/dist/generated/graft-structural-history.codec.generated.d.ts +1 -1
  28. package/dist/generated/graft-structural-history.codec.generated.d.ts.map +1 -1
  29. package/dist/generated/graft-structural-history.codec.generated.js +4 -0
  30. package/dist/generated/graft-structural-history.codec.generated.js.map +1 -1
  31. package/dist/generated/graft-structural-history.d.ts +1 -1
  32. package/dist/generated/graft-structural-history.d.ts.map +1 -1
  33. package/dist/mcp/control-plane/types.d.ts +8 -0
  34. package/dist/mcp/control-plane/types.d.ts.map +1 -1
  35. package/dist/mcp/daemon-control-plane.d.ts +2 -1
  36. package/dist/mcp/daemon-control-plane.d.ts.map +1 -1
  37. package/dist/mcp/daemon-control-plane.js +49 -0
  38. package/dist/mcp/daemon-control-plane.js.map +1 -1
  39. package/dist/mcp/repo-workspace.d.ts +1 -1
  40. package/dist/mcp/repo-workspace.d.ts.map +1 -1
  41. package/dist/mcp/repo-workspace.js +5 -0
  42. package/dist/mcp/repo-workspace.js.map +1 -1
  43. package/dist/mcp/tools/changed-since.d.ts.map +1 -1
  44. package/dist/mcp/tools/changed-since.js +24 -10
  45. package/dist/mcp/tools/changed-since.js.map +1 -1
  46. package/dist/mcp/tools/file-outline.d.ts.map +1 -1
  47. package/dist/mcp/tools/file-outline.js +10 -5
  48. package/dist/mcp/tools/file-outline.js.map +1 -1
  49. package/dist/mcp/workspace-registry.d.ts +83 -0
  50. package/dist/mcp/workspace-registry.d.ts.map +1 -0
  51. package/dist/mcp/workspace-registry.js +542 -0
  52. package/dist/mcp/workspace-registry.js.map +1 -0
  53. package/dist/operations/colorful-prose-projection.d.ts +32 -0
  54. package/dist/operations/colorful-prose-projection.d.ts.map +1 -0
  55. package/dist/operations/colorful-prose-projection.js +344 -0
  56. package/dist/operations/colorful-prose-projection.js.map +1 -0
  57. package/dist/operations/file-outline.d.ts +10 -0
  58. package/dist/operations/file-outline.d.ts.map +1 -1
  59. package/dist/operations/file-outline.js +29 -3
  60. package/dist/operations/file-outline.js.map +1 -1
  61. package/dist/operations/repo-workspace.d.ts +4 -0
  62. package/dist/operations/repo-workspace.d.ts.map +1 -1
  63. package/dist/operations/repo-workspace.js +57 -21
  64. package/dist/operations/repo-workspace.js.map +1 -1
  65. package/dist/operations/safe-read.d.ts +2 -0
  66. package/dist/operations/safe-read.d.ts.map +1 -1
  67. package/dist/operations/safe-read.js +20 -0
  68. package/dist/operations/safe-read.js.map +1 -1
  69. package/dist/operations/structured-buffer-model.d.ts +19 -15
  70. package/dist/operations/structured-buffer-model.d.ts.map +1 -1
  71. package/dist/operations/structured-buffer-model.js +6 -4
  72. package/dist/operations/structured-buffer-model.js.map +1 -1
  73. package/dist/operations/structured-buffer-query.d.ts.map +1 -1
  74. package/dist/operations/structured-buffer-query.js +64 -1
  75. package/dist/operations/structured-buffer-query.js.map +1 -1
  76. package/dist/operations/structured-buffer.d.ts +3 -1
  77. package/dist/operations/structured-buffer.d.ts.map +1 -1
  78. package/dist/operations/structured-buffer.js.map +1 -1
  79. package/dist/parser/types.d.ts +1 -1
  80. package/dist/parser/types.d.ts.map +1 -1
  81. package/dist/parser/types.js.map +1 -1
  82. package/dist/ports/process-runner.d.ts +1 -0
  83. package/dist/ports/process-runner.d.ts.map +1 -1
  84. package/dist/ports/structural-history.d.ts +23 -0
  85. package/dist/ports/structural-history.d.ts.map +1 -0
  86. package/dist/ports/structural-history.js +22 -0
  87. package/dist/ports/structural-history.js.map +1 -0
  88. package/dist/warp/structural-reading-adapter.d.ts.map +1 -1
  89. package/dist/warp/structural-reading-adapter.js +5 -1
  90. package/dist/warp/structural-reading-adapter.js.map +1 -1
  91. package/package.json +5 -4
package/CHANGELOG.md CHANGED
@@ -7,6 +7,60 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.10.0] - 2026-06-24
11
+
12
+ ### Added
13
+
14
+ - **Colorful prose projection seam**: buffer-native projections can now opt into
15
+ a `ProseProjectionProvider`, and Graft exports a Colorful CLI adapter for
16
+ hosts that want `.txt` buffers projected through `colorful ir -` from
17
+ `colorful >= 0.2.1`. The projector validates `colorful.syntax/v1`, the pinned
18
+ vocabulary hash, the source content hash, and UTF-8 byte ranges before
19
+ returning normal Graft syntax spans, paragraph/sentence outlines, and jump
20
+ tables. MCP `file_outline` and large-file `safe_read` calls now use that
21
+ adapter when `colorful >= 0.2.1` is available on `PATH`, while unsupported
22
+ `.txt` behavior remains unchanged when no projector is configured or the CLI
23
+ is unavailable.
24
+ - **Structural basis kind for unpinned committed history**: structural-history
25
+ schema v0.2 adds `UNPINNED_COMMITTED` so committed git-warp readings with no
26
+ `ref` and no `head` no longer masquerade as `GIT_REF` rows with a null
27
+ `refName`. Wesley-generated declarations, LE-binary codecs, manifest hashes,
28
+ the Echo package descriptor, and generated-model parity tests now pin that
29
+ `GIT_REF` means a named ref basis.
30
+ - **Generated-model parity for structural readings** (slice 4, last
31
+ Graft-only pre-Echo slice): `src/echo/structural-reading-generated-model.ts`
32
+ maps git-warp-backed `StructuralReadingResult` values onto the
33
+ Wesley-generated `StructuralReading`/`StructuralReadingEvidence`/
34
+ `StructuralBasis` triple and back, loss-free. Ids and payload digests are
35
+ sha256 over canonical JSON (deterministic, no clock, no randomness); the
36
+ mapping refuses to emit `ECHO_NATIVE` from translated substrates with a
37
+ typed error naming the `fallback_translated_is_not_native_continuum`
38
+ invariant, and the reverse path raises typed obstructions for
39
+ generated-only enum values, digest mismatches, and mismatched pairs.
40
+ Parity fixtures prove `graft_dead_symbols` and the `graft_review`
41
+ reference-count path produce deep-equal output through the
42
+ generated-model round-trip. Public behavior is unchanged.
43
+
44
+ ### Changed
45
+
46
+ - **Release security floor**: release packaging now resolves Vite and Hono to
47
+ patched versions required by the release security gate.
48
+ - **Graft-managed workspace registry hardening**: workspace observation now
49
+ serializes first-time installation ID creation, fails closed when managed
50
+ storage cannot be made private, rejects symlinked or unsafe registry storage
51
+ records before reading them, quarantines unsupported registry metadata instead
52
+ of reusing it, rejects malformed installation IDs, recovers stale first-time
53
+ installation locks, caps remote collection during daemon authorization, strips
54
+ userinfo from scp-like and malformed URL-style remote URLs, preserves spaces
55
+ in daemon-collected remote paths, serializes concurrent first workspace
56
+ observation, and only lets observations without explicit repository evidence
57
+ reuse unknown incarnations that have no durable cache or history attachments.
58
+ Strong same-path replacement evidence now quarantines the prior incarnation
59
+ directory before advancing the workspace pointer.
60
+ - **Workspace-store contract taxonomy**: Slice 0 conformance failure codes are
61
+ now all included in the frozen `errorTaxonomy`, and the contract test rejects
62
+ covered conformance rows whose failure codes are absent from that taxonomy.
63
+
10
64
  ## [0.9.0] - 2026-06-10
11
65
 
12
66
  ### Added
package/README.md CHANGED
@@ -10,7 +10,7 @@ A context governor for coding agents. Graft enforces read policy so agents consu
10
10
 
11
11
  ## TL;DR — Up and Running in 30 Seconds
12
12
 
13
- **What it is**: Graft sits between your AI coding agent and the filesystem. Instead of dumping entire files into the context window, it returns the minimum structurally correct view — full content for small files, AST-derived outlines for large ones, hard refusals for secrets and binaries. Every response carries a receipt so agents know exactly how much context they've consumed.
13
+ **What it is**: Graft sits between your AI coding agent and the filesystem. Instead of dumping entire files into the context window, it returns the minimum structurally correct view — full content for small files, AST-derived outlines for large ones, hard refusals for secrets and binaries. Tool responses carry receipts so agents know exactly how much context they've consumed.
14
14
 
15
15
  **Why you want it**: Agents that read files naively fill their context window with lockfiles, minified output, and 2,000-line modules they only needed 10 lines of. Graft fixes that automatically.
16
16
 
@@ -25,7 +25,7 @@ npx @flyingrobots/graft serve
25
25
  npx @flyingrobots/graft read safe src/app.ts
26
26
  ```
27
27
 
28
- That's it. `init` scaffolds `.graftignore` and writes the MCP config your agent needs. `serve` starts listening on stdio. Your agent calls `safe_read` instead of reading files directly, and Graft handles the rest.
28
+ That's it. `init` scaffolds `.graftignore`, appends agent read guidance, and writes the client config requested by the flags you pass. `serve` starts listening on stdio. Your agent calls `safe_read` instead of reading files directly, and Graft handles the rest.
29
29
 
30
30
  ---
31
31
 
@@ -41,7 +41,7 @@ Graft sits between the agent and the filesystem and enforces a simple rule: **re
41
41
  - Large file? A structural outline — function names, signatures, line ranges. The agent can drill in with a range read if it needs a specific function body.
42
42
  - Binary, secret, or lockfile? Hard refusal with a machine-readable reason code and a suggested alternative.
43
43
 
44
- Every response carries a receipt: bytes consumed, bytes avoided, session depth, policy decision. Agents can self-regulate. Operators can audit.
44
+ Tool responses carry receipts: bytes consumed, bytes avoided, session depth, policy decision. Agents can self-regulate. Operators can audit.
45
45
 
46
46
  ---
47
47
 
@@ -49,19 +49,19 @@ Every response carries a receipt: bytes consumed, bytes avoided, session depth,
49
49
 
50
50
  - **Parser-backed outlines.** Outlines come from Tree-Sitter ASTs, not heuristic line-scanning. Function signatures, class hierarchies, and jump tables are structurally accurate across JavaScript, TypeScript, Rust, Python, Go, GraphQL, JSON, TOML, YAML, Markdown, and more.
51
51
 
52
- - **Machine-readable contracts.** Every response carries versioned `_schema` metadata and a decision receipt. Agents reason about outcomes without scraping prose. Receipts accumulate cumulative session stats so agents know when they're burning budget.
52
+ - **Machine-readable contracts.** Tool responses carry versioned `_schema` metadata and decision receipts. Agents reason about outcomes without scraping prose. Receipts accumulate cumulative session stats so agents know when they're burning budget.
53
53
 
54
- - **Structural memory across Git history.** WARP (Structural Worldline Memory) indexes AST outlines per commit into a Git-backed graph. Query what changed structurally — which symbols were added, removed, or renamed — without reading a single byte of source. No checkout required.
54
+ - **Structural memory across Git history.** WARP (Structural Worldline Memory) is the current git-warp-backed structural history layer. Query what changed structurally — which symbols were added, removed, or renamed — without dumping source into the agent context. Graft is converging on a `StructuralReadingPort` boundary so Echo can become the primary causal-history substrate after parity is proven.
55
55
 
56
56
  - **Session governance.** The `GovernorTracker` watches for anti-patterns: runaway tool loops, late-session large reads, edit/bash thrash. Tripwire signals surface in receipts so agents and operators can act before context is exhausted.
57
57
 
58
- - **Industrial-grade daemon.** A same-user local runtime manages multi-repo authorization, background indexing, and shared worker pools. WARP graphs stay warm in memory across sessions. Multi-repo work happens without file conflicts.
58
+ - **Industrial-grade daemon.** A same-user local runtime manages multi-repo authorization, persistent monitors, and shared worker pools. Current git-warp contexts stay warm in memory across sessions, while the public contract is moving behind substrate-neutral structural-history ports.
59
59
 
60
60
  ---
61
61
 
62
- ## Four Official Surfaces
62
+ ## Three Official Entry Points
63
63
 
64
- Graft exposes the same core capabilities through four integration points. Choose based on your deployment context.
64
+ Graft exposes capabilities through three official product entry points: CLI, MCP, and API. MCP has two runtimes: repo-local stdio for a single checkout and daemon-backed stdio for multi-repo sessions.
65
65
 
66
66
  ### 1. CLI — Operator and Debugging Workflows
67
67
 
@@ -76,7 +76,9 @@ npx @flyingrobots/graft review cooldown --pr 48
76
76
 
77
77
  Stateless. Print and exit. Good for scripting, spot-checking policy decisions, and inspecting structural history.
78
78
 
79
- ### 2. MCP Stdio Repo-Local Agent Sessions
79
+ ### 2. MCP — Agent Sessions
80
+
81
+ #### Repo-Local Stdio
80
82
 
81
83
  The simplest path for single-repo agent work. The current checkout is the authority. No workspace binding required.
82
84
 
@@ -86,23 +88,29 @@ npx @flyingrobots/graft serve
86
88
 
87
89
  Point your MCP client at this process. Graft speaks JSON-RPC over stdin/stdout. The same binary auto-detects non-TTY stdio and enters serve mode automatically — so `npx @flyingrobots/graft` with no arguments works as an MCP server when piped.
88
90
 
89
- ### 3. MCP Daemon — Multi-Repo and Multi-Session
91
+ #### Daemon-Backed Stdio
90
92
 
91
- A persistent same-user runtime for long-running or multi-repo agent work. WARP graphs stay warm between sessions.
93
+ A persistent same-user runtime for long-running or multi-repo agent work. Current git-warp contexts stay warm between sessions and persistent monitors can keep structural history current.
92
94
 
93
95
  ```bash
96
+ # Start the daemon explicitly
94
97
  npx @flyingrobots/graft daemon
98
+
99
+ # Or let the stdio bridge auto-start/connect to the daemon
100
+ npx @flyingrobots/graft serve --runtime daemon
95
101
  ```
96
102
 
97
- Daemon sessions start unbound. The normal agent flow:
103
+ Daemon sessions start unbound. The normal agent flow is:
98
104
 
99
- 1. `workspace_open` with the target repo's `cwd`
105
+ 1. `workspace_open` with the target repo's `cwd`; in daemon mode this authorizes the workspace before opening it.
100
106
  2. Optionally `workspace_list_opened` to inspect active workspaces
101
107
  3. Use repository-scoped tools: `safe_read`, `file_outline`, `graft_diff`, etc.
102
108
 
109
+ For explicit control-plane posture, use `workspace_authorize` followed by `workspace_bind`.
110
+
103
111
  See [docs/SETUP.md](./docs/SETUP.md) for client-specific bootstrap and daemon control-plane configuration.
104
112
 
105
- ### 4. Library API — In-Process Integration
113
+ ### 3. API — In-Process Integration
106
114
 
107
115
  Embed Graft directly when you want structural reads or syntax data without spawning a subprocess or going through MCP transport.
108
116
 
@@ -112,7 +120,7 @@ import { createRepoWorkspace } from "@flyingrobots/graft";
112
120
 
113
121
  const workspace = await createRepoWorkspace({ cwd: process.cwd() });
114
122
  const result = await workspace.safeRead({ path: "src/app.ts" });
115
- // result.projection: "content" | "outline" | "refused"
123
+ // result.projection: "content" | "outline" | "refused" | "cache_hit" | "diff"
116
124
  ```
117
125
 
118
126
  **In-process tool calls with receipts** (full MCP behavior, no subprocess):
@@ -0,0 +1,13 @@
1
+ import type { ProcessRunner } from "../ports/process-runner.js";
2
+ import type { ProseProjectionProvider } from "../operations/colorful-prose-projection.js";
3
+ export declare const COLORFUL_CLI_MINIMUM_VERSION = "0.2.1";
4
+ export interface CreateColorfulCliProseProjectorOptions {
5
+ readonly processRunner: ProcessRunner;
6
+ readonly cwd: string;
7
+ readonly command?: string | undefined;
8
+ readonly includeMarkdown?: boolean | undefined;
9
+ readonly timeoutMs?: number | undefined;
10
+ readonly maxBufferBytes?: number | undefined;
11
+ }
12
+ export declare function createColorfulCliProseProjector(options: CreateColorfulCliProseProjectorOptions): ProseProjectionProvider;
13
+ //# sourceMappingURL=colorful-cli-prose-projector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorful-cli-prose-projector.d.ts","sourceRoot":"","sources":["../../src/adapters/colorful-cli-prose-projector.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAKhE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAE1F,eAAO,MAAM,4BAA4B,UAAU,CAAC;AAEpD,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9C;AA4BD,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,sCAAsC,GAC9C,uBAAuB,CAgEzB"}
@@ -0,0 +1,89 @@
1
+ import { createHash } from "node:crypto";
2
+ import { isColorfulProsePath, projectColorfulIr, } from "../operations/colorful-prose-projection.js";
3
+ export const COLORFUL_CLI_MINIMUM_VERSION = "0.2.1";
4
+ function sha256ContentHash(source) {
5
+ return `sha256:${createHash("sha256").update(source).digest("hex")}`;
6
+ }
7
+ function parseSemver(value) {
8
+ const match = /\b(\d+)\.(\d+)\.(\d+)(?:[-+][0-9A-Za-z.-]+)?\b/u.exec(value);
9
+ if (match === null) {
10
+ return null;
11
+ }
12
+ return [Number(match[1]), Number(match[2]), Number(match[3])];
13
+ }
14
+ function versionAtLeast(actual, minimum) {
15
+ for (let index = 0; index < minimum.length; index += 1) {
16
+ const actualPart = actual[index] ?? 0;
17
+ const minimumPart = minimum[index] ?? 0;
18
+ if (actualPart > minimumPart) {
19
+ return true;
20
+ }
21
+ if (actualPart < minimumPart) {
22
+ return false;
23
+ }
24
+ }
25
+ return true;
26
+ }
27
+ export function createColorfulCliProseProjector(options) {
28
+ const command = options.command ?? "colorful";
29
+ const timeoutMs = options.timeoutMs ?? 5_000;
30
+ const maxBufferBytes = options.maxBufferBytes ?? 8 * 1024 * 1024;
31
+ const minimumVersion = parseSemver(COLORFUL_CLI_MINIMUM_VERSION);
32
+ let versionSupported;
33
+ const supportsMinimumVersion = () => {
34
+ if (versionSupported !== undefined) {
35
+ return versionSupported;
36
+ }
37
+ const result = options.processRunner.run({
38
+ command,
39
+ args: ["--version"],
40
+ cwd: options.cwd,
41
+ timeoutMs,
42
+ maxBufferBytes: Math.min(maxBufferBytes, 64 * 1024),
43
+ });
44
+ if (result.error !== undefined || result.status !== 0 || minimumVersion === null) {
45
+ versionSupported = false;
46
+ return versionSupported;
47
+ }
48
+ const actualVersion = parseSemver(`${result.stdout}\n${result.stderr}`);
49
+ versionSupported = actualVersion !== null && versionAtLeast(actualVersion, minimumVersion);
50
+ return versionSupported;
51
+ };
52
+ return {
53
+ project(input) {
54
+ if (!isColorfulProsePath(input.path, { includeMarkdown: options.includeMarkdown })) {
55
+ return null;
56
+ }
57
+ if (!supportsMinimumVersion()) {
58
+ return null;
59
+ }
60
+ const source = Buffer.from(input.content, "utf8");
61
+ const result = options.processRunner.run({
62
+ command,
63
+ args: ["ir", "-"],
64
+ cwd: options.cwd,
65
+ stdin: input.content,
66
+ timeoutMs,
67
+ maxBufferBytes,
68
+ });
69
+ if (result.error !== undefined || result.status !== 0) {
70
+ return null;
71
+ }
72
+ let ir;
73
+ try {
74
+ ir = JSON.parse(result.stdout);
75
+ }
76
+ catch (error) {
77
+ const message = error instanceof Error ? error.message : "unknown parse error";
78
+ throw new Error(`Colorful CLI returned invalid JSON: ${message}`, { cause: error });
79
+ }
80
+ return projectColorfulIr({
81
+ path: input.path,
82
+ source,
83
+ sourceHash: sha256ContentHash(source),
84
+ ir,
85
+ });
86
+ },
87
+ };
88
+ }
89
+ //# sourceMappingURL=colorful-cli-prose-projector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorful-cli-prose-projector.js","sourceRoot":"","sources":["../../src/adapters/colorful-cli-prose-projector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,4CAA4C,CAAC;AAGpD,MAAM,CAAC,MAAM,4BAA4B,GAAG,OAAO,CAAC;AAWpD,SAAS,iBAAiB,CAAC,M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AM,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC;gBACvC,OAAO;gBACP,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;gBACjB,GAAG,EAAE,OAAO,CAAC,GAAG;gBAChB,KAAK,EAAE,KAAK,CAAC,OAAO;gBACpB,SAAS;gBACT,cAAc;aACf,CAAC,CAAC;YACH,IAAI,MAAM,CAAC,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACtD,OAAO,IAAI,CAAC;YACd,CAAC;YAED,IAAI,EAAW,CAAC;YAChB,IAAI,CAAC;gBACH,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAY,CAAC;YAC5C,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC;gBAC/E,MAAM,IAAI,KAAK,CAAC,uCAAuC,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;YACtF,CAAC;YAED,OAAO,iBAAiB,CAAC;gBACvB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,MAAM;gBACN,UAAU,EAAE,iBAAiB,CAAC,MAAM,CAAC;gBACrC,EAAE;aACH,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"node-process-runner.d.ts","sourceRoot":"","sources":["../../src/adapters/node-process-runner.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAuC,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAqBrG,eAAO,MAAM,iBAAiB,EAAE,aAAuC,CAAC"}
1
+ {"version":3,"file":"node-process-runner.d.ts","sourceRoot":"","sources":["../../src/adapters/node-process-runner.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAuC,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAsBrG,eAAO,MAAM,iBAAiB,EAAE,aAAuC,CAAC"}
@@ -7,6 +7,7 @@ class NodeProcessRunner {
7
7
  const result = spawnSync(request.command, [...request.args], {
8
8
  cwd: request.cwd,
9
9
  encoding: "utf-8",
10
+ input: request.stdin,
10
11
  stdio: ["pipe", "pipe", "pipe"],
11
12
  ...(request.timeoutMs !== undefined ? { timeout: request.timeoutMs } : {}),
12
13
  ...(request.maxBufferBytes !== undefined ? { maxBuffer: request.maxBufferBytes } : {}),
@@ -1 +1 @@
1
- {"version":3,"file":"node-process-runner.js","sourceRoot":"","sources":["../../src/adapters/node-process-runner.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,wDAAwD;AACxD,8EAA8E;AAE9E,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,MAAM,iBAAiB;IACrB,GAAG,CAAC,OAA0B;QAC5B,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,EAAE;YAC3D,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;YAC/B,GAAG,CAAC,OAAO,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC1E,GAAG,CAAC,OAAO,CAAC,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACvF,CAAC,CAAC;QAEH,OAAO;YACL,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,MAAM,EAAE,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,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AAE,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;YAC9D,MAAM,EAAE,OAAO,MAAM,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;YAC9D,GAAG,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC/D,CAAC;IACJ,CAAC;CACF;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAkB,IAAI,iBAAiB,EAAE,CAAC"}
@@ -6,6 +6,8 @@ import { ObservationCache } from "../operations/observation-cache.js";
6
6
  import { RepoWorkspace } from "../operations/repo-workspace.js";
7
7
  import { StructuredBuffer } from "../operations/structured-buffer.js";
8
8
  import type { BufferRange, WarmProjectionBasis, WarmProjectionBundleResult } from "../operations/structured-buffer.js";
9
+ import { COLORFUL_CLI_MINIMUM_VERSION, createColorfulCliProseProjector } from "../adapters/colorful-cli-prose-projector.js";
10
+ import type { ProseProjectionProvider } from "../operations/colorful-prose-projection.js";
9
11
  import { GRAFT_VERSION } from "../version.js";
10
12
  export { GRAFT_MINIMUM_GIT_VERSION, ensureGitVersionSupportsGraft, } from "../git/version-guard.js";
11
13
  export { ensureParserReady, isParserReady } from "../parser/runtime.js";
@@ -15,14 +17,17 @@ export { callGraftTool, parseGraftToolPayload } from "./tool-bridge.js";
15
17
  export type { GitVersion, GitVersionGuardOptions } from "../git/version-guard.js";
16
18
  export interface CreateStructuredBufferOptions {
17
19
  readonly basis?: WarmProjectionBasis | undefined;
20
+ readonly proseProjector?: ProseProjectionProvider | undefined;
18
21
  }
19
22
  export interface CreateProjectionBundleOptions extends CreateStructuredBufferOptions {
20
23
  readonly viewport?: BufferRange | undefined;
21
24
  }
22
25
  export declare function createStructuredBuffer(path: string, content: string, options?: CreateStructuredBufferOptions): StructuredBuffer;
23
26
  export declare function createProjectionBundle(path: string, content: string, options?: CreateProjectionBundleOptions): WarmProjectionBundleResult;
24
- export { GRAFT_VERSION, MCP_TOOL_NAMES, ObservationCache, RepoWorkspace, StructuredBuffer, createGraftServer, startDaemonServer, startStdioServer, };
25
- export type { AnchorAffinityResult, BufferDiagnostic, BufferOutlineResult, BufferPoint, BufferRange, BufferSelection, ChangedRegion, DiagnosticsResult, FoldRegion, FoldRegionsResult, InjectionRegion, InjectionResult, NodeLookupResult, NodeSummary, RenameEditPreview, RenamePreviewResult, SelectionStepResult, SemanticSummaryKind, SemanticSummaryResult, StructuredBufferDiffResult, SymbolOccurrence, SymbolOccurrencesResult, SyntaxClass, SyntaxSpan, SyntaxSpanResult, WarmProjectionBundleResult, WarmProjectionParseStatus, WarmProjectionBasis, } from "../operations/structured-buffer.js";
27
+ export { COLORFUL_CLI_MINIMUM_VERSION, GRAFT_VERSION, MCP_TOOL_NAMES, ObservationCache, RepoWorkspace, StructuredBuffer, createColorfulCliProseProjector, createGraftServer, startDaemonServer, startStdioServer, };
28
+ export type { AnchorAffinityResult, BufferDiagnostic, BufferOutlineResult, BufferPoint, BufferRange, BufferSelection, ChangedRegion, DiagnosticsResult, FoldRegion, FoldRegionsResult, InjectionRegion, InjectionResult, NodeLookupResult, NodeSummary, RenameEditPreview, RenamePreviewResult, SelectionStepResult, SemanticSummaryKind, SemanticSummaryResult, StructuredBufferDiffResult, StructuredBufferFormat, SymbolOccurrence, SymbolOccurrencesResult, SyntaxClass, SyntaxSpan, SyntaxSpanResult, WarmProjectionBundleResult, WarmProjectionParseStatus, WarmProjectionBasis, } from "../operations/structured-buffer.js";
29
+ export type { ProseProjection, ProseProjectionInput, ProseProjectionProvider, } from "../operations/colorful-prose-projection.js";
30
+ export type { CreateColorfulCliProseProjectorOptions, } from "../adapters/colorful-cli-prose-projector.js";
26
31
  export type { StartDaemonServerOptions, } from "../mcp/daemon-server.js";
27
32
  export type { CreateGraftServerOptions, GraftServer, McpToolResult, } from "../mcp/server.js";
28
33
  export type { McpToolName, } from "../contracts/capabilities.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AACvH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EACL,yBAAyB,EACzB,6BAA6B,GAC9B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,KAAK,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,KAAK,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AACxE,YAAY,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAElF,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAClD;AAED,MAAM,WAAW,6BAA8B,SAAQ,6BAA6B;IAClF,QAAQ,CAAC,QAAQ,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CAC7C;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,6BAAkC,GAC1C,gBAAgB,CAElB;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,6BAAkC,GAC1C,0BAA0B,CAO5B;AAED,OAAO,EACL,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,GACjB,CAAC;AAEF,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAE5C,YAAY,EACV,wBAAwB,GACzB,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,wBAAwB,EACxB,WAAW,EACX,aAAa,GACd,MAAM,kBAAkB,CAAC;AAE1B,YAAY,EACV,WAAW,GACZ,MAAM,8BAA8B,CAAC;AAEtC,YAAY,EACV,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,0BAA0B,EAC1B,mCAAmC,EACnC,+BAA+B,EAC/B,2BAA2B,GAC5B,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,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/B,8BAA8B,EAC9B,4BAA4B,EAC5B,0BAA0B,EAC1B,mCAAmC,EACnC,+BAA+B,EAC/B,2BAA2B,GAC5B,MAAM,iCAAiC,CAAC"}
package/dist/api/index.js CHANGED
@@ -5,6 +5,7 @@ import { startStdioServer } from "../mcp/stdio-server.js";
5
5
  import { ObservationCache } from "../operations/observation-cache.js";
6
6
  import { RepoWorkspace } from "../operations/repo-workspace.js";
7
7
  import { StructuredBuffer } from "../operations/structured-buffer.js";
8
+ import { COLORFUL_CLI_MINIMUM_VERSION, createColorfulCliProseProjector, } from "../adapters/colorful-cli-prose-projector.js";
8
9
  import { GRAFT_VERSION } from "../version.js";
9
10
  export { GRAFT_MINIMUM_GIT_VERSION, ensureGitVersionSupportsGraft, } from "../git/version-guard.js";
10
11
  export { ensureParserReady, isParserReady } from "../parser/runtime.js";
@@ -12,10 +13,20 @@ export { createRepoLocalGraft } from "./repo-local-graft.js";
12
13
  export { createRepoWorkspace } from "./repo-workspace.js";
13
14
  export { callGraftTool, parseGraftToolPayload } from "./tool-bridge.js";
14
15
  export function createStructuredBuffer(path, content, options = {}) {
15
- return new StructuredBuffer({ path, content, basis: options.basis });
16
+ return new StructuredBuffer({
17
+ path,
18
+ content,
19
+ basis: options.basis,
20
+ proseProjector: options.proseProjector,
21
+ });
16
22
  }
17
23
  export function createProjectionBundle(path, content, options = {}) {
18
- const buffer = new StructuredBuffer({ path, content, basis: options.basis });
24
+ const buffer = new StructuredBuffer({
25
+ path,
26
+ content,
27
+ basis: options.basis,
28
+ proseProjector: options.proseProjector,
29
+ });
19
30
  try {
20
31
  return buffer.projectionBundle({ viewport: options.viewport });
21
32
  }
@@ -23,5 +34,5 @@ export function createProjectionBundle(path, content, options = {}) {
23
34
  buffer.dispose();
24
35
  }
25
36
  }
26
- export { GRAFT_VERSION, MCP_TOOL_NAMES, ObservationCache, RepoWorkspace, StructuredBuffer, createGraftServer, startDaemonServer, startStdioServer, };
37
+ export { COLORFUL_CLI_MINIMUM_VERSION, GRAFT_VERSION, MCP_TOOL_NAMES, ObservationCache, RepoWorkspace, StructuredBuffer, createColorfulCliProseProjector, createGraftServer, startDaemonServer, startStdioServer, };
27
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EACL,yBAAyB,EACzB,6BAA6B,GAC9B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAoC,MAAM,uBAAuB,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAmC,MAAM,qBAAqB,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAWxE,MAAM,UAAU,sBAAsB,CACpC,IAAY,EACZ,OAAe,EACf,UAAyC,EAAE;IAE3C,OAAO,IAAI,gBAAgB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,IAAY,EACZ,OAAe,EACf,UAAyC,EAAE;IAE3C,MAAM,MAAM,GAAG,IAAI,g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a,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAYxE,MAAM,UAAU,sBAAsB,CACpC,IAAY,EACZ,OAAe,EACf,UAAyC,EAAE;IAE3C,OAAO,IAAI,gBAAgB,CAAC;QAC1B,IAAI;QACJ,OAAO;QACP,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,cAAc,EAAE,OAAO,CAAC,cAAc;KACvC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,sBAAsB,CACpC,IAAY,EACZ,OAAe,EACf,UAAyC,EAAE;IAE3C,MAAM,MAAM,GAAG,IAAI,gBAAgB,CAAC;QAClC,IAAI;QACJ,OAAO;QACP,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,cAAc,EAAE,OAAO,CAAC,cAAc;KACvC,CAAC,CAAC;IACH,IAAI,CAAC;QACH,OAAO,MAAM,CAAC,gBAAgB,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;IACjE,CAAC;YAAS,CAAC;QACT,MAAM,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;AACH,CAAC;AAED,OAAO,EACL,4BAA4B,EAC5B,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,+BAA+B,EAC/B,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,GACjB,CAAC"}
@@ -5479,6 +5479,13 @@ export declare const authorizedWorkspaceSchema: z.ZodObject<{
5479
5479
  lastBoundAt: z.ZodNullable<z.ZodString>;
5480
5480
  activeSessions: z.ZodNumber;
5481
5481
  }, z.core.$strict>;
5482
+ export declare const workspaceRegistryObservationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5483
+ ok: z.ZodLiteral<true>;
5484
+ }, z.core.$strict>, z.ZodObject<{
5485
+ ok: z.ZodLiteral<false>;
5486
+ code: z.ZodLiteral<"REGISTRY_OBSERVATION_UNAVAILABLE">;
5487
+ message: z.ZodString;
5488
+ }, z.core.$strict>], "ok">;
5482
5489
  export declare const workspaceAuthorizeSchema: z.ZodObject<{
5483
5490
  ok: z.ZodBoolean;
5484
5491
  changed: z.ZodBoolean;
@@ -5499,6 +5506,13 @@ export declare const workspaceAuthorizeSchema: z.ZodObject<{
5499
5506
  lastBoundAt: z.ZodNullable<z.ZodString>;
5500
5507
  activeSessions: z.ZodNumber;
5501
5508
  }, z.core.$strict>>;
5509
+ registryObservation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5510
+ ok: z.ZodLiteral<true>;
5511
+ }, z.core.$strict>, z.ZodObject<{
5512
+ ok: z.ZodLiteral<false>;
5513
+ code: z.ZodLiteral<"REGISTRY_OBSERVATION_UNAVAILABLE">;
5514
+ message: z.ZodString;
5515
+ }, z.core.$strict>], "ok">>;
5502
5516
  errorCode: z.ZodOptional<z.ZodString>;
5503
5517
  error: z.ZodOptional<z.ZodString>;
5504
5518
  }, z.core.$strict>;
@@ -10593,6 +10607,13 @@ export declare const mcpFragmentSchemas: {
10593
10607
  lastBoundAt: z.ZodNullable<z.ZodString>;
10594
10608
  activeSessions: z.ZodNumber;
10595
10609
  }, z.core.$strict>>;
10610
+ registryObservation: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10611
+ ok: z.ZodLiteral<true>;
10612
+ }, z.core.$strict>, z.ZodObject<{
10613
+ ok: z.ZodLiteral<false>;
10614
+ code: z.ZodLiteral<"REGISTRY_OBSERVATION_UNAVAILABLE">;
10615
+ message: z.ZodString;
10616
+ }, z.core.$strict>], "ok">>;
10596
10617
  errorCode: z.ZodOptional<z.ZodString>;
10597
10618
  error: z.ZodOptional<z.ZodString>;
10598
10619
  }, z.core.$strict>;
@@ -1 +1 @@
1
- {"version":3,"file":"output-schema-fragments.d.ts","sourceRoot":"","sources":["../../src/contracts/output-schema-fragments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,kBAAkB;;;;;EAA8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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C9B,CAAC"}
@@ -563,10 +563,21 @@ export const authorizedWorkspaceSchema = z.object({
563
563
  lastBoundAt: z.string().nullable(),
564
564
  activeSessions: z.number().int().nonnegative(),
565
565
  }).strict();
566
+ export const workspaceRegistryObservationSchema = z.discriminatedUnion("ok", [
567
+ z.object({
568
+ ok: z.literal(true),
569
+ }).strict(),
570
+ z.object({
571
+ ok: z.literal(false),
572
+ code: z.literal("REGISTRY_OBSERVATION_UNAVAILABLE"),
573
+ message: z.string(),
574
+ }).strict(),
575
+ ]);
566
576
  export const workspaceAuthorizeSchema = z.object({
567
577
  ok: z.boolean(),
568
578
  changed: z.boolean(),
569
579
  authorization: authorizedWorkspaceSchema.optional(),
580
+ registryObservation: workspaceRegistryObservationSchema.optional(),
570
581
  errorCode: z.string().optional(),
571
582
  error: z.string().optional(),
572
583
  }).strict();