agents-inc 0.158.0 → 0.159.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.
Files changed (128) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{chunk-DAUY2SB3.js → chunk-2Q65K6E3.js} +70 -25
  3. package/dist/chunk-2Q65K6E3.js.map +1 -0
  4. package/dist/{chunk-3Q2N7CSY.js → chunk-42PQKBVU.js} +6 -6
  5. package/dist/{chunk-P6OKOH62.js → chunk-4APXK7ZY.js} +2 -2
  6. package/dist/{chunk-TPQ5M3BW.js → chunk-4RYWFQK7.js} +3 -3
  7. package/dist/{chunk-TUXXBEBB.js → chunk-4VMLCWLD.js} +3 -3
  8. package/dist/{chunk-QNAMXQKF.js → chunk-4VVKVOOP.js} +2 -2
  9. package/dist/{chunk-G6G2FT2G.js → chunk-5KB4I5J7.js} +2 -5
  10. package/dist/chunk-5KB4I5J7.js.map +1 -0
  11. package/dist/{chunk-WMVOJY6V.js → chunk-5YOSLSQJ.js} +3 -3
  12. package/dist/{chunk-6DBE562W.js → chunk-62XKTOUI.js} +3 -3
  13. package/dist/{chunk-KUZBMEWR.js → chunk-AU5FS3QK.js} +3 -3
  14. package/dist/{chunk-DP6YQFVO.js → chunk-BNHD2GIB.js} +4 -4
  15. package/dist/{chunk-2PN4QXON.js → chunk-BQJVHD6Y.js} +3 -3
  16. package/dist/{chunk-PNRLBPGS.js → chunk-F35G42TF.js} +11 -11
  17. package/dist/{chunk-KVVXINCJ.js → chunk-FBRLHNUT.js} +2 -2
  18. package/dist/{chunk-H4CL23HG.js → chunk-G7TYOPON.js} +3 -3
  19. package/dist/{chunk-3NBXQSW2.js → chunk-GPZQCLZJ.js} +5 -5
  20. package/dist/{chunk-EEAX7E2X.js → chunk-IO2DPRDS.js} +2 -2
  21. package/dist/{chunk-TZRXWFF5.js → chunk-ITEJARWI.js} +3 -3
  22. package/dist/{chunk-L4FHSOL5.js → chunk-JV4P7BL4.js} +4 -4
  23. package/dist/{chunk-Q7CAE5NN.js → chunk-LSSGS2QS.js} +3 -3
  24. package/dist/{chunk-IK6YOXZH.js → chunk-LVA6XJGR.js} +3 -3
  25. package/dist/{chunk-4ABNXKAR.js → chunk-MPLWPWL4.js} +2 -2
  26. package/dist/{chunk-LKI3ENGQ.js → chunk-NS5COBTT.js} +3 -3
  27. package/dist/{chunk-VTIDLRNA.js → chunk-OJIQOVWB.js} +2 -2
  28. package/dist/{chunk-WCZNQECQ.js → chunk-PEHYVSJG.js} +2 -2
  29. package/dist/{chunk-DZD25NHW.js → chunk-SITF5EZM.js} +2 -2
  30. package/dist/{chunk-SJ4T5YLG.js → chunk-SKDTGHCD.js} +4 -4
  31. package/dist/{chunk-XNYHMRVJ.js → chunk-THLQS2AW.js} +4 -4
  32. package/dist/{chunk-3PJLLBUS.js → chunk-V625APR6.js} +16 -11
  33. package/dist/chunk-V625APR6.js.map +1 -0
  34. package/dist/{chunk-H25VRR2T.js → chunk-VCUXNKOY.js} +5 -5
  35. package/dist/{chunk-PZNXBORZ.js → chunk-WVBJRFFM.js} +3 -3
  36. package/dist/{chunk-X52QUV4U.js → chunk-WVKGO3Y5.js} +5 -5
  37. package/dist/{chunk-YXI3BTQQ.js → chunk-X5PLVOJS.js} +2 -2
  38. package/dist/{chunk-H2DHTJKW.js → chunk-YAHTF4NO.js} +8 -8
  39. package/dist/{chunk-4DMFK67G.js → chunk-YKRPWZ3G.js} +2 -2
  40. package/dist/{chunk-54QLV3OH.js → chunk-YVQSDBTK.js} +33 -5
  41. package/dist/chunk-YVQSDBTK.js.map +1 -0
  42. package/dist/{chunk-JG3B47P3.js → chunk-Z6G24ROK.js} +8 -8
  43. package/dist/{chunk-OQB2CKBT.js → chunk-Z6KROWH4.js} +6 -6
  44. package/dist/commands/build/marketplace.js +6 -6
  45. package/dist/commands/build/plugins.js +6 -6
  46. package/dist/commands/compile.js +9 -9
  47. package/dist/commands/doctor.js +11 -11
  48. package/dist/commands/doctor.js.map +1 -1
  49. package/dist/commands/edit.js +57 -66
  50. package/dist/commands/edit.js.map +1 -1
  51. package/dist/commands/eject.js +9 -9
  52. package/dist/commands/init.js +39 -35
  53. package/dist/commands/list.js +7 -7
  54. package/dist/commands/new/marketplace.js +6 -6
  55. package/dist/commands/search.js +9 -9
  56. package/dist/commands/share.js +98 -14
  57. package/dist/commands/share.js.map +1 -1
  58. package/dist/commands/uninstall.js +10 -10
  59. package/dist/commands/update.js +5 -5
  60. package/dist/components/common/removal-plan-confirm.js +2 -2
  61. package/dist/components/common/select-list.js +2 -2
  62. package/dist/components/wizard/category-grid.js +3 -3
  63. package/dist/components/wizard/checkbox-grid.js +4 -4
  64. package/dist/components/wizard/domain-selection.js +8 -8
  65. package/dist/components/wizard/run-wizard-session.js +25 -25
  66. package/dist/components/wizard/scroll-affordance.js +2 -2
  67. package/dist/components/wizard/skill-agent-summary.js +4 -4
  68. package/dist/components/wizard/source-grid.js +4 -4
  69. package/dist/components/wizard/stack-selection.js +6 -6
  70. package/dist/components/wizard/step-agents.js +7 -7
  71. package/dist/components/wizard/step-build.js +6 -6
  72. package/dist/components/wizard/step-confirm.js +8 -8
  73. package/dist/components/wizard/step-sources.js +7 -7
  74. package/dist/components/wizard/step-stack.js +7 -7
  75. package/dist/components/wizard/summary-panel.js +7 -7
  76. package/dist/components/wizard/toast.js +2 -2
  77. package/dist/components/wizard/wizard-layout.js +11 -11
  78. package/dist/components/wizard/wizard-tabs.js +2 -2
  79. package/dist/components/wizard/wizard.js +24 -24
  80. package/dist/hooks/init.js +35 -35
  81. package/dist/load-agent-defs-2H42B2OO.js +13 -0
  82. package/dist/{recompile-project-agents-NG5DCPHJ.js → recompile-project-agents-QIAMBCM4.js} +7 -7
  83. package/dist/{source-loader-CO2FZ3OO.js → source-loader-CC6ZWKTI.js} +3 -3
  84. package/dist/stores/wizard-store.js +3 -3
  85. package/package.json +1 -1
  86. package/src/schemas/project-source-config.schema.json +0 -3
  87. package/dist/chunk-3PJLLBUS.js.map +0 -1
  88. package/dist/chunk-54QLV3OH.js.map +0 -1
  89. package/dist/chunk-DAUY2SB3.js.map +0 -1
  90. package/dist/chunk-G6G2FT2G.js.map +0 -1
  91. package/dist/load-agent-defs-2VYAV5GL.js +0 -13
  92. /package/dist/{chunk-3Q2N7CSY.js.map → chunk-42PQKBVU.js.map} +0 -0
  93. /package/dist/{chunk-P6OKOH62.js.map → chunk-4APXK7ZY.js.map} +0 -0
  94. /package/dist/{chunk-TPQ5M3BW.js.map → chunk-4RYWFQK7.js.map} +0 -0
  95. /package/dist/{chunk-TUXXBEBB.js.map → chunk-4VMLCWLD.js.map} +0 -0
  96. /package/dist/{chunk-QNAMXQKF.js.map → chunk-4VVKVOOP.js.map} +0 -0
  97. /package/dist/{chunk-WMVOJY6V.js.map → chunk-5YOSLSQJ.js.map} +0 -0
  98. /package/dist/{chunk-6DBE562W.js.map → chunk-62XKTOUI.js.map} +0 -0
  99. /package/dist/{chunk-KUZBMEWR.js.map → chunk-AU5FS3QK.js.map} +0 -0
  100. /package/dist/{chunk-DP6YQFVO.js.map → chunk-BNHD2GIB.js.map} +0 -0
  101. /package/dist/{chunk-2PN4QXON.js.map → chunk-BQJVHD6Y.js.map} +0 -0
  102. /package/dist/{chunk-PNRLBPGS.js.map → chunk-F35G42TF.js.map} +0 -0
  103. /package/dist/{chunk-KVVXINCJ.js.map → chunk-FBRLHNUT.js.map} +0 -0
  104. /package/dist/{chunk-H4CL23HG.js.map → chunk-G7TYOPON.js.map} +0 -0
  105. /package/dist/{chunk-3NBXQSW2.js.map → chunk-GPZQCLZJ.js.map} +0 -0
  106. /package/dist/{chunk-EEAX7E2X.js.map → chunk-IO2DPRDS.js.map} +0 -0
  107. /package/dist/{chunk-TZRXWFF5.js.map → chunk-ITEJARWI.js.map} +0 -0
  108. /package/dist/{chunk-L4FHSOL5.js.map → chunk-JV4P7BL4.js.map} +0 -0
  109. /package/dist/{chunk-Q7CAE5NN.js.map → chunk-LSSGS2QS.js.map} +0 -0
  110. /package/dist/{chunk-IK6YOXZH.js.map → chunk-LVA6XJGR.js.map} +0 -0
  111. /package/dist/{chunk-4ABNXKAR.js.map → chunk-MPLWPWL4.js.map} +0 -0
  112. /package/dist/{chunk-LKI3ENGQ.js.map → chunk-NS5COBTT.js.map} +0 -0
  113. /package/dist/{chunk-VTIDLRNA.js.map → chunk-OJIQOVWB.js.map} +0 -0
  114. /package/dist/{chunk-WCZNQECQ.js.map → chunk-PEHYVSJG.js.map} +0 -0
  115. /package/dist/{chunk-DZD25NHW.js.map → chunk-SITF5EZM.js.map} +0 -0
  116. /package/dist/{chunk-SJ4T5YLG.js.map → chunk-SKDTGHCD.js.map} +0 -0
  117. /package/dist/{chunk-XNYHMRVJ.js.map → chunk-THLQS2AW.js.map} +0 -0
  118. /package/dist/{chunk-H25VRR2T.js.map → chunk-VCUXNKOY.js.map} +0 -0
  119. /package/dist/{chunk-PZNXBORZ.js.map → chunk-WVBJRFFM.js.map} +0 -0
  120. /package/dist/{chunk-X52QUV4U.js.map → chunk-WVKGO3Y5.js.map} +0 -0
  121. /package/dist/{chunk-YXI3BTQQ.js.map → chunk-X5PLVOJS.js.map} +0 -0
  122. /package/dist/{chunk-H2DHTJKW.js.map → chunk-YAHTF4NO.js.map} +0 -0
  123. /package/dist/{chunk-4DMFK67G.js.map → chunk-YKRPWZ3G.js.map} +0 -0
  124. /package/dist/{chunk-JG3B47P3.js.map → chunk-Z6G24ROK.js.map} +0 -0
  125. /package/dist/{chunk-OQB2CKBT.js.map → chunk-Z6KROWH4.js.map} +0 -0
  126. /package/dist/{load-agent-defs-2VYAV5GL.js.map → load-agent-defs-2H42B2OO.js.map} +0 -0
  127. /package/dist/{recompile-project-agents-NG5DCPHJ.js.map → recompile-project-agents-QIAMBCM4.js.map} +0 -0
  128. /package/dist/{source-loader-CO2FZ3OO.js.map → source-loader-CC6ZWKTI.js.map} +0 -0
