@tacuchi/agent-workflow-cli 8.0.0 → 9.0.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 (163) hide show
  1. package/dist/cli/main.js +0 -0
  2. package/dist/cli/tui/app.d.ts.map +1 -1
  3. package/dist/cli/tui/app.js +119 -61
  4. package/dist/cli/tui/app.js.map +1 -1
  5. package/dist/cli/tui/components/activity-feed.d.ts +16 -0
  6. package/dist/cli/tui/components/activity-feed.d.ts.map +1 -0
  7. package/dist/cli/tui/components/activity-feed.js +35 -0
  8. package/dist/cli/tui/components/activity-feed.js.map +1 -0
  9. package/dist/cli/tui/components/command-palette.d.ts +0 -1
  10. package/dist/cli/tui/components/command-palette.d.ts.map +1 -1
  11. package/dist/cli/tui/components/command-palette.js +5 -5
  12. package/dist/cli/tui/components/command-palette.js.map +1 -1
  13. package/dist/cli/tui/components/confirm-banner.d.ts +10 -0
  14. package/dist/cli/tui/components/confirm-banner.d.ts.map +1 -0
  15. package/dist/cli/tui/components/confirm-banner.js +11 -0
  16. package/dist/cli/tui/components/confirm-banner.js.map +1 -0
  17. package/dist/cli/tui/components/detail-panel.d.ts +34 -0
  18. package/dist/cli/tui/components/detail-panel.d.ts.map +1 -0
  19. package/dist/cli/tui/components/detail-panel.js +83 -0
  20. package/dist/cli/tui/components/detail-panel.js.map +1 -0
  21. package/dist/cli/tui/components/family-card.d.ts +5 -1
  22. package/dist/cli/tui/components/family-card.d.ts.map +1 -1
  23. package/dist/cli/tui/components/family-card.js +34 -4
  24. package/dist/cli/tui/components/family-card.js.map +1 -1
  25. package/dist/cli/tui/components/inline-wizard.d.ts +19 -0
  26. package/dist/cli/tui/components/inline-wizard.d.ts.map +1 -0
  27. package/dist/cli/tui/components/inline-wizard.js +16 -0
  28. package/dist/cli/tui/components/inline-wizard.js.map +1 -0
  29. package/dist/cli/tui/components/list-row.d.ts +11 -3
  30. package/dist/cli/tui/components/list-row.d.ts.map +1 -1
  31. package/dist/cli/tui/components/list-row.js +71 -13
  32. package/dist/cli/tui/components/list-row.js.map +1 -1
  33. package/dist/cli/tui/components/page-head.d.ts +8 -16
  34. package/dist/cli/tui/components/page-head.d.ts.map +1 -1
  35. package/dist/cli/tui/components/page-head.js +21 -14
  36. package/dist/cli/tui/components/page-head.js.map +1 -1
  37. package/dist/cli/tui/components/phase-card.d.ts +2 -1
  38. package/dist/cli/tui/components/phase-card.d.ts.map +1 -1
  39. package/dist/cli/tui/components/phase-card.js +9 -4
  40. package/dist/cli/tui/components/phase-card.js.map +1 -1
  41. package/dist/cli/tui/components/quick-actions.d.ts +9 -0
  42. package/dist/cli/tui/components/quick-actions.d.ts.map +1 -0
  43. package/dist/cli/tui/components/quick-actions.js +9 -0
  44. package/dist/cli/tui/components/quick-actions.js.map +1 -0
  45. package/dist/cli/tui/components/section-head.d.ts +10 -0
  46. package/dist/cli/tui/components/section-head.d.ts.map +1 -0
  47. package/dist/cli/tui/components/section-head.js +8 -0
  48. package/dist/cli/tui/components/section-head.js.map +1 -0
  49. package/dist/cli/tui/components/sidebar.d.ts +27 -0
  50. package/dist/cli/tui/components/sidebar.d.ts.map +1 -0
  51. package/dist/cli/tui/components/sidebar.js +37 -0
  52. package/dist/cli/tui/components/sidebar.js.map +1 -0
  53. package/dist/cli/tui/components/stat-tile.d.ts +4 -2
  54. package/dist/cli/tui/components/stat-tile.d.ts.map +1 -1
  55. package/dist/cli/tui/components/stat-tile.js +9 -8
  56. package/dist/cli/tui/components/stat-tile.js.map +1 -1
  57. package/dist/cli/tui/components/toast-stack.d.ts +3 -3
  58. package/dist/cli/tui/components/toast-stack.js +3 -3
  59. package/dist/cli/tui/data/activity.d.ts +21 -0
  60. package/dist/cli/tui/data/activity.d.ts.map +1 -0
  61. package/dist/cli/tui/data/activity.js +83 -0
  62. package/dist/cli/tui/data/activity.js.map +1 -0
  63. package/dist/cli/tui/tabs/mcp-tab.d.ts +3 -11
  64. package/dist/cli/tui/tabs/mcp-tab.d.ts.map +1 -1
  65. package/dist/cli/tui/tabs/mcp-tab.js +113 -85
  66. package/dist/cli/tui/tabs/mcp-tab.js.map +1 -1
  67. package/dist/cli/tui/tabs/project-tab.d.ts +0 -11
  68. package/dist/cli/tui/tabs/project-tab.d.ts.map +1 -1
  69. package/dist/cli/tui/tabs/project-tab.js +38 -78
  70. package/dist/cli/tui/tabs/project-tab.js.map +1 -1
  71. package/dist/cli/tui/tabs/skills-tab.d.ts +1 -21
  72. package/dist/cli/tui/tabs/skills-tab.d.ts.map +1 -1
  73. package/dist/cli/tui/tabs/skills-tab.js +65 -85
  74. package/dist/cli/tui/tabs/skills-tab.js.map +1 -1
  75. package/dist/cli/tui/tabs/status-tab.d.ts +4 -1
  76. package/dist/cli/tui/tabs/status-tab.d.ts.map +1 -1
  77. package/dist/cli/tui/tabs/status-tab.js +50 -11
  78. package/dist/cli/tui/tabs/status-tab.js.map +1 -1
  79. package/dist/cli/tui/tabs/workflow-tab.d.ts +3 -1
  80. package/dist/cli/tui/tabs/workflow-tab.d.ts.map +1 -1
  81. package/dist/cli/tui/tabs/workflow-tab.js +31 -15
  82. package/dist/cli/tui/tabs/workflow-tab.js.map +1 -1
  83. package/dist/cli/tui/theme.d.ts +75 -55
  84. package/dist/cli/tui/theme.d.ts.map +1 -1
  85. package/dist/cli/tui/theme.js +75 -50
  86. package/dist/cli/tui/theme.js.map +1 -1
  87. package/package.json +1 -1
  88. package/dist/cli/commands/orchestration.d.ts +0 -5
  89. package/dist/cli/commands/orchestration.d.ts.map +0 -1
  90. package/dist/cli/commands/orchestration.js +0 -84
  91. package/dist/cli/commands/orchestration.js.map +0 -1
  92. package/dist/cli/commands/wave2-extras.d.ts +0 -7
  93. package/dist/cli/commands/wave2-extras.d.ts.map +0 -1
  94. package/dist/cli/commands/wave2-extras.js +0 -87
  95. package/dist/cli/commands/wave2-extras.js.map +0 -1
  96. package/dist/cli/commands/wave2-final.d.ts +0 -8
  97. package/dist/cli/commands/wave2-final.d.ts.map +0 -1
  98. package/dist/cli/commands/wave2-final.js +0 -134
  99. package/dist/cli/commands/wave2-final.js.map +0 -1
  100. package/dist/cli/commands/wave4d-simple.d.ts +0 -6
  101. package/dist/cli/commands/wave4d-simple.d.ts.map +0 -1
  102. package/dist/cli/commands/wave4d-simple.js +0 -138
  103. package/dist/cli/commands/wave4d-simple.js.map +0 -1
  104. package/dist/cli/tui/components/action-modal.d.ts +0 -33
  105. package/dist/cli/tui/components/action-modal.d.ts.map +0 -1
  106. package/dist/cli/tui/components/action-modal.js +0 -41
  107. package/dist/cli/tui/components/action-modal.js.map +0 -1
  108. package/dist/cli/tui/components/confirm-modal.d.ts +0 -12
  109. package/dist/cli/tui/components/confirm-modal.d.ts.map +0 -1
  110. package/dist/cli/tui/components/confirm-modal.js +0 -18
  111. package/dist/cli/tui/components/confirm-modal.js.map +0 -1
  112. package/dist/cli/tui/components/connections-grid.d.ts +0 -8
  113. package/dist/cli/tui/components/connections-grid.d.ts.map +0 -1
  114. package/dist/cli/tui/components/connections-grid.js +0 -55
  115. package/dist/cli/tui/components/connections-grid.js.map +0 -1
  116. package/dist/cli/tui/components/connections-table.d.ts +0 -5
  117. package/dist/cli/tui/components/connections-table.d.ts.map +0 -1
  118. package/dist/cli/tui/components/connections-table.js +0 -11
  119. package/dist/cli/tui/components/connections-table.js.map +0 -1
  120. package/dist/cli/tui/components/footer.d.ts +0 -4
  121. package/dist/cli/tui/components/footer.d.ts.map +0 -1
  122. package/dist/cli/tui/components/footer.js +0 -6
  123. package/dist/cli/tui/components/footer.js.map +0 -1
  124. package/dist/cli/tui/components/frame-box.d.ts +0 -10
  125. package/dist/cli/tui/components/frame-box.d.ts.map +0 -1
  126. package/dist/cli/tui/components/frame-box.js +0 -9
  127. package/dist/cli/tui/components/frame-box.js.map +0 -1
  128. package/dist/cli/tui/components/header.d.ts +0 -14
  129. package/dist/cli/tui/components/header.d.ts.map +0 -1
  130. package/dist/cli/tui/components/header.js +0 -21
  131. package/dist/cli/tui/components/header.js.map +0 -1
  132. package/dist/cli/tui/components/host-chip.d.ts +0 -28
  133. package/dist/cli/tui/components/host-chip.d.ts.map +0 -1
  134. package/dist/cli/tui/components/host-chip.js +0 -35
  135. package/dist/cli/tui/components/host-chip.js.map +0 -1
  136. package/dist/cli/tui/components/keymap-bar.d.ts +0 -17
  137. package/dist/cli/tui/components/keymap-bar.d.ts.map +0 -1
  138. package/dist/cli/tui/components/keymap-bar.js +0 -13
  139. package/dist/cli/tui/components/keymap-bar.js.map +0 -1
  140. package/dist/cli/tui/components/pill.d.ts +0 -16
  141. package/dist/cli/tui/components/pill.d.ts.map +0 -1
  142. package/dist/cli/tui/components/pill.js +0 -24
  143. package/dist/cli/tui/components/pill.js.map +0 -1
  144. package/dist/cli/tui/components/sectioned-menu.d.ts +0 -24
  145. package/dist/cli/tui/components/sectioned-menu.d.ts.map +0 -1
  146. package/dist/cli/tui/components/sectioned-menu.js +0 -72
  147. package/dist/cli/tui/components/sectioned-menu.js.map +0 -1
  148. package/dist/cli/tui/components/tab-bar.d.ts +0 -23
  149. package/dist/cli/tui/components/tab-bar.d.ts.map +0 -1
  150. package/dist/cli/tui/components/tab-bar.js +0 -17
  151. package/dist/cli/tui/components/tab-bar.js.map +0 -1
  152. package/dist/cli/tui/screens/main-menu.d.ts +0 -8
  153. package/dist/cli/tui/screens/main-menu.d.ts.map +0 -1
  154. package/dist/cli/tui/screens/main-menu.js +0 -24
  155. package/dist/cli/tui/screens/main-menu.js.map +0 -1
  156. package/dist/cli/tui/screens/mcp-done.d.ts +0 -10
  157. package/dist/cli/tui/screens/mcp-done.d.ts.map +0 -1
  158. package/dist/cli/tui/screens/mcp-done.js +0 -24
  159. package/dist/cli/tui/screens/mcp-done.js.map +0 -1
  160. package/dist/cli/tui/screens/mcp-wizard.d.ts +0 -10
  161. package/dist/cli/tui/screens/mcp-wizard.d.ts.map +0 -1
  162. package/dist/cli/tui/screens/mcp-wizard.js +0 -97
  163. package/dist/cli/tui/screens/mcp-wizard.js.map +0 -1
