@agents-inc/cli 0.68.0 → 0.71.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 +34 -0
- package/dist/chunk-2MHSOPIU.js +84 -0
- package/dist/chunk-2MHSOPIU.js.map +1 -0
- package/dist/{chunk-VTRVAXUM.js → chunk-2VT2DMD7.js} +6 -6
- package/dist/{chunk-KFDTVSIC.js → chunk-6YMW4HMX.js} +2 -2
- package/dist/{chunk-L5LD3ZSR.js → chunk-AX6MMYAZ.js} +4 -4
- package/dist/{chunk-45R64U2S.js → chunk-CADG5WWP.js} +13 -11
- package/dist/chunk-CADG5WWP.js.map +1 -0
- package/dist/chunk-DA3WIZ4C.js +253 -0
- package/dist/chunk-DA3WIZ4C.js.map +1 -0
- package/dist/chunk-DHBRWGRZ.js +58 -0
- package/dist/chunk-DHBRWGRZ.js.map +1 -0
- package/dist/{chunk-2JJUPWE5.js → chunk-HWVRHPXR.js} +2 -2
- package/dist/{chunk-N4D43IOO.js → chunk-J2D6OBIX.js} +26 -2
- package/dist/chunk-J2D6OBIX.js.map +1 -0
- package/dist/{chunk-KMDBOO3E.js → chunk-KANNRFY7.js} +2 -2
- package/dist/{chunk-SSGPFKS4.js → chunk-KSAGOKWT.js} +2 -2
- package/dist/{chunk-EULHBV5V.js → chunk-QOJAZI72.js} +2 -2
- package/dist/{chunk-JAWXWNIX.js → chunk-UDAHHJIM.js} +9 -9
- package/dist/{chunk-F6KEZ4Y5.js → chunk-UQM5YPPJ.js} +2 -2
- package/dist/{chunk-HADHP7XF.js → chunk-V5L532ZH.js} +6 -6
- package/dist/{chunk-RMMHVE2R.js → chunk-VUUGWE6G.js} +2 -2
- package/dist/chunk-WF5PMBIR.js +54 -0
- package/dist/chunk-WF5PMBIR.js.map +1 -0
- package/dist/{chunk-GK5CAS3A.js → chunk-X4RIMJNY.js} +2 -2
- package/dist/{chunk-QUEO6QEL.js → chunk-XB3TYSPL.js} +2 -2
- package/dist/{chunk-7LCI5PSJ.js → chunk-XMZNHLV3.js} +2 -2
- package/dist/{chunk-KBG7GYPL.js → chunk-XYRVAEI6.js} +74 -111
- package/dist/chunk-XYRVAEI6.js.map +1 -0
- package/dist/commands/build/plugins.js +2 -2
- package/dist/commands/build/stack.js +2 -2
- package/dist/commands/compile.js +2 -2
- package/dist/commands/config/index.js +2 -2
- package/dist/commands/config/path.js +1 -1
- package/dist/commands/config/show.js +2 -2
- package/dist/commands/diff.js +1 -1
- package/dist/commands/doctor.js +1 -1
- package/dist/commands/edit.js +17 -16
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +1 -1
- package/dist/commands/import/skill.js +1 -1
- package/dist/commands/info.js +1 -1
- package/dist/commands/init.js +17 -16
- package/dist/commands/list.js +1 -1
- package/dist/commands/new/agent.js +2 -2
- package/dist/commands/new/marketplace.js +2 -2
- package/dist/commands/new/skill.js +2 -2
- package/dist/commands/outdated.js +1 -1
- package/dist/commands/search.js +1 -1
- package/dist/commands/uninstall.js +1 -1
- package/dist/commands/update.js +2 -2
- package/dist/commands/validate.js +1 -1
- package/dist/components/common/select-list.js +11 -0
- package/dist/components/wizard/category-grid.test.js +3 -3
- package/dist/components/wizard/domain-selection.js +3 -3
- package/dist/components/wizard/search-modal.js +2 -1
- package/dist/components/wizard/search-modal.test.js +3 -2
- package/dist/components/wizard/search-modal.test.js.map +1 -1
- package/dist/components/wizard/source-grid.js +3 -2
- package/dist/components/wizard/source-grid.test.js +11 -7
- package/dist/components/wizard/source-grid.test.js.map +1 -1
- package/dist/components/wizard/stack-selection.js +3 -3
- package/dist/components/wizard/step-agents.js +3 -3
- package/dist/components/wizard/step-agents.test.js +7 -6
- package/dist/components/wizard/step-agents.test.js.map +1 -1
- package/dist/components/wizard/step-build.js +4 -4
- package/dist/components/wizard/step-build.test.js +14 -49
- package/dist/components/wizard/step-build.test.js.map +1 -1
- package/dist/components/wizard/step-confirm.test.js +3 -3
- package/dist/components/wizard/step-settings.js +2 -2
- package/dist/components/wizard/step-settings.test.js +5 -5
- package/dist/components/wizard/step-sources.js +7 -6
- package/dist/components/wizard/step-sources.test.js +12 -10
- package/dist/components/wizard/step-sources.test.js.map +1 -1
- package/dist/components/wizard/step-stack.js +6 -6
- package/dist/components/wizard/step-stack.test.js +7 -7
- package/dist/components/wizard/wizard-layout.js +3 -3
- package/dist/components/wizard/wizard.js +16 -15
- package/dist/hooks/init.js +17 -16
- package/dist/hooks/init.js.map +1 -1
- package/dist/{source-loader-YMWWZFVD.js → source-loader-3MZ2MBOF.js} +2 -2
- package/dist/{source-manager-6G3EVTU2.js → source-manager-NEH6QXE5.js} +2 -2
- package/dist/source-manager-NEH6QXE5.js.map +1 -0
- package/dist/stores/matrix-store.test.js +14 -10
- package/dist/stores/matrix-store.test.js.map +1 -1
- package/dist/stores/wizard-store.js +2 -2
- package/dist/stores/wizard-store.test.js +28 -103
- package/dist/stores/wizard-store.test.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-45R64U2S.js.map +0 -1
- package/dist/chunk-6IK2TCK7.js +0 -97
- package/dist/chunk-6IK2TCK7.js.map +0 -1
- package/dist/chunk-KBG7GYPL.js.map +0 -1
- package/dist/chunk-N4D43IOO.js.map +0 -1
- /package/dist/{chunk-VTRVAXUM.js.map → chunk-2VT2DMD7.js.map} +0 -0
- /package/dist/{chunk-KFDTVSIC.js.map → chunk-6YMW4HMX.js.map} +0 -0
- /package/dist/{chunk-L5LD3ZSR.js.map → chunk-AX6MMYAZ.js.map} +0 -0
- /package/dist/{chunk-2JJUPWE5.js.map → chunk-HWVRHPXR.js.map} +0 -0
- /package/dist/{chunk-KMDBOO3E.js.map → chunk-KANNRFY7.js.map} +0 -0
- /package/dist/{chunk-SSGPFKS4.js.map → chunk-KSAGOKWT.js.map} +0 -0
- /package/dist/{chunk-EULHBV5V.js.map → chunk-QOJAZI72.js.map} +0 -0
- /package/dist/{chunk-JAWXWNIX.js.map → chunk-UDAHHJIM.js.map} +0 -0
- /package/dist/{chunk-F6KEZ4Y5.js.map → chunk-UQM5YPPJ.js.map} +0 -0
- /package/dist/{chunk-HADHP7XF.js.map → chunk-V5L532ZH.js.map} +0 -0
- /package/dist/{chunk-RMMHVE2R.js.map → chunk-VUUGWE6G.js.map} +0 -0
- /package/dist/{chunk-GK5CAS3A.js.map → chunk-X4RIMJNY.js.map} +0 -0
- /package/dist/{chunk-QUEO6QEL.js.map → chunk-XB3TYSPL.js.map} +0 -0
- /package/dist/{chunk-7LCI5PSJ.js.map → chunk-XMZNHLV3.js.map} +0 -0
- /package/dist/{source-loader-YMWWZFVD.js.map → components/common/select-list.js.map} +0 -0
- /package/dist/{source-manager-6G3EVTU2.js.map → source-loader-3MZ2MBOF.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,40 @@ Each release has detailed notes in its own file under [`changelogs/`](./changelo
|
|
|
7
7
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
8
8
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
9
9
|
|
|
10
|
+
## [0.71.0] - 2026-03-11
|
|
11
|
+
|
|
12
|
+
**Reusable SelectList component, Dashboard and GlobalConfigPrompt UX overhaul**
|
|
13
|
+
|
|
14
|
+
- New `SelectList<T>` component for vertical single-select lists
|
|
15
|
+
- Dashboard simplified to vertical menu (no stats display)
|
|
16
|
+
- Screen clears between successive Ink renders
|
|
17
|
+
|
|
18
|
+
See [changelogs/0.71.0.md](./changelogs/0.71.0.md) for full details.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## [0.70.0] - 2026-03-11
|
|
23
|
+
|
|
24
|
+
**Centralize remaining test data (R-09b)**
|
|
25
|
+
|
|
26
|
+
- Pre-built matrix constants and config factories replace inline test data construction
|
|
27
|
+
- CLAUDE.md conventions updated for new test data patterns
|
|
28
|
+
|
|
29
|
+
See [changelogs/0.70.0.md](./changelogs/0.70.0.md) for full details.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## [0.69.0] - 2026-03-11
|
|
34
|
+
|
|
35
|
+
**loadStackById default stacks fallback (R-01)**
|
|
36
|
+
|
|
37
|
+
- `loadStackById` now checks built-in default stacks internally
|
|
38
|
+
- R-07 codegen plan for source-derived type unions
|
|
39
|
+
|
|
40
|
+
See [changelogs/0.69.0.md](./changelogs/0.69.0.md) for full details.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
10
44
|
## [0.68.0] - 2026-03-11
|
|
11
45
|
|
|
12
46
|
**Per-agent scope in edit mode (D-74)**
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
SelectList
|
|
4
|
+
} from "./chunk-WF5PMBIR.js";
|
|
5
|
+
import {
|
|
6
|
+
KEY_LABEL_ARROWS_VERT,
|
|
7
|
+
KEY_LABEL_ENTER,
|
|
8
|
+
KEY_LABEL_ESC
|
|
9
|
+
} from "./chunk-6VIOO74O.js";
|
|
10
|
+
import {
|
|
11
|
+
CLI_COLORS
|
|
12
|
+
} from "./chunk-EGMQ3SXN.js";
|
|
13
|
+
import {
|
|
14
|
+
init_esm_shims
|
|
15
|
+
} from "./chunk-DHET7RCE.js";
|
|
16
|
+
|
|
17
|
+
// src/cli/components/wizard/search-modal.tsx
|
|
18
|
+
init_esm_shims();
|
|
19
|
+
import { Box, Text } from "ink";
|
|
20
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
21
|
+
function candidateToItem(candidate) {
|
|
22
|
+
return {
|
|
23
|
+
label: `${candidate.sourceName}/${candidate.id}`,
|
|
24
|
+
value: candidate
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
var SearchModal = ({
|
|
28
|
+
results,
|
|
29
|
+
alias,
|
|
30
|
+
onBind,
|
|
31
|
+
onClose,
|
|
32
|
+
active
|
|
33
|
+
}) => {
|
|
34
|
+
const items = results.map(candidateToItem);
|
|
35
|
+
return /* @__PURE__ */ jsxs(
|
|
36
|
+
Box,
|
|
37
|
+
{
|
|
38
|
+
flexDirection: "column",
|
|
39
|
+
borderStyle: "single",
|
|
40
|
+
borderColor: CLI_COLORS.NEUTRAL,
|
|
41
|
+
paddingX: 1,
|
|
42
|
+
paddingY: 0,
|
|
43
|
+
marginTop: 1,
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsxs(Text, { bold: true, children: [
|
|
46
|
+
'Search results for "',
|
|
47
|
+
alias,
|
|
48
|
+
'"'
|
|
49
|
+
] }),
|
|
50
|
+
/* @__PURE__ */ jsx(Text, { children: " " }),
|
|
51
|
+
results.length === 0 ? /* @__PURE__ */ jsx(Text, { dimColor: true, children: "No results found" }) : /* @__PURE__ */ jsx(
|
|
52
|
+
SelectList,
|
|
53
|
+
{
|
|
54
|
+
items,
|
|
55
|
+
onSelect: onBind,
|
|
56
|
+
onCancel: onClose,
|
|
57
|
+
active,
|
|
58
|
+
renderItem: (item, isFocused) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
|
+
/* @__PURE__ */ jsx(Text, { bold: isFocused, color: isFocused ? CLI_COLORS.PRIMARY : void 0, children: item.label }),
|
|
60
|
+
item.value.description && /* @__PURE__ */ jsxs(Text, { dimColor: true, children: [
|
|
61
|
+
" ",
|
|
62
|
+
item.value.description
|
|
63
|
+
] })
|
|
64
|
+
] })
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ jsx(Text, { children: " " }),
|
|
68
|
+
/* @__PURE__ */ jsxs(Text, { dimColor: true, children: [
|
|
69
|
+
KEY_LABEL_ARROWS_VERT,
|
|
70
|
+
" navigate ",
|
|
71
|
+
KEY_LABEL_ENTER,
|
|
72
|
+
" bind ",
|
|
73
|
+
KEY_LABEL_ESC,
|
|
74
|
+
" close"
|
|
75
|
+
] })
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export {
|
|
82
|
+
SearchModal
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=chunk-2MHSOPIU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cli/components/wizard/search-modal.tsx"],"sourcesContent":["import React from \"react\";\nimport { Box, Text } from \"ink\";\nimport type { BoundSkillCandidate } from \"../../types/index.js\";\nimport { CLI_COLORS } from \"../../consts.js\";\nimport { SelectList, type SelectListItem } from \"../common/select-list.js\";\nimport { KEY_LABEL_ARROWS_VERT, KEY_LABEL_ENTER, KEY_LABEL_ESC } from \"./hotkeys.js\";\n\nexport type SearchModalProps = {\n results: BoundSkillCandidate[];\n alias: string;\n onBind: (candidate: BoundSkillCandidate) => void;\n onClose: () => void;\n active?: boolean;\n};\n\nfunction candidateToItem(candidate: BoundSkillCandidate): SelectListItem<BoundSkillCandidate> {\n return {\n label: `${candidate.sourceName}/${candidate.id}`,\n value: candidate,\n };\n}\n\nexport const SearchModal: React.FC<SearchModalProps> = ({\n results,\n alias,\n onBind,\n onClose,\n active,\n}) => {\n const items = results.map(candidateToItem);\n\n return (\n <Box\n flexDirection=\"column\"\n borderStyle=\"single\"\n borderColor={CLI_COLORS.NEUTRAL}\n paddingX={1}\n paddingY={0}\n marginTop={1}\n >\n <Text bold>Search results for "{alias}"</Text>\n <Text> </Text>\n\n {results.length === 0 ? (\n <Text dimColor>No results found</Text>\n ) : (\n <SelectList\n items={items}\n onSelect={onBind}\n onCancel={onClose}\n active={active}\n renderItem={(item, isFocused) => (\n <>\n <Text bold={isFocused} color={isFocused ? CLI_COLORS.PRIMARY : undefined}>\n {item.label}\n </Text>\n {item.value.description && (\n <Text dimColor>\n {\" \"}\n {item.value.description}\n </Text>\n )}\n </>\n )}\n />\n )}\n\n <Text> </Text>\n <Text dimColor>\n {KEY_LABEL_ARROWS_VERT} navigate {KEY_LABEL_ENTER} bind {KEY_LABEL_ESC} close\n </Text>\n </Box>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AACA,SAAS,KAAK,YAAY;AAuCpB,SAYM,UAXN,KADA;AAzBN,SAAS,gBAAgB,WAAqE;AAC5F,SAAO;AAAA,IACL,OAAO,GAAG,UAAU,UAAU,IAAI,UAAU,EAAE;AAAA,IAC9C,OAAO;AAAA,EACT;AACF;AAEO,IAAM,cAA0C,CAAC;AAAA,EACtD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,QAAQ,QAAQ,IAAI,eAAe;AAEzC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAc;AAAA,MACd,aAAY;AAAA,MACZ,aAAa,WAAW;AAAA,MACxB,UAAU;AAAA,MACV,UAAU;AAAA,MACV,WAAW;AAAA,MAEX;AAAA,6BAAC,QAAK,MAAI,MAAC;AAAA;AAAA,UAA0B;AAAA,UAAM;AAAA,WAAM;AAAA,QACjD,oBAAC,QAAK,eAAC;AAAA,QAEN,QAAQ,WAAW,IAClB,oBAAC,QAAK,UAAQ,MAAC,8BAAgB,IAE/B;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA,UAAU;AAAA,YACV,UAAU;AAAA,YACV;AAAA,YACA,YAAY,CAAC,MAAM,cACjB,iCACE;AAAA,kCAAC,QAAK,MAAM,WAAW,OAAO,YAAY,WAAW,UAAU,QAC5D,eAAK,OACR;AAAA,cACC,KAAK,MAAM,eACV,qBAAC,QAAK,UAAQ,MACX;AAAA;AAAA,gBACA,KAAK,MAAM;AAAA,iBACd;AAAA,eAEJ;AAAA;AAAA,QAEJ;AAAA,QAGF,oBAAC,QAAK,eAAC;AAAA,QACP,qBAAC,QAAK,UAAQ,MACX;AAAA;AAAA,UAAsB;AAAA,UAAW;AAAA,UAAgB;AAAA,UAAO;AAAA,UAAc;AAAA,WACzE;AAAA;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import {
|
|
3
3
|
useMeasuredHeight
|
|
4
4
|
} from "./chunk-K77I4XGL.js";
|
|
5
|
-
import {
|
|
6
|
-
CategoryGrid
|
|
7
|
-
} from "./chunk-CKPJTMNC.js";
|
|
8
5
|
import {
|
|
9
6
|
getDomainDisplayName,
|
|
10
7
|
orderDomains
|
|
11
8
|
} from "./chunk-ZYUASJUN.js";
|
|
9
|
+
import {
|
|
10
|
+
CategoryGrid
|
|
11
|
+
} from "./chunk-CKPJTMNC.js";
|
|
12
12
|
import {
|
|
13
13
|
ViewTitle
|
|
14
14
|
} from "./chunk-AQYAVLZK.js";
|
|
15
15
|
import {
|
|
16
16
|
useWizardStore
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QOJAZI72.js";
|
|
18
18
|
import {
|
|
19
19
|
KEY_LABEL_ENTER,
|
|
20
20
|
KEY_LABEL_ESC
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
getAvailableSkills,
|
|
24
24
|
resolveAlias
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CADG5WWP.js";
|
|
26
26
|
import {
|
|
27
27
|
findSkill,
|
|
28
28
|
getMatrix
|
|
@@ -245,4 +245,4 @@ export {
|
|
|
245
245
|
validateBuildStep,
|
|
246
246
|
StepBuild
|
|
247
247
|
};
|
|
248
|
-
//# sourceMappingURL=chunk-
|
|
248
|
+
//# sourceMappingURL=chunk-2VT2DMD7.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-7SOPVGDV.js";
|
|
5
5
|
import {
|
|
6
6
|
SearchModal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2MHSOPIU.js";
|
|
8
8
|
import {
|
|
9
9
|
useFocusedListItem
|
|
10
10
|
} from "./chunk-GG4BSB6S.js";
|
|
@@ -259,4 +259,4 @@ var SourceGrid = ({
|
|
|
259
259
|
export {
|
|
260
260
|
SourceGrid
|
|
261
261
|
};
|
|
262
|
-
//# sourceMappingURL=chunk-
|
|
262
|
+
//# sourceMappingURL=chunk-6YMW4HMX.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
StackSelection
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XMZNHLV3.js";
|
|
5
5
|
import {
|
|
6
6
|
useMeasuredHeight
|
|
7
7
|
} from "./chunk-K77I4XGL.js";
|
|
8
8
|
import {
|
|
9
9
|
DomainSelection
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KANNRFY7.js";
|
|
11
11
|
import {
|
|
12
12
|
ViewTitle
|
|
13
13
|
} from "./chunk-AQYAVLZK.js";
|
|
14
14
|
import {
|
|
15
15
|
useWizardStore
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QOJAZI72.js";
|
|
17
17
|
import {
|
|
18
18
|
init_esm_shims
|
|
19
19
|
} from "./chunk-DHET7RCE.js";
|
|
@@ -37,4 +37,4 @@ var StepStack = ({ onCancel }) => {
|
|
|
37
37
|
export {
|
|
38
38
|
StepStack
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=chunk-
|
|
40
|
+
//# sourceMappingURL=chunk-AX6MMYAZ.js.map
|
|
@@ -692,12 +692,17 @@ async function loadStacks(configDir, stacksFile) {
|
|
|
692
692
|
async function loadStackById(stackId, configDir) {
|
|
693
693
|
const stacks = await loadStacks(configDir);
|
|
694
694
|
const stack = stacks.find((s) => s.id === stackId);
|
|
695
|
-
if (
|
|
696
|
-
verbose(`
|
|
697
|
-
return
|
|
695
|
+
if (stack) {
|
|
696
|
+
verbose(`Found stack: ${stack.name} (${stackId})`);
|
|
697
|
+
return stack;
|
|
698
698
|
}
|
|
699
|
-
|
|
700
|
-
|
|
699
|
+
const defaultStack = defaultStacks.find((s) => s.id === stackId) ?? null;
|
|
700
|
+
if (defaultStack) {
|
|
701
|
+
verbose(`Found default stack: ${defaultStack.name} (${stackId})`);
|
|
702
|
+
} else {
|
|
703
|
+
verbose(`Stack '${stackId}' not found in source or defaults`);
|
|
704
|
+
}
|
|
705
|
+
return defaultStack;
|
|
701
706
|
}
|
|
702
707
|
function resolveAgentConfigToSkills(agentConfig) {
|
|
703
708
|
return typedEntries(agentConfig).flatMap(
|
|
@@ -2814,7 +2819,7 @@ async function compileStackPlugin(options) {
|
|
|
2814
2819
|
verbose(
|
|
2815
2820
|
` Loaded ${Object.keys(localAgents).length} local agents, ${Object.keys(cliAgents).length} CLI agents`
|
|
2816
2821
|
);
|
|
2817
|
-
const newStack = options.stack || await loadStackById(stackId, projectRoot)
|
|
2822
|
+
const newStack = options.stack || await loadStackById(stackId, projectRoot);
|
|
2818
2823
|
let stack;
|
|
2819
2824
|
if (newStack) {
|
|
2820
2825
|
verbose(` Found stack: ${newStack.name}`);
|
|
@@ -3193,7 +3198,7 @@ function loadConfigTypesDataInBackground(sourceFlag, projectDir) {
|
|
|
3193
3198
|
if (!await directoryExists(claudeSrcDir)) {
|
|
3194
3199
|
throw new Error(`${CLAUDE_SRC_DIR}/ not found \u2014 run '${CLI_BIN_NAME} init' first`);
|
|
3195
3200
|
}
|
|
3196
|
-
const { loadSkillsMatrixFromSource: loadSkillsMatrixFromSource2 } = await import("./source-loader-
|
|
3201
|
+
const { loadSkillsMatrixFromSource: loadSkillsMatrixFromSource2 } = await import("./source-loader-3MZ2MBOF.js");
|
|
3197
3202
|
const { loadAllAgents: loadAllAgents2 } = await import("./loader-CMSC3RAO.js");
|
|
3198
3203
|
const sourceResult = await loadSkillsMatrixFromSource2({
|
|
3199
3204
|
sourceFlag,
|
|
@@ -3652,9 +3657,6 @@ async function buildLocalConfig(wizardResult, sourceResult) {
|
|
|
3652
3657
|
let loadedStack = null;
|
|
3653
3658
|
if (wizardResult.selectedStackId) {
|
|
3654
3659
|
loadedStack = await loadStackById(wizardResult.selectedStackId, sourceResult.sourcePath);
|
|
3655
|
-
if (!loadedStack) {
|
|
3656
|
-
loadedStack = defaultStacks.find((s) => s.id === wizardResult.selectedStackId) ?? null;
|
|
3657
|
-
}
|
|
3658
3660
|
verbose(
|
|
3659
3661
|
`buildLocalConfig: loadedStack=${loadedStack ? `found (id='${loadedStack.id}')` : "NOT FOUND"}`
|
|
3660
3662
|
);
|
|
@@ -5653,4 +5655,4 @@ export {
|
|
|
5653
5655
|
validateAllPlugins,
|
|
5654
5656
|
printPluginValidationResult
|
|
5655
5657
|
};
|
|
5656
|
-
//# sourceMappingURL=chunk-
|
|
5658
|
+
//# sourceMappingURL=chunk-CADG5WWP.js.map
|