@@ -1,55 +1,59 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
+ Dashboard,
3
4
  Init,
5
+ dashboardCountLines,
4
6
  formatDashboardText,
5
7
  getDashboardData,
6
8
  runDashboardFlow,
7
9
  showDashboard
8
- } from "../chunk-DAUY2SB3.js";
9
- import "../chunk-VTIDLRNA.js";
10
- import "../chunk-54QLV3OH.js";
11
- import "../chunk-XNYHMRVJ.js";
12
- import "../chunk-PNRLBPGS.js";
13
- import "../chunk-4ABNXKAR.js";
14
- import "../chunk-Q7CAE5NN.js";
15
- import "../chunk-EEAX7E2X.js";
16
- import "../chunk-JG3B47P3.js";
17
- import "../chunk-3Q2N7CSY.js";
18
- import "../chunk-DZD25NHW.js";
19
- import "../chunk-P6OKOH62.js";
20
- import "../chunk-3NBXQSW2.js";
21
- import "../chunk-SJ4T5YLG.js";
22
- import "../chunk-YXI3BTQQ.js";
23
- import "../chunk-L4FHSOL5.js";
24
- import "../chunk-OQB2CKBT.js";
25
- import "../chunk-KVVXINCJ.js";
26
- import "../chunk-6DBE562W.js";
10
+ } from "../chunk-2Q65K6E3.js";
11
+ import "../chunk-OJIQOVWB.js";
12
+ import "../chunk-YVQSDBTK.js";
13
+ import "../chunk-THLQS2AW.js";
14
+ import "../chunk-F35G42TF.js";
15
+ import "../chunk-MPLWPWL4.js";
16
+ import "../chunk-LSSGS2QS.js";
17
+ import "../chunk-IO2DPRDS.js";
18
+ import "../chunk-Z6G24ROK.js";
19
+ import "../chunk-42PQKBVU.js";
20
+ import "../chunk-SITF5EZM.js";
21
+ import "../chunk-4APXK7ZY.js";
22
+ import "../chunk-GPZQCLZJ.js";
23
+ import "../chunk-SKDTGHCD.js";
24
+ import "../chunk-X5PLVOJS.js";
25
+ import "../chunk-JV4P7BL4.js";
26
+ import "../chunk-Z6KROWH4.js";
27
+ import "../chunk-FBRLHNUT.js";
28
+ import "../chunk-62XKTOUI.js";
27
29
  import "../chunk-TSIU7DME.js";
