@agent-scope/cli 1.18.1 → 1.20.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.d.cts CHANGED
@@ -116,6 +116,31 @@ declare function formatCiReport(result: CiResult): string;
116
116
  */
117
117
  declare function createCiCommand(): Command;
118
118
 
119
+ /**
120
+ * doctor-commands.ts
121
+ *
122
+ * `scope doctor` — health check that validates the current project's Scope
123
+ * setup and reports issues with config, tokens, globalCSS, and manifest staleness.
124
+ */
125
+
126
+ declare function createDoctorCommand(): Command;
127
+
128
+ /**
129
+ * get-skill-command.ts
130
+ *
131
+ * `scope get-skill` — print the Scope SKILL.md to stdout so an agent can
132
+ * load it directly into its context without knowing the file path.
133
+ *
134
+ * The skill content is embedded at build time by scripts/generate-skill-content.mjs
135
+ * so this works correctly in any install context (global npm, local node_modules, etc.)
136
+ *
137
+ * Usage:
138
+ * scope get-skill # print raw markdown to stdout
139
+ * scope get-skill --json # wrap in JSON { "skill": "<content>" }
140
+ */
141
+
142
+ declare function createGetSkillCommand(): Command;
143
+
119
144
  /**
120
145
  * @agent-scope/cli — `scope init` command implementation
121
146
  *
@@ -456,6 +481,8 @@ interface ListRow {
456
481
  complexityClass: ComplexityClass;
457
482
  hookCount: number;
458
483
  contextCount: number;
484
+ collection?: string;
485
+ internal: boolean;
459
486
  }
460
487
  interface QueryRow {
461
488
  name: string;
@@ -463,6 +490,8 @@ interface QueryRow {
463
490
  complexityClass: ComplexityClass;
464
491
  hooks: string;
465
492
  contexts: string;
493
+ collection?: string;
494
+ internal: boolean;
466
495
  }
467
496
  /**
468
497
  * Minimal glob matcher supporting `*` (any chars except `/`) and `**` (any chars).
@@ -533,4 +562,4 @@ declare function resolveTokenFilePath(fileFlag?: string): string;
533
562
  */
534
563
  declare function createTokensExportCommand(): Command;
535
564
 
536
- export { CI_EXIT, type CausalityLink, type CiCheckName, type CiCheckResult, type CiExitCode, type CiOptions, type CiResult, type ComponentHookProfile, type HookHeuristicFlag, type HookProfile, type HooksProfilingResult, type InitOptions, type InitResult, type InteractionProfile, type InteractionStep$1 as InteractionStep, type InteractionTiming, type LayoutShiftData, type ListRow, type ProfileHeuristicFlag, type QueryRow, type ReactScopeConfig, type RenderEvent, type RenderTrigger, type RendersAnalysisResult, type ScopeCLIOptions, createCiCommand, createInitCommand, createInstrumentCommand, createManifestCommand, createProgram, createTokensCommand, createTokensExportCommand, formatCiReport, isTTY, matchGlob, resolveTokenFilePath, runCi, runInit };
565
+ export { CI_EXIT, type CausalityLink, type CiCheckName, type CiCheckResult, type CiExitCode, type CiOptions, type CiResult, type ComponentHookProfile, type HookHeuristicFlag, type HookProfile, type HooksProfilingResult, type InitOptions, type InitResult, type InteractionProfile, type InteractionStep$1 as InteractionStep, type InteractionTiming, type LayoutShiftData, type ListRow, type ProfileHeuristicFlag, type QueryRow, type ReactScopeConfig, type RenderEvent, type RenderTrigger, type RendersAnalysisResult, type ScopeCLIOptions, createCiCommand, createDoctorCommand, createGetSkillCommand, createInitCommand, createInstrumentCommand, createManifestCommand, createProgram, createTokensCommand, createTokensExportCommand, formatCiReport, isTTY, matchGlob, resolveTokenFilePath, runCi, runInit };
package/dist/index.d.ts CHANGED
@@ -116,6 +116,31 @@ declare function formatCiReport(result: CiResult): string;
116
116
  */