@@ -1,97 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Spinner } from "@inkjs/ui";
3
- import { Box, Text, useApp } from "ink";
4
- import { useEffect, useRef, useState } from "react";
5
- import { selfMcpConfig, } from "../../../application/self/mcp-config.js";
6
- import { Header } from "../components/header.js";
7
- import { InputPrompt } from "../components/input-prompt.js";
8
- import { KeymapBar } from "../components/keymap-bar.js";
9
- import { ScreenFrame } from "../components/screen-frame.js";
10
- import { SectionedMenu } from "../components/sectioned-menu.js";
11
- import { colors, icons } from "../theme.js";
12
- function buildEmptyArgs() {
13
- return {
14
- rest: [],
15
- plugin: {},
16
- flags: new Set(),
17
- values: new Map(),
18
- valuesMulti: new Map(),
19
- };
20
- }
21
- function toMenuItem(choice) {
22
- if (choice.type === "separator") {
23
- const sep = choice;
24
- return sep.separator !== undefined
25
- ? { kind: "section", label: sep.separator.replace(/^── | ──$/g, "") }
26
- : { kind: "section" };
27
- }
28
- const item = choice;
29
- const base = { kind: "item", label: item.name, value: item.value };
30
- return item.description !== undefined ? { ...base, description: item.description } : base;
31
- }
32
- export function McpWizardScreen({ version, ctx, onDone }) {
33
- const [activePrompt, setActivePrompt] = useState(null);
34
- const [errorMessage, setErrorMessage] = useState();
35
- const startedRef = useRef(false);
36
- const { exit } = useApp();
37
- useEffect(() => {
38
- if (startedRef.current)
39
- return;
40
- startedRef.current = true;
41
- const prompts = {
42
- select(options) {
43
- return new Promise((resolve) => {
44
- const items = options.choices.map(toMenuItem);
45
- const state = {
46
- kind: "select",
47
- message: options.message,
48
- items,
49
- resolve: (value) => {
50
- setActivePrompt(null);
51
- resolve(value);
52
- },
53
- ...(options.default !== undefined ? { defaultValue: options.default } : {}),
54
- };
55
- setActivePrompt(state);
56
- });
57
- },
58
- input(options) {
59
- return new Promise((resolve) => {
60
- const state = {
61
- kind: "input",
62
- message: options.message,
63
- resolve: (value) => {
64
- setActivePrompt(null);
65
- resolve(value);
66
- },
67
- ...(options.default !== undefined ? { defaultValue: options.default } : {}),
68
- ...(options.validate ? { validate: options.validate } : {}),
69
- };
70
- setActivePrompt(state);
71
- });
72
- },
73
- };
74
- selfMcpConfig(buildEmptyArgs(), ctx, prompts)
75
- .then((result) => {
76
- onDone(result);
77
- })
78
- .catch((err) => {
79
- const message = err instanceof Error ? err.message : String(err);
80
- setErrorMessage(message);
81
- exit();
82
- });
83
- }, [ctx, onDone, exit]);
84
- if (errorMessage) {
85
- return (_jsxs(ScreenFrame, { children: [_jsx(Header, { version: version, subtitle: "MCP database" }), _jsxs(Text, { color: colors.error, children: [icons.cross, " ", errorMessage] })] }));
86
- }
87
- return (_jsxs(ScreenFrame, { children: [_jsx(Header, { version: version, subtitle: "MCP database" }), activePrompt === null ? (_jsx(Box, { children: _jsx(Spinner, { label: "Procesando..." }) })) : activePrompt.kind === "select" ? (_jsxs(Box, { flexDirection: "column", children: [_jsxs(Box, { children: [_jsxs(Text, { color: colors.accent, children: [icons.promptMark, " "] }), _jsx(Text, { color: colors.fg, bold: true, children: activePrompt.message })] }), _jsx(Box, { marginTop: 1, children: _jsx(SectionedMenu, { items: activePrompt.items, onSelect: (value) => activePrompt.resolve(value), ...(activePrompt.defaultValue !== undefined
88
- ? { defaultValue: activePrompt.defaultValue }
89
- : {}) }) })] })) : (_jsx(InputPrompt, { message: activePrompt.message, ...(activePrompt.defaultValue !== undefined
90
- ? { defaultValue: activePrompt.defaultValue }
91
- : {}), ...(activePrompt.validate ? { validate: activePrompt.validate } : {}), onSubmit: (value) => activePrompt.resolve(value) })), _jsx(KeymapBar, { entries: [
92
- { key: "↑↓", action: "navegar" },
93
- { key: "⏎", action: "confirmar" },
94
- { key: "^C", action: "cancelar" },
95
- ] })] }));
96
- }
97
- //# sourceMappingURL=mcp-wizard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mcp-wizard.js","sourceRoot":"","sources":["../../../../src/cli/tui/screens/mcp-wizard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,E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