28
30
  import "../chunk-XVAQG2CV.js";
29
31
  import "../chunk-ZBPEFQ4G.js";
30
- import "../chunk-2PN4QXON.js";
32
+ import "../chunk-BQJVHD6Y.js";
31
33
  import "../chunk-J27W6TXS.js";
32
- import "../chunk-KUZBMEWR.js";
33
- import "../chunk-TZRXWFF5.js";
34
+ import "../chunk-AU5FS3QK.js";
35
+ import "../chunk-ITEJARWI.js";
34
36
  import "../chunk-WTJ3AY33.js";
35
- import "../chunk-WCZNQECQ.js";
36
- import "../chunk-LKI3ENGQ.js";
37
+ import "../chunk-PEHYVSJG.js";
38
+ import "../chunk-NS5COBTT.js";
37
39
  import "../chunk-JCPANDNR.js";
38
- import "../chunk-H2DHTJKW.js";
39
- import "../chunk-H25VRR2T.js";
40
- import "../chunk-H4CL23HG.js";
41
- import "../chunk-WMVOJY6V.js";
42
- import "../chunk-PZNXBORZ.js";
40
+ import "../chunk-YAHTF4NO.js";
41
+ import "../chunk-VCUXNKOY.js";
42
+ import "../chunk-G7TYOPON.js";
43
+ import "../chunk-5YOSLSQJ.js";
44
+ import "../chunk-WVBJRFFM.js";
43
45
  import "../chunk-JFLVEFFP.js";
44
- import "../chunk-IK6YOXZH.js";
45
- import "../chunk-X52QUV4U.js";
46
- import "../chunk-TPQ5M3BW.js";
47
- import "../chunk-QNAMXQKF.js";
48
- import "../chunk-3PJLLBUS.js";
46
+ import "../chunk-LVA6XJGR.js";
47
+ import "../chunk-WVKGO3Y5.js";
48
+ import "../chunk-4RYWFQK7.js";
49
+ import "../chunk-4VVKVOOP.js";
50
+ import "../chunk-V625APR6.js";
49
51
  import "../chunk-7Z4N4JWQ.js";
50
- import "../chunk-G6G2FT2G.js";
52
+ import "../chunk-5KB4I5J7.js";
51
53
  import "../chunk-VZRO7RYT.js";
52
54
  export {
55
+ Dashboard,
56
+ dashboardCountLines,
53
57
  Init as default,
54
58
  formatDashboardText,
55
59
  getDashboardData,
@@ -1,31 +1,31 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  SkillAgentSummary
4
- } from "../chunk-PZNXBORZ.js";
4
+ } from "../chunk-WVBJRFFM.js";
5
5
  import {
6
6
  render
7
7
  } from "../chunk-JFLVEFFP.js";
8
8
  import {
9
9
  hydrateWizardStore
10
- } from "../chunk-IK6YOXZH.js";
10
+ } from "../chunk-LVA6XJGR.js";
11
11
  import {
12
12
  BaseCommand
13
- } from "../chunk-X52QUV4U.js";
14
- import "../chunk-TPQ5M3BW.js";
15
- import "../chunk-QNAMXQKF.js";
13
+ } from "../chunk-WVKGO3Y5.js";
14
+ import "../chunk-4RYWFQK7.js";
15
+ import "../chunk-4VVKVOOP.js";
16
16
  import {
17
17
  INSTALL_MODE_LABELS,
18
18
  detectInstallation,
19
19
  formatInstallationDisplay,
20
20
  getInstallationInfo,
21
21
  loadProjectConfig
22
- } from "../chunk-3PJLLBUS.js";
22
+ } from "../chunk-V625APR6.js";
23
23
  import "../chunk-7Z4N4JWQ.js";
24
24
  import {
25
25
  CLI_COLORS,
26
26
  CLI_INVOKE_COMMAND,
27
27
  DEFAULT_BRANDING
28
- } from "../chunk-G6G2FT2G.js";
28
+ } from "../chunk-5KB4I5J7.js";
29
29
  import "../chunk-VZRO7RYT.js";
30
30
 
31
31
  // src/cli/commands/list.tsx
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  validateMarketplaceName
4
- } from "../../chunk-TUXXBEBB.js";
4
+ } from "../../chunk-4VMLCWLD.js";
5
5
  import {
6
6
  BaseCommand,
7
7
  EXIT_CODES
8
- } from "../../chunk-X52QUV4U.js";
9
- import "../../chunk-TPQ5M3BW.js";
10
- import "../../chunk-QNAMXQKF.js";
8
+ } from "../../chunk-WVKGO3Y5.js";
9
+ import "../../chunk-4RYWFQK7.js";
10
+ import "../../chunk-4VVKVOOP.js";
11
11
  import {
12
12
  isDirectoryEmpty,
13
13
  validateKebabCaseName,
14
14
  writeFile
15
- } from "../../chunk-3PJLLBUS.js";
15
+ } from "../../chunk-V625APR6.js";
16
16
  import "../../chunk-7Z4N4JWQ.js";
