@agent-scope/cli 1.19.0 → 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/cli.js +319 -79
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +303 -65
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +303 -66
- package/dist/index.js.map +1 -1
- package/package.json +9 -8
package/dist/index.d.cts
CHANGED
|
@@ -125,6 +125,22 @@ declare function createCiCommand(): Command;
|
|
|
125
125
|
|
|
126
126
|
declare function createDoctorCommand(): Command;
|
|
127
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
|
+
|
|
128
144
|
/**
|
|
129
145
|
* @agent-scope/cli — `scope init` command implementation
|
|
130
146
|
*
|
|
@@ -465,6 +481,8 @@ interface ListRow {
|
|
|
465
481
|
complexityClass: ComplexityClass;
|
|
466
482
|
hookCount: number;
|
|
467
483
|
contextCount: number;
|
|
484
|
+
collection?: string;
|
|
485
|
+
internal: boolean;
|
|
468
486
|
}
|
|
469
487
|
interface QueryRow {
|
|
470
488
|
name: string;
|
|
@@ -472,6 +490,8 @@ interface QueryRow {
|
|
|
472
490
|
complexityClass: ComplexityClass;
|
|
473
491
|
hooks: string;
|
|
474
492
|
contexts: string;
|
|
493
|
+
collection?: string;
|
|
494
|
+
internal: boolean;
|
|
475
495
|
}
|
|
476
496
|
/**
|
|
477
497
|
* Minimal glob matcher supporting `*` (any chars except `/`) and `**` (any chars).
|
|
@@ -542,4 +562,4 @@ declare function resolveTokenFilePath(fileFlag?: string): string;
|
|
|
542
562
|
*/
|
|
543
563
|
declare function createTokensExportCommand(): Command;
|
|
544
564
|
|
|
545
|
-
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, 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
|
@@ -125,6 +125,22 @@ declare function createCiCommand(): Command;
|
|
|
125
125
|
|
|
126
126
|
declare function createDoctorCommand(): Command;
|
|
127
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
|
+
|
|
128
144
|
/**
|
|
129
145
|
* @agent-scope/cli — `scope init` command implementation
|
|
130
146
|
*
|
|
@@ -465,6 +481,8 @@ interface ListRow {
|
|
|
465
481
|
complexityClass: ComplexityClass;
|
|
466
482
|
hookCount: number;
|
|
467
483
|
contextCount: number;
|
|
484
|
+
collection?: string;
|
|
485
|
+
internal: boolean;
|
|
468
486
|
}
|
|
469
487
|
interface QueryRow {
|
|
470
488
|
name: string;
|
|
@@ -472,6 +490,8 @@ interface QueryRow {
|
|
|
472
490
|
complexityClass: ComplexityClass;
|
|
473
491
|
hooks: string;
|
|
474
492
|
contexts: string;
|
|
493
|
+
collection?: string;
|
|
494
|
+
internal: boolean;
|
|
475
495
|
}
|
|
476
496
|
/**
|
|
477
497
|
* Minimal glob matcher supporting `*` (any chars except `/`) and `**` (any chars).
|
|
@@ -542,4 +562,4 @@ declare function resolveTokenFilePath(fileFlag?: string): string;
|
|
|
542
562
|
*/
|
|
543
563
|
declare function createTokensExportCommand(): Command;
|
|
544
564
|
|
|
545
|
-
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, 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 };
|