@agents-inc/cli 0.79.0 → 0.80.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/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/dist/{chunk-XA7WF3BI.js → chunk-3C6AXGR7.js} +3 -3
- package/dist/{chunk-VDVLM3KB.js → chunk-3HWFTE3S.js} +8 -4
- package/dist/chunk-3HWFTE3S.js.map +1 -0
- package/dist/{chunk-7JQIMEUX.js → chunk-3SCIYMRK.js} +3 -3
- package/dist/{chunk-OOWNDQCG.js → chunk-3WDZKBCE.js} +6 -4
- package/dist/chunk-3WDZKBCE.js.map +1 -0
- package/dist/{chunk-FSK4TQX7.js → chunk-4R6I6A3U.js} +3225 -134
- package/dist/chunk-4R6I6A3U.js.map +1 -0
- package/dist/{chunk-MUCQ27HV.js → chunk-4R72372U.js} +2 -2
- package/dist/{chunk-Q755X6QF.js → chunk-4VFBRV76.js} +4 -4
- package/dist/{chunk-F4IZ3UAS.js → chunk-55AZIEK6.js} +4 -4
- package/dist/{chunk-XYPAOBBV.js → chunk-633YIZOU.js} +2 -2
- package/dist/{chunk-N2XGUAJU.js → chunk-6YJXWQCI.js} +2 -12
- package/dist/chunk-6YJXWQCI.js.map +1 -0
- package/dist/{chunk-32HX6UYI.js → chunk-BN73X3JN.js} +59 -2
- package/dist/chunk-BN73X3JN.js.map +1 -0
- package/dist/{chunk-B4C2S5LP.js → chunk-BORVYGIX.js} +17 -15
- package/dist/chunk-BORVYGIX.js.map +1 -0
- package/dist/{chunk-YFHVP3VA.js → chunk-F4VG5XWZ.js} +3 -3
- package/dist/{chunk-NKLNT7N7.js → chunk-H3NQGJMB.js} +2 -2
- package/dist/{chunk-QD3GQ2CH.js → chunk-II3ISVCE.js} +6 -5
- package/dist/chunk-II3ISVCE.js.map +1 -0
- package/dist/{chunk-FUWUCKES.js → chunk-LO4X32JC.js} +2 -2
- package/dist/{chunk-D4T3HHE7.js → chunk-MNJAF4K2.js} +2 -2
- package/dist/{chunk-KVRR4PEJ.js → chunk-NJCU7OC2.js} +5 -5
- package/dist/{chunk-U2KFFRRX.js → chunk-NZAJTLEK.js} +2 -2
- package/dist/{chunk-HANGA633.js → chunk-OBTC2FD7.js} +5 -5
- package/dist/chunk-OBTC2FD7.js.map +1 -0
- package/dist/{chunk-EO6KJI5D.js → chunk-PPBUSAKG.js} +913 -33
- package/dist/chunk-PPBUSAKG.js.map +1 -0
- package/dist/{chunk-OTMIGYBB.js → chunk-RTHAMTDE.js} +6 -6
- package/dist/{chunk-KQDGLEBF.js → chunk-TJXBRYM4.js} +10 -10
- package/dist/chunk-TJXBRYM4.js.map +1 -0
- package/dist/{chunk-7LBYURQR.js → chunk-TQ363UUH.js} +2 -2
- package/dist/{chunk-N34D3ROY.js → chunk-TXFQBYOX.js} +8 -5
- package/dist/chunk-TXFQBYOX.js.map +1 -0
- package/dist/{chunk-IFCASC6R.js → chunk-TZY7WNWO.js} +2 -2
- package/dist/{chunk-SJNUTUSJ.js → chunk-W6PIVGMH.js} +5 -5
- package/dist/{chunk-W46L2PXK.js → chunk-WZGROC5L.js} +2 -2
- package/dist/{chunk-OIHZ2YH3.js → chunk-XFL7EIM7.js} +7 -7
- package/dist/{chunk-7HGMFJ4Y.js → chunk-YDB5KXMG.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 -7
- 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/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 +12 -12
- 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 -12
- package/dist/components/wizard/step-stack.test.js +19 -111
- package/dist/components/wizard/step-stack.test.js.map +1 -1
- package/dist/components/wizard/wizard-layout.js +10 -10
- package/dist/components/wizard/wizard-tabs.js +1 -1
- package/dist/components/wizard/wizard-tabs.test.js +12 -23
- package/dist/components/wizard/wizard-tabs.test.js.map +1 -1
- 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-JMOO2A7C.js → loader-LI3EM4VG.js} +4 -4
- package/dist/{source-loader-D3VIG3GM.js → source-loader-TPUCZELX.js} +7 -7
- package/dist/source-manager-PJ5APXX2.js +19 -0
- package/dist/src/agents/meta/agent-summoner/workflow.md +10 -10
- package/dist/src/agents/meta/convention-keeper/critical-reminders.md +17 -0
- package/dist/src/agents/meta/convention-keeper/critical-requirements.md +15 -0
- package/dist/src/agents/meta/convention-keeper/examples.md +71 -0
- package/dist/src/agents/meta/convention-keeper/intro.md +11 -0
- package/dist/src/agents/meta/convention-keeper/metadata.yaml +12 -0
- package/dist/src/agents/meta/convention-keeper/output-format.md +134 -0
- package/dist/src/agents/meta/convention-keeper/workflow.md +258 -0
- package/dist/src/agents/meta/{documentor → scribe}/metadata.yaml +2 -2
- package/{src/agents/meta/documentor → dist/src/agents/meta/scribe}/workflow.md +1 -1
- 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 +19 -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/src/agents/meta/convention-keeper/critical-reminders.md +17 -0
- package/src/agents/meta/convention-keeper/critical-requirements.md +15 -0
- package/src/agents/meta/convention-keeper/examples.md +71 -0
- package/src/agents/meta/convention-keeper/intro.md +11 -0
- package/src/agents/meta/convention-keeper/metadata.yaml +12 -0
- package/src/agents/meta/convention-keeper/output-format.md +134 -0
- package/src/agents/meta/convention-keeper/workflow.md +258 -0
- package/src/agents/meta/{documentor → scribe}/metadata.yaml +2 -2
- package/{dist/src/agents/meta/documentor → src/agents/meta/scribe}/workflow.md +1 -1
- package/src/agents/planning/web-pm/workflow.md +1 -1
- package/dist/chunk-32HX6UYI.js.map +0 -1
- package/dist/chunk-B4C2S5LP.js.map +0 -1
- package/dist/chunk-EO6KJI5D.js.map +0 -1
- package/dist/chunk-FSK4TQX7.js.map +0 -1
- package/dist/chunk-HANGA633.js.map +0 -1
- package/dist/chunk-KQDGLEBF.js.map +0 -1
- package/dist/chunk-N2XGUAJU.js.map +0 -1
- package/dist/chunk-N34D3ROY.js.map +0 -1
- package/dist/chunk-OOWNDQCG.js.map +0 -1
- package/dist/chunk-QD3GQ2CH.js.map +0 -1
- package/dist/chunk-VDVLM3KB.js.map +0 -1
- package/dist/source-manager-FPYFJRR7.js +0 -19
- /package/dist/{chunk-XA7WF3BI.js.map → chunk-3C6AXGR7.js.map} +0 -0
- /package/dist/{chunk-7JQIMEUX.js.map → chunk-3SCIYMRK.js.map} +0 -0
- /package/dist/{chunk-MUCQ27HV.js.map → chunk-4R72372U.js.map} +0 -0
- /package/dist/{chunk-Q755X6QF.js.map → chunk-4VFBRV76.js.map} +0 -0
- /package/dist/{chunk-F4IZ3UAS.js.map → chunk-55AZIEK6.js.map} +0 -0
- /package/dist/{chunk-XYPAOBBV.js.map → chunk-633YIZOU.js.map} +0 -0
- /package/dist/{chunk-YFHVP3VA.js.map → chunk-F4VG5XWZ.js.map} +0 -0
- /package/dist/{chunk-NKLNT7N7.js.map → chunk-H3NQGJMB.js.map} +0 -0
- /package/dist/{chunk-FUWUCKES.js.map → chunk-LO4X32JC.js.map} +0 -0
- /package/dist/{chunk-D4T3HHE7.js.map → chunk-MNJAF4K2.js.map} +0 -0
- /package/dist/{chunk-KVRR4PEJ.js.map → chunk-NJCU7OC2.js.map} +0 -0
- /package/dist/{chunk-U2KFFRRX.js.map → chunk-NZAJTLEK.js.map} +0 -0
- /package/dist/{chunk-OTMIGYBB.js.map → chunk-RTHAMTDE.js.map} +0 -0
- /package/dist/{chunk-7LBYURQR.js.map → chunk-TQ363UUH.js.map} +0 -0
- /package/dist/{chunk-IFCASC6R.js.map → chunk-TZY7WNWO.js.map} +0 -0
- /package/dist/{chunk-SJNUTUSJ.js.map → chunk-W6PIVGMH.js.map} +0 -0
- /package/dist/{chunk-W46L2PXK.js.map → chunk-WZGROC5L.js.map} +0 -0
- /package/dist/{chunk-OIHZ2YH3.js.map → chunk-XFL7EIM7.js.map} +0 -0
- /package/dist/{chunk-7HGMFJ4Y.js.map → chunk-YDB5KXMG.js.map} +0 -0
- /package/dist/{loader-JMOO2A7C.js.map → loader-LI3EM4VG.js.map} +0 -0
- /package/dist/{source-loader-D3VIG3GM.js.map → source-loader-TPUCZELX.js.map} +0 -0
- /package/dist/{source-manager-FPYFJRR7.js.map → source-manager-PJ5APXX2.js.map} +0 -0
- /package/dist/src/agents/meta/{documentor → scribe}/critical-reminders.md +0 -0
- /package/dist/src/agents/meta/{documentor → scribe}/critical-requirements.md +0 -0
- /package/dist/src/agents/meta/{documentor → scribe}/examples.md +0 -0
- /package/dist/src/agents/meta/{documentor → scribe}/intro.md +0 -0
- /package/dist/src/agents/meta/{documentor → scribe}/output-format.md +0 -0
- /package/src/agents/meta/{documentor → scribe}/critical-reminders.md +0 -0
- /package/src/agents/meta/{documentor → scribe}/critical-requirements.md +0 -0
- /package/src/agents/meta/{documentor → scribe}/examples.md +0 -0
- /package/src/agents/meta/{documentor → scribe}/intro.md +0 -0
- /package/src/agents/meta/{documentor → scribe}/output-format.md +0 -0
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
validateAllPlugins,
|
|
12
12
|
validateAllSchemas,
|
|
13
13
|
validatePlugin
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-XFL7EIM7.js";
|
|
15
15
|
import {
|
|
16
16
|
parseFrontmatter
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-TZY7WNWO.js";
|
|
18
18
|
import {
|
|
19
19
|
matrix
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-4R6I6A3U.js";
|
|
21
21
|
import {
|
|
22
22
|
BaseCommand,
|
|
23
23
|
EXIT_CODES
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-TQ363UUH.js";
|
|
25
25
|
import {
|
|
26
26
|
SKILL_ID_PATTERN,
|
|
27
27
|
directoryExists,
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
metadataValidationSchema,
|
|
32
32
|
readFile,
|
|
33
33
|
setVerbose
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
34
|
+
} from "../chunk-633YIZOU.js";
|
|
35
|
+
import "../chunk-BN73X3JN.js";
|
|
36
36
|
import {
|
|
37
37
|
SKILLS_DIR_PATH,
|
|
38
38
|
SKILL_CATEGORIES_PATH,
|
|
39
39
|
STANDARD_FILES
|
|
40
40
|
} from "../chunk-FMYAYX6W.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-PPBUSAKG.js";
|
|
42
42
|
import {
|
|
43
43
|
init_esm_shims
|
|
44
44
|
} from "../chunk-DHET7RCE.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CategoryGrid
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-WZGROC5L.js";
|
|
5
5
|
import "../../chunk-P2FHS5IS.js";
|
|
6
6
|
import "../../chunk-FFMWFEUH.js";
|
|
7
7
|
import "../../chunk-HK53FRMU.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-4R6I6A3U.js";
|
|
9
9
|
import "../../chunk-FMYAYX6W.js";
|
|
10
10
|
import "../../chunk-DHET7RCE.js";
|
|
11
11
|
export {
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
} from "../../chunk-66UDJBF6.js";
|
|
15
15
|
import {
|
|
16
16
|
CATEGORY_GRID_MATRIX
|
|
17
|
-
} from "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
17
|
+
} from "../../chunk-3C6AXGR7.js";
|
|
18
|
+
import "../../chunk-4R72372U.js";
|
|
19
|
+
import "../../chunk-LO4X32JC.js";
|
|
20
20
|
import {
|
|
21
21
|
afterEach,
|
|
22
22
|
beforeEach,
|
|
@@ -27,21 +27,21 @@ import {
|
|
|
27
27
|
} from "../../chunk-XY3XDVMI.js";
|
|
28
28
|
import {
|
|
29
29
|
CategoryGrid
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-WZGROC5L.js";
|
|
31
31
|
import "../../chunk-P2FHS5IS.js";
|
|
32
32
|
import "../../chunk-FFMWFEUH.js";
|
|
33
|
-
import "../../chunk-
|
|
33
|
+
import "../../chunk-TXFQBYOX.js";
|
|
34
34
|
import "../../chunk-HK53FRMU.js";
|
|
35
|
-
import "../../chunk-
|
|
36
|
-
import "../../chunk-
|
|
35
|
+
import "../../chunk-XFL7EIM7.js";
|
|
36
|
+
import "../../chunk-TZY7WNWO.js";
|
|
37
37
|
import {
|
|
38
38
|
BUILT_IN_MATRIX,
|
|
39
39
|
initializeMatrix
|
|
40
|
-
} from "../../chunk-
|
|
41
|
-
import "../../chunk-
|
|
42
|
-
import "../../chunk-
|
|
40
|
+
} from "../../chunk-4R6I6A3U.js";
|
|
41
|
+
import "../../chunk-633YIZOU.js";
|
|
42
|
+
import "../../chunk-BN73X3JN.js";
|
|
43
43
|
import "../../chunk-FMYAYX6W.js";
|
|
44
|
-
import "../../chunk-
|
|
44
|
+
import "../../chunk-PPBUSAKG.js";
|
|
45
45
|
import {
|
|
46
46
|
init_esm_shims
|
|
47
47
|
} from "../../chunk-DHET7RCE.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
DomainSelection
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-II3ISVCE.js";
|
|
5
|
+
import "../../chunk-3SCIYMRK.js";
|
|
6
6
|
import "../../chunk-RU5XLS5Q.js";
|
|
7
7
|
import "../../chunk-SQ7WINEU.js";
|
|
8
8
|
import "../../chunk-FFMWFEUH.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-TXFQBYOX.js";
|
|
10
|
+
import "../../chunk-XFL7EIM7.js";
|
|
11
|
+
import "../../chunk-TZY7WNWO.js";
|
|
12
|
+
import "../../chunk-4R6I6A3U.js";
|
|
13
|
+
import "../../chunk-633YIZOU.js";
|
|
14
|
+
import "../../chunk-BN73X3JN.js";
|
|
15
15
|
import "../../chunk-FMYAYX6W.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-PPBUSAKG.js";
|
|
17
17
|
import "../../chunk-DHET7RCE.js";
|
|
18
18
|
export {
|
|
19
19
|
DomainSelection
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
SourceGrid
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-MNJAF4K2.js";
|
|
5
5
|
import "../../chunk-7SOPVGDV.js";
|
|
6
6
|
import "../../chunk-A5JSBU65.js";
|
|
7
7
|
import "../../chunk-P2FHS5IS.js";
|
|
@@ -9,7 +9,7 @@ import "../../chunk-FFMWFEUH.js";
|
|
|
9
9
|
import "../../chunk-MLXAZODL.js";
|
|
10
10
|
import "../../chunk-KUV24B5M.js";
|
|
11
11
|
import "../../chunk-HK53FRMU.js";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-4R6I6A3U.js";
|
|
13
13
|
import "../../chunk-FMYAYX6W.js";
|
|
14
14
|
import "../../chunk-DHET7RCE.js";
|
|
15
15
|
export {
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
} from "../../chunk-66UDJBF6.js";
|
|
17
17
|
import {
|
|
18
18
|
WEB_TRIO_MATRIX
|
|
19
|
-
} from "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
19
|
+
} from "../../chunk-3C6AXGR7.js";
|
|
20
|
+
import "../../chunk-4R72372U.js";
|
|
21
21
|
import {
|
|
22
22
|
createMockMatrix,
|
|
23
23
|
createMockSkill
|
|
24
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-LO4X32JC.js";
|
|
25
25
|
import {
|
|
26
26
|
afterEach,
|
|
27
27
|
beforeEach,
|
|
@@ -32,25 +32,25 @@ import {
|
|
|
32
32
|
} from "../../chunk-XY3XDVMI.js";
|
|
33
33
|
import {
|
|
34
34
|
SourceGrid
|
|
35
|
-
} from "../../chunk-
|
|
35
|
+
} from "../../chunk-MNJAF4K2.js";
|
|
36
36
|
import "../../chunk-7SOPVGDV.js";
|
|
37
37
|
import "../../chunk-A5JSBU65.js";
|
|
38
38
|
import "../../chunk-P2FHS5IS.js";
|
|
39
39
|
import "../../chunk-FFMWFEUH.js";
|
|
40
40
|
import "../../chunk-MLXAZODL.js";
|
|
41
41
|
import "../../chunk-KUV24B5M.js";
|
|
42
|
-
import "../../chunk-
|
|
42
|
+
import "../../chunk-TXFQBYOX.js";
|
|
43
43
|
import "../../chunk-HK53FRMU.js";
|
|
44
|
-
import "../../chunk-
|
|
45
|
-
import "../../chunk-
|
|
44
|
+
import "../../chunk-XFL7EIM7.js";
|
|
45
|
+
import "../../chunk-TZY7WNWO.js";
|
|
46
46
|
import {
|
|
47
47
|
BUILT_IN_MATRIX,
|
|
48
48
|
initializeMatrix
|
|
49
|
-
} from "../../chunk-
|
|
50
|
-
import "../../chunk-
|
|
51
|
-
import "../../chunk-
|
|
49
|
+
} from "../../chunk-4R6I6A3U.js";
|
|
50
|
+
import "../../chunk-633YIZOU.js";
|
|
51
|
+
import "../../chunk-BN73X3JN.js";
|
|
52
52
|
import "../../chunk-FMYAYX6W.js";
|
|
53
|
-
import "../../chunk-
|
|
53
|
+
import "../../chunk-PPBUSAKG.js";
|
|
54
54
|
import {
|
|
55
55
|
init_esm_shims
|
|
56
56
|
} from "../../chunk-DHET7RCE.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
StackSelection
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-3WDZKBCE.js";
|
|
5
5
|
import "../../chunk-K77I4XGL.js";
|
|
6
6
|
import "../../chunk-SQ7WINEU.js";
|
|
7
7
|
import "../../chunk-FFMWFEUH.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-TXFQBYOX.js";
|
|
9
|
+
import "../../chunk-XFL7EIM7.js";
|
|
10
|
+
import "../../chunk-TZY7WNWO.js";
|
|
11
|
+
import "../../chunk-4R6I6A3U.js";
|
|
12
|
+
import "../../chunk-633YIZOU.js";
|
|
13
|
+
import "../../chunk-BN73X3JN.js";
|
|
14
14
|
import "../../chunk-FMYAYX6W.js";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-PPBUSAKG.js";
|
|
16
16
|
import "../../chunk-DHET7RCE.js";
|
|
17
17
|
export {
|
|
18
18
|
StackSelection
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
StepAgents
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-OBTC2FD7.js";
|
|
5
5
|
import "../../chunk-K77I4XGL.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-3SCIYMRK.js";
|
|
7
7
|
import "../../chunk-SQ7WINEU.js";
|
|
8
8
|
import "../../chunk-FFMWFEUH.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-TXFQBYOX.js";
|
|
10
|
+
import "../../chunk-XFL7EIM7.js";
|
|
11
|
+
import "../../chunk-TZY7WNWO.js";
|
|
12
|
+
import "../../chunk-4R6I6A3U.js";
|
|
13
|
+
import "../../chunk-633YIZOU.js";
|
|
14
|
+
import "../../chunk-BN73X3JN.js";
|
|
15
15
|
import "../../chunk-FMYAYX6W.js";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-PPBUSAKG.js";
|
|
17
17
|
import "../../chunk-DHET7RCE.js";
|
|
18
18
|
export {
|
|
19
19
|
StepAgents
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
} from "../../chunk-66UDJBF6.js";
|
|
14
14
|
import {
|
|
15
15
|
EMPTY_MATRIX
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
16
|
+
} from "../../chunk-3C6AXGR7.js";
|
|
17
|
+
import "../../chunk-4R72372U.js";
|
|
18
|
+
import "../../chunk-LO4X32JC.js";
|
|
19
19
|
import {
|
|
20
20
|
afterEach,
|
|
21
21
|
beforeEach,
|
|
@@ -25,23 +25,23 @@ import {
|
|
|
25
25
|
} from "../../chunk-XY3XDVMI.js";
|
|
26
26
|
import {
|
|
27
27
|
StepAgents
|
|
28
|
-
} from "../../chunk-
|
|
28
|
+
} from "../../chunk-OBTC2FD7.js";
|
|
29
29
|
import "../../chunk-K77I4XGL.js";
|
|
30
|
-
import "../../chunk-
|
|
30
|
+
import "../../chunk-3SCIYMRK.js";
|
|
31
31
|
import "../../chunk-SQ7WINEU.js";
|
|
32
32
|
import "../../chunk-FFMWFEUH.js";
|
|
33
33
|
import {
|
|
34
34
|
useWizardStore
|
|
35
|
-
} from "../../chunk-
|
|
36
|
-
import "../../chunk-
|
|
37
|
-
import "../../chunk-
|
|
35
|
+
} from "../../chunk-TXFQBYOX.js";
|
|
36
|
+
import "../../chunk-XFL7EIM7.js";
|
|
37
|
+
import "../../chunk-TZY7WNWO.js";
|
|
38
38
|
import {
|
|
39
39
|
initializeMatrix
|
|
40
|
-
} from "../../chunk-
|
|
41
|
-
import "../../chunk-
|
|
42
|
-
import "../../chunk-
|
|
40
|
+
} from "../../chunk-4R6I6A3U.js";
|
|
41
|
+
import "../../chunk-633YIZOU.js";
|
|
42
|
+
import "../../chunk-BN73X3JN.js";
|
|
43
43
|
import "../../chunk-FMYAYX6W.js";
|
|
44
|
-
import "../../chunk-
|
|
44
|
+
import "../../chunk-PPBUSAKG.js";
|
|
45
45
|
import {
|
|
46
46
|
init_esm_shims
|
|
47
47
|
} from "../../chunk-DHET7RCE.js";
|
|
@@ -87,7 +87,7 @@ describe("StepAgents component", () => {
|
|
|
87
87
|
globalExpect(output).toContain("Pattern Critique");
|
|
88
88
|
globalExpect(output).toContain("Agent Summoner");
|
|
89
89
|
globalExpect(output).toContain("Skill Summoner");
|
|
90
|
-
globalExpect(output).toContain("
|
|
90
|
+
globalExpect(output).toContain("Scribe");
|
|
91
91
|
});
|
|
92
92
|
it("should render agent descriptions", () => {
|
|
93
93
|
const { lastFrame, unmount } = render(/* @__PURE__ */ jsx(StepAgents, {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/cli/components/wizard/step-agents.test.tsx"],"sourcesContent":["import { render } from \"ink-testing-library\";\nimport { afterEach, beforeEach, describe, expect, it } from \"vitest\";\nimport { EMPTY_MATRIX } from \"../../lib/__tests__/mock-data/mock-matrices\";\nimport {\n ARROW_DOWN,\n ENTER,\n ESCAPE,\n INPUT_DELAY_MS,\n RENDER_DELAY_MS,\n SPACE,\n delay,\n} from \"../../lib/__tests__/test-constants\";\nimport { initializeMatrix } from \"../../lib/matrix/matrix-provider\";\nimport { useWizardStore } from \"../../stores/wizard-store\";\nimport { StepAgents } from \"./step-agents\";\n\nconst EXPECTED_AGENT_COUNT = 18;\n\ndescribe(\"StepAgents component\", () => {\n let cleanup: (() => void) | undefined;\n\n beforeEach(() => {\n initializeMatrix(EMPTY_MATRIX);\n });\n\n afterEach(() => {\n cleanup?.();\n cleanup = undefined;\n });\n\n describe(\"rendering\", () => {\n it(\"should render agent group headers\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n // ViewTitle removed; verify agent groups render (title shown by wizard-layout)\n expect(output).toContain(\"Web\");\n expect(output).toContain(\"API\");\n expect(output).toContain(\"Meta\");\n });\n\n it(\"should render all agents\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Web Developer\");\n expect(output).toContain(\"API Developer\");\n expect(output).toContain(\"CLI Developer\");\n expect(output).toContain(\"Web Architecture\");\n expect(output).toContain(\"Web Reviewer\");\n expect(output).toContain(\"API Reviewer\");\n expect(output).toContain(\"CLI Reviewer\");\n expect(output).toContain(\"Web Researcher\");\n expect(output).toContain(\"API Researcher\");\n expect(output).toContain(\"Web Tester\");\n expect(output).toContain(\"CLI Tester\");\n expect(output).toContain(\"Web PM\");\n expect(output).toContain(\"Pattern Scout\");\n expect(output).toContain(\"Pattern Critique\");\n expect(output).toContain(\"Agent Summoner\");\n expect(output).toContain(\"Skill Summoner\");\n expect(output).toContain(\"Documentor\");\n });\n\n it(\"should render agent descriptions\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Frontend features, components, TypeScript\");\n expect(output).toContain(\"Backend routes, database, middleware\");\n expect(output).toContain(\"CLI commands, interactive prompts\");\n });\n\n it(\"should render group headers\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Web\");\n expect(output).toContain(\"API\");\n expect(output).toContain(\"CLI\");\n expect(output).toContain(\"Meta\");\n });\n\n it(\"should show continue arrow\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"\\u2192\");\n expect(output).toContain(\"Continue\");\n });\n\n it(\"should show continue option with agent count when agents selected\", () => {\n const store = useWizardStore.getState();\n store.toggleAgent(\"web-developer\");\n store.toggleAgent(\"api-developer\");\n store.toggleAgent(\"web-reviewer\");\n\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Continue with 3 agent(s)\");\n });\n\n it(\"should show 'Continue without agents' when no agents selected\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Continue without agents\");\n });\n });\n\n describe(\"keyboard interaction\", () => {\n it(\"should toggle agent on SPACE\", async () => {\n const { stdin, lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(SPACE);\n await delay(INPUT_DELAY_MS);\n\n const store = useWizardStore.getState();\n expect(store.selectedAgents).toContain(\"web-developer\");\n });\n\n it(\"should toggle correct agent after navigation\", async () => {\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(ARROW_DOWN);\n await delay(INPUT_DELAY_MS);\n await stdin.write(SPACE);\n await delay(INPUT_DELAY_MS);\n\n const store = useWizardStore.getState();\n expect(store.selectedAgents).toContain(\"web-reviewer\");\n });\n\n it(\"should navigate to confirm on ENTER when agents selected\", async () => {\n const store = useWizardStore.getState();\n store.toggleAgent(\"web-developer\");\n // Set step to agents so setStep(\"confirm\") actually navigates\n store.setStep(\"agents\");\n\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(ENTER);\n await delay(INPUT_DELAY_MS);\n\n const updatedStore = useWizardStore.getState();\n expect(updatedStore.step).toBe(\"confirm\");\n });\n\n it(\"should navigate to confirm on ENTER even with no agents selected\", async () => {\n const store = useWizardStore.getState();\n store.setStep(\"agents\");\n\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(ENTER);\n await delay(INPUT_DELAY_MS);\n\n const updatedStore = useWizardStore.getState();\n expect(updatedStore.step).toBe(\"confirm\");\n });\n\n it(\"should go back on ESC\", async () => {\n const store = useWizardStore.getState();\n store.setStep(\"sources\");\n store.setStep(\"agents\");\n\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(ESCAPE);\n await delay(INPUT_DELAY_MS);\n\n const updatedStore = useWizardStore.getState();\n expect(updatedStore.step).toBe(\"sources\");\n });\n\n it(\"should toggle agent off when already selected\", async () => {\n const store = useWizardStore.getState();\n store.toggleAgent(\"web-developer\");\n\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n // First item is web-developer, toggle it off\n await stdin.write(SPACE);\n await delay(INPUT_DELAY_MS);\n\n const updatedStore = useWizardStore.getState();\n expect(updatedStore.selectedAgents).not.toContain(\"web-developer\");\n });\n });\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAgC4C;AAd5C,SAAS,wBAAwB,MAAM;AACrC,MAAI;AAEJ,aAAW,MAAM;AACf,qBAAiB,YAAY;AAAA,EAC/B,CAAC;AAED,YAAU,MAAM;AACd,cAAU;AACV,cAAU;AAAA,EACZ,CAAC;AAED,WAAS,aAAa,MAAM;AAC1B,OAAG,qCAAqC,MAAM;AAC5C,YAAM,EAAE,WAAW,QAAQ,IAAI,OAAO,oBAAC,cAAW,CAAE;AACpD,gBAAU;AAEV,YAAM,SAAS,UAAU;AAEzB,mBAAO,MAAM,EAAE,UAAU,KAAK;AAC9B,mBAAO,MAAM,EAAE,UAAU,KAAK;AAC9B,mBAAO,MAAM,EAAE,UAAU,MAAM;AAAA,IACjC,CAAC;AAED,OAAG,4BAA4B,MAAM;AACnC,YAAM,EAAE,WAAW,QAAQ,IAAI,OAAO,oBAAC,cAAW,CAAE;AACpD,gBAAU;AAEV,YAAM,SAAS,UAAU;AACzB,mBAAO,MAAM,EAAE,UAAU,eAAe;AACxC,mBAAO,MAAM,EAAE,UAAU,eAAe;AACxC,mBAAO,MAAM,EAAE,UAAU,eAAe;AACxC,mBAAO,MAAM,EAAE,UAAU,kBAAkB;AAC3C,mBAAO,MAAM,EAAE,UAAU,cAAc;AACvC,mBAAO,MAAM,EAAE,UAAU,cAAc;AACvC,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,EAAE,IAAI,UAAU,eAAe;AAAA,IACnE,CAAC;AAAA,EACH,CAAC;AACH,CAAC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/cli/components/wizard/step-agents.test.tsx"],"sourcesContent":["import { render } from \"ink-testing-library\";\nimport { afterEach, beforeEach, describe, expect, it } from \"vitest\";\nimport { EMPTY_MATRIX } from \"../../lib/__tests__/mock-data/mock-matrices\";\nimport {\n ARROW_DOWN,\n ENTER,\n ESCAPE,\n INPUT_DELAY_MS,\n RENDER_DELAY_MS,\n SPACE,\n delay,\n} from \"../../lib/__tests__/test-constants\";\nimport { initializeMatrix } from \"../../lib/matrix/matrix-provider\";\nimport { useWizardStore } from \"../../stores/wizard-store\";\nimport { StepAgents } from \"./step-agents\";\n\nconst EXPECTED_AGENT_COUNT = 18;\n\ndescribe(\"StepAgents component\", () => {\n let cleanup: (() => void) | undefined;\n\n beforeEach(() => {\n initializeMatrix(EMPTY_MATRIX);\n });\n\n afterEach(() => {\n cleanup?.();\n cleanup = undefined;\n });\n\n describe(\"rendering\", () => {\n it(\"should render agent group headers\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n // ViewTitle removed; verify agent groups render (title shown by wizard-layout)\n expect(output).toContain(\"Web\");\n expect(output).toContain(\"API\");\n expect(output).toContain(\"Meta\");\n });\n\n it(\"should render all agents\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Web Developer\");\n expect(output).toContain(\"API Developer\");\n expect(output).toContain(\"CLI Developer\");\n expect(output).toContain(\"Web Architecture\");\n expect(output).toContain(\"Web Reviewer\");\n expect(output).toContain(\"API Reviewer\");\n expect(output).toContain(\"CLI Reviewer\");\n expect(output).toContain(\"Web Researcher\");\n expect(output).toContain(\"API Researcher\");\n expect(output).toContain(\"Web Tester\");\n expect(output).toContain(\"CLI Tester\");\n expect(output).toContain(\"Web PM\");\n expect(output).toContain(\"Pattern Scout\");\n expect(output).toContain(\"Pattern Critique\");\n expect(output).toContain(\"Agent Summoner\");\n expect(output).toContain(\"Skill Summoner\");\n expect(output).toContain(\"Scribe\");\n });\n\n it(\"should render agent descriptions\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Frontend features, components, TypeScript\");\n expect(output).toContain(\"Backend routes, database, middleware\");\n expect(output).toContain(\"CLI commands, interactive prompts\");\n });\n\n it(\"should render group headers\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Web\");\n expect(output).toContain(\"API\");\n expect(output).toContain(\"CLI\");\n expect(output).toContain(\"Meta\");\n });\n\n it(\"should show continue arrow\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"\\u2192\");\n expect(output).toContain(\"Continue\");\n });\n\n it(\"should show continue option with agent count when agents selected\", () => {\n const store = useWizardStore.getState();\n store.toggleAgent(\"web-developer\");\n store.toggleAgent(\"api-developer\");\n store.toggleAgent(\"web-reviewer\");\n\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Continue with 3 agent(s)\");\n });\n\n it(\"should show 'Continue without agents' when no agents selected\", () => {\n const { lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n const output = lastFrame();\n expect(output).toContain(\"Continue without agents\");\n });\n });\n\n describe(\"keyboard interaction\", () => {\n it(\"should toggle agent on SPACE\", async () => {\n const { stdin, lastFrame, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(SPACE);\n await delay(INPUT_DELAY_MS);\n\n const store = useWizardStore.getState();\n expect(store.selectedAgents).toContain(\"web-developer\");\n });\n\n it(\"should toggle correct agent after navigation\", async () => {\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(ARROW_DOWN);\n await delay(INPUT_DELAY_MS);\n await stdin.write(SPACE);\n await delay(INPUT_DELAY_MS);\n\n const store = useWizardStore.getState();\n expect(store.selectedAgents).toContain(\"web-reviewer\");\n });\n\n it(\"should navigate to confirm on ENTER when agents selected\", async () => {\n const store = useWizardStore.getState();\n store.toggleAgent(\"web-developer\");\n // Set step to agents so setStep(\"confirm\") actually navigates\n store.setStep(\"agents\");\n\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(ENTER);\n await delay(INPUT_DELAY_MS);\n\n const updatedStore = useWizardStore.getState();\n expect(updatedStore.step).toBe(\"confirm\");\n });\n\n it(\"should navigate to confirm on ENTER even with no agents selected\", async () => {\n const store = useWizardStore.getState();\n store.setStep(\"agents\");\n\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(ENTER);\n await delay(INPUT_DELAY_MS);\n\n const updatedStore = useWizardStore.getState();\n expect(updatedStore.step).toBe(\"confirm\");\n });\n\n it(\"should go back on ESC\", async () => {\n const store = useWizardStore.getState();\n store.setStep(\"sources\");\n store.setStep(\"agents\");\n\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n await stdin.write(ESCAPE);\n await delay(INPUT_DELAY_MS);\n\n const updatedStore = useWizardStore.getState();\n expect(updatedStore.step).toBe(\"sources\");\n });\n\n it(\"should toggle agent off when already selected\", async () => {\n const store = useWizardStore.getState();\n store.toggleAgent(\"web-developer\");\n\n const { stdin, unmount } = render(<StepAgents />);\n cleanup = unmount;\n\n await delay(RENDER_DELAY_MS);\n // First item is web-developer, toggle it off\n await stdin.write(SPACE);\n await delay(INPUT_DELAY_MS);\n\n const updatedStore = useWizardStore.getState();\n expect(updatedStore.selectedAgents).not.toContain(\"web-developer\");\n });\n });\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AAO,QAAQ,IAAI,OAAO,oBAAC,cAAW,CAAE;AAChD,gBAAU;AAEV,YAAM,MAAM,eAAe;AAC3B,YAAM,MAAM,MAAM,KAAK;AACvB,YAAM,MAAM,cAAc;AAE1B,YAAM,eAAe,eAAe,SAAS;AAC7C,mBAAO,aAAa,IAAI,EAAE,KAAK,SAAS;AAAA,IAC1C,CAAC;AAED,OAAG,yBAAyB,YAAY;AACtC,YAAM,QAAQ,eAAe,SAAS;AACtC,YAAM,QAAQ,SAAS;AACvB,YAAM,QAAQ,QAAQ;AAEtB,YAAM,EAAE,OAAO,QAAQ,IAAI,OAAO,oBAAC,cAAW,CAAE;AAChD,gBAAU;AAEV,YAAM,MAAM,eAAe;AAC3B,YAAM,MAAM,MAAM,MAAM;AACxB,YAAM,MAAM,cAAc;AAE1B,YAAM,eAAe,eAAe,SAAS;AAC7C,mBAAO,aAAa,IAAI,EAAE,KAAK,SAAS;AAAA,IAC1C,CAAC;AAED,OAAG,iDAAiD,YAAY;AAC9D,YAAM,QAAQ,eAAe,SAAS;AACtC,YAAM,YAAY,eAAe;AAEjC,YAAM,EAAE,OAAO,QAAQ,IAAI,OAAO,oBAAC,cAAW,CAAE;AAChD,gBAAU;AAEV,YAAM,MAAM,eAAe;AAE3B,YAAM,MAAM,MAAM,KAAK;AACvB,YAAM,MAAM,cAAc;AAE1B,YAAM,eAAe,eAAe,SAAS;AAC7C,mBAAO,aAAa,cAAc,EAAE,IAAI,UAAU,eAAe;AAAA,IACnE,CAAC;AAAA,EACH,CAAC;AACH,CAAC;","names":[]}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
StepBuild
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-NJCU7OC2.js";
|
|
5
5
|
import "../../chunk-PZERKWE2.js";
|
|
6
6
|
import "../../chunk-K77I4XGL.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-WZGROC5L.js";
|
|
8
8
|
import "../../chunk-P2FHS5IS.js";
|
|
9
9
|
import "../../chunk-FFMWFEUH.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-TXFQBYOX.js";
|
|
11
11
|
import "../../chunk-HK53FRMU.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-XFL7EIM7.js";
|
|
13
|
+
import "../../chunk-TZY7WNWO.js";
|
|
14
|
+
import "../../chunk-4R6I6A3U.js";
|
|
15
|
+
import "../../chunk-633YIZOU.js";
|
|
16
|
+
import "../../chunk-BN73X3JN.js";
|
|
17
17
|
import "../../chunk-FMYAYX6W.js";
|
|
18
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-PPBUSAKG.js";
|
|
19
19
|
import "../../chunk-DHET7RCE.js";
|
|
20
20
|
export {
|
|
21
21
|
StepBuild
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
WEB_FRAMEWORK_CATEGORY,
|
|
17
17
|
WEB_STATE_CATEGORY,
|
|
18
18
|
WEB_STYLING_CATEGORY
|
|
19
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-4R72372U.js";
|
|
20
20
|
import {
|
|
21
21
|
SKILLS,
|
|
22
22
|
createMockMatrix,
|
|
23
23
|
createMockSkill
|
|
24
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-LO4X32JC.js";
|
|
25
25
|
import {
|
|
26
26
|
afterEach,
|
|
27
27
|
beforeEach,
|
|
@@ -33,26 +33,26 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
StepBuild,
|
|
35
35
|
validateBuildStep
|
|
36
|
-
} from "../../chunk-
|
|
36
|
+
} from "../../chunk-NJCU7OC2.js";
|
|
37
37
|
import "../../chunk-PZERKWE2.js";
|
|
38
38
|
import "../../chunk-K77I4XGL.js";
|
|
39
|
-
import "../../chunk-
|
|
39
|
+
import "../../chunk-WZGROC5L.js";
|
|
40
40
|
import "../../chunk-P2FHS5IS.js";
|
|
41
41
|
import {
|
|
42
42
|
orderDomains
|
|
43
|
-
} from "../../chunk-
|
|
43
|
+
} from "../../chunk-3SCIYMRK.js";
|
|
44
44
|
import "../../chunk-FFMWFEUH.js";
|
|
45
|
-
import "../../chunk-
|
|
45
|
+
import "../../chunk-TXFQBYOX.js";
|
|
46
46
|
import "../../chunk-HK53FRMU.js";
|
|
47
|
-
import "../../chunk-
|
|
48
|
-
import "../../chunk-
|
|
47
|
+
import "../../chunk-XFL7EIM7.js";
|
|
48
|
+
import "../../chunk-TZY7WNWO.js";
|
|
49
49
|
import {
|
|
50
50
|
initializeMatrix
|
|
51
|
-
} from "../../chunk-
|
|
52
|
-
import "../../chunk-
|
|
53
|
-
import "../../chunk-
|
|
51
|
+
} from "../../chunk-4R6I6A3U.js";
|
|
52
|
+
import "../../chunk-633YIZOU.js";
|
|
53
|
+
import "../../chunk-BN73X3JN.js";
|
|
54
54
|
import "../../chunk-FMYAYX6W.js";
|
|
55
|
-
import "../../chunk-
|
|
55
|
+
import "../../chunk-PPBUSAKG.js";
|
|
56
56
|
import {
|
|
57
57
|
init_esm_shims
|
|
58
58
|
} from "../../chunk-DHET7RCE.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
StepConfirm
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-H3NQGJMB.js";
|
|
5
|
+
import "../../chunk-3SCIYMRK.js";
|
|
6
|
+
import "../../chunk-4R6I6A3U.js";
|
|
7
|
+
import "../../chunk-BN73X3JN.js";
|
|
8
8
|
import "../../chunk-FMYAYX6W.js";
|
|
9
9
|
import "../../chunk-DHET7RCE.js";
|
|
10
10
|
export {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "../../chunk-66UDJBF6.js";
|
|
11
11
|
import {
|
|
12
12
|
buildSkillConfigs
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-LO4X32JC.js";
|
|
14
14
|
import {
|
|
15
15
|
afterEach,
|
|
16
16
|
describe,
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
} from "../../chunk-XY3XDVMI.js";
|
|
21
21
|
import {
|
|
22
22
|
StepConfirm
|
|
23
|
-
} from "../../chunk-
|
|
24
|
-
import "../../chunk-
|
|
25
|
-
import "../../chunk-
|
|
26
|
-
import "../../chunk-
|
|
27
|
-
import "../../chunk-
|
|
28
|
-
import "../../chunk-
|
|
29
|
-
import "../../chunk-
|
|
30
|
-
import "../../chunk-
|
|
23
|
+
} from "../../chunk-H3NQGJMB.js";
|
|
24
|
+
import "../../chunk-3SCIYMRK.js";
|
|
25
|
+
import "../../chunk-TXFQBYOX.js";
|
|
26
|
+
import "../../chunk-XFL7EIM7.js";
|
|
27
|
+
import "../../chunk-TZY7WNWO.js";
|
|
28
|
+
import "../../chunk-4R6I6A3U.js";
|
|
29
|
+
import "../../chunk-633YIZOU.js";
|
|
30
|
+
import "../../chunk-BN73X3JN.js";
|
|
31
31
|
import "../../chunk-FMYAYX6W.js";
|
|
32
|
-
import "../../chunk-
|
|
32
|
+
import "../../chunk-PPBUSAKG.js";
|
|
33
33
|
import {
|
|
34
34
|
init_esm_shims
|
|
35
35
|
} from "../../chunk-DHET7RCE.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
StepSettings
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-F4VG5XWZ.js";
|
|
5
5
|
import "../../chunk-7SOPVGDV.js";
|
|
6
6
|
import "../../chunk-SQ7WINEU.js";
|
|
7
7
|
import "../../chunk-FFMWFEUH.js";
|
|
8
8
|
import "../../chunk-KUV24B5M.js";
|
|
9
9
|
import "../../chunk-U3IGFMCY.js";
|
|
10
10
|
import "../../chunk-HK53FRMU.js";
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-XFL7EIM7.js";
|
|
12
|
+
import "../../chunk-TZY7WNWO.js";
|
|
13
|
+
import "../../chunk-4R6I6A3U.js";
|
|
14
|
+
import "../../chunk-633YIZOU.js";
|
|
15
|
+
import "../../chunk-BN73X3JN.js";
|
|
16
16
|
import "../../chunk-FMYAYX6W.js";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-PPBUSAKG.js";
|
|
18
18
|
import "../../chunk-DHET7RCE.js";
|
|
19
19
|
export {
|
|
20
20
|
StepSettings
|
|
@@ -19,20 +19,20 @@ import {
|
|
|
19
19
|
} from "../../chunk-XY3XDVMI.js";
|
|
20
20
|
import {
|
|
21
21
|
StepSettings
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-F4VG5XWZ.js";
|
|
23
23
|
import "../../chunk-7SOPVGDV.js";
|
|
24
24
|
import "../../chunk-SQ7WINEU.js";
|
|
25
25
|
import "../../chunk-FFMWFEUH.js";
|
|
26
26
|
import "../../chunk-KUV24B5M.js";
|
|
27
27
|
import "../../chunk-U3IGFMCY.js";
|
|
28
28
|
import "../../chunk-HK53FRMU.js";
|
|
29
|
-
import "../../chunk-
|
|
30
|
-
import "../../chunk-
|
|
31
|
-
import "../../chunk-
|
|
32
|
-
import "../../chunk-
|
|
33
|
-
import "../../chunk-
|
|
29
|
+
import "../../chunk-XFL7EIM7.js";
|
|
30
|
+
import "../../chunk-TZY7WNWO.js";
|
|
31
|
+
import "../../chunk-4R6I6A3U.js";
|
|
32
|
+
import "../../chunk-633YIZOU.js";
|
|
33
|
+
import "../../chunk-BN73X3JN.js";
|
|
34
34
|
import "../../chunk-FMYAYX6W.js";
|
|
35
|
-
import "../../chunk-
|
|
35
|
+
import "../../chunk-PPBUSAKG.js";
|
|
36
36
|
import {
|
|
37
37
|
init_esm_shims
|
|
38
38
|
} from "../../chunk-DHET7RCE.js";
|
|
@@ -62,7 +62,7 @@ describe("StepSettings component", () => {
|
|
|
62
62
|
let cleanup;
|
|
63
63
|
beforeEach(async () => {
|
|
64
64
|
vi.resetAllMocks();
|
|
65
|
-
const { getSourceSummary } = await import("../../source-manager-
|
|
65
|
+
const { getSourceSummary } = await import("../../source-manager-PJ5APXX2.js");
|
|
66
66
|
vi.mocked(getSourceSummary).mockResolvedValue({
|
|
67
67
|
sources: [
|
|
68
68
|
{ name: "public", url: "github:agents-inc/skills", enabled: true },
|
|
@@ -223,7 +223,7 @@ describe("StepSettings component", () => {
|
|
|
223
223
|
});
|
|
224
224
|
describe("edge cases", () => {
|
|
225
225
|
it("should handle empty sources list gracefully", async () => {
|
|
226
|
-
const { getSourceSummary } = await import("../../source-manager-
|
|
226
|
+
const { getSourceSummary } = await import("../../source-manager-PJ5APXX2.js");
|
|
227
227
|
vi.mocked(getSourceSummary).mockResolvedValue({
|
|
228
228
|
sources: [{ name: "public", url: "github:agents-inc/skills", enabled: true }],
|
|
229
229
|
localSkillCount: 0,
|
|
@@ -237,7 +237,7 @@ describe("StepSettings component", () => {
|
|
|
237
237
|
globalExpect(output).toContain("0");
|
|
238
238
|
});
|
|
239
239
|
it("should handle getSourceSummary failure gracefully", async () => {
|
|
240
|
-
const { getSourceSummary } = await import("../../source-manager-
|
|
240
|
+
const { getSourceSummary } = await import("../../source-manager-PJ5APXX2.js");
|
|
241
241
|
vi.mocked(getSourceSummary).mockRejectedValue(new Error("Config read failed"));
|
|
242
242
|
const { lastFrame, unmount } = renderStepSettings();
|
|
243
243
|
cleanup = unmount;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
StepSources
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-55AZIEK6.js";
|
|
5
5
|
import "../../chunk-V36FRPAU.js";
|
|
6
6
|
import "../../chunk-K77I4XGL.js";
|
|
7
7
|
import "../../chunk-K63OEZW7.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-MNJAF4K2.js";
|
|
9
9
|
import "../../chunk-7SOPVGDV.js";
|
|
10
10
|
import "../../chunk-A5JSBU65.js";
|
|
11
11
|
import "../../chunk-P2FHS5IS.js";
|
|
12
12
|
import "../../chunk-FFMWFEUH.js";
|
|
13
13
|
import "../../chunk-MLXAZODL.js";
|
|
14
14
|
import "../../chunk-KUV24B5M.js";
|
|
15
|
-
import "../../chunk-
|
|
15
|
+
import "../../chunk-TXFQBYOX.js";
|
|
16
16
|
import "../../chunk-HK53FRMU.js";
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
21
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-XFL7EIM7.js";
|
|
18
|
+
import "../../chunk-TZY7WNWO.js";
|
|
19
|
+
import "../../chunk-4R6I6A3U.js";
|
|
20
|
+
import "../../chunk-633YIZOU.js";
|
|
21
|
+
import "../../chunk-BN73X3JN.js";
|
|
22
22
|
import "../../chunk-FMYAYX6W.js";
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-PPBUSAKG.js";
|
|
24
24
|
import "../../chunk-DHET7RCE.js";
|
|
25
25
|
export {
|
|
26
26
|
StepSources
|