17
17
  import {
18
18
  CLI_INVOKE_COMMAND,
@@ -22,7 +22,7 @@ import {
22
22
  SKILL_RULES_PATH,
23
23
  STACKS_FILE_PATH,
24
24
  STANDARD_FILES
25
- } from "../../chunk-G6G2FT2G.js";
25
+ } from "../../chunk-5KB4I5J7.js";
26
26
  import "../../chunk-VZRO7RYT.js";
27
27
 
28
28
  // src/cli/commands/new/marketplace.ts
@@ -1,23 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  loadSource
4
- } from "../chunk-H2DHTJKW.js";
5
- import "../chunk-H25VRR2T.js";
6
- import "../chunk-H4CL23HG.js";
7
- import "../chunk-WMVOJY6V.js";
4
+ } from "../chunk-YAHTF4NO.js";
5
+ import "../chunk-VCUXNKOY.js";
6
+ import "../chunk-G7TYOPON.js";
7
+ import "../chunk-5YOSLSQJ.js";
8
8
  import {
9
9
  BaseCommand
10
- } from "../chunk-X52QUV4U.js";
11
- import "../chunk-TPQ5M3BW.js";
12
- import "../chunk-QNAMXQKF.js";
10
+ } from "../chunk-WVKGO3Y5.js";
11
+ import "../chunk-4RYWFQK7.js";
12
+ import "../chunk-4VVKVOOP.js";
13
13
  import {
14
14
  STATUS_MESSAGES,
15
15
  truncateText
16
- } from "../chunk-3PJLLBUS.js";
16
+ } from "../chunk-V625APR6.js";
17
17
  import {
18
18
  typedValues
19
19
  } from "../chunk-7Z4N4JWQ.js";
20
- import "../chunk-G6G2FT2G.js";
20
+ import "../chunk-5KB4I5J7.js";
21
21
  import "../chunk-VZRO7RYT.js";
22
22
 
23
23
  // src/cli/commands/search.ts
@@ -2,27 +2,82 @@
2
2
  import {
3
3
  publishSeedConfig,
4
4
  seedPayloadForInstallation
5
- } from "../chunk-DP6YQFVO.js";
6
- import "../chunk-LKI3ENGQ.js";
5
+ } from "../chunk-BNHD2GIB.js";
6
+ import "../chunk-NS5COBTT.js";
7
7
  import {
8
8
  BaseCommand,
9
9
  EXIT_CODES
10
- } from "../chunk-X52QUV4U.js";
11
- import "../chunk-TPQ5M3BW.js";
12
- import "../chunk-QNAMXQKF.js";
10
+ } from "../chunk-WVKGO3Y5.js";
11
+ import "../chunk-4RYWFQK7.js";
12
+ import "../chunk-4VVKVOOP.js";
13
13
  import {
14
+ formatZodErrors,
15
+ getErrorMessage,
16
+ seedPayloadSchema,
14
17
  sharedConfigDestinations
15
- } from "../chunk-3PJLLBUS.js";
18
+ } from "../chunk-V625APR6.js";
16
19
  import "../chunk-7Z4N4JWQ.js";
17
- import "../chunk-G6G2FT2G.js";
20
+ import "../chunk-5KB4I5J7.js";
18
21
  import "../chunk-VZRO7RYT.js";
19
22
 
23
+ // src/cli/commands/share.ts
24
+ import { Flags } from "@oclif/core";
25
+
26
+ // src/cli/lib/seed/read-piped-payload.ts
27
+ var NOTHING_PIPED = "--stdin expects a configuration on standard input and none arrived. Pipe one in, as 'cat proposal.json | agents-inc share --stdin'.";
28
+ var STDIN_IS_A_TERMINAL = "--stdin expects a configuration on standard input, but standard input is a terminal. Pipe one in rather than typing it.";
29
+ var EXCERPT = 80;
30
+ function readPipedPayload(body) {
31
+ if (body.trim() === "") return { ok: false, error: NOTHING_PIPED };
32
+ const read = readJson(body);
33
+ if (!read.parsed) return { ok: false, error: notJsonMessage(body, read.reason) };
34
+ const result = seedPayloadSchema.safeParse(read.value);
35
+ if (!result.success) {
36
+ return { ok: false, error: refusedByContract(formatZodErrors(result.error)) };
37
+ }
38
+ return { ok: true, payload: result.data };
39
+ }
40
+ function readJson(body) {
41
+ try {
42
+ return { parsed: true, value: JSON.parse(body) };
43
+ } catch (error) {
44
+ return { parsed: false, reason: getErrorMessage(error) };
45
+ }
46
+ }
47
+ function notJsonMessage(body, reason) {
48
+ return `What arrived on standard input is not JSON: ${reason}. It began: ${excerptOf(body)}`;
49
+ }
50
+ function refusedByContract(problems) {
51
+ return `The configuration on standard input is not one this store accepts: ${problems.join("; ")}`;
52
+ }
53
+ function excerptOf(body) {
54
+ const opening = body.trim().slice(0, EXCERPT);
55
+ return body.trim().length > EXCERPT ? `${opening}\u2026` : opening;
56
+ }
57
+
58
+ // src/cli/utils/read-stream.ts
59
+ async function readAllOf(stream) {
60
+ const chunks = [];
61
+ for await (const chunk of stream) {
62
+ chunks.push(Buffer.isBuffer(chunk) ? chunk : Buffer.from(String(chunk)));
63
+ }
64
+ return Buffer.concat(chunks).toString("utf-8");
65
+ }
66
+
20
67
  // src/cli/commands/share.ts
