@agents-inc/cli 0.84.0 → 0.84.1
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/CHANGELOG.md +10 -0
- package/dist/{chunk-KJX5G75S.js → chunk-2XVLQDNI.js} +114 -6
- package/dist/chunk-2XVLQDNI.js.map +1 -0
- package/dist/{chunk-LI5NJ4VQ.js → chunk-6VGBO6SZ.js} +3 -3
- package/dist/chunk-6XWHJHNZ.js +400 -0
- package/dist/{chunk-2XLBC3W6.js.map → chunk-6XWHJHNZ.js.map} +1 -1
- package/dist/{chunk-TE4LD3WR.js → chunk-7UZUDHP7.js} +2 -2
- package/dist/{chunk-2PXXNFTL.js → chunk-AABH2HSE.js} +4 -4
- package/dist/{chunk-HQNFKBZW.js → chunk-ANXHMG32.js} +5 -7
- package/dist/{chunk-HQNFKBZW.js.map → chunk-ANXHMG32.js.map} +1 -1
- package/dist/{chunk-4IAGARTF.js → chunk-ANZV33N5.js} +2 -2
- package/dist/{chunk-AZLM7OCV.js → chunk-BEFYAFGV.js} +2 -2
- package/dist/{chunk-J7VVUJ6I.js → chunk-BEZ6ZPDS.js} +2 -2
- package/dist/{chunk-23UI23AW.js → chunk-CKZ65VFJ.js} +2 -2
- package/dist/{chunk-XGFLPLNO.js → chunk-CYPCJ536.js} +5 -5
- package/dist/{chunk-PTKJKDYH.js → chunk-FKXD3EXJ.js} +16 -22
- package/dist/chunk-FKXD3EXJ.js.map +1 -0
- package/dist/{chunk-2EPX6D74.js → chunk-G2MINRWX.js} +4 -4
- package/dist/{chunk-DFFH7HQZ.js → chunk-HU6XQVZL.js} +2 -2
- package/dist/{chunk-LVIMGRFS.js → chunk-L7COG2EX.js} +4 -4
- package/dist/{chunk-SD3HTFUK.js → chunk-LMR7VAP3.js} +2 -2
- package/dist/{chunk-XCRX5WVX.js → chunk-LN76TJJP.js} +13 -13
- package/dist/{chunk-2AHXUWHO.js → chunk-LTFGEVTM.js} +4 -4
- package/dist/{chunk-ND4ZJOT7.js → chunk-NL5EB57E.js} +3 -3
- package/dist/{chunk-ZYTLL3MM.js → chunk-O27WJ5KS.js} +192 -3
- package/dist/chunk-O27WJ5KS.js.map +1 -0
- package/dist/{chunk-GWXZSQUS.js → chunk-TAQGYJIS.js} +3 -3
- package/dist/{chunk-33AA7KWH.js → chunk-TXW257CU.js} +6 -6
- package/dist/{chunk-DIIL3ELZ.js → chunk-W7LHI54P.js} +9 -17
- package/dist/chunk-W7LHI54P.js.map +1 -0
- package/dist/{chunk-IG5B34MJ.js → chunk-WCCWQ56J.js} +4 -4
- package/dist/{chunk-2BF4WAYU.js → chunk-WJKD6EGK.js} +9 -11
- package/dist/chunk-WJKD6EGK.js.map +1 -0
- package/dist/{chunk-XAVVPPWP.js → chunk-YJ2URWF7.js} +2 -2
- package/dist/{chunk-3PECYFYB.js → chunk-YSLDMYWP.js} +4 -81
- package/dist/chunk-YSLDMYWP.js.map +1 -0
- package/dist/{chunk-3JTBSJDE.js → chunk-YYIWB42G.js} +2 -2
- package/dist/{chunk-DGZ7HWIG.js → chunk-ZGD7PLLC.js} +3 -3
- package/dist/commands/build/marketplace.js +4 -4
- package/dist/commands/build/plugins.js +7 -7
- package/dist/commands/build/stack.js +7 -7
- package/dist/commands/compile.js +7 -7
- package/dist/commands/config/index.js +7 -7
- package/dist/commands/config/path.js +6 -6
- package/dist/commands/config/show.js +7 -7
- package/dist/commands/diff.js +6 -6
- package/dist/commands/doctor.js +6 -6
- package/dist/commands/edit.js +22 -22
- package/dist/commands/eject.js +6 -6
- package/dist/commands/import/skill.js +6 -6
- package/dist/commands/info.js +6 -6
- package/dist/commands/init.js +22 -22
- package/dist/commands/list.js +6 -6
- package/dist/commands/new/agent.js +7 -7
- package/dist/commands/new/marketplace.js +8 -8
- package/dist/commands/new/skill.js +7 -7
- package/dist/commands/outdated.js +6 -6
- package/dist/commands/search.js +6 -6
- package/dist/commands/uninstall.js +6 -6
- package/dist/commands/update.js +7 -7
- package/dist/commands/validate.js +6 -27
- package/dist/commands/validate.js.map +1 -1
- package/dist/components/wizard/category-grid.js +2 -2
- package/dist/components/wizard/category-grid.test.js +10 -10
- package/dist/components/wizard/domain-selection.js +8 -8
- package/dist/components/wizard/help-modal.js +7 -7
- package/dist/components/wizard/source-grid.js +2 -2
- package/dist/components/wizard/source-grid.test.js +10 -10
- package/dist/components/wizard/stack-selection.js +7 -7
- package/dist/components/wizard/step-agents.js +8 -8
- package/dist/components/wizard/step-agents.test.js +11 -11
- package/dist/components/wizard/step-build.js +8 -8
- package/dist/components/wizard/step-build.test.js +14 -13
- package/dist/components/wizard/step-build.test.js.map +1 -1
- package/dist/components/wizard/step-confirm.js +4 -4
- package/dist/components/wizard/step-confirm.test.js +9 -9
- package/dist/components/wizard/step-settings.js +6 -6
- package/dist/components/wizard/step-settings.test.js +9 -9
- package/dist/components/wizard/step-sources.js +8 -8
- package/dist/components/wizard/step-sources.test.js +11 -11
- package/dist/components/wizard/step-stack.js +8 -8
- package/dist/components/wizard/step-stack.test.js +9 -9
- package/dist/components/wizard/wizard-layout.js +9 -9
- package/dist/components/wizard/wizard.js +20 -20
- package/dist/hooks/init.js +22 -22
- package/dist/{loader-LI4IFZB7.js → loader-GT2A7R7U.js} +4 -4
- package/dist/{source-loader-GHDWSV2H.js → source-loader-TNQW4P47.js} +6 -6
- package/dist/{source-manager-7RTGIBQK.js → source-manager-INRXRFJE.js} +6 -6
- package/dist/stores/wizard-store.js +6 -6
- package/dist/stores/wizard-store.test.js +110 -9
- package/dist/stores/wizard-store.test.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-2BF4WAYU.js.map +0 -1
- package/dist/chunk-2XLBC3W6.js +0 -243
- package/dist/chunk-3PECYFYB.js.map +0 -1
- package/dist/chunk-DIIL3ELZ.js.map +0 -1
- package/dist/chunk-KJX5G75S.js.map +0 -1
- package/dist/chunk-PTKJKDYH.js.map +0 -1
- package/dist/chunk-ZYTLL3MM.js.map +0 -1
- /package/dist/{chunk-LI5NJ4VQ.js.map → chunk-6VGBO6SZ.js.map} +0 -0
- /package/dist/{chunk-TE4LD3WR.js.map → chunk-7UZUDHP7.js.map} +0 -0
- /package/dist/{chunk-2PXXNFTL.js.map → chunk-AABH2HSE.js.map} +0 -0
- /package/dist/{chunk-4IAGARTF.js.map → chunk-ANZV33N5.js.map} +0 -0
- /package/dist/{chunk-AZLM7OCV.js.map → chunk-BEFYAFGV.js.map} +0 -0
- /package/dist/{chunk-J7VVUJ6I.js.map → chunk-BEZ6ZPDS.js.map} +0 -0
- /package/dist/{chunk-23UI23AW.js.map → chunk-CKZ65VFJ.js.map} +0 -0
- /package/dist/{chunk-XGFLPLNO.js.map → chunk-CYPCJ536.js.map} +0 -0
- /package/dist/{chunk-2EPX6D74.js.map → chunk-G2MINRWX.js.map} +0 -0
- /package/dist/{chunk-DFFH7HQZ.js.map → chunk-HU6XQVZL.js.map} +0 -0
- /package/dist/{chunk-LVIMGRFS.js.map → chunk-L7COG2EX.js.map} +0 -0
- /package/dist/{chunk-SD3HTFUK.js.map → chunk-LMR7VAP3.js.map} +0 -0
- /package/dist/{chunk-XCRX5WVX.js.map → chunk-LN76TJJP.js.map} +0 -0
- /package/dist/{chunk-2AHXUWHO.js.map → chunk-LTFGEVTM.js.map} +0 -0
- /package/dist/{chunk-ND4ZJOT7.js.map → chunk-NL5EB57E.js.map} +0 -0
- /package/dist/{chunk-GWXZSQUS.js.map → chunk-TAQGYJIS.js.map} +0 -0
- /package/dist/{chunk-33AA7KWH.js.map → chunk-TXW257CU.js.map} +0 -0
- /package/dist/{chunk-IG5B34MJ.js.map → chunk-WCCWQ56J.js.map} +0 -0
- /package/dist/{chunk-XAVVPPWP.js.map → chunk-YJ2URWF7.js.map} +0 -0
- /package/dist/{chunk-3JTBSJDE.js.map → chunk-YYIWB42G.js.map} +0 -0
- /package/dist/{chunk-DGZ7HWIG.js.map → chunk-ZGD7PLLC.js.map} +0 -0
- /package/dist/{loader-LI4IFZB7.js.map → loader-GT2A7R7U.js.map} +0 -0
- /package/dist/{source-loader-GHDWSV2H.js.map → source-loader-TNQW4P47.js.map} +0 -0
- /package/dist/{source-manager-7RTGIBQK.js.map → source-manager-INRXRFJE.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
getDomainDisplayName
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NL5EB57E.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_COLORS
|
|
7
7
|
} from "./chunk-6PGL2XMY.js";
|
|
@@ -106,4 +106,4 @@ var StepConfirm = ({
|
|
|
106
106
|
export {
|
|
107
107
|
StepConfirm
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-ANZV33N5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
TEST_CATEGORIES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HU6XQVZL.js";
|
|
5
5
|
import {
|
|
6
6
|
init_esm_shims
|
|
7
7
|
} from "./chunk-DHET7RCE.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
CLI_FRAMEWORK_CATEGORY,
|
|
74
74
|
FRAMEWORK_CATEGORY
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-BEFYAFGV.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-HK53FRMU.js";
|
|
13
13
|
import {
|
|
14
14
|
getSkillById
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ANXHMG32.js";
|
|
16
16
|
import {
|
|
17
17
|
CLI_COLORS
|
|
18
18
|
} from "./chunk-6PGL2XMY.js";
|
|
@@ -371,4 +371,4 @@ var CategoryGrid = ({
|
|
|
371
371
|
export {
|
|
372
372
|
CategoryGrid
|
|
373
373
|
};
|
|
374
|
-
//# sourceMappingURL=chunk-
|
|
374
|
+
//# sourceMappingURL=chunk-BEZ6ZPDS.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
getSkillById,
|
|
16
16
|
matrix
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ANXHMG32.js";
|
|
18
18
|
import {
|
|
19
19
|
CLI_COLORS,
|
|
20
20
|
SOURCE_DISPLAY_NAMES
|
|
@@ -260,4 +260,4 @@ var SourceGrid = ({
|
|
|
260
260
|
export {
|
|
261
261
|
SourceGrid
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-CKZ65VFJ.js.map
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
resolveAgents,
|
|
18
18
|
writeContentHash,
|
|
19
19
|
writePluginManifest
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FKXD3EXJ.js";
|
|
21
21
|
import {
|
|
22
22
|
loadAllAgents,
|
|
23
23
|
loadProjectAgents
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YJ2URWF7.js";
|
|
25
25
|
import {
|
|
26
26
|
typedEntries,
|
|
27
27
|
typedKeys
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ANXHMG32.js";
|
|
29
29
|
import {
|
|
30
30
|
agentFrontmatterValidationSchema,
|
|
31
31
|
copy,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
verbose,
|
|
40
40
|
warn,
|
|
41
41
|
writeFile
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WJKD6EGK.js";
|
|
43
43
|
import {
|
|
44
44
|
CLAUDE_DIR,
|
|
45
45
|
DIRS,
|
|
@@ -325,4 +325,4 @@ export {
|
|
|
325
325
|
compileAllAgentPlugins,
|
|
326
326
|
printAgentCompilationSummary
|
|
327
327
|
};
|
|
328
|
-
//# sourceMappingURL=chunk-
|
|
328
|
+
//# sourceMappingURL=chunk-CYPCJ536.js.map
|
|
@@ -4,18 +4,17 @@ import {
|
|
|
4
4
|
loadPluginSkills,
|
|
5
5
|
loadSkillsByIds,
|
|
6
6
|
parseFrontmatter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YJ2URWF7.js";
|
|
8
8
|
import {
|
|
9
9
|
BUILT_IN_MATRIX,
|
|
10
|
-
getCustomSkillIds,
|
|
11
10
|
getSkillById,
|
|
11
|
+
hasSkill,
|
|
12
12
|
initializeMatrix,
|
|
13
13
|
matrix,
|
|
14
14
|
typedEntries,
|
|
15
15
|
typedKeys
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ANXHMG32.js";
|
|
17
17
|
import {
|
|
18
|
-
SKILL_ID_PATTERN,
|
|
19
18
|
agentFrontmatterValidationSchema,
|
|
20
19
|
agentYamlGenerationSchema,
|
|
21
20
|
categoryPathSchema,
|
|
@@ -52,7 +51,7 @@ import {
|
|
|
52
51
|
warn,
|
|
53
52
|
warnUnknownFields,
|
|
54
53
|
writeFile
|
|
55
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-WJKD6EGK.js";
|
|
56
55
|
import {
|
|
57
56
|
CACHE_DIR,
|
|
58
57
|
CACHE_HASH_LENGTH,
|
|
@@ -693,20 +692,18 @@ async function loadStackById(stackId, configDir) {
|
|
|
693
692
|
}
|
|
694
693
|
function resolveAgentConfigToSkills(agentConfig) {
|
|
695
694
|
return typedEntries(agentConfig).flatMap(
|
|
696
|
-
([category, assignments]) => (assignments ?? []).
|
|
697
|
-
if (
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
return
|
|
703
|
-
}).map(
|
|
704
|
-
(assignment) => ({
|
|
695
|
+
([category, assignments]) => (assignments ?? []).map((assignment) => {
|
|
696
|
+
if (!hasSkill(assignment.id)) {
|
|
697
|
+
warn(
|
|
698
|
+
`Skill '${assignment.id}' for category '${category}' not found in matrix. It may be a custom or local skill.`
|
|
699
|
+
);
|
|
700
|
+
}
|
|
701
|
+
return {
|
|
705
702
|
id: assignment.id,
|
|
706
703
|
usage: `when working with ${category}`,
|
|
707
704
|
preloaded: assignment.preloaded ?? false
|
|
708
|
-
}
|
|
709
|
-
)
|
|
705
|
+
};
|
|
706
|
+
})
|
|
710
707
|
);
|
|
711
708
|
}
|
|
712
709
|
function getStackSkillIds(stack) {
|
|
@@ -990,8 +987,8 @@ function loadConfigTypesDataInBackground(sourceFlag, projectDir) {
|
|
|
990
987
|
if (!await directoryExists(claudeSrcDir)) {
|
|
991
988
|
throw new Error(`${CLAUDE_SRC_DIR}/ not found \u2014 run '${CLI_BIN_NAME} init' first`);
|
|
992
989
|
}
|
|
993
|
-
const { loadSkillsMatrixFromSource: loadSkillsMatrixFromSource2 } = await import("./source-loader-
|
|
994
|
-
const { loadAllAgents: loadAllAgents2 } = await import("./loader-
|
|
990
|
+
const { loadSkillsMatrixFromSource: loadSkillsMatrixFromSource2 } = await import("./source-loader-TNQW4P47.js");
|
|
991
|
+
const { loadAllAgents: loadAllAgents2 } = await import("./loader-GT2A7R7U.js");
|
|
995
992
|
const sourceResult = await loadSkillsMatrixFromSource2({
|
|
996
993
|
sourceFlag,
|
|
997
994
|
projectDir,
|
|
@@ -3124,9 +3121,6 @@ Compiled ${results.length} skill plugins:`);
|
|
|
3124
3121
|
init_esm_shims();
|
|
3125
3122
|
import path17 from "path";
|
|
3126
3123
|
function validateSkillId(skillId) {
|
|
3127
|
-
if (!SKILL_ID_PATTERN.test(skillId)) {
|
|
3128
|
-
return false;
|
|
3129
|
-
}
|
|
3130
3124
|
return !(skillId.includes("\0") || skillId.includes("..") || skillId.includes("/") || skillId.includes("\\"));
|
|
3131
3125
|
}
|
|
3132
3126
|
function validatePathBoundary(resolvedPath, expectedParent) {
|
|
@@ -5728,4 +5722,4 @@ export {
|
|
|
5728
5722
|
validateAllPlugins,
|
|
5729
5723
|
printPluginValidationResult
|
|
5730
5724
|
};
|
|
5731
|
-
//# sourceMappingURL=chunk-
|
|
5725
|
+
//# sourceMappingURL=chunk-FKXD3EXJ.js.map
|