@agents-inc/cli 0.83.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 +20 -0
- package/README.md +34 -22
- package/dist/{chunk-VXQEKJTW.js → chunk-2XVLQDNI.js} +114 -6
- package/dist/chunk-2XVLQDNI.js.map +1 -0
- package/dist/{chunk-RQYGAYPW.js → chunk-6VGBO6SZ.js} +3 -3
- package/dist/chunk-6XWHJHNZ.js +400 -0
- package/dist/{chunk-WYHFSJ7O.js.map → chunk-6XWHJHNZ.js.map} +1 -1
- package/dist/{chunk-7KYSCSYI.js → chunk-7UZUDHP7.js} +2 -2
- package/dist/{chunk-SW4LP3LX.js → chunk-AABH2HSE.js} +4 -4
- package/dist/{chunk-3MXMYHO3.js → chunk-ANXHMG32.js} +21 -23
- package/dist/{chunk-3MXMYHO3.js.map → chunk-ANXHMG32.js.map} +1 -1
- package/dist/{chunk-C4I4Q33M.js → chunk-ANZV33N5.js} +2 -2
- package/dist/{chunk-AD2UT2TN.js → chunk-BEFYAFGV.js} +2 -2
- package/dist/{chunk-GEU62YD2.js → chunk-BEZ6ZPDS.js} +2 -2
- package/dist/{chunk-5BRHJD7Q.js → chunk-CKZ65VFJ.js} +2 -2
- package/dist/{chunk-TYOHFFYJ.js → chunk-CYPCJ536.js} +5 -5
- package/dist/{chunk-C2KXQHOI.js → chunk-FKXD3EXJ.js} +17 -23
- package/dist/chunk-FKXD3EXJ.js.map +1 -0
- package/dist/{chunk-WWUSBGQE.js → chunk-G2MINRWX.js} +4 -4
- package/dist/{chunk-IMO6EQKT.js → chunk-HU6XQVZL.js} +2 -2
- package/dist/{chunk-4BVJJSKM.js → chunk-L7COG2EX.js} +5 -5
- package/dist/chunk-L7COG2EX.js.map +1 -0
- package/dist/{chunk-X2HE3W74.js → chunk-LMR7VAP3.js} +2 -2
- package/dist/{chunk-253BRVMB.js → chunk-LN76TJJP.js} +13 -13
- package/dist/{chunk-262MXFGL.js → chunk-LTFGEVTM.js} +4 -4
- package/dist/{chunk-FS4YWW36.js → chunk-NL5EB57E.js} +3 -3
- package/dist/{chunk-IMP35ETG.js → chunk-NPMMU4GY.js} +17 -17
- package/dist/chunk-NPMMU4GY.js.map +1 -0
- package/dist/{chunk-OMTMSYUS.js → chunk-O27WJ5KS.js} +192 -3
- package/dist/chunk-O27WJ5KS.js.map +1 -0
- package/dist/{chunk-7Q3PDSOE.js → chunk-TAQGYJIS.js} +3 -3
- package/dist/{chunk-TYFBHM5E.js → chunk-TXW257CU.js} +6 -6
- package/dist/{chunk-SOEIE4VA.js → chunk-W7LHI54P.js} +9 -17
- package/dist/chunk-W7LHI54P.js.map +1 -0
- package/dist/{chunk-4Z5FJQEP.js → chunk-WCCWQ56J.js} +4 -4
- package/dist/{chunk-32HQMUEJ.js → chunk-WJKD6EGK.js} +9 -11
- package/dist/chunk-WJKD6EGK.js.map +1 -0
- package/dist/{chunk-XTVWVOLD.js → chunk-YJ2URWF7.js} +2 -2
- package/dist/{chunk-DUKSSZ6M.js → chunk-YSLDMYWP.js} +4 -81
- package/dist/chunk-YSLDMYWP.js.map +1 -0
- package/dist/{chunk-WVVJD4K2.js → chunk-YYIWB42G.js} +2 -2
- package/dist/{chunk-MHA6MWFP.js → chunk-ZGD7PLLC.js} +3 -3
- package/dist/commands/build/marketplace.js +4 -4
- package/dist/commands/build/plugins.js +8 -8
- package/dist/commands/build/stack.js +8 -8
- package/dist/commands/compile.js +8 -8
- package/dist/commands/config/index.js +8 -8
- package/dist/commands/config/path.js +7 -7
- package/dist/commands/config/show.js +8 -8
- package/dist/commands/diff.js +7 -7
- package/dist/commands/doctor.js +7 -7
- package/dist/commands/edit.js +23 -23
- package/dist/commands/eject.js +7 -7
- package/dist/commands/import/skill.js +7 -7
- package/dist/commands/info.js +7 -7
- package/dist/commands/init.js +23 -23
- package/dist/commands/list.js +7 -7
- package/dist/commands/new/agent.js +8 -8
- package/dist/commands/new/marketplace.js +9 -9
- package/dist/commands/new/skill.js +8 -8
- package/dist/commands/outdated.js +7 -7
- package/dist/commands/search.js +7 -7
- package/dist/commands/uninstall.js +7 -7
- package/dist/commands/update.js +8 -8
- package/dist/commands/validate.js +7 -28
- 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 +11 -11
- package/dist/components/wizard/domain-selection.js +9 -9
- package/dist/components/wizard/help-modal.js +8 -8
- package/dist/components/wizard/source-grid.js +2 -2
- package/dist/components/wizard/source-grid.test.js +11 -11
- package/dist/components/wizard/stack-selection.js +8 -8
- package/dist/components/wizard/step-agents.js +9 -9
- package/dist/components/wizard/step-agents.test.js +13 -13
- package/dist/components/wizard/step-agents.test.js.map +1 -1
- package/dist/components/wizard/step-build.js +9 -9
- package/dist/components/wizard/step-build.test.js +15 -14
- 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 +10 -10
- package/dist/components/wizard/step-settings.js +7 -7
- package/dist/components/wizard/step-settings.test.js +10 -10
- package/dist/components/wizard/step-sources.js +9 -9
- package/dist/components/wizard/step-sources.test.js +12 -12
- package/dist/components/wizard/step-stack.js +9 -9
- package/dist/components/wizard/step-stack.test.js +10 -10
- package/dist/components/wizard/wizard-layout.js +10 -10
- package/dist/components/wizard/wizard.js +21 -21
- package/dist/config-exports.js +1 -1
- package/dist/hooks/init.js +23 -23
- package/dist/{loader-4XPDVCZK.js → loader-GT2A7R7U.js} +4 -4
- package/dist/{source-loader-TV2TFYGI.js → source-loader-TNQW4P47.js} +7 -7
- package/dist/source-manager-INRXRFJE.js +19 -0
- package/dist/src/agents/meta/agent-summoner/workflow.md +10 -10
- package/{src/agents/meta/scribe → dist/src/agents/meta/codex-keeper}/intro.md +2 -0
- package/dist/src/agents/meta/codex-keeper/metadata.yaml +12 -0
- package/{src/agents/meta/scribe → dist/src/agents/meta/codex-keeper}/output-format.md +2 -2
- package/dist/src/agents/meta/{scribe → codex-keeper}/workflow.md +54 -29
- package/dist/src/agents/meta/convention-keeper/critical-reminders.md +3 -3
- package/dist/src/agents/meta/convention-keeper/critical-requirements.md +3 -3
- package/dist/src/agents/meta/convention-keeper/examples.md +3 -3
- package/dist/src/agents/meta/convention-keeper/intro.md +3 -3
- package/dist/src/agents/meta/convention-keeper/output-format.md +9 -9
- package/dist/src/agents/meta/convention-keeper/workflow.md +15 -15
- package/dist/src/agents/planning/web-pm/workflow.md +1 -1
- package/dist/stores/wizard-store.js +7 -7
- package/dist/stores/wizard-store.test.js +114 -13
- package/dist/stores/wizard-store.test.js.map +1 -1
- package/package.json +1 -1
- package/src/agents/meta/agent-summoner/workflow.md +10 -10
- package/{dist/src/agents/meta/scribe → src/agents/meta/codex-keeper}/intro.md +2 -0
- package/src/agents/meta/codex-keeper/metadata.yaml +12 -0
- package/{dist/src/agents/meta/scribe → src/agents/meta/codex-keeper}/output-format.md +2 -2
- package/src/agents/meta/{scribe → codex-keeper}/workflow.md +54 -29
- package/src/agents/meta/convention-keeper/critical-reminders.md +3 -3
- package/src/agents/meta/convention-keeper/critical-requirements.md +3 -3
- package/src/agents/meta/convention-keeper/examples.md +3 -3
- package/src/agents/meta/convention-keeper/intro.md +3 -3
- package/src/agents/meta/convention-keeper/output-format.md +9 -9
- package/src/agents/meta/convention-keeper/workflow.md +15 -15
- package/src/agents/planning/web-pm/workflow.md +1 -1
- package/dist/chunk-32HQMUEJ.js.map +0 -1
- package/dist/chunk-4BVJJSKM.js.map +0 -1
- package/dist/chunk-C2KXQHOI.js.map +0 -1
- package/dist/chunk-DUKSSZ6M.js.map +0 -1
- package/dist/chunk-IMP35ETG.js.map +0 -1
- package/dist/chunk-OMTMSYUS.js.map +0 -1
- package/dist/chunk-SOEIE4VA.js.map +0 -1
- package/dist/chunk-VXQEKJTW.js.map +0 -1
- package/dist/chunk-WYHFSJ7O.js +0 -243
- package/dist/source-manager-3223PJVQ.js +0 -19
- package/dist/src/agents/meta/scribe/metadata.yaml +0 -12
- package/src/agents/meta/scribe/metadata.yaml +0 -12
- /package/dist/{chunk-RQYGAYPW.js.map → chunk-6VGBO6SZ.js.map} +0 -0
- /package/dist/{chunk-7KYSCSYI.js.map → chunk-7UZUDHP7.js.map} +0 -0
- /package/dist/{chunk-SW4LP3LX.js.map → chunk-AABH2HSE.js.map} +0 -0
- /package/dist/{chunk-C4I4Q33M.js.map → chunk-ANZV33N5.js.map} +0 -0
- /package/dist/{chunk-AD2UT2TN.js.map → chunk-BEFYAFGV.js.map} +0 -0
- /package/dist/{chunk-GEU62YD2.js.map → chunk-BEZ6ZPDS.js.map} +0 -0
- /package/dist/{chunk-5BRHJD7Q.js.map → chunk-CKZ65VFJ.js.map} +0 -0
- /package/dist/{chunk-TYOHFFYJ.js.map → chunk-CYPCJ536.js.map} +0 -0
- /package/dist/{chunk-WWUSBGQE.js.map → chunk-G2MINRWX.js.map} +0 -0
- /package/dist/{chunk-IMO6EQKT.js.map → chunk-HU6XQVZL.js.map} +0 -0
- /package/dist/{chunk-X2HE3W74.js.map → chunk-LMR7VAP3.js.map} +0 -0
- /package/dist/{chunk-253BRVMB.js.map → chunk-LN76TJJP.js.map} +0 -0
- /package/dist/{chunk-262MXFGL.js.map → chunk-LTFGEVTM.js.map} +0 -0
- /package/dist/{chunk-FS4YWW36.js.map → chunk-NL5EB57E.js.map} +0 -0
- /package/dist/{chunk-7Q3PDSOE.js.map → chunk-TAQGYJIS.js.map} +0 -0
- /package/dist/{chunk-TYFBHM5E.js.map → chunk-TXW257CU.js.map} +0 -0
- /package/dist/{chunk-4Z5FJQEP.js.map → chunk-WCCWQ56J.js.map} +0 -0
- /package/dist/{chunk-XTVWVOLD.js.map → chunk-YJ2URWF7.js.map} +0 -0
- /package/dist/{chunk-WVVJD4K2.js.map → chunk-YYIWB42G.js.map} +0 -0
- /package/dist/{chunk-MHA6MWFP.js.map → chunk-ZGD7PLLC.js.map} +0 -0
- /package/dist/{loader-4XPDVCZK.js.map → loader-GT2A7R7U.js.map} +0 -0
- /package/dist/{source-loader-TV2TFYGI.js.map → source-loader-TNQW4P47.js.map} +0 -0
- /package/dist/{source-manager-3223PJVQ.js.map → source-manager-INRXRFJE.js.map} +0 -0
- /package/dist/src/agents/meta/{scribe → codex-keeper}/critical-reminders.md +0 -0
- /package/dist/src/agents/meta/{scribe → codex-keeper}/critical-requirements.md +0 -0
- /package/dist/src/agents/meta/{scribe → codex-keeper}/examples.md +0 -0
- /package/src/agents/meta/{scribe → codex-keeper}/critical-reminders.md +0 -0
- /package/src/agents/meta/{scribe → codex-keeper}/critical-requirements.md +0 -0
- /package/src/agents/meta/{scribe → codex-keeper}/examples.md +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,
|
|
@@ -93,7 +92,7 @@ import {
|
|
|
93
92
|
defaultCategories,
|
|
94
93
|
defaultRules,
|
|
95
94
|
defaultStacks
|
|
96
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-NPMMU4GY.js";
|
|
97
96
|
import {
|
|
98
97
|
init_esm_shims
|
|
99
98
|
} from "./chunk-DHET7RCE.js";
|
|
@@ -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
|