21
68
  var Share = class _Share extends BaseCommand {
22
69
  static summary = "Share this installation as an id anyone can install";
23
70
  static description = "Turns the skills, sub-agents and per-agent curation installed here into a configuration the agentsinc.sh store holds, and prints the id it was given. Install it elsewhere with 'init --from <id>', or open it in the editor. The id is the configuration's own hash, so sharing an unchanged installation returns the id it already had.";
24
- static flags = {};
25
- static examples = ["<%= config.bin %> <%= command.id %>"];
71
+ static flags = {
72
+ stdin: Flags.boolean({
73
+ description: "Share a configuration piped in on standard input instead of the one installed here",
74
+ default: false
75
+ })
76
+ };
77
+ static examples = [
78
+ "<%= config.bin %> <%= command.id %>",
79
+ "cat proposal.json | <%= config.bin %> <%= command.id %> --stdin"
80
+ ];
26
81
  /**
27
82
  * Read, map, refuse, publish.
28
83
  *
@@ -34,17 +89,46 @@ var Share = class _Share extends BaseCommand {
34
89
  * commands mint the same id from the same directory and differ only in what they do with it.
35
90
  */
36
91
  async run() {
37
- await this.parse(_Share);
92
+ const { flags } = await this.parse(_Share);
93
+ const payload = flags.stdin ? await this.payloadFromPipe() : await this.payloadFromInstallation();
94
+ const published = await publishSeedConfig(payload);
95
+ if (!published.ok) {
96
+ this.error(published.error, { exit: EXIT_CODES.ERROR });
97
+ }
98
+ this.reportShared(published.id);
99
+ }
100
+ /** The installation in this directory, mapped and announced. */
101
+ async payloadFromInstallation() {
38
102
  const prepared = await seedPayloadForInstallation(process.cwd());
39
103
  if (!prepared.ok) {
40
104
  this.error(prepared.error, { exit: EXIT_CODES.ERROR });
41
105
  }
42
106
  this.log(`Sharing ${prepared.skills} skill(s) across ${prepared.agents} sub-agent(s)...`);
43
- const published = await publishSeedConfig(prepared.payload);
44
- if (!published.ok) {
45
- this.error(published.error, { exit: EXIT_CODES.ERROR });
107
+ return prepared.payload;
108
+ }
109
+ /**
110
+ * A configuration the CALLER holds, which is why nothing here reads an installation.
111
+ *
112
+ * That is the whole distinction the flag draws, and it is not cosmetic: a bare `share` resolves
113
+ * an installation the way every other command does — this project, then the global one — so
114
+ * without this branch, sharing a piped payload from a directory with nothing in it would
115
+ * publish whatever the machine happens to have installed globally.
116
+ *
117
+ * The producer this exists for is not this CLI. `meta-config-stack-detect` walks a repository
118
+ * and emits a `SeedPayload` it is forbidden to write or apply, and an id is the only door into
119
+ * the editor, which reads `?fromId=` and nothing else. Publishing from here rather than from
120
+ * the producer keeps `SEED_VERSION`, the `AGENTS_INC_API_URL` override and the caller's
121
+ * user-agent in the one place that owns them.
122
+ */
123
+ async payloadFromPipe() {
124
+ if (process.stdin.isTTY) {
125
+ this.error(STDIN_IS_A_TERMINAL, { exit: EXIT_CODES.ERROR });
46
126
  }
47
- this.reportShared(published.id);
127
+ const read = readPipedPayload(await readAllOf(process.stdin));
128
+ if (!read.ok) {
129
+ this.error(read.error, { exit: EXIT_CODES.ERROR });
130
+ }
131
+ return read.payload;
48
132
  }
49
133
  /**
50
134
  * Both destinations, because an id nobody can act on is not a share and there are exactly two
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/cli/commands/share.ts"],"sourcesContent":["import { BaseCommand } from \"../base-command.js\";\nimport { EXIT_CODES } from \"../lib/exit-codes.js\";\nimport { seedPayloadForInstallation } from \"../lib/seed/installation-payload.js\";\nimport { publishSeedConfig } from \"../lib/seed/publish-seed.js\";\nimport { sharedConfigDestinations } from \"../utils/messages.js\";\n\nexport default class Share extends BaseCommand {\n static summary = \"Share this installation as an id anyone can install\";\n\n static description =\n \"Turns the skills, sub-agents and per-agent curation installed here into a configuration the agentsinc.sh store holds, and prints the id it was given. Install it elsewhere with 'init --from <id>', or open it in the editor. The id is the configuration's own hash, so sharing an unchanged installation returns the id it already had.\";\n\n static flags = {};\n\n static examples = [\"<%= config.bin %> <%= command.id %>\"];\n\n /**\n * Read, map, refuse, publish.\n *\n * Everything that can fail locally fails before the POST. The store's free tier allows a\n * thousand writes a day and reads a hundred times that, so a write is the scarce half — and one\n * spent on a configuration that cannot be installed buys a dead link.\n *\n * The first three steps are `seedPayloadForInstallation`, shared with `edit --ui`: the two\n * commands mint the same id from the same directory and differ only in what they do with it.\n */\n async run(): Promise<void> {\n await this.parse(Share);\n\n const prepared = await seedPayloadForInstallation(process.cwd());\n if (!prepared.ok) {\n this.error(prepared.error, { exit: EXIT_CODES.ERROR });\n }\n\n this.log(`Sharing ${prepared.skills} skill(s) across ${prepared.agents} sub-agent(s)...`);\n\n const published = await publishSeedConfig(prepared.payload);\n if (!published.ok) {\n this.error(published.error, { exit: EXIT_CODES.ERROR });\n }\n\n this.reportShared(published.id);\n }\n\n /**\n * Both destinations, because an id nobody can act on is not a share and there are exactly two\n * things that read one: this CLI, and the editor the configuration can be reopened in. The\n * lines themselves are `sharedConfigDestinations`, shared with `edit --ui` for the same reason\n * the mint above is.\n */\n private reportShared(id: string): void {\n this.logSuccess(`Shared as ${id}`);\n for (const destination of sharedConfigDestinations(id)) {\n this.log(destination);\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAMA,IAAqB,QAArB,MAAqB,eAAc,YAAY;AAAA,EAC7C,OAAO,UAAU;AAAA,EAEjB,OAAO,cACL;AAAA,EAEF,OAAO,QAAQ,CAAC;AAAA,EAEhB,OAAO,WAAW,CAAC,qCAAqC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYxD,MAAM,MAAqB;AACzB,UAAM,KAAK,MAAM,MAAK;AAEtB,UAAM,WAAW,MAAM,2BAA2B,QAAQ,IAAI,CAAC;AAC/D,QAAI,CAAC,SAAS,IAAI;AAChB,WAAK,MAAM,SAAS,OAAO,EAAE,MAAM,WAAW,MAAM,CAAC;AAAA,IACvD;AAEA,SAAK,IAAI,WAAW,SAAS,MAAM,oBAAoB,SAAS,MAAM,kBAAkB;AAExF,UAAM,YAAY,MAAM,kBAAkB,SAAS,OAAO;AAC1D,QAAI,CAAC,UAAU,IAAI;AACjB,WAAK,MAAM,UAAU,OAAO,EAAE,MAAM,WAAW,MAAM,CAAC;AAAA,IACxD;AAEA,SAAK,aAAa,UAAU,EAAE;AAAA,EAChC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQQ,aAAa,IAAkB;AACrC,SAAK,WAAW,aAAa,EAAE,EAAE;AACjC,eAAW,eAAe,yBAAyB,EAAE,GAAG;AACtD,WAAK,IAAI,WAAW;AAAA,IACtB;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../src/cli/commands/share.ts","../../src/cli/lib/seed/read-piped-payload.ts","../../src/cli/utils/read-stream.ts"],"sourcesContent":["import { Flags } from \"@oclif/core\";\n\nimport { BaseCommand } from \"../base-command.js\";\nimport { EXIT_CODES } from \"../lib/exit-codes.js\";\nimport { seedPayloadForInstallation } from \"../lib/seed/installation-payload.js\";\nimport { publishSeedConfig } from \"../lib/seed/publish-seed.js\";\nimport {\n readPipedPayload,\n STDIN_IS_A_TERMINAL,\n type PipedPayload,\n} from \"../lib/seed/read-piped-payload.js\";\nimport { readAllOf } from \"../utils/read-stream.js\";\nimport { sharedConfigDestinations } from \"../utils/messages.js\";\nimport type { SeedPayload } from \"@workspace/matrix/seed\";\n\nexport default class Share extends BaseCommand {\n static summary = \"Share this installation as an id anyone can install\";\n\n static description =\n \"Turns the skills, sub-agents and per-agent curation installed here into a configuration the agentsinc.sh store holds, and prints the id it was given. Install it elsewhere with 'init --from <id>', or open it in the editor. The id is the configuration's own hash, so sharing an unchanged installation returns the id it already had.\";\n\n static flags = {\n stdin: Flags.boolean({\n description:\n \"Share a configuration piped in on standard input instead of the one installed here\",\n default: false,\n }),\n };\n\n static examples = [\n \"<%= config.bin %> <%= command.id %>\",\n \"cat proposal.json | <%= config.bin %> <%= command.id %> --stdin\",\n ];\n\n /**\n * Read, map, refuse, publish.\n *\n * Everything that can fail locally fails before the POST. The store's free tier allows a\n * thousand writes a day and reads a hundred times that, so a write is the scarce half — and one\n * spent on a configuration that cannot be installed buys a dead link.\n *\n * The first three steps are `seedPayloadForInstallation`, shared with `edit --ui`: the two\n * commands mint the same id from the same directory and differ only in what they do with it.\n */\n async run(): Promise<void> {\n const { flags } = await this.parse(Share);\n\n const payload = flags.stdin\n ? await this.payloadFromPipe()\n : await this.payloadFromInstallation();\n\n const published = await publishSeedConfig(payload);\n if (!published.ok) {\n this.error(published.error, { exit: EXIT_CODES.ERROR });\n }\n\n this.reportShared(published.id);\n }\n\n /** The installation in this directory, mapped and announced. */\n private async payloadFromInstallation(): Promise<SeedPayload> {\n const prepared = await seedPayloadForInstallation(process.cwd());\n if (!prepared.ok) {\n this.error(prepared.error, { exit: EXIT_CODES.ERROR });\n }\n\n this.log(`Sharing ${prepared.skills} skill(s) across ${prepared.agents} sub-agent(s)...`);\n\n return prepared.payload;\n }\n\n /**\n * A configuration the CALLER holds, which is why nothing here reads an installation.\n *\n * That is the whole distinction the flag draws, and it is not cosmetic: a bare `share` resolves\n * an installation the way every other command does — this project, then the global one — so\n * without this branch, sharing a piped payload from a directory with nothing in it would\n * publish whatever the machine happens to have installed globally.\n *\n * The producer this exists for is not this CLI. `meta-config-stack-detect` walks a repository\n * and emits a `SeedPayload` it is forbidden to write or apply, and an id is the only door into\n * the editor, which reads `?fromId=` and nothing else. Publishing from here rather than from\n * the producer keeps `SEED_VERSION`, the `AGENTS_INC_API_URL` override and the caller's\n * user-agent in the one place that owns them.\n */\n private async payloadFromPipe(): Promise<SeedPayload> {\n if (process.stdin.isTTY) {\n this.error(STDIN_IS_A_TERMINAL, { exit: EXIT_CODES.ERROR });\n }\n\n const read: PipedPayload = readPipedPayload(await readAllOf(process.stdin));\n if (!read.ok) {\n this.error(read.error, { exit: EXIT_CODES.ERROR });\n }\n\n return read.payload;\n }\n\n /**\n * Both destinations, because an id nobody can act on is not a share and there are exactly two\n * things that read one: this CLI, and the editor the configuration can be reopened in. The\n * lines themselves are `sharedConfigDestinations`, shared with `edit --ui` for the same reason\n * the mint above is.\n */\n private reportShared(id: string): void {\n this.logSuccess(`Shared as ${id}`);\n for (const destination of sharedConfigDestinations(id)) {\n this.log(destination);\n }\n }\n}\n","import { seedPayloadSchema, type SeedPayload } from \"@workspace/matrix/seed\";\n\nimport { formatZodErrors } from \"../schema-validator.js\";\nimport { getErrorMessage } from \"../../utils/errors.js\";\n\n/** A payload read from a pipe, or the reason it could not be. */\nexport type PipedPayload =\n | { readonly ok: true; readonly payload: SeedPayload }\n | { readonly ok: false; readonly error: string };\n\nexport const NOTHING_PIPED =\n \"--stdin expects a configuration on standard input and none arrived. Pipe one in, as 'cat proposal.json | agents-inc share --stdin'.\";\n\nexport const STDIN_IS_A_TERMINAL =\n \"--stdin expects a configuration on standard input, but standard input is a terminal. Pipe one in rather than typing it.\";\n\n/** How much of a body to quote back when it is not JSON, so a refusal names what it read. */\nconst EXCERPT = 80;\n\n/**\n * Everything that can fail locally, failing before the caller spends a write.\n *\n * The store's free tier allows a thousand writes a day against a hundred times that in reads, so\n * a write is the scarce half — and one spent on a payload the decoder cannot read buys a dead\n * link. Each of the three refusals below is a different mistake and says which: nothing arrived,\n * what arrived is not JSON, or it is JSON the contract does not accept.\n *\n * `seedPayloadSchema` rather than a shape written here, and that is the point of publishing from\n * the CLI at all. `SEED_VERSION` is a `z.literal`, so a producer that hardcodes the wire format\n * emits payloads the store refuses the day it moves; the schema travels with the code that posts.\n */\nexport function readPipedPayload(body: string): PipedPayload {\n if (body.trim() === \"\") return { ok: false, error: NOTHING_PIPED };\n\n const read = readJson(body);\n if (!read.parsed) return { ok: false, error: notJsonMessage(body, read.reason) };\n\n const result = seedPayloadSchema.safeParse(read.value);\n if (!result.success) {\n return { ok: false, error: refusedByContract(formatZodErrors(result.error)) };\n }\n\n return { ok: true, payload: result.data };\n}\n\n/** Whether a body is JSON at all, separated from whether it is a payload. */\ntype JsonRead =\n | { readonly parsed: true; readonly value: unknown }\n | { readonly parsed: false; readonly reason: string };\n\n/**\n * `JSON.parse` behind a verdict, so the caller reads as three guards rather than as a `let`\n * assigned inside a `try`. The same shape `readYaml` takes in `lib/skills/skill-metadata.ts`,\n * for the same reason: the failure is one of several a reader has to tell apart, and a thrown\n * exception is the one form that cannot sit beside the others.\n */\nfunction readJson(body: string): JsonRead {\n try {\n return { parsed: true, value: JSON.parse(body) };\n } catch (error) {\n return { parsed: false, reason: getErrorMessage(error) };\n }\n}\n\nfunction notJsonMessage(body: string, reason: string): string {\n return `What arrived on standard input is not JSON: ${reason}. It began: ${excerptOf(body)}`;\n}\n\nfunction refusedByContract(problems: string[]): string {\n return `The configuration on standard input is not one this store accepts: ${problems.join(\"; \")}`;\n}\n\nfunction excerptOf(body: string): string {\n const opening = body.trim().slice(0, EXCERPT);\n return body.trim().length > EXCERPT ? `${opening}…` : opening;\n}\n","import type { Readable } from \"node:stream\";\n\n/**\n * Every chunk of a readable, as text.\n *\n * A stream rather than `readFileSync(\"/dev/stdin\")`: that path does not exist on every platform\n * this CLI runs on, and it reads a pipe the operating system may still be filling. Async\n * iteration is the one form that is correct on all of them.\n */\nexport async function readAllOf(stream: Readable): Promise<string> {\n const chunks: Buffer[] = [];\n for await (const chunk of stream) {\n chunks.push(Buffer.isBuffer(chunk) ? chunk : Buffer.from(String(chunk)));\n }\n\n return Buffer.concat(chunks).toString(\"utf-8\");\n}\n"],"mappings":"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","names":[]}
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  RemovalPlanConfirm
4
- } from "../chunk-4DMFK67G.js";
4
+ } from "../chunk-YKRPWZ3G.js";
5
5
  import "../chunk-OZXAJNLA.js";
