mindgraph-mcp 0.25.0 → 0.26.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.
package/dist/server.d.mts CHANGED
@@ -64,6 +64,18 @@ interface HostedIdentity {
64
64
  orgName?: string;
65
65
  }
66
66
 
67
+ interface RepositoryScope {
68
+ uids: string[];
69
+ /** Scope uid → the repository id it stands for, for grouping a brief. */
70
+ names: Record<string, string>;
71
+ /** Repo ids whose identity resolution ERRORED (as opposed to resolving to
72
+ * "absent", which just means no tasks can target them yet). A failure
73
+ * silently narrowing — or entirely removing — the scope was the amplifier
74
+ * in the 2026-07-29 auto-claim incident: the cloud identity 403 emptied the
75
+ * scope and resume ran against the global pool with no signal anywhere. */
76
+ failures: string[];
77
+ }
78
+
67
79
  interface MemoryRuntimeConfig {
68
80
  serverVersion?: string;
69
81
  baseUrl?: string;
@@ -71,6 +83,9 @@ interface MemoryRuntimeConfig {
71
83
  harness?: string;
72
84
  orgId?: string;
73
85
  agentId?: string;
86
+ /** Resolves the repositories the local workspace declares. Present only
87
+ * where the server runs beside a checkout (stdio), never when hosted. */
88
+ resolveWorkspaceScope?: (agentId: string) => Promise<RepositoryScope>;
74
89
  }
75
90
 
76
91
  /** Everything the request handlers close over. */
package/dist/server.d.ts CHANGED
@@ -64,6 +64,18 @@ interface HostedIdentity {
64
64
  orgName?: string;
65
65
  }
66
66
 
67
+ interface RepositoryScope {
68
+ uids: string[];
69
+ /** Scope uid → the repository id it stands for, for grouping a brief. */
70
+ names: Record<string, string>;
71
+ /** Repo ids whose identity resolution ERRORED (as opposed to resolving to
72
+ * "absent", which just means no tasks can target them yet). A failure
73
+ * silently narrowing — or entirely removing — the scope was the amplifier
74
+ * in the 2026-07-29 auto-claim incident: the cloud identity 403 emptied the
75
+ * scope and resume ran against the global pool with no signal anywhere. */
76
+ failures: string[];
77
+ }
78
+
67
79
  interface MemoryRuntimeConfig {
68
80
  serverVersion?: string;
69
81
  baseUrl?: string;
@@ -71,6 +83,9 @@ interface MemoryRuntimeConfig {
71
83
  harness?: string;
72
84
  orgId?: string;
73
85
  agentId?: string;
86
+ /** Resolves the repositories the local workspace declares. Present only
87
+ * where the server runs beside a checkout (stdio), never when hosted. */
88
+ resolveWorkspaceScope?: (agentId: string) => Promise<RepositoryScope>;
74
89
  }
75
90
 
76
91
  /** Everything the request handlers close over. */