@shrkcrft/cli 0.1.0-alpha.2 → 0.1.0-alpha.21
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/audit/knowledge-audit-llm.d.ts +19 -0
- package/dist/audit/knowledge-audit-llm.d.ts.map +1 -0
- package/dist/audit/knowledge-audit-llm.js +164 -0
- package/dist/audit/knowledge-audit.d.ts +61 -0
- package/dist/audit/knowledge-audit.d.ts.map +1 -0
- package/dist/audit/knowledge-audit.js +203 -0
- package/dist/audit/knowledge-fix-plan-llm.d.ts +11 -0
- package/dist/audit/knowledge-fix-plan-llm.d.ts.map +1 -0
- package/dist/audit/knowledge-fix-plan-llm.js +141 -0
- package/dist/audit/knowledge-fix-plan.d.ts +41 -0
- package/dist/audit/knowledge-fix-plan.d.ts.map +1 -0
- package/dist/audit/knowledge-fix-plan.js +125 -0
- package/dist/audit/pipeline-audit-llm.d.ts +11 -0
- package/dist/audit/pipeline-audit-llm.d.ts.map +1 -0
- package/dist/audit/pipeline-audit-llm.js +134 -0
- package/dist/audit/pipeline-audit.d.ts +69 -0
- package/dist/audit/pipeline-audit.d.ts.map +1 -0
- package/dist/audit/pipeline-audit.js +166 -0
- package/dist/audit/templates-audit-llm.d.ts +19 -0
- package/dist/audit/templates-audit-llm.d.ts.map +1 -0
- package/dist/audit/templates-audit-llm.js +207 -0
- package/dist/audit/templates-audit.d.ts +63 -0
- package/dist/audit/templates-audit.d.ts.map +1 -0
- package/dist/audit/templates-audit.js +171 -0
- package/dist/audit/templates-fix-plan-llm.d.ts +19 -0
- package/dist/audit/templates-fix-plan-llm.d.ts.map +1 -0
- package/dist/audit/templates-fix-plan-llm.js +162 -0
- package/dist/audit/templates-fix-plan.d.ts +37 -0
- package/dist/audit/templates-fix-plan.d.ts.map +1 -0
- package/dist/audit/templates-fix-plan.js +174 -0
- package/dist/command-registry.d.ts +28 -0
- package/dist/command-registry.d.ts.map +1 -1
- package/dist/command-registry.js +91 -1
- package/dist/commands/ai-status.command.d.ts +19 -0
- package/dist/commands/ai-status.command.d.ts.map +1 -0
- package/dist/commands/ai-status.command.js +94 -0
- package/dist/commands/api-diff.command.d.ts +11 -0
- package/dist/commands/api-diff.command.d.ts.map +1 -0
- package/dist/commands/api-diff.command.js +144 -0
- package/dist/commands/apply.command.d.ts.map +1 -1
- package/dist/commands/apply.command.js +10 -2
- package/dist/commands/arch.command.d.ts +9 -0
- package/dist/commands/arch.command.d.ts.map +1 -0
- package/dist/commands/arch.command.js +186 -0
- package/dist/commands/ask.command.d.ts.map +1 -1
- package/dist/commands/ask.command.js +10 -9
- package/dist/commands/cache-align.command.d.ts +12 -0
- package/dist/commands/cache-align.command.d.ts.map +1 -0
- package/dist/commands/cache-align.command.js +78 -0
- package/dist/commands/check.command.d.ts.map +1 -1
- package/dist/commands/check.command.js +26 -2
- package/dist/commands/code-intel.command.d.ts +18 -0
- package/dist/commands/code-intel.command.d.ts.map +1 -0
- package/dist/commands/code-intel.command.js +146 -0
- package/dist/commands/codemod.command.d.ts.map +1 -1
- package/dist/commands/codemod.command.js +27 -6
- package/dist/commands/command-catalog.d.ts +15 -3
- package/dist/commands/command-catalog.d.ts.map +1 -1
- package/dist/commands/command-catalog.js +407 -34
- package/dist/commands/commands.command.d.ts.map +1 -1
- package/dist/commands/commands.command.js +4 -4
- package/dist/commands/completion.command.d.ts +10 -0
- package/dist/commands/completion.command.d.ts.map +1 -0
- package/dist/commands/completion.command.js +121 -0
- package/dist/commands/compress.command.d.ts +8 -0
- package/dist/commands/compress.command.d.ts.map +1 -0
- package/dist/commands/compress.command.js +147 -0
- package/dist/commands/constructs.command.d.ts.map +1 -1
- package/dist/commands/constructs.command.js +89 -23
- package/dist/commands/context.command.d.ts.map +1 -1
- package/dist/commands/context.command.js +121 -1
- package/dist/commands/contract-gate.command.d.ts.map +1 -1
- package/dist/commands/contract-gate.command.js +5 -1
- package/dist/commands/delegate.command.d.ts +65 -0
- package/dist/commands/delegate.command.d.ts.map +1 -0
- package/dist/commands/delegate.command.js +657 -0
- package/dist/commands/deps-audit.command.d.ts +23 -0
- package/dist/commands/deps-audit.command.d.ts.map +1 -0
- package/dist/commands/deps-audit.command.js +270 -0
- package/dist/commands/dev.command.d.ts.map +1 -1
- package/dist/commands/dev.command.js +5 -2
- package/dist/commands/diff-check.command.d.ts +30 -0
- package/dist/commands/diff-check.command.d.ts.map +1 -0
- package/dist/commands/diff-check.command.js +210 -0
- package/dist/commands/doctor.command.d.ts.map +1 -1
- package/dist/commands/doctor.command.js +162 -10
- package/dist/commands/export.command.d.ts.map +1 -1
- package/dist/commands/export.command.js +76 -3
- package/dist/commands/framework.command.d.ts +12 -0
- package/dist/commands/framework.command.d.ts.map +1 -0
- package/dist/commands/framework.command.js +180 -0
- package/dist/commands/gate.command.d.ts +15 -0
- package/dist/commands/gate.command.d.ts.map +1 -0
- package/dist/commands/gate.command.js +300 -0
- package/dist/commands/gen.command.d.ts.map +1 -1
- package/dist/commands/gen.command.js +13 -1
- package/dist/commands/graph-code-subverbs.d.ts +33 -0
- package/dist/commands/graph-code-subverbs.d.ts.map +1 -0
- package/dist/commands/graph-code-subverbs.js +1385 -0
- package/dist/commands/graph.command.d.ts.map +1 -1
- package/dist/commands/graph.command.js +31 -2
- package/dist/commands/help.command.d.ts +4 -3
- package/dist/commands/help.command.d.ts.map +1 -1
- package/dist/commands/help.command.js +86 -18
- package/dist/commands/helper.command.js +1 -1
- package/dist/commands/impact.command.d.ts.map +1 -1
- package/dist/commands/impact.command.js +171 -1
- package/dist/commands/import.command.d.ts.map +1 -1
- package/dist/commands/import.command.js +121 -5
- package/dist/commands/ingest.command.d.ts.map +1 -1
- package/dist/commands/ingest.command.js +5 -1
- package/dist/commands/init.command.d.ts.map +1 -1
- package/dist/commands/init.command.js +174 -7
- package/dist/commands/knowledge-author.command.d.ts.map +1 -1
- package/dist/commands/knowledge-author.command.js +9 -0
- package/dist/commands/knowledge-propose.command.d.ts.map +1 -1
- package/dist/commands/knowledge-propose.command.js +4 -2
- package/dist/commands/knowledge.command.d.ts.map +1 -1
- package/dist/commands/knowledge.command.js +26 -3
- package/dist/commands/migrate.command.d.ts +13 -0
- package/dist/commands/migrate.command.d.ts.map +1 -0
- package/dist/commands/migrate.command.js +152 -0
- package/dist/commands/move-plan.command.d.ts +23 -0
- package/dist/commands/move-plan.command.d.ts.map +1 -0
- package/dist/commands/move-plan.command.js +360 -0
- package/dist/commands/packs-new.d.ts +1 -1
- package/dist/commands/packs-new.d.ts.map +1 -1
- package/dist/commands/packs-new.js +5 -36
- package/dist/commands/packs.command.d.ts.map +1 -1
- package/dist/commands/packs.command.js +2 -10
- package/dist/commands/plan-context.command.d.ts +11 -0
- package/dist/commands/plan-context.command.d.ts.map +1 -0
- package/dist/commands/plan-context.command.js +85 -0
- package/dist/commands/preflight.command.d.ts.map +1 -1
- package/dist/commands/preflight.command.js +15 -0
- package/dist/commands/profiles.command.js +4 -4
- package/dist/commands/recommend.command.d.ts +6 -0
- package/dist/commands/recommend.command.d.ts.map +1 -1
- package/dist/commands/recommend.command.js +119 -5
- package/dist/commands/release.command.js +13 -13
- package/dist/commands/rule-graph-subverbs.d.ts +3 -0
- package/dist/commands/rule-graph-subverbs.d.ts.map +1 -0
- package/dist/commands/rule-graph-subverbs.js +132 -0
- package/dist/commands/rules.command.d.ts.map +1 -1
- package/dist/commands/rules.command.js +20 -3
- package/dist/commands/scaffold-validate.command.d.ts +22 -0
- package/dist/commands/scaffold-validate.command.d.ts.map +1 -0
- package/dist/commands/scaffold-validate.command.js +215 -0
- package/dist/commands/search-structural.command.d.ts +18 -0
- package/dist/commands/search-structural.command.d.ts.map +1 -0
- package/dist/commands/search-structural.command.js +376 -0
- package/dist/commands/search.command.js +1 -1
- package/dist/commands/smart-context.command.d.ts +67 -0
- package/dist/commands/smart-context.command.d.ts.map +1 -0
- package/dist/commands/smart-context.command.js +4728 -0
- package/dist/commands/spike.command.d.ts +22 -0
- package/dist/commands/spike.command.d.ts.map +1 -0
- package/dist/commands/spike.command.js +235 -0
- package/dist/commands/surface.command.d.ts +1 -0
- package/dist/commands/surface.command.d.ts.map +1 -1
- package/dist/commands/surface.command.js +10 -3
- package/dist/commands/task-context.command.d.ts.map +1 -1
- package/dist/commands/task-context.command.js +5 -17
- package/dist/commands/task.command.d.ts.map +1 -1
- package/dist/commands/task.command.js +8 -2
- package/dist/commands/template-quality.command.d.ts.map +1 -1
- package/dist/commands/template-quality.command.js +39 -3
- package/dist/commands/templates.command.d.ts.map +1 -1
- package/dist/commands/templates.command.js +37 -2
- package/dist/commands/tests.command.d.ts.map +1 -1
- package/dist/commands/tests.command.js +13 -2
- package/dist/commands/watch.command.d.ts +26 -0
- package/dist/commands/watch.command.d.ts.map +1 -0
- package/dist/commands/watch.command.js +456 -0
- package/dist/dashboard/code-intelligence-data.d.ts +33 -0
- package/dist/dashboard/code-intelligence-data.d.ts.map +1 -0
- package/dist/dashboard/code-intelligence-data.js +329 -0
- package/dist/dashboard/dashboard-api-server.d.ts.map +1 -1
- package/dist/dashboard/dashboard-api-server.js +256 -2
- package/dist/dashboard/knowledge-ask.d.ts +4 -0
- package/dist/dashboard/knowledge-ask.d.ts.map +1 -0
- package/dist/dashboard/knowledge-ask.js +112 -0
- package/dist/env/load-dotenv.d.ts +15 -0
- package/dist/env/load-dotenv.d.ts.map +1 -0
- package/dist/env/load-dotenv.js +70 -0
- package/dist/export/claude-commands-export.d.ts +60 -0
- package/dist/export/claude-commands-export.d.ts.map +1 -0
- package/dist/export/claude-commands-export.js +276 -0
- package/dist/export/export-formats.d.ts +1 -1
- package/dist/export/export-formats.d.ts.map +1 -1
- package/dist/export/export-formats.js +139 -12
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/init/init-templates.d.ts.map +1 -1
- package/dist/init/init-templates.js +133 -113
- package/dist/init/paths-advisory.d.ts +20 -0
- package/dist/init/paths-advisory.d.ts.map +1 -0
- package/dist/init/paths-advisory.js +88 -0
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +331 -17
- package/dist/output/ccr-store-config.d.ts +18 -0
- package/dist/output/ccr-store-config.d.ts.map +1 -0
- package/dist/output/ccr-store-config.js +41 -0
- package/dist/output/format-output.d.ts.map +1 -1
- package/dist/output/format-output.js +6 -1
- package/dist/output/output-compression.d.ts +15 -0
- package/dist/output/output-compression.d.ts.map +1 -0
- package/dist/output/output-compression.js +60 -0
- package/dist/output/resolve-compress-type.d.ts +22 -0
- package/dist/output/resolve-compress-type.d.ts.map +1 -0
- package/dist/output/resolve-compress-type.js +21 -0
- package/dist/output/watch-loop.d.ts +9 -1
- package/dist/output/watch-loop.d.ts.map +1 -1
- package/dist/output/watch-loop.js +13 -3
- package/dist/schemas/json-schemas.d.ts +384 -36
- package/dist/schemas/json-schemas.d.ts.map +1 -1
- package/dist/schemas/json-schemas.js +247 -36
- package/dist/surface/profiles.d.ts.map +1 -1
- package/dist/surface/profiles.js +54 -10
- package/dist/surface/surface-config-writer.d.ts.map +1 -1
- package/dist/surface/surface-config-writer.js +23 -11
- package/dist/validation/run-validation-loop.d.ts.map +1 -1
- package/dist/validation/run-validation-loop.js +5 -1
- package/package.json +35 -21
- package/dist/commands/plugin.command.d.ts +0 -11
- package/dist/commands/plugin.command.d.ts.map +0 -1
- package/dist/commands/plugin.command.js +0 -394
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/json-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCrB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwClB,CAAC;AAEX,eAAO,MAAM,iB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,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAWrB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;CAcxB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;CAUtB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAevB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;CAY1B,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;CAa5B,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBtB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBvB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAanB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcpB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;CAYvB,CAAC;AAEX,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAqCxD,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export const PackManifestSchema = {
|
|
8
8
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
9
|
-
$id: '
|
|
9
|
+
$id: 'urn:sharkcraft:schemas:pack-manifest',
|
|
10
10
|
title: 'SharkCraft Pack Manifest',
|
|
11
11
|
type: 'object',
|
|
12
12
|
additionalProperties: true,
|
|
@@ -41,7 +41,7 @@ export const PackManifestSchema = {
|
|
|
41
41
|
};
|
|
42
42
|
export const SavedPlanSchema = {
|
|
43
43
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
44
|
-
$id: '
|
|
44
|
+
$id: 'urn:sharkcraft:schemas:saved-plan',
|
|
45
45
|
title: 'SharkCraft Saved Plan',
|
|
46
46
|
type: 'object',
|
|
47
47
|
additionalProperties: false,
|
|
@@ -82,7 +82,7 @@ export const SavedPlanSchema = {
|
|
|
82
82
|
};
|
|
83
83
|
export const ActionHintsSchema = {
|
|
84
84
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
85
|
-
$id: '
|
|
85
|
+
$id: 'urn:sharkcraft:schemas:action-hints',
|
|
86
86
|
title: 'SharkCraft Action Hints',
|
|
87
87
|
type: 'object',
|
|
88
88
|
additionalProperties: false,
|
|
@@ -126,7 +126,7 @@ export const ActionHintsSchema = {
|
|
|
126
126
|
};
|
|
127
127
|
export const PipelineDefinitionSchema = {
|
|
128
128
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
129
|
-
$id: '
|
|
129
|
+
$id: 'urn:sharkcraft:schemas:pipeline-definition',
|
|
130
130
|
title: 'SharkCraft Pipeline Definition',
|
|
131
131
|
type: 'object',
|
|
132
132
|
required: ['id', 'title', 'description', 'steps'],
|
|
@@ -178,7 +178,7 @@ export const PipelineDefinitionSchema = {
|
|
|
178
178
|
};
|
|
179
179
|
export const KnowledgeEntrySchema = {
|
|
180
180
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
181
|
-
$id: '
|
|
181
|
+
$id: 'urn:sharkcraft:schemas:knowledge-entry',
|
|
182
182
|
title: 'SharkCraft Knowledge Entry',
|
|
183
183
|
type: 'object',
|
|
184
184
|
required: ['id', 'title', 'type', 'priority', 'content'],
|
|
@@ -203,7 +203,7 @@ export const KnowledgeEntrySchema = {
|
|
|
203
203
|
};
|
|
204
204
|
export const AdoptionStateSchema = {
|
|
205
205
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
206
|
-
$id: '
|
|
206
|
+
$id: 'urn:sharkcraft:schemas:adoption-state',
|
|
207
207
|
title: 'SharkCraft Adoption State',
|
|
208
208
|
type: 'object',
|
|
209
209
|
required: ['schema', 'projectRoot', 'createdAt', 'updatedAt', 'patchPath'],
|
|
@@ -253,9 +253,220 @@ export const AdoptionStateSchema = {
|
|
|
253
253
|
nextCommands: { type: 'array', items: { type: 'string' } },
|
|
254
254
|
},
|
|
255
255
|
};
|
|
256
|
+
export const SmartContextExpansionRequestSchema = {
|
|
257
|
+
$schema: 'https://json-schema.org/draft-07/schema',
|
|
258
|
+
$id: 'urn:sharkcraft:schemas:smart-context-expansion-request',
|
|
259
|
+
title: 'Smart Context Expansion Request',
|
|
260
|
+
type: 'object',
|
|
261
|
+
additionalProperties: false,
|
|
262
|
+
properties: {
|
|
263
|
+
summary: { type: 'string' },
|
|
264
|
+
filesToRead: {
|
|
265
|
+
type: 'array',
|
|
266
|
+
items: {
|
|
267
|
+
type: 'object',
|
|
268
|
+
additionalProperties: false,
|
|
269
|
+
required: ['target', 'why'],
|
|
270
|
+
properties: {
|
|
271
|
+
target: { type: 'string', minLength: 1 },
|
|
272
|
+
why: { type: 'string', minLength: 1 },
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
similarPatterns: {
|
|
277
|
+
type: 'array',
|
|
278
|
+
items: {
|
|
279
|
+
type: 'object',
|
|
280
|
+
additionalProperties: false,
|
|
281
|
+
required: ['target', 'why'],
|
|
282
|
+
properties: {
|
|
283
|
+
target: { type: 'string', minLength: 1 },
|
|
284
|
+
why: { type: 'string', minLength: 1 },
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
publicApiFiles: {
|
|
289
|
+
type: 'array',
|
|
290
|
+
items: {
|
|
291
|
+
type: 'object',
|
|
292
|
+
additionalProperties: false,
|
|
293
|
+
required: ['target', 'why'],
|
|
294
|
+
properties: {
|
|
295
|
+
target: { type: 'string', minLength: 1 },
|
|
296
|
+
why: { type: 'string', minLength: 1 },
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
},
|
|
300
|
+
testsToInspect: {
|
|
301
|
+
type: 'array',
|
|
302
|
+
items: {
|
|
303
|
+
type: 'object',
|
|
304
|
+
additionalProperties: false,
|
|
305
|
+
required: ['target', 'why'],
|
|
306
|
+
properties: {
|
|
307
|
+
target: { type: 'string', minLength: 1 },
|
|
308
|
+
why: { type: 'string', minLength: 1 },
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
architectureRules: {
|
|
313
|
+
type: 'array',
|
|
314
|
+
items: {
|
|
315
|
+
type: 'object',
|
|
316
|
+
additionalProperties: false,
|
|
317
|
+
required: ['id', 'why'],
|
|
318
|
+
properties: {
|
|
319
|
+
id: { type: 'string', minLength: 1 },
|
|
320
|
+
why: { type: 'string', minLength: 1 },
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
riskyAreas: { type: 'array', items: { type: 'string' } },
|
|
325
|
+
missingInformation: { type: 'array', items: { type: 'string' } },
|
|
326
|
+
},
|
|
327
|
+
};
|
|
328
|
+
export const SmartContextDetailedPlanSchema = {
|
|
329
|
+
$schema: 'https://json-schema.org/draft-07/schema',
|
|
330
|
+
$id: 'urn:sharkcraft:schemas:smart-context-detailed-plan',
|
|
331
|
+
title: 'Smart Context Detailed Development Plan',
|
|
332
|
+
type: 'object',
|
|
333
|
+
additionalProperties: false,
|
|
334
|
+
required: ['summary', 'taskUnderstanding', 'likelyTechnicalApproach', 'handoffSummary'],
|
|
335
|
+
properties: {
|
|
336
|
+
summary: { type: 'string', minLength: 1 },
|
|
337
|
+
taskUnderstanding: { type: 'string', minLength: 1 },
|
|
338
|
+
likelyTechnicalApproach: { type: 'string', minLength: 1 },
|
|
339
|
+
existingPatternsToFollow: {
|
|
340
|
+
type: 'array',
|
|
341
|
+
items: {
|
|
342
|
+
type: 'object',
|
|
343
|
+
additionalProperties: false,
|
|
344
|
+
required: ['path', 'why'],
|
|
345
|
+
properties: {
|
|
346
|
+
path: { type: 'string', minLength: 1 },
|
|
347
|
+
why: { type: 'string', minLength: 1 },
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
filesToRead: {
|
|
352
|
+
type: 'array',
|
|
353
|
+
items: {
|
|
354
|
+
type: 'object',
|
|
355
|
+
additionalProperties: false,
|
|
356
|
+
required: ['path', 'why'],
|
|
357
|
+
properties: {
|
|
358
|
+
path: { type: 'string', minLength: 1 },
|
|
359
|
+
why: { type: 'string', minLength: 1 },
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
likelyFilesToModify: {
|
|
364
|
+
type: 'array',
|
|
365
|
+
items: {
|
|
366
|
+
type: 'object',
|
|
367
|
+
additionalProperties: false,
|
|
368
|
+
required: ['path', 'why'],
|
|
369
|
+
properties: {
|
|
370
|
+
path: { type: 'string', minLength: 1 },
|
|
371
|
+
why: { type: 'string', minLength: 1 },
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
filesToAvoid: {
|
|
376
|
+
type: 'array',
|
|
377
|
+
items: {
|
|
378
|
+
type: 'object',
|
|
379
|
+
additionalProperties: false,
|
|
380
|
+
required: ['path', 'why'],
|
|
381
|
+
properties: {
|
|
382
|
+
path: { type: 'string', minLength: 1 },
|
|
383
|
+
why: { type: 'string', minLength: 1 },
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
publicApiFiles: {
|
|
388
|
+
type: 'array',
|
|
389
|
+
items: {
|
|
390
|
+
type: 'object',
|
|
391
|
+
additionalProperties: false,
|
|
392
|
+
required: ['path', 'why'],
|
|
393
|
+
properties: {
|
|
394
|
+
path: { type: 'string', minLength: 1 },
|
|
395
|
+
why: { type: 'string', minLength: 1 },
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
testsToInspect: {
|
|
400
|
+
type: 'array',
|
|
401
|
+
items: {
|
|
402
|
+
type: 'object',
|
|
403
|
+
additionalProperties: false,
|
|
404
|
+
required: ['path', 'why'],
|
|
405
|
+
properties: {
|
|
406
|
+
path: { type: 'string', minLength: 1 },
|
|
407
|
+
why: { type: 'string', minLength: 1 },
|
|
408
|
+
},
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
architectureConstraints: { type: 'array', items: { type: 'string' } },
|
|
412
|
+
relatedRules: {
|
|
413
|
+
type: 'array',
|
|
414
|
+
items: {
|
|
415
|
+
type: 'object',
|
|
416
|
+
additionalProperties: false,
|
|
417
|
+
required: ['id', 'title', 'applyWhen'],
|
|
418
|
+
properties: {
|
|
419
|
+
id: { type: 'string', minLength: 1 },
|
|
420
|
+
title: { type: 'string', minLength: 1 },
|
|
421
|
+
applyWhen: { type: 'string', minLength: 1 },
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
relatedTemplates: {
|
|
426
|
+
type: 'array',
|
|
427
|
+
items: {
|
|
428
|
+
type: 'object',
|
|
429
|
+
additionalProperties: false,
|
|
430
|
+
required: ['id', 'useFor'],
|
|
431
|
+
properties: {
|
|
432
|
+
id: { type: 'string', minLength: 1 },
|
|
433
|
+
useFor: { type: 'string', minLength: 1 },
|
|
434
|
+
},
|
|
435
|
+
},
|
|
436
|
+
},
|
|
437
|
+
firstCommands: {
|
|
438
|
+
type: 'array',
|
|
439
|
+
items: {
|
|
440
|
+
type: 'object',
|
|
441
|
+
additionalProperties: false,
|
|
442
|
+
required: ['command', 'why'],
|
|
443
|
+
properties: {
|
|
444
|
+
command: { type: 'string', minLength: 1 },
|
|
445
|
+
why: { type: 'string', minLength: 1 },
|
|
446
|
+
},
|
|
447
|
+
},
|
|
448
|
+
},
|
|
449
|
+
implementationSteps: {
|
|
450
|
+
type: 'array',
|
|
451
|
+
items: {
|
|
452
|
+
type: 'object',
|
|
453
|
+
additionalProperties: false,
|
|
454
|
+
required: ['step', 'details'],
|
|
455
|
+
properties: {
|
|
456
|
+
step: { type: 'string', minLength: 1 },
|
|
457
|
+
details: { type: 'string', minLength: 1 },
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
risks: { type: 'array', items: { type: 'string' } },
|
|
462
|
+
unknowns: { type: 'array', items: { type: 'string' } },
|
|
463
|
+
validationCommands: { type: 'array', items: { type: 'string' } },
|
|
464
|
+
handoffSummary: { type: 'string', minLength: 1 },
|
|
465
|
+
},
|
|
466
|
+
};
|
|
256
467
|
export const AdoptionSummarySchema = {
|
|
257
468
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
258
|
-
$id: '
|
|
469
|
+
$id: 'urn:sharkcraft:schemas:adoption-summary',
|
|
259
470
|
title: 'SharkCraft Adoption Summary',
|
|
260
471
|
type: 'object',
|
|
261
472
|
required: ['confidence', 'summary', 'items', 'format', 'targets'],
|
|
@@ -269,7 +480,7 @@ export const AdoptionSummarySchema = {
|
|
|
269
480
|
};
|
|
270
481
|
export const ScaffoldPatternSchema = {
|
|
271
482
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
272
|
-
$id: '
|
|
483
|
+
$id: 'urn:sharkcraft:schemas:scaffold-pattern',
|
|
273
484
|
title: 'SharkCraft Scaffold Pattern',
|
|
274
485
|
type: 'object',
|
|
275
486
|
required: ['id', 'title', 'description', 'matchPaths', 'templateId', 'variables', 'appliesWhen', 'confidence'],
|
|
@@ -301,7 +512,7 @@ export const ScaffoldPatternSchema = {
|
|
|
301
512
|
};
|
|
302
513
|
export const InferredTemplateCandidateV2Schema = {
|
|
303
514
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
304
|
-
$id: '
|
|
515
|
+
$id: 'urn:sharkcraft:schemas:inferred-template-candidate-v2',
|
|
305
516
|
title: 'SharkCraft Inferred Template Candidate v2',
|
|
306
517
|
type: 'object',
|
|
307
518
|
required: ['schema', 'sample'],
|
|
@@ -325,7 +536,7 @@ export const InferredTemplateCandidateV2Schema = {
|
|
|
325
536
|
};
|
|
326
537
|
export const QualityReportSchema = {
|
|
327
538
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
328
|
-
$id: '
|
|
539
|
+
$id: 'urn:sharkcraft:schemas:quality-report',
|
|
329
540
|
title: 'SharkCraft Quality Report',
|
|
330
541
|
type: 'object',
|
|
331
542
|
required: ['overall', 'gates', 'score'],
|
|
@@ -343,7 +554,7 @@ export const QualityReportSchema = {
|
|
|
343
554
|
};
|
|
344
555
|
export const SafetyAuditSchema = {
|
|
345
556
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
346
|
-
$id: '
|
|
557
|
+
$id: 'urn:sharkcraft:schemas:safety-audit',
|
|
347
558
|
title: 'SharkCraft Safety Audit',
|
|
348
559
|
type: 'object',
|
|
349
560
|
required: ['mcp', 'commands'],
|
|
@@ -364,7 +575,7 @@ export const SafetyAuditSchema = {
|
|
|
364
575
|
};
|
|
365
576
|
export const DevSessionStateSchema = {
|
|
366
577
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
367
|
-
$id: '
|
|
578
|
+
$id: 'urn:sharkcraft:schemas:dev-session-state',
|
|
368
579
|
title: 'SharkCraft Dev Session State',
|
|
369
580
|
type: 'object',
|
|
370
581
|
required: ['schema', 'id', 'task', 'phase'],
|
|
@@ -388,7 +599,7 @@ export const DevSessionStateSchema = {
|
|
|
388
599
|
};
|
|
389
600
|
export const DashboardApiEnvelopeSchema = {
|
|
390
601
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
391
|
-
$id: '
|
|
602
|
+
$id: 'urn:sharkcraft:schemas:dashboard-api-envelope',
|
|
392
603
|
title: 'SharkCraft Dashboard API Envelope',
|
|
393
604
|
type: 'object',
|
|
394
605
|
required: ['schema', 'generatedAt', 'projectRoot', 'data'],
|
|
@@ -405,7 +616,7 @@ export const DashboardApiEnvelopeSchema = {
|
|
|
405
616
|
};
|
|
406
617
|
export const DashboardOverviewResponseSchema = {
|
|
407
618
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
408
|
-
$id: '
|
|
619
|
+
$id: 'urn:sharkcraft:schemas:dashboard-overview-response',
|
|
409
620
|
title: 'SharkCraft Dashboard Overview Response',
|
|
410
621
|
type: 'object',
|
|
411
622
|
required: ['readiness', 'sharkcraftPresent', 'configPresent', 'summary', 'topRecommendations', 'featureAvailability'],
|
|
@@ -436,7 +647,7 @@ export const DashboardOverviewResponseSchema = {
|
|
|
436
647
|
};
|
|
437
648
|
export const DashboardAdoptionResponseSchema = {
|
|
438
649
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
439
|
-
$id: '
|
|
650
|
+
$id: 'urn:sharkcraft:schemas:dashboard-adoption-response',
|
|
440
651
|
title: 'SharkCraft Dashboard Adoption Response',
|
|
441
652
|
type: 'object',
|
|
442
653
|
required: ['available', 'nextCommands', 'artifacts'],
|
|
@@ -449,7 +660,7 @@ export const DashboardAdoptionResponseSchema = {
|
|
|
449
660
|
};
|
|
450
661
|
export const DashboardSessionResponseSchema = {
|
|
451
662
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
452
|
-
$id: '
|
|
663
|
+
$id: 'urn:sharkcraft:schemas:dashboard-session-response',
|
|
453
664
|
title: 'SharkCraft Dashboard Session Response',
|
|
454
665
|
type: 'object',
|
|
455
666
|
required: ['available', 'sessionId', 'artifacts', 'commandHints'],
|
|
@@ -468,7 +679,7 @@ export const DashboardSessionResponseSchema = {
|
|
|
468
679
|
};
|
|
469
680
|
export const AdoptionMergePreviewSchema = {
|
|
470
681
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
471
|
-
$id: '
|
|
682
|
+
$id: 'urn:sharkcraft:schemas:adoption-merge-preview',
|
|
472
683
|
title: 'SharkCraft Adoption Merge Preview',
|
|
473
684
|
type: 'object',
|
|
474
685
|
required: ['schema', 'targets', 'safeBlocks', 'manualReview', 'lowConfidenceSkipped'],
|
|
@@ -486,7 +697,7 @@ export const AdoptionMergePreviewSchema = {
|
|
|
486
697
|
};
|
|
487
698
|
export const AdoptionReportSchema = {
|
|
488
699
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
489
|
-
$id: '
|
|
700
|
+
$id: 'urn:sharkcraft:schemas:adoption-report',
|
|
490
701
|
title: 'SharkCraft Adoption Report',
|
|
491
702
|
type: 'object',
|
|
492
703
|
required: ['schema'],
|
|
@@ -506,7 +717,7 @@ export const AdoptionReportSchema = {
|
|
|
506
717
|
};
|
|
507
718
|
export const FeatureBundleSchema = {
|
|
508
719
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
509
|
-
$id: '
|
|
720
|
+
$id: 'urn:sharkcraft:schemas:feature-bundle',
|
|
510
721
|
title: 'SharkCraft Feature Workflow Bundle',
|
|
511
722
|
type: 'object',
|
|
512
723
|
additionalProperties: true,
|
|
@@ -528,7 +739,7 @@ export const FeatureBundleSchema = {
|
|
|
528
739
|
};
|
|
529
740
|
export const PlanDependencyGraphSchema = {
|
|
530
741
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
531
|
-
$id: '
|
|
742
|
+
$id: 'urn:sharkcraft:schemas:plan-dependency-graph',
|
|
532
743
|
title: 'SharkCraft Plan Dependency Graph',
|
|
533
744
|
type: 'object',
|
|
534
745
|
required: ['schema', 'bundleId', 'nodes', 'edges'],
|
|
@@ -542,7 +753,7 @@ export const PlanDependencyGraphSchema = {
|
|
|
542
753
|
};
|
|
543
754
|
export const AreaMapSchema = {
|
|
544
755
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
545
|
-
$id: '
|
|
756
|
+
$id: 'urn:sharkcraft:schemas:area-map',
|
|
546
757
|
title: 'SharkCraft Repository Area Map',
|
|
547
758
|
type: 'object',
|
|
548
759
|
required: ['schema', 'projectRoot', 'areas'],
|
|
@@ -555,7 +766,7 @@ export const AreaMapSchema = {
|
|
|
555
766
|
};
|
|
556
767
|
export const ImpactAnalysisSchema = {
|
|
557
768
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
558
|
-
$id: '
|
|
769
|
+
$id: 'urn:sharkcraft:schemas:impact-analysis',
|
|
559
770
|
title: 'SharkCraft Impact Analysis',
|
|
560
771
|
type: 'object',
|
|
561
772
|
required: ['schema', 'task'],
|
|
@@ -569,7 +780,7 @@ export const ImpactAnalysisSchema = {
|
|
|
569
780
|
};
|
|
570
781
|
export const TestImpactSchema = {
|
|
571
782
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
572
|
-
$id: '
|
|
783
|
+
$id: 'urn:sharkcraft:schemas:test-impact',
|
|
573
784
|
title: 'SharkCraft Test Impact',
|
|
574
785
|
type: 'object',
|
|
575
786
|
required: ['schema'],
|
|
@@ -582,7 +793,7 @@ export const TestImpactSchema = {
|
|
|
582
793
|
};
|
|
583
794
|
export const OwnershipRuleSchema = {
|
|
584
795
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
585
|
-
$id: '
|
|
796
|
+
$id: 'urn:sharkcraft:schemas:ownership-rule',
|
|
586
797
|
title: 'SharkCraft Ownership Rule',
|
|
587
798
|
type: 'object',
|
|
588
799
|
required: ['id', 'title', 'paths', 'owners'],
|
|
@@ -597,7 +808,7 @@ export const OwnershipRuleSchema = {
|
|
|
597
808
|
};
|
|
598
809
|
export const PolicyReportSchema = {
|
|
599
810
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
600
|
-
$id: '
|
|
811
|
+
$id: 'urn:sharkcraft:schemas:policy-report',
|
|
601
812
|
title: 'SharkCraft Policy Report',
|
|
602
813
|
type: 'object',
|
|
603
814
|
required: ['schema', 'checks', 'summary'],
|
|
@@ -609,7 +820,7 @@ export const PolicyReportSchema = {
|
|
|
609
820
|
};
|
|
610
821
|
export const QualityBaselineSchema = {
|
|
611
822
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
612
|
-
$id: '
|
|
823
|
+
$id: 'urn:sharkcraft:schemas:quality-baseline',
|
|
613
824
|
title: 'SharkCraft Quality Baseline',
|
|
614
825
|
type: 'object',
|
|
615
826
|
required: ['schema', 'createdAt', 'qualityScore'],
|
|
@@ -624,7 +835,7 @@ export const QualityBaselineSchema = {
|
|
|
624
835
|
};
|
|
625
836
|
export const DriftBaselineSchema = {
|
|
626
837
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
627
|
-
$id: '
|
|
838
|
+
$id: 'urn:sharkcraft:schemas:drift-baseline',
|
|
628
839
|
title: 'SharkCraft Drift Baseline',
|
|
629
840
|
type: 'object',
|
|
630
841
|
required: ['schema', 'findings'],
|
|
@@ -635,7 +846,7 @@ export const DriftBaselineSchema = {
|
|
|
635
846
|
};
|
|
636
847
|
export const ReviewPacketV2Schema = {
|
|
637
848
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
638
|
-
$id: '
|
|
849
|
+
$id: 'urn:sharkcraft:schemas:review-packet-v2',
|
|
639
850
|
title: 'SharkCraft Review Packet v2',
|
|
640
851
|
type: 'object',
|
|
641
852
|
required: ['schema', 'base', 'impact'],
|
|
@@ -651,7 +862,7 @@ export const ReviewPacketV2Schema = {
|
|
|
651
862
|
};
|
|
652
863
|
export const PackCompatibilitySchema = {
|
|
653
864
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
654
|
-
$id: '
|
|
865
|
+
$id: 'urn:sharkcraft:schemas:pack-compatibility',
|
|
655
866
|
title: 'SharkCraft Pack Compatibility',
|
|
656
867
|
type: 'object',
|
|
657
868
|
required: ['schema', 'packageName', 'overall'],
|
|
@@ -664,7 +875,7 @@ export const PackCompatibilitySchema = {
|
|
|
664
875
|
};
|
|
665
876
|
export const PackQualityScoreSchema = {
|
|
666
877
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
667
|
-
$id: '
|
|
878
|
+
$id: 'urn:sharkcraft:schemas:pack-quality-score',
|
|
668
879
|
title: 'SharkCraft Pack Quality Score',
|
|
669
880
|
type: 'object',
|
|
670
881
|
required: ['schema', 'packageName', 'overall'],
|
|
@@ -677,7 +888,7 @@ export const PackQualityScoreSchema = {
|
|
|
677
888
|
};
|
|
678
889
|
export const ImportGraphAnalysisSchema = {
|
|
679
890
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
680
|
-
$id: '
|
|
891
|
+
$id: 'urn:sharkcraft:schemas:import-graph-analysis',
|
|
681
892
|
title: 'SharkCraft Import Graph Analysis',
|
|
682
893
|
type: 'object',
|
|
683
894
|
required: ['schema'],
|
|
@@ -691,7 +902,7 @@ export const ImportGraphAnalysisSchema = {
|
|
|
691
902
|
};
|
|
692
903
|
export const AgentContractSchema = {
|
|
693
904
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
694
|
-
$id: '
|
|
905
|
+
$id: 'urn:sharkcraft:schemas:agent-contract',
|
|
695
906
|
title: 'SharkCraft Agent Contract',
|
|
696
907
|
type: 'object',
|
|
697
908
|
required: ['schema', 'task', 'role', 'mode'],
|
|
@@ -714,7 +925,7 @@ export const AgentContractSchema = {
|
|
|
714
925
|
};
|
|
715
926
|
export const PlanSimulationSchema = {
|
|
716
927
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
717
|
-
$id: '
|
|
928
|
+
$id: 'urn:sharkcraft:schemas:plan-simulation',
|
|
718
929
|
title: 'SharkCraft Plan Simulation Report',
|
|
719
930
|
type: 'object',
|
|
720
931
|
required: ['schema', 'source', 'planSchema', 'applyReadiness', 'files'],
|
|
@@ -731,7 +942,7 @@ export const PlanSimulationSchema = {
|
|
|
731
942
|
};
|
|
732
943
|
export const RepoMemorySchema = {
|
|
733
944
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
734
|
-
$id: '
|
|
945
|
+
$id: 'urn:sharkcraft:schemas:repo-memory',
|
|
735
946
|
title: 'SharkCraft Repository Memory Index',
|
|
736
947
|
type: 'object',
|
|
737
948
|
required: ['schema', 'projectRoot', 'sourceCount'],
|
|
@@ -745,7 +956,7 @@ export const RepoMemorySchema = {
|
|
|
745
956
|
};
|
|
746
957
|
export const HealingPlanSchema = {
|
|
747
958
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
748
|
-
$id: '
|
|
959
|
+
$id: 'urn:sharkcraft:schemas:healing-plan',
|
|
749
960
|
title: 'SharkCraft Healing Plan',
|
|
750
961
|
type: 'object',
|
|
751
962
|
required: ['schema', 'inputKind', 'confidence', 'recommendedCommands'],
|
|
@@ -760,7 +971,7 @@ export const HealingPlanSchema = {
|
|
|
760
971
|
};
|
|
761
972
|
export const ExecutionGraphSchema = {
|
|
762
973
|
$schema: 'https://json-schema.org/draft-07/schema',
|
|
763
|
-
$id: '
|
|
974
|
+
$id: 'urn:sharkcraft:schemas:execution-graph',
|
|
764
975
|
title: 'SharkCraft Task Execution Graph',
|
|
765
976
|
type: 'object',
|
|
766
977
|
required: ['schema', 'task', 'nodes', 'edges'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/surface/profiles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;
|
|
1
|
+
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/surface/profiles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,EAAE,EAAE,MAAM,CAAC;IACX,6DAA6D;IAC7D,WAAW,EAAE,MAAM,CAAC;IACpB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,uEAAuE;IACvE,MAAM,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;IACrC,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAkLD,oCAAoC;AACpC,eAAO,MAAM,gBAAgB,EAAE,SAAS,eAAe,EAOrD,CAAC;AAEH,gEAAgE;AAChE,wBAAgB,aAAa,CAC3B,YAAY,GAAE,SAAS,eAAe,EAAO,GAC5C,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAQ9B;AAED,6DAA6D;AAC7D,wBAAgB,UAAU,CACxB,EAAE,EAAE,MAAM,EACV,YAAY,GAAE,SAAS,eAAe,EAAO,GAC5C,eAAe,GAAG,SAAS,CAE7B"}
|
package/dist/surface/profiles.js
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Profiles are PURE DATA — no logic, no AI. Adding a profile is just
|
|
11
11
|
* adding an entry here (or in a pack manifest).
|
|
12
12
|
*/
|
|
13
|
+
import { COMMAND_CATALOG } from "../commands/command-catalog.js";
|
|
13
14
|
/**
|
|
14
15
|
* `developer` profile. Default for monorepo / app-with-libs shapes.
|
|
15
16
|
* Hides nothing — pack authors / power users see the full extended
|
|
@@ -102,26 +103,69 @@ const CI_PROFILE = {
|
|
|
102
103
|
'dev start',
|
|
103
104
|
'dev status',
|
|
104
105
|
'dev report',
|
|
105
|
-
'session',
|
|
106
106
|
'ask',
|
|
107
107
|
'orchestrate',
|
|
108
108
|
],
|
|
109
109
|
};
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
112
|
-
*
|
|
111
|
+
* Generic machinery categories that are noise for an inline coding agent:
|
|
112
|
+
* CI / release gates, pack maintenance & signing, bundle replay, provenance,
|
|
113
|
+
* report generation, schema / governance / ingestion / lifecycle / polyglot /
|
|
114
|
+
* integration tooling. Commands stay fully CALLABLE — the agent profile just
|
|
115
|
+
* filters them from the agent-facing listing.
|
|
116
|
+
*/
|
|
117
|
+
const AGENT_HIDDEN_CATEGORIES = new Set([
|
|
118
|
+
'release',
|
|
119
|
+
'ci',
|
|
120
|
+
'bundles',
|
|
121
|
+
'bundle',
|
|
122
|
+
'packs',
|
|
123
|
+
'pack-author',
|
|
124
|
+
'provenance',
|
|
125
|
+
'reports',
|
|
126
|
+
'schemas',
|
|
127
|
+
'governance',
|
|
128
|
+
'ingestion',
|
|
129
|
+
'lifecycle',
|
|
130
|
+
'export',
|
|
131
|
+
'polyglot',
|
|
132
|
+
'integrations',
|
|
133
|
+
]);
|
|
134
|
+
/** Read-only discovery verbs kept visible even though their category is hidden,
|
|
135
|
+
* so an agent can still inspect packs. */
|
|
136
|
+
const AGENT_KEEP_VISIBLE = new Set(['packs list', 'packs doctor']);
|
|
137
|
+
/** Interactive / write-source verbs hidden from the agent surface. */
|
|
138
|
+
const AGENT_INTERACTIVE_HIDDEN = [
|
|
139
|
+
'dev',
|
|
140
|
+
'dev start',
|
|
141
|
+
'dev status',
|
|
142
|
+
'dev report',
|
|
143
|
+
'orchestrate',
|
|
144
|
+
'ask',
|
|
145
|
+
];
|
|
146
|
+
/**
|
|
147
|
+
* Derive the hidden command list from machinery categories MECHANICALLY from the
|
|
148
|
+
* catalogue, so it never drifts as commands are added/removed.
|
|
149
|
+
*/
|
|
150
|
+
function deriveHiddenByCategory(hiddenCats, keep) {
|
|
151
|
+
return COMMAND_CATALOG.filter((e) => hiddenCats.has(e.category) && !keep.has(e.command))
|
|
152
|
+
.map((e) => e.command)
|
|
153
|
+
.sort();
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* `agent` profile. Optimized for inline coding-agent / MCP use. Hides
|
|
157
|
+
* interactive verbs AND CI/release/pack-maintenance machinery; favors JSON-pipe
|
|
158
|
+
* read surfaces. Every hidden command remains callable (hide != disable).
|
|
113
159
|
*/
|
|
114
160
|
const AGENT_PROFILE = {
|
|
115
161
|
id: 'agent',
|
|
116
|
-
description: 'Agent / MCP-friendly default. Hides interactive verbs; favors JSON-pipe surfaces.',
|
|
162
|
+
description: 'Agent / MCP-friendly default. Hides interactive verbs + CI/release/pack-maintenance machinery from the listing (commands stay callable); favors JSON-pipe read surfaces.',
|
|
117
163
|
source: 'builtin',
|
|
118
164
|
hidden: [
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
'orchestrate',
|
|
124
|
-
'ask',
|
|
165
|
+
...new Set([
|
|
166
|
+
...AGENT_INTERACTIVE_HIDDEN,
|
|
167
|
+
...deriveHiddenByCategory(AGENT_HIDDEN_CATEGORIES, AGENT_KEEP_VISIBLE),
|
|
168
|
+
]),
|
|
125
169
|
],
|
|
126
170
|
};
|
|
127
171
|
/** Catalog of built-in profiles. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface-config-writer.d.ts","sourceRoot":"","sources":["../../src/surface/surface-config-writer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,KAAK,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB;IACjB,SAAS,EAAE,KAAK,GAAG,QAAQ,CAAC;CAC7B;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACrC,yDAAyD;IACzD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACrC,iDAAiD;IACjD,WAAW,EAAE,OAAO,CAAC;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,cAAc,GAAG,SAAS,EAClC,KAAK,EAAE,SAAS,kBAAkB,EAAE,GACnC,kBAAkB,CA0BpB;AAOD;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,kBAAkB,GACvB,yBAAyB,CAe3B;
|
|
1
|
+
{"version":3,"file":"surface-config-writer.d.ts","sourceRoot":"","sources":["../../src/surface/surface-config-writer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,WAAW,kBA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