6
6
  import {
7
7
  promptConfirm
@@ -10,22 +10,22 @@ import {
10
10
  lazyGateDeps,
11
11
  mutateGlobal,
12
12
  propagateGlobalRemoval
13
- } from "../chunk-H2DHTJKW.js";
14
- import "../chunk-H25VRR2T.js";
13
+ } from "../chunk-YAHTF4NO.js";
14
+ import "../chunk-VCUXNKOY.js";
15
15
  import {
16
16
  loadAgentDefs
17
- } from "../chunk-H4CL23HG.js";
17
+ } from "../chunk-G7TYOPON.js";
18
18
  import {
19
19
  listAgentMdFiles,
20
20
  splitAgentsByProvenance
21
- } from "../chunk-WMVOJY6V.js";
21
+ } from "../chunk-5YOSLSQJ.js";
22
22
  import "../chunk-JFLVEFFP.js";
23
23
  import {
24
24
  BaseCommand,
25
25
  EXIT_CODES
26
- } from "../chunk-X52QUV4U.js";
27
- import "../chunk-TPQ5M3BW.js";
28
- import "../chunk-QNAMXQKF.js";
26
+ } from "../chunk-WVKGO3Y5.js";
27
+ import "../chunk-4RYWFQK7.js";
28
+ import "../chunk-4VVKVOOP.js";
29
29
  import {
30
30
  ConfigLoadError,
31
31
  INFO_MESSAGES,
@@ -56,7 +56,7 @@ import {
56
56
  resolveInstallPaths,
57
57
  toClaudePluginScope,
58
58
  unmarkedAgentsKept
59
- } from "../chunk-3PJLLBUS.js";
59
+ } from "../chunk-V625APR6.js";
60
60
  import "../chunk-7Z4N4JWQ.js";