117
117
  declare function createCiCommand(): Command;
118
118
 
119
+ /**
120
+ * doctor-commands.ts
121
+ *
122
+ * `scope doctor` — health check that validates the current project's Scope
123
+ * setup and reports issues with config, tokens, globalCSS, and manifest staleness.
124
+ */
125
+
126
+ declare function createDoctorCommand(): Command;
127
+
128
+ /**
129
+ * get-skill-command.ts
130
+ *
131
+ * `scope get-skill` — print the Scope SKILL.md to stdout so an agent can
132
+ * load it directly into its context without knowing the file path.
133
+ *
134
+ * The skill content is embedded at build time by scripts/generate-skill-content.mjs
135
+ * so this works correctly in any install context (global npm, local node_modules, etc.)
136
+ *
137
+ * Usage:
138
+ * scope get-skill # print raw markdown to stdout
139
+ * scope get-skill --json # wrap in JSON { "skill": "<content>" }
140
+ */
141
+
142
+ declare function createGetSkillCommand(): Command;
143
+
119
144
  /**
120
145
  * @agent-scope/cli — `scope init` command implementation
121
146
  *
@@ -456,6 +481,8 @@ interface ListRow {
456
481
  complexityClass: ComplexityClass;
457
482
  hookCount: number;
458
483
  contextCount: number;
484
+ collection?: string;
485
+ internal: boolean;
459
486
  }
460
487
  interface QueryRow {
461
488
  name: string;
@@ -463,6 +490,8 @@ interface QueryRow {
463
490
  complexityClass: ComplexityClass;
464
491
  hooks: string;
465
492
  contexts: string;
493
+ collection?: string;
494
+ internal: boolean;
466
495
  }
467
496
  /**
468
497
  * Minimal glob matcher supporting `*` (any chars except `/`) and `**` (any chars).
@@ -533,4 +562,4 @@ declare function resolveTokenFilePath(fileFlag?: string): string;
533
562
  */
534
563
  declare function createTokensExportCommand(): Command;
535
564
 
536
- export { CI_EXIT, type CausalityLink, type CiCheckName, type CiCheckResult, type CiExitCode, type CiOptions, type CiResult, type ComponentHookProfile, type HookHeuristicFlag, type HookProfile, type HooksProfilingResult, type InitOptions, type InitResult, type InteractionProfile, type InteractionStep$1 as InteractionStep, type InteractionTiming, type LayoutShiftData, type ListRow, type ProfileHeuristicFlag, type QueryRow, type ReactScopeConfig, type RenderEvent, type RenderTrigger, type RendersAnalysisResult, type ScopeCLIOptions, createCiCommand, createInitCommand, createInstrumentCommand, createManifestCommand, createProgram, createTokensCommand, createTokensExportCommand, formatCiReport, isTTY, matchGlob, resolveTokenFilePath, runCi, runInit };
565
+ export { CI_EXIT, type CausalityLink, type CiCheckName, type CiCheckResult, type CiExitCode, type CiOptions, type CiResult, type ComponentHookProfile, type HookHeuristicFlag, type HookProfile, type HooksProfilingResult, type InitOptions, type InitResult, type InteractionProfile, type InteractionStep$1 as InteractionStep, type InteractionTiming, type LayoutShiftData, type ListRow, type ProfileHeuristicFlag, type QueryRow, type ReactScopeConfig, type RenderEvent, type RenderTrigger, type RendersAnalysisResult, type ScopeCLIOptions, createCiCommand, createDoctorCommand, createGetSkillCommand, createInitCommand, createInstrumentCommand, createManifestCommand, createProgram, createTokensCommand, createTokensExportCommand, formatCiReport, isTTY, matchGlob, resolveTokenFilePath, runCi, runInit };