@kb-labs/mind-contracts 1.5.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/index.js ADDED
@@ -0,0 +1,359 @@
1
+ // src/version.ts
2
+ var contractsVersion = "1.0.0";
3
+ var contractsSchemaId = "@kb-labs/mind-contracts/schema";
4
+
5
+ // src/contract.ts
6
+ var pluginContractsManifest = {
7
+ schema: contractsSchemaId,
8
+ pluginId: "@kb-labs/mind",
9
+ contractsVersion,
10
+ artifacts: {},
11
+ commands: {
12
+ "mind:init": {
13
+ id: "mind:init",
14
+ description: "Initialise the Mind workspace structure.",
15
+ input: {
16
+ ref: "@kb-labs/mind-contracts/schema#MindInitCommandInputSchema",
17
+ format: "zod"
18
+ },
19
+ examples: ["kb mind init --force", "kb mind init --json"]
20
+ },
21
+ "mind:verify": {
22
+ id: "mind:verify",
23
+ description: "Validate Mind indexes and surface inconsistencies.",
24
+ input: {
25
+ ref: "@kb-labs/mind-contracts/schema#MindVerifyCommandInputSchema",
26
+ format: "zod"
27
+ },
28
+ output: {
29
+ ref: "@kb-labs/mind-contracts/schema#MindVerifyCommandOutputSchema",
30
+ format: "zod"
31
+ },
32
+ examples: ["kb mind verify", "kb mind verify --json"]
33
+ }
34
+ },
35
+ workflows: {},
36
+ api: {
37
+ rest: {
38
+ basePath: "/v1/plugins/mind",
39
+ routes: {
40
+ "mind.rest.verify": {
41
+ id: "mind.rest.verify",
42
+ method: "GET",
43
+ path: "/verify",
44
+ description: "Summarise index verification status for Studio dashboards.",
45
+ response: {
46
+ ref: "@kb-labs/mind-contracts/schema#MindVerifyResponseSchema",
47
+ format: "zod"
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ };
54
+
55
+ // src/types/config.ts
56
+ var defaultMindSyncConfig = {
57
+ registry: {
58
+ type: "filesystem",
59
+ path: ".kb/mind/sync/registry.json"
60
+ },
61
+ softDelete: {
62
+ enabled: true,
63
+ ttlDays: 30
64
+ },
65
+ partialUpdates: {
66
+ enabled: true
67
+ },
68
+ batch: {
69
+ maxSize: 100
70
+ }
71
+ };
72
+
73
+ // src/schema/contract.schema.ts
74
+ import { z as z5 } from "zod";
75
+
76
+ // src/schema/api.schema.ts
77
+ import { z } from "zod";
78
+ var schemaReferenceSchema = z.object({
79
+ ref: z.string().min(1),
80
+ format: z.enum(["zod", "json-schema", "openapi"]).optional(),
81
+ description: z.string().optional()
82
+ });
83
+ var restRouteContractSchema = z.object({
84
+ id: z.string().min(1),
85
+ method: z.string().min(1),
86
+ path: z.string().min(1),
87
+ description: z.string().optional(),
88
+ request: schemaReferenceSchema.optional(),
89
+ response: schemaReferenceSchema.optional(),
90
+ produces: z.array(z.string().min(1)).optional(),
91
+ consumes: z.array(z.string().min(1)).optional()
92
+ });
93
+ var restApiContractSchema = z.object({
94
+ basePath: z.string().min(1),
95
+ routes: z.record(restRouteContractSchema)
96
+ });
97
+ var apiContractSchema = z.object({
98
+ rest: restApiContractSchema.optional()
99
+ });
100
+
101
+ // src/schema/artifacts.schema.ts
102
+ import { z as z2 } from "zod";
103
+ var artifactExampleSchema = z2.object({
104
+ summary: z2.string().optional(),
105
+ payload: z2.unknown().optional()
106
+ });
107
+ var artifactContractSchema = z2.object({
108
+ id: z2.string().min(1),
109
+ kind: z2.enum(["file", "json", "markdown", "binary", "dir", "log"]),
110
+ description: z2.string().optional(),
111
+ pathPattern: z2.string().min(1).optional(),
112
+ mediaType: z2.string().min(1).optional(),
113
+ schemaRef: z2.string().min(1).optional(),
114
+ example: artifactExampleSchema.optional()
115
+ });
116
+ var artifactsContractMapSchema = z2.record(artifactContractSchema);
117
+
118
+ // src/schema/commands.schema.ts
119
+ import { z as z3 } from "zod";
120
+ var commandContractSchema = z3.object({
121
+ id: z3.string().min(1),
122
+ description: z3.string().optional(),
123
+ input: schemaReferenceSchema.optional(),
124
+ output: schemaReferenceSchema.optional(),
125
+ produces: z3.array(z3.string().min(1)).optional(),
126
+ consumes: z3.array(z3.string().min(1)).optional(),
127
+ examples: z3.array(z3.string().min(1)).optional()
128
+ });
129
+ var commandContractMapSchema = z3.record(commandContractSchema);
130
+
131
+ // src/schema/workflows.schema.ts
132
+ import { z as z4 } from "zod";
133
+ var workflowStepSchema = z4.object({
134
+ id: z4.string().min(1),
135
+ description: z4.string().optional(),
136
+ commandId: z4.string().min(1).optional(),
137
+ consumes: z4.array(z4.string().min(1)).optional(),
138
+ produces: z4.array(z4.string().min(1)).optional()
139
+ });
140
+ var workflowContractSchema = z4.object({
141
+ id: z4.string().min(1),
142
+ description: z4.string().optional(),
143
+ consumes: z4.array(z4.string().min(1)).optional(),
144
+ produces: z4.array(z4.string().min(1)).optional(),
145
+ steps: z4.array(workflowStepSchema).optional()
146
+ });
147
+ var workflowContractMapSchema = z4.record(workflowContractSchema);
148
+
149
+ // src/schema/contract.schema.ts
150
+ var pluginContractsSchema = z5.object({
151
+ schema: z5.literal(contractsSchemaId),
152
+ pluginId: z5.string().min(1),
153
+ contractsVersion: z5.string().min(1),
154
+ artifacts: artifactsContractMapSchema,
155
+ commands: commandContractMapSchema.optional(),
156
+ workflows: workflowContractMapSchema.optional(),
157
+ api: apiContractSchema.optional()
158
+ }).strict();
159
+ function parsePluginContracts(input) {
160
+ return pluginContractsSchema.parse(input);
161
+ }
162
+
163
+ // src/schema/mind.contracts.schema.ts
164
+ import { z as z6 } from "zod";
165
+ var commandCommonFlags = z6.object({
166
+ cwd: z6.string().min(1).optional(),
167
+ json: z6.boolean().optional(),
168
+ quiet: z6.boolean().optional(),
169
+ verbose: z6.boolean().optional()
170
+ });
171
+ var budgetEnvelopeSchema = z6.object({
172
+ usedMs: z6.number().nonnegative().optional(),
173
+ limitMs: z6.number().nonnegative().optional()
174
+ });
175
+ var MindInitCommandInputSchema = commandCommonFlags.extend({
176
+ force: z6.boolean().optional()
177
+ });
178
+ var MindUpdateCommandInputSchema = commandCommonFlags.extend({
179
+ since: z6.string().optional(),
180
+ "time-budget": z6.number().int().positive().optional(),
181
+ "no-cache": z6.boolean().optional()
182
+ });
183
+ var MindUpdateCommandOutputSchema = z6.object({
184
+ ok: z6.boolean(),
185
+ delta: z6.unknown().optional(),
186
+ budget: budgetEnvelopeSchema.optional(),
187
+ timing: z6.number().nonnegative().optional(),
188
+ code: z6.string().optional(),
189
+ message: z6.string().optional(),
190
+ hint: z6.string().optional()
191
+ });
192
+ var packIntentSchema = z6.object({
193
+ intent: z6.string().min(1),
194
+ product: z6.string().optional(),
195
+ preset: z6.string().optional(),
196
+ budget: z6.number().int().positive().optional(),
197
+ "with-bundle": z6.boolean().optional(),
198
+ out: z6.string().optional(),
199
+ seed: z6.number().int().optional()
200
+ });
201
+ var MindPackCommandInputSchema = commandCommonFlags.merge(packIntentSchema);
202
+ var MindPackCommandOutputSchema = z6.object({
203
+ ok: z6.boolean(),
204
+ intent: z6.string().optional(),
205
+ product: z6.string().nullable().optional(),
206
+ tokensEstimate: z6.number().optional(),
207
+ sectionUsage: z6.record(z6.unknown()).optional(),
208
+ "with-bundle": z6.boolean().optional(),
209
+ seed: z6.number().optional(),
210
+ deterministic: z6.boolean().optional(),
211
+ timing: z6.number().nonnegative().optional(),
212
+ "pack-output": z6.string().optional(),
213
+ code: z6.string().optional(),
214
+ message: z6.string().optional(),
215
+ hint: z6.string().optional()
216
+ });
217
+ var MindFeedCommandInputSchema = commandCommonFlags.merge(packIntentSchema).extend({
218
+ "no-update": z6.boolean().optional(),
219
+ since: z6.string().optional(),
220
+ "time-budget": z6.number().int().positive().optional()
221
+ });
222
+ var MindFeedCommandOutputSchema = z6.object({
223
+ ok: z6.boolean(),
224
+ mode: z6.enum(["update-and-pack", "pack-only"]).optional(),
225
+ intent: z6.string().optional(),
226
+ product: z6.string().nullable().optional(),
227
+ tokensEstimate: z6.number().optional(),
228
+ out: z6.string().nullable().optional(),
229
+ update: z6.object({
230
+ delta: z6.unknown().optional(),
231
+ budget: budgetEnvelopeSchema.optional()
232
+ }).nullable().optional(),
233
+ pack: z6.object({
234
+ sectionUsage: z6.record(z6.unknown()).optional(),
235
+ deterministic: z6.boolean().optional()
236
+ }).optional(),
237
+ ignoredFlags: z6.array(z6.string()).optional(),
238
+ timing: z6.number().nonnegative().optional(),
239
+ "pack-output": z6.string().optional(),
240
+ code: z6.string().optional(),
241
+ message: z6.string().optional(),
242
+ hint: z6.string().optional()
243
+ });
244
+ var MindQueryCommandInputSchema = commandCommonFlags.extend({
245
+ query: z6.enum(["impact", "scope", "exports", "externals", "chain", "meta", "docs"]),
246
+ file: z6.string().optional(),
247
+ path: z6.string().optional(),
248
+ scope: z6.string().optional(),
249
+ limit: z6.number().int().positive().optional(),
250
+ depth: z6.number().int().positive().optional(),
251
+ "cache-ttl": z6.number().int().nonnegative().optional(),
252
+ "cache-mode": z6.enum(["ci", "local"]).optional(),
253
+ "no-cache": z6.boolean().optional(),
254
+ paths: z6.enum(["id", "absolute"]).optional(),
255
+ compact: z6.boolean().optional(),
256
+ "ai-mode": z6.boolean().optional(),
257
+ toon: z6.boolean().optional(),
258
+ "toon-sidecar": z6.boolean().optional(),
259
+ product: z6.string().optional(),
260
+ tag: z6.string().optional(),
261
+ type: z6.string().optional(),
262
+ filter: z6.string().optional()
263
+ });
264
+ var MindQueryCommandOutputSchema = z6.object({
265
+ ok: z6.boolean().optional(),
266
+ format: z6.enum(["json", "toon"]).optional(),
267
+ content: z6.union([z6.string(), z6.record(z6.unknown())]).optional(),
268
+ error: z6.string().optional()
269
+ });
270
+ var MindVerifyCommandInputSchema = commandCommonFlags.extend({
271
+ cwd: z6.string().optional()
272
+ });
273
+ var MindVerifyCommandOutputSchema = z6.object({
274
+ ok: z6.boolean(),
275
+ code: z6.string().nullable().optional(),
276
+ inconsistencies: z6.array(
277
+ z6.object({
278
+ file: z6.string().optional(),
279
+ expected: z6.string().optional(),
280
+ actual: z6.string().optional(),
281
+ type: z6.string().optional()
282
+ })
283
+ ).optional(),
284
+ hint: z6.string().optional(),
285
+ schemaVersion: z6.string().optional(),
286
+ meta: z6.object({
287
+ cwd: z6.string().optional(),
288
+ filesChecked: z6.number().optional(),
289
+ timingMs: z6.number().optional()
290
+ }).optional()
291
+ });
292
+ var MindQueryRequestSchema = z6.object({
293
+ query: z6.string().min(1),
294
+ params: z6.record(z6.unknown()).optional().default({}),
295
+ options: z6.object({
296
+ cwd: z6.string().optional(),
297
+ limit: z6.number().optional(),
298
+ depth: z6.number().optional(),
299
+ cacheTtl: z6.number().optional(),
300
+ cacheMode: z6.enum(["local", "ci"]).optional(),
301
+ noCache: z6.boolean().optional(),
302
+ pathMode: z6.enum(["id", "absolute"]).optional(),
303
+ aiMode: z6.boolean().optional()
304
+ }).optional()
305
+ });
306
+ var MindQueryResponseSchema = z6.object({
307
+ sections: z6.array(
308
+ z6.object({
309
+ title: z6.string(),
310
+ format: z6.string().optional(),
311
+ data: z6.unknown(),
312
+ collapsible: z6.boolean().optional()
313
+ })
314
+ )
315
+ });
316
+ var MindVerifyResponseSchema = z6.object({
317
+ cards: z6.array(
318
+ z6.object({
319
+ title: z6.string(),
320
+ content: z6.string(),
321
+ status: z6.string().optional()
322
+ })
323
+ )
324
+ });
325
+ export {
326
+ MindFeedCommandInputSchema,
327
+ MindFeedCommandOutputSchema,
328
+ MindInitCommandInputSchema,
329
+ MindPackCommandInputSchema,
330
+ MindPackCommandOutputSchema,
331
+ MindQueryCommandInputSchema,
332
+ MindQueryCommandOutputSchema,
333
+ MindQueryRequestSchema,
334
+ MindQueryResponseSchema,
335
+ MindUpdateCommandInputSchema,
336
+ MindUpdateCommandOutputSchema,
337
+ MindVerifyCommandInputSchema,
338
+ MindVerifyCommandOutputSchema,
339
+ MindVerifyResponseSchema,
340
+ apiContractSchema,
341
+ artifactContractSchema,
342
+ artifactExampleSchema,
343
+ artifactsContractMapSchema,
344
+ commandContractMapSchema,
345
+ commandContractSchema,
346
+ contractsSchemaId,
347
+ contractsVersion,
348
+ defaultMindSyncConfig,
349
+ parsePluginContracts,
350
+ pluginContractsManifest,
351
+ pluginContractsSchema,
352
+ restApiContractSchema,
353
+ restRouteContractSchema,
354
+ schemaReferenceSchema,
355
+ workflowContractMapSchema,
356
+ workflowContractSchema,
357
+ workflowStepSchema
358
+ };
359
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/version.ts","../src/contract.ts","../src/types/config.ts","../src/schema/contract.schema.ts","../src/schema/api.schema.ts","../src/schema/artifacts.schema.ts","../src/schema/commands.schema.ts","../src/schema/workflows.schema.ts","../src/schema/mind.contracts.schema.ts"],"sourcesContent":["export const contractsVersion = '1.0.0';\nexport const contractsSchemaId = '@kb-labs/mind-contracts/schema';\n\nexport type ContractsSchemaId = typeof contractsSchemaId;\n","import type { PluginContracts } from './types';\nimport { contractsSchemaId, contractsVersion } from './version';\n\nexport const pluginContractsManifest: PluginContracts = {\n schema: contractsSchemaId,\n pluginId: '@kb-labs/mind',\n contractsVersion,\n artifacts: {},\n commands: {\n 'mind:init': {\n id: 'mind:init',\n description: 'Initialise the Mind workspace structure.',\n input: {\n ref: '@kb-labs/mind-contracts/schema#MindInitCommandInputSchema',\n format: 'zod',\n },\n examples: ['kb mind init --force', 'kb mind init --json'],\n },\n 'mind:verify': {\n id: 'mind:verify',\n description: 'Validate Mind indexes and surface inconsistencies.',\n input: {\n ref: '@kb-labs/mind-contracts/schema#MindVerifyCommandInputSchema',\n format: 'zod',\n },\n output: {\n ref: '@kb-labs/mind-contracts/schema#MindVerifyCommandOutputSchema',\n format: 'zod',\n },\n examples: ['kb mind verify', 'kb mind verify --json'],\n },\n },\n workflows: {},\n api: {\n rest: {\n basePath: '/v1/plugins/mind',\n routes: {\n 'mind.rest.verify': {\n id: 'mind.rest.verify',\n method: 'GET',\n path: '/verify',\n description: 'Summarise index verification status for Studio dashboards.',\n response: {\n ref: '@kb-labs/mind-contracts/schema#MindVerifyResponseSchema',\n format: 'zod',\n },\n },\n },\n },\n },\n};\n","/**\n * Registry configuration for Mind sync\n */\nexport interface MindSyncRegistryConfig {\n type: 'filesystem';\n path: string;\n}\n\n/**\n * Soft delete configuration for Mind sync\n */\nexport interface MindSyncSoftDeleteConfig {\n enabled: boolean;\n ttlDays: number;\n}\n\n/**\n * Partial updates configuration for Mind sync\n */\nexport interface MindSyncPartialUpdatesConfig {\n enabled: boolean;\n}\n\n/**\n * Batch processing configuration for Mind sync\n */\nexport interface MindSyncBatchConfig {\n maxSize: number;\n}\n\n/**\n * Mind synchronization configuration\n */\nexport interface MindSyncConfig {\n registry: MindSyncRegistryConfig;\n softDelete: MindSyncSoftDeleteConfig;\n partialUpdates: MindSyncPartialUpdatesConfig;\n batch: MindSyncBatchConfig;\n}\n\n/**\n * Mind source configuration\n */\nexport interface MindSourceConfig {\n id: string;\n paths: string[];\n exclude?: string[];\n}\n\n/**\n * Mind engine configuration\n */\nexport interface MindEngineConfig {\n id: string;\n type: string;\n options?: Record<string, unknown>;\n}\n\n/**\n * Mind scope configuration\n */\nexport interface MindScopeConfig {\n id: string;\n sourceIds?: string[];\n defaultEngine?: string;\n include?: string[];\n exclude?: string[];\n}\n\n/**\n * Mind defaults configuration\n */\nexport interface MindDefaultsConfig {\n fallbackEngineId?: string;\n}\n\n/**\n * Canonical Mind configuration input\n */\nexport interface MindConfigInput {\n sources: MindSourceConfig[];\n scopes: MindScopeConfig[];\n engines: MindEngineConfig[];\n defaults?: MindDefaultsConfig;\n}\n\n/**\n * Mind configuration with sync section\n */\nexport interface MindConfig extends MindConfigInput {\n /**\n * Synchronization settings for Mind\n */\n sync?: MindSyncConfig;\n}\n\n/**\n * Default sync configuration\n */\nexport const defaultMindSyncConfig: MindSyncConfig = {\n registry: {\n type: 'filesystem',\n path: '.kb/mind/sync/registry.json',\n },\n softDelete: {\n enabled: true,\n ttlDays: 30,\n },\n partialUpdates: {\n enabled: true,\n },\n batch: {\n maxSize: 100,\n },\n};\n","import { z } from 'zod';\nimport { apiContractSchema } from './api.schema';\nimport { artifactsContractMapSchema } from './artifacts.schema';\nimport { commandContractMapSchema } from './commands.schema';\nimport { workflowContractMapSchema } from './workflows.schema';\nimport { contractsSchemaId } from '../version';\n\nexport const pluginContractsSchema = z\n .object({\n schema: z.literal(contractsSchemaId),\n pluginId: z.string().min(1),\n contractsVersion: z.string().min(1),\n artifacts: artifactsContractMapSchema,\n commands: commandContractMapSchema.optional(),\n workflows: workflowContractMapSchema.optional(),\n api: apiContractSchema.optional(),\n })\n .strict();\n\nexport type PluginContractsSchema = z.infer<typeof pluginContractsSchema>;\n\nexport function parsePluginContracts(input: unknown) {\n return pluginContractsSchema.parse(input);\n}\n","import { z } from 'zod';\n\nexport const schemaReferenceSchema = z.object({\n ref: z.string().min(1),\n format: z.enum(['zod', 'json-schema', 'openapi']).optional(),\n description: z.string().optional(),\n});\n\nexport const restRouteContractSchema = z.object({\n id: z.string().min(1),\n method: z.string().min(1),\n path: z.string().min(1),\n description: z.string().optional(),\n request: schemaReferenceSchema.optional(),\n response: schemaReferenceSchema.optional(),\n produces: z.array(z.string().min(1)).optional(),\n consumes: z.array(z.string().min(1)).optional(),\n});\n\nexport const restApiContractSchema = z.object({\n basePath: z.string().min(1),\n routes: z.record(restRouteContractSchema),\n});\n\nexport const apiContractSchema = z.object({\n rest: restApiContractSchema.optional(),\n});\n","import { z } from 'zod';\n\nexport const artifactExampleSchema = z.object({\n summary: z.string().optional(),\n payload: z.unknown().optional(),\n});\n\nexport const artifactContractSchema = z.object({\n id: z.string().min(1),\n kind: z.enum(['file', 'json', 'markdown', 'binary', 'dir', 'log']),\n description: z.string().optional(),\n pathPattern: z.string().min(1).optional(),\n mediaType: z.string().min(1).optional(),\n schemaRef: z.string().min(1).optional(),\n example: artifactExampleSchema.optional(),\n});\n\nexport const artifactsContractMapSchema = z.record(artifactContractSchema);\n","import { z } from 'zod';\nimport { schemaReferenceSchema } from './api.schema';\n\nexport const commandContractSchema = z.object({\n id: z.string().min(1),\n description: z.string().optional(),\n input: schemaReferenceSchema.optional(),\n output: schemaReferenceSchema.optional(),\n produces: z.array(z.string().min(1)).optional(),\n consumes: z.array(z.string().min(1)).optional(),\n examples: z.array(z.string().min(1)).optional(),\n});\n\nexport const commandContractMapSchema = z.record(commandContractSchema);\n","import { z } from 'zod';\n\nexport const workflowStepSchema = z.object({\n id: z.string().min(1),\n description: z.string().optional(),\n commandId: z.string().min(1).optional(),\n consumes: z.array(z.string().min(1)).optional(),\n produces: z.array(z.string().min(1)).optional(),\n});\n\nexport const workflowContractSchema = z.object({\n id: z.string().min(1),\n description: z.string().optional(),\n consumes: z.array(z.string().min(1)).optional(),\n produces: z.array(z.string().min(1)).optional(),\n steps: z.array(workflowStepSchema).optional(),\n});\n\nexport const workflowContractMapSchema = z.record(workflowContractSchema);\n","import { z } from 'zod';\n\nconst commandCommonFlags = z.object({\n cwd: z.string().min(1).optional(),\n json: z.boolean().optional(),\n quiet: z.boolean().optional(),\n verbose: z.boolean().optional(),\n});\n\nconst budgetEnvelopeSchema = z.object({\n usedMs: z.number().nonnegative().optional(),\n limitMs: z.number().nonnegative().optional(),\n});\n\nexport const MindInitCommandInputSchema = commandCommonFlags.extend({\n force: z.boolean().optional(),\n});\n\nexport const MindUpdateCommandInputSchema = commandCommonFlags.extend({\n since: z.string().optional(),\n 'time-budget': z.number().int().positive().optional(),\n 'no-cache': z.boolean().optional(),\n});\n\nexport const MindUpdateCommandOutputSchema = z.object({\n ok: z.boolean(),\n delta: z.unknown().optional(),\n budget: budgetEnvelopeSchema.optional(),\n timing: z.number().nonnegative().optional(),\n code: z.string().optional(),\n message: z.string().optional(),\n hint: z.string().optional(),\n});\n\nconst packIntentSchema = z.object({\n intent: z.string().min(1),\n product: z.string().optional(),\n preset: z.string().optional(),\n budget: z.number().int().positive().optional(),\n 'with-bundle': z.boolean().optional(),\n out: z.string().optional(),\n seed: z.number().int().optional(),\n});\n\nexport const MindPackCommandInputSchema = commandCommonFlags.merge(packIntentSchema);\n\nexport const MindPackCommandOutputSchema = z.object({\n ok: z.boolean(),\n intent: z.string().optional(),\n product: z.string().nullable().optional(),\n tokensEstimate: z.number().optional(),\n sectionUsage: z.record(z.unknown()).optional(),\n 'with-bundle': z.boolean().optional(),\n seed: z.number().optional(),\n deterministic: z.boolean().optional(),\n timing: z.number().nonnegative().optional(),\n 'pack-output': z.string().optional(),\n code: z.string().optional(),\n message: z.string().optional(),\n hint: z.string().optional(),\n});\n\nexport const MindFeedCommandInputSchema = commandCommonFlags\n .merge(packIntentSchema)\n .extend({\n 'no-update': z.boolean().optional(),\n since: z.string().optional(),\n 'time-budget': z.number().int().positive().optional(),\n });\n\nexport const MindFeedCommandOutputSchema = z.object({\n ok: z.boolean(),\n mode: z.enum(['update-and-pack', 'pack-only']).optional(),\n intent: z.string().optional(),\n product: z.string().nullable().optional(),\n tokensEstimate: z.number().optional(),\n out: z.string().nullable().optional(),\n update: z\n .object({\n delta: z.unknown().optional(),\n budget: budgetEnvelopeSchema.optional(),\n })\n .nullable()\n .optional(),\n pack: z\n .object({\n sectionUsage: z.record(z.unknown()).optional(),\n deterministic: z.boolean().optional(),\n })\n .optional(),\n ignoredFlags: z.array(z.string()).optional(),\n timing: z.number().nonnegative().optional(),\n 'pack-output': z.string().optional(),\n code: z.string().optional(),\n message: z.string().optional(),\n hint: z.string().optional(),\n});\n\nexport const MindQueryCommandInputSchema = commandCommonFlags.extend({\n query: z.enum(['impact', 'scope', 'exports', 'externals', 'chain', 'meta', 'docs']),\n file: z.string().optional(),\n path: z.string().optional(),\n scope: z.string().optional(),\n limit: z.number().int().positive().optional(),\n depth: z.number().int().positive().optional(),\n 'cache-ttl': z.number().int().nonnegative().optional(),\n 'cache-mode': z.enum(['ci', 'local']).optional(),\n 'no-cache': z.boolean().optional(),\n paths: z.enum(['id', 'absolute']).optional(),\n compact: z.boolean().optional(),\n 'ai-mode': z.boolean().optional(),\n toon: z.boolean().optional(),\n 'toon-sidecar': z.boolean().optional(),\n product: z.string().optional(),\n tag: z.string().optional(),\n type: z.string().optional(),\n filter: z.string().optional(),\n});\n\nexport const MindQueryCommandOutputSchema = z.object({\n ok: z.boolean().optional(),\n format: z.enum(['json', 'toon']).optional(),\n content: z.union([z.string(), z.record(z.unknown())]).optional(),\n error: z.string().optional(),\n});\n\nexport const MindVerifyCommandInputSchema = commandCommonFlags.extend({\n cwd: z.string().optional(),\n});\n\nexport const MindVerifyCommandOutputSchema = z.object({\n ok: z.boolean(),\n code: z.string().nullable().optional(),\n inconsistencies: z\n .array(\n z.object({\n file: z.string().optional(),\n expected: z.string().optional(),\n actual: z.string().optional(),\n type: z.string().optional(),\n }),\n )\n .optional(),\n hint: z.string().optional(),\n schemaVersion: z.string().optional(),\n meta: z\n .object({\n cwd: z.string().optional(),\n filesChecked: z.number().optional(),\n timingMs: z.number().optional(),\n })\n .optional(),\n});\n\nexport const MindQueryRequestSchema = z.object({\n query: z.string().min(1),\n params: z.record(z.unknown()).optional().default({}),\n options: z\n .object({\n cwd: z.string().optional(),\n limit: z.number().optional(),\n depth: z.number().optional(),\n cacheTtl: z.number().optional(),\n cacheMode: z.enum(['local', 'ci']).optional(),\n noCache: z.boolean().optional(),\n pathMode: z.enum(['id', 'absolute']).optional(),\n aiMode: z.boolean().optional(),\n })\n .optional(),\n});\n\nexport const MindQueryResponseSchema = z.object({\n sections: z.array(\n z.object({\n title: z.string(),\n format: z.string().optional(),\n data: z.unknown(),\n collapsible: z.boolean().optional(),\n }),\n ),\n});\n\nexport const MindVerifyResponseSchema = z.object({\n cards: z.array(\n z.object({\n title: z.string(),\n content: z.string(),\n status: z.string().optional(),\n }),\n ),\n});\n"],"mappings":";AAAO,IAAM,mBAAmB;AACzB,IAAM,oBAAoB;;;ACE1B,IAAM,0BAA2C;AAAA,EACtD,QAAQ;AAAA,EACR,UAAU;AAAA,EACV;AAAA,EACA,WAAW,CAAC;AAAA,EACZ,UAAU;AAAA,IACR,aAAa;AAAA,MACX,IAAI;AAAA,MACJ,aAAa;AAAA,MACb,OAAO;AAAA,QACL,KAAK;AAAA,QACL,QAAQ;AAAA,MACV;AAAA,MACA,UAAU,CAAC,wBAAwB,qBAAqB;AAA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