61
61
  import {
62
62
  CLAUDE_DIR,
@@ -64,7 +64,7 @@ import {
64
64
  DEFAULT_BRANDING,
65
65
  EJECT_SOURCE,
66
66
  STANDARD_FILES
67
- } from "../chunk-G6G2FT2G.js";
67
+ } from "../chunk-5KB4I5J7.js";
68
68
  import "../chunk-VZRO7RYT.js";
69
69
 
70
70
  // src/cli/commands/uninstall.tsx
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  BaseCommand,
4
4
  EXIT_CODES
5
- } from "../chunk-X52QUV4U.js";
6
- import "../chunk-TPQ5M3BW.js";
7
- import "../chunk-QNAMXQKF.js";
5
+ } from "../chunk-WVKGO3Y5.js";
6
+ import "../chunk-4RYWFQK7.js";
7
+ import "../chunk-4VVKVOOP.js";
8
8
  import {
9
9
  ERROR_MESSAGES,
10
10
  INFO_MESSAGES,
@@ -15,11 +15,11 @@ import {
15
15
  marketplaceRefreshFailed,
16
16
  marketplacesRefreshFailed,
17
17
  marketplacesRefreshed
18
- } from "../chunk-3PJLLBUS.js";
18
+ } from "../chunk-V625APR6.js";
19
19
  import "../chunk-7Z4N4JWQ.js";
20
20
  import {
21
21
  EJECT_SOURCE
22
- } from "../chunk-G6G2FT2G.js";
22
+ } from "../chunk-5KB4I5J7.js";
23
23
  import "../chunk-VZRO7RYT.js";
24
24
 
25
25
  // src/cli/commands/update.ts
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  RemovalPlanConfirm
4
- } from "../../chunk-4DMFK67G.js";
4
+ } from "../../chunk-YKRPWZ3G.js";
5
5
  import "../../chunk-OZXAJNLA.js";
6
- import "../../chunk-G6G2FT2G.js";
6
+ import "../../chunk-5KB4I5J7.js";
7
7
  export {
8
8
  RemovalPlanConfirm
9
9
  };
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  SelectList
4
- } from "../../chunk-VTIDLRNA.js";
4
+ } from "../../chunk-OJIQOVWB.js";
5
5
  import "../../chunk-XVAQG2CV.js";
6
- import "../../chunk-G6G2FT2G.js";
6
+ import "../../chunk-5KB4I5J7.js";
7
7
  export {
8
8
  SelectList
9
9
  };
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CategoryGrid
4
- } from "../../chunk-2PN4QXON.js";
4
+ } from "../../chunk-BQJVHD6Y.js";
5
5
  import "../../chunk-J27W6TXS.js";
6
6
  import "../../chunk-WTJ3AY33.js";
7
- import "../../chunk-WCZNQECQ.js";
7
+ import "../../chunk-PEHYVSJG.js";
8
8
  import "../../chunk-7Z4N4JWQ.js";
9
- import "../../chunk-G6G2FT2G.js";
9
+ import "../../chunk-5KB4I5J7.js";
10
10
  export {
11
11
  CategoryGrid
12
12
  };
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CheckboxGrid
4
- } from "../../chunk-KUZBMEWR.js";
5
- import "../../chunk-TZRXWFF5.js";
4
+ } from "../../chunk-AU5FS3QK.js";
5
+ import "../../chunk-ITEJARWI.js";
6
6
  import "../../chunk-WTJ3AY33.js";
7
- import "../../chunk-WCZNQECQ.js";
8
- import "../../chunk-G6G2FT2G.js";
7
+ import "../../chunk-PEHYVSJG.js";
8
+ import "../../chunk-5KB4I5J7.js";
9
9
  export {
10
10
  CheckboxGrid
11
11
  };
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  DomainSelection
4
- } from "../../chunk-3NBXQSW2.js";
5
- import "../../chunk-KVVXINCJ.js";
6
- import "../../chunk-KUZBMEWR.js";
7
- import "../../chunk-TZRXWFF5.js";
4
+ } from "../../chunk-GPZQCLZJ.js";
5
+ import "../../chunk-FBRLHNUT.js";
6
+ import "../../chunk-AU5FS3QK.js";
7
+ import "../../chunk-ITEJARWI.js";
8
8
  import "../../chunk-WTJ3AY33.js";
9
- import "../../chunk-WCZNQECQ.js";
10
- import "../../chunk-IK6YOXZH.js";
11
- import "../../chunk-3PJLLBUS.js";
9
+ import "../../chunk-PEHYVSJG.js";
10
+ import "../../chunk-LVA6XJGR.js";
11
+ import "../../chunk-V625APR6.js";
12
12
  import "../../chunk-7Z4N4JWQ.js";
13
- import "../../chunk-G6G2FT2G.js";
13
+ import "../../chunk-5KB4I5J7.js";
14
14
  import "../../chunk-VZRO7RYT.js";
15
15
  export {
16
16
  DomainSelection
@@ -1,38 +1,38 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runWizardSession
4
- } from "../../chunk-XNYHMRVJ.js";
5
- import "../../chunk-PNRLBPGS.js";
6
- import "../../chunk-4ABNXKAR.js";
7
- import "../../chunk-Q7CAE5NN.js";
8
- import "../../chunk-EEAX7E2X.js";
9
- import "../../chunk-JG3B47P3.js";
10
- import "../../chunk-3Q2N7CSY.js";
11
- import "../../chunk-DZD25NHW.js";
12
- import "../../chunk-P6OKOH62.js";
13
- import "../../chunk-3NBXQSW2.js";
14
- import "../../chunk-SJ4T5YLG.js";
15
- import "../../chunk-YXI3BTQQ.js";
16
- import "../../chunk-L4FHSOL5.js";
17
- import "../../chunk-OQB2CKBT.js";
18
- import "../../chunk-KVVXINCJ.js";
19
- import "../../chunk-6DBE562W.js";
4
+ } from "../../chunk-THLQS2AW.js";
5
+ import "../../chunk-F35G42TF.js";
6
+ import "../../chunk-MPLWPWL4.js";
7
+ import "../../chunk-LSSGS2QS.js";
8
+ import "../../chunk-IO2DPRDS.js";
9
+ import "../../chunk-Z6G24ROK.js";
10
+ import "../../chunk-42PQKBVU.js";
11
+ import "../../chunk-SITF5EZM.js";
12
+ import "../../chunk-4APXK7ZY.js";
13
+ import "../../chunk-GPZQCLZJ.js";
14
+ import "../../chunk-SKDTGHCD.js";
15
+ import "../../chunk-X5PLVOJS.js";
16
+ import "../../chunk-JV4P7BL4.js";
17
+ import "../../chunk-Z6KROWH4.js";
18
+ import "../../chunk-FBRLHNUT.js";
19
+ import "../../chunk-62XKTOUI.js";
20
20
  import "../../chunk-TSIU7DME.js";
21
21
  import "../../chunk-XVAQG2CV.js";
22
- import "../../chunk-2PN4QXON.js";
22
+ import "../../chunk-BQJVHD6Y.js";
23
23
  import "../../chunk-J27W6TXS.js";
24
- import "../../chunk-KUZBMEWR.js";
25
- import "../../chunk-TZRXWFF5.js";
24
+ import "../../chunk-AU5FS3QK.js";
25
+ import "../../chunk-ITEJARWI.js";
26
26
  import "../../chunk-WTJ3AY33.js";
27
- import "../../chunk-WCZNQECQ.js";
27
+ import "../../chunk-PEHYVSJG.js";
28
28
  import "../../chunk-JCPANDNR.js";
29
- import "../../chunk-PZNXBORZ.js";
29
+ import "../../chunk-WVBJRFFM.js";
30
30
  import "../../chunk-JFLVEFFP.js";
31
- import "../../chunk-IK6YOXZH.js";
32
- import "../../chunk-QNAMXQKF.js";
33
- import "../../chunk-3PJLLBUS.js";
31
+ import "../../chunk-LVA6XJGR.js";
32
+ import "../../chunk-4VVKVOOP.js";
33
+ import "../../chunk-V625APR6.js";
34
34
  import "../../chunk-7Z4N4JWQ.js";
35
- import "../../chunk-G6G2FT2G.js";
35
+ import "../../chunk-5KB4I5J7.js";
36
36
  import "../../chunk-VZRO7RYT.js";
37
37
  export {
38
38
  runWizardSession
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ScrollAffordance
4
- } from "../../chunk-YXI3BTQQ.js";
5
- import "../../chunk-G6G2FT2G.js";
4
+ } from "../../chunk-X5PLVOJS.js";
5
+ import "../../chunk-5KB4I5J7.js";
6
6
  export {
7
7
  ScrollAffordance
8
8
  };
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  SkillAgentSummary
4
- } from "../../chunk-PZNXBORZ.js";
5
- import "../../chunk-IK6YOXZH.js";
6
- import "../../chunk-3PJLLBUS.js";
4
+ } from "../../chunk-WVBJRFFM.js";
5
+ import "../../chunk-LVA6XJGR.js";
6
+ import "../../chunk-V625APR6.js";
7
7
  import "../../chunk-7Z4N4JWQ.js";
8
- import "../../chunk-G6G2FT2G.js";
8
+ import "../../chunk-5KB4I5J7.js";
9
9
  import "../../chunk-VZRO7RYT.js";
10
10
  export {
11
11
  SkillAgentSummary