@tacuchi/agent-workflow-cli 7.3.1 → 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.
- package/dist/cli/main.js +0 -0
- package/dist/cli/tui/app.d.ts.map +1 -1
- package/dist/cli/tui/app.js +277 -76
- package/dist/cli/tui/app.js.map +1 -1
- package/dist/cli/tui/components/activity-feed.d.ts +16 -0
- package/dist/cli/tui/components/activity-feed.d.ts.map +1 -0
- package/dist/cli/tui/components/activity-feed.js +35 -0
- package/dist/cli/tui/components/activity-feed.js.map +1 -0
- package/dist/cli/tui/components/command-palette.d.ts +11 -33
- package/dist/cli/tui/components/command-palette.d.ts.map +1 -1
- package/dist/cli/tui/components/command-palette.js +18 -111
- package/dist/cli/tui/components/command-palette.js.map +1 -1
- package/dist/cli/tui/components/confirm-banner.d.ts +10 -0
- package/dist/cli/tui/components/confirm-banner.d.ts.map +1 -0
- package/dist/cli/tui/components/confirm-banner.js +11 -0
- package/dist/cli/tui/components/confirm-banner.js.map +1 -0
- package/dist/cli/tui/components/detail-panel.d.ts +34 -0
- package/dist/cli/tui/components/detail-panel.d.ts.map +1 -0
- package/dist/cli/tui/components/detail-panel.js +83 -0
- package/dist/cli/tui/components/detail-panel.js.map +1 -0
- package/dist/cli/tui/components/family-card.d.ts +14 -0
- package/dist/cli/tui/components/family-card.d.ts.map +1 -0
- package/dist/cli/tui/components/family-card.js +37 -0
- package/dist/cli/tui/components/family-card.js.map +1 -0
- package/dist/cli/tui/components/inline-wizard.d.ts +19 -0
- package/dist/cli/tui/components/inline-wizard.d.ts.map +1 -0
- package/dist/cli/tui/components/inline-wizard.js +16 -0
- package/dist/cli/tui/components/inline-wizard.js.map +1 -0
- package/dist/cli/tui/components/input-prompt.js +1 -1
- package/dist/cli/tui/components/input-prompt.js.map +1 -1
- package/dist/cli/tui/components/list-row.d.ts +30 -0
- package/dist/cli/tui/components/list-row.d.ts.map +1 -0
- package/dist/cli/tui/components/list-row.js +85 -0
- package/dist/cli/tui/components/list-row.js.map +1 -0
- package/dist/cli/tui/components/page-head.d.ts +11 -10
- package/dist/cli/tui/components/page-head.d.ts.map +1 -1
- package/dist/cli/tui/components/page-head.js +21 -10
- package/dist/cli/tui/components/page-head.js.map +1 -1
- package/dist/cli/tui/components/phase-card.d.ts +15 -0
- package/dist/cli/tui/components/phase-card.d.ts.map +1 -0
- package/dist/cli/tui/components/phase-card.js +13 -0
- package/dist/cli/tui/components/phase-card.js.map +1 -0
- package/dist/cli/tui/components/quick-actions.d.ts +9 -0
- package/dist/cli/tui/components/quick-actions.d.ts.map +1 -0
- package/dist/cli/tui/components/quick-actions.js +9 -0
- package/dist/cli/tui/components/quick-actions.js.map +1 -0
- package/dist/cli/tui/components/section-head.d.ts +10 -0
- package/dist/cli/tui/components/section-head.d.ts.map +1 -0
- package/dist/cli/tui/components/section-head.js +8 -0
- package/dist/cli/tui/components/section-head.js.map +1 -0
- package/dist/cli/tui/components/sidebar.d.ts +27 -0
- package/dist/cli/tui/components/sidebar.d.ts.map +1 -0
- package/dist/cli/tui/components/sidebar.js +37 -0
- package/dist/cli/tui/components/sidebar.js.map +1 -0
- package/dist/cli/tui/components/stat-tile.d.ts +16 -0
- package/dist/cli/tui/components/stat-tile.d.ts.map +1 -0
- package/dist/cli/tui/components/stat-tile.js +23 -0
- package/dist/cli/tui/components/stat-tile.js.map +1 -0
- package/dist/cli/tui/components/toast-stack.d.ts +3 -3
- package/dist/cli/tui/components/toast-stack.js +3 -3
- package/dist/cli/tui/data/activity.d.ts +21 -0
- package/dist/cli/tui/data/activity.d.ts.map +1 -0
- package/dist/cli/tui/data/activity.js +83 -0
- package/dist/cli/tui/data/activity.js.map +1 -0
- package/dist/cli/tui/data/workflow-content.d.ts +16 -0
- package/dist/cli/tui/data/workflow-content.d.ts.map +1 -0
- package/dist/cli/tui/data/workflow-content.js +202 -0
- package/dist/cli/tui/data/workflow-content.js.map +1 -0
- package/dist/cli/tui/tabs/mcp-tab.d.ts +3 -16
- package/dist/cli/tui/tabs/mcp-tab.d.ts.map +1 -1
- package/dist/cli/tui/tabs/mcp-tab.js +150 -195
- package/dist/cli/tui/tabs/mcp-tab.js.map +1 -1
- package/dist/cli/tui/tabs/project-tab.d.ts +0 -11
- package/dist/cli/tui/tabs/project-tab.d.ts.map +1 -1
- package/dist/cli/tui/tabs/project-tab.js +47 -86
- package/dist/cli/tui/tabs/project-tab.js.map +1 -1
- package/dist/cli/tui/tabs/skills-tab.d.ts +1 -11
- package/dist/cli/tui/tabs/skills-tab.d.ts.map +1 -1
- package/dist/cli/tui/tabs/skills-tab.js +165 -126
- package/dist/cli/tui/tabs/skills-tab.js.map +1 -1
- package/dist/cli/tui/tabs/status-tab.d.ts +14 -14
- package/dist/cli/tui/tabs/status-tab.d.ts.map +1 -1
- package/dist/cli/tui/tabs/status-tab.js +179 -36
- package/dist/cli/tui/tabs/status-tab.js.map +1 -1
- package/dist/cli/tui/tabs/workflow-tab.d.ts +9 -0
- package/dist/cli/tui/tabs/workflow-tab.d.ts.map +1 -0
- package/dist/cli/tui/tabs/workflow-tab.js +40 -0
- package/dist/cli/tui/tabs/workflow-tab.js.map +1 -0
- package/dist/cli/tui/theme.d.ts +75 -55
- package/dist/cli/tui/theme.d.ts.map +1 -1
- package/dist/cli/tui/theme.js +75 -50
- package/dist/cli/tui/theme.js.map +1 -1
- package/package.json +1 -1
- package/dist/cli/commands/orchestration.d.ts +0 -5
- package/dist/cli/commands/orchestration.d.ts.map +0 -1
- package/dist/cli/commands/orchestration.js +0 -84
- package/dist/cli/commands/orchestration.js.map +0 -1
- package/dist/cli/commands/wave2-extras.d.ts +0 -7
- package/dist/cli/commands/wave2-extras.d.ts.map +0 -1
- package/dist/cli/commands/wave2-extras.js +0 -87
- package/dist/cli/commands/wave2-extras.js.map +0 -1
- package/dist/cli/commands/wave2-final.d.ts +0 -8
- package/dist/cli/commands/wave2-final.d.ts.map +0 -1
- package/dist/cli/commands/wave2-final.js +0 -134
- package/dist/cli/commands/wave2-final.js.map +0 -1
- package/dist/cli/commands/wave4d-simple.d.ts +0 -6
- package/dist/cli/commands/wave4d-simple.d.ts.map +0 -1
- package/dist/cli/commands/wave4d-simple.js +0 -138
- package/dist/cli/commands/wave4d-simple.js.map +0 -1
- package/dist/cli/tui/components/confirm-modal.d.ts +0 -12
- package/dist/cli/tui/components/confirm-modal.d.ts.map +0 -1
- package/dist/cli/tui/components/confirm-modal.js +0 -18
- package/dist/cli/tui/components/confirm-modal.js.map +0 -1
- package/dist/cli/tui/components/connections-grid.d.ts +0 -8
- package/dist/cli/tui/components/connections-grid.d.ts.map +0 -1
- package/dist/cli/tui/components/connections-grid.js +0 -55
- package/dist/cli/tui/components/connections-grid.js.map +0 -1
- package/dist/cli/tui/components/connections-table.d.ts +0 -5
- package/dist/cli/tui/components/connections-table.d.ts.map +0 -1
- package/dist/cli/tui/components/connections-table.js +0 -11
- package/dist/cli/tui/components/connections-table.js.map +0 -1
- package/dist/cli/tui/components/footer.d.ts +0 -4
- package/dist/cli/tui/components/footer.d.ts.map +0 -1
- package/dist/cli/tui/components/footer.js +0 -6
- package/dist/cli/tui/components/footer.js.map +0 -1
- package/dist/cli/tui/components/header.d.ts +0 -14
- package/dist/cli/tui/components/header.d.ts.map +0 -1
- package/dist/cli/tui/components/header.js +0 -21
- package/dist/cli/tui/components/header.js.map +0 -1
- package/dist/cli/tui/components/host-chip.d.ts +0 -28
- package/dist/cli/tui/components/host-chip.d.ts.map +0 -1
- package/dist/cli/tui/components/host-chip.js +0 -35
- package/dist/cli/tui/components/host-chip.js.map +0 -1
- package/dist/cli/tui/components/keymap-bar.d.ts +0 -17
- package/dist/cli/tui/components/keymap-bar.d.ts.map +0 -1
- package/dist/cli/tui/components/keymap-bar.js +0 -13
- package/dist/cli/tui/components/keymap-bar.js.map +0 -1
- package/dist/cli/tui/components/pill.d.ts +0 -16
- package/dist/cli/tui/components/pill.d.ts.map +0 -1
- package/dist/cli/tui/components/pill.js +0 -24
- package/dist/cli/tui/components/pill.js.map +0 -1
- package/dist/cli/tui/components/sectioned-menu.d.ts +0 -24
- package/dist/cli/tui/components/sectioned-menu.d.ts.map +0 -1
- package/dist/cli/tui/components/sectioned-menu.js +0 -72
- package/dist/cli/tui/components/sectioned-menu.js.map +0 -1
- package/dist/cli/tui/components/tab-bar.d.ts +0 -23
- package/dist/cli/tui/components/tab-bar.d.ts.map +0 -1
- package/dist/cli/tui/components/tab-bar.js +0 -17
- package/dist/cli/tui/components/tab-bar.js.map +0 -1
- package/dist/cli/tui/screens/main-menu.d.ts +0 -8
- package/dist/cli/tui/screens/main-menu.d.ts.map +0 -1
- package/dist/cli/tui/screens/main-menu.js +0 -24
- package/dist/cli/tui/screens/main-menu.js.map +0 -1
- package/dist/cli/tui/screens/mcp-done.d.ts +0 -10
- package/dist/cli/tui/screens/mcp-done.d.ts.map +0 -1
- package/dist/cli/tui/screens/mcp-done.js +0 -24
- package/dist/cli/tui/screens/mcp-done.js.map +0 -1
- package/dist/cli/tui/screens/mcp-wizard.d.ts +0 -10
- package/dist/cli/tui/screens/mcp-wizard.d.ts.map +0 -1
- package/dist/cli/tui/screens/mcp-wizard.js +0 -97
- package/dist/cli/tui/screens/mcp-wizard.js.map +0 -1
- package/dist/cli/tui/tabs/plugins-tab.d.ts +0 -8
- package/dist/cli/tui/tabs/plugins-tab.d.ts.map +0 -1
- package/dist/cli/tui/tabs/plugins-tab.js +0 -635
- package/dist/cli/tui/tabs/plugins-tab.js.map +0 -1
- package/dist/cli/tui/tabs/update-tab.d.ts +0 -20
- package/dist/cli/tui/tabs/update-tab.d.ts.map +0 -1
- package/dist/cli/tui/tabs/update-tab.js +0 -83
- package/dist/cli/tui/tabs/update-tab.js.map +0 -1
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
// Datos del Workflow tab — hardcoded para evitar I/O en render.
|
|
2
|
+
// Sincronizado con (verificado en T4):
|
|
3
|
+
// - skills/agent-workflow/SKILL.md (familias de comandos)
|
|
4
|
+
// - skills/agent-workflow/commands/ (17 slash commands)
|
|
5
|
+
// - skills/agent-workflow/hooks/hooks.template.json (5 eventos)
|
|
6
|
+
// - aw --help (familias del CLI real)
|
|
7
|
+
//
|
|
8
|
+
// Puntos de drift: si se agregan/quitan slash commands en `commands/` o se
|
|
9
|
+
// renombran familias en SKILL.md, actualizar este archivo. Los totales se
|
|
10
|
+
// derivan con `.length` en runtime — NO hardcodear cantidades en strings.
|
|
11
|
+
export const WORKFLOW_CONTENT = {
|
|
12
|
+
overview: "Universal session-lifecycle harness — 11 families, 17 slash commands, 5 hooks.",
|
|
13
|
+
// 5-phase user-facing lifecycle.
|
|
14
|
+
phases: [
|
|
15
|
+
{
|
|
16
|
+
id: "discover",
|
|
17
|
+
n: 1,
|
|
18
|
+
title: "Discover",
|
|
19
|
+
desc: "Detect workspace state — sources, branches, mode, stack.",
|
|
20
|
+
commands: ["sources", "workspace-mode", "sessions"],
|
|
21
|
+
slash: "—",
|
|
22
|
+
hook: "—",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: "start",
|
|
26
|
+
n: 2,
|
|
27
|
+
title: "Start",
|
|
28
|
+
desc: "Open a tracked session with OBJECTIVE + flow (core/dev/design).",
|
|
29
|
+
commands: ["session-create", "session-resume"],
|
|
30
|
+
slash: "/agent-workflow:session",
|
|
31
|
+
hook: "SessionStart",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: "plan",
|
|
35
|
+
n: 3,
|
|
36
|
+
title: "Plan",
|
|
37
|
+
desc: "Choose planning depth + detect phase.",
|
|
38
|
+
commands: ["auto-plan-decide", "phase-detect", "specialty-choose"],
|
|
39
|
+
slash: "/agent-workflow:rules",
|
|
40
|
+
hook: "—",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: "work",
|
|
44
|
+
n: 4,
|
|
45
|
+
title: "Work",
|
|
46
|
+
desc: "Persist progress in CHECKPOINT.md. Drift caught by topic-change.",
|
|
47
|
+
commands: ["checkpoint-write", "topic-change-check", "tasks-data"],
|
|
48
|
+
slash: "/agent-workflow:compact",
|
|
49
|
+
hook: "PreToolUse · PreCompact · PostCompact",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: "close",
|
|
53
|
+
n: 5,
|
|
54
|
+
title: "Close / Graduate",
|
|
55
|
+
desc: "Close session + export artifacts. Handoff or release.",
|
|
56
|
+
commands: ["session-close", "release-data", "graduate"],
|
|
57
|
+
slash: "/agent-workflow:resume",
|
|
58
|
+
hook: "SessionEnd",
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
// 11 command families verified against `aw --help`.
|
|
62
|
+
commandFamilies: [
|
|
63
|
+
{
|
|
64
|
+
id: "session",
|
|
65
|
+
title: "Session mgmt",
|
|
66
|
+
items: ["sessions", "session-create", "session-resume", "session-close", "session-artifacts"],
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: "objetivo",
|
|
70
|
+
title: "Objective / Tasks",
|
|
71
|
+
items: ["objetivo-data", "tasks-data", "decisiones-list", "dependencias-list"],
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
id: "checkpoint",
|
|
75
|
+
title: "Checkpoint",
|
|
76
|
+
items: [
|
|
77
|
+
"checkpoint-read",
|
|
78
|
+
"checkpoint-write",
|
|
79
|
+
"compress-checkpoint",
|
|
80
|
+
"auto-compact-on-close",
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
id: "sources",
|
|
85
|
+
title: "Sources / branches",
|
|
86
|
+
items: ["sources", "attach-multiroot", "detach-multiroot", "check-branch"],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: "orchestration",
|
|
90
|
+
title: "Orchestration",
|
|
91
|
+
items: [
|
|
92
|
+
"phase-detect",
|
|
93
|
+
"phase-next",
|
|
94
|
+
"workflows",
|
|
95
|
+
"workspace-mode",
|
|
96
|
+
"stack",
|
|
97
|
+
"skill-index",
|
|
98
|
+
"auto-plan-decide",
|
|
99
|
+
"topic-change-check",
|
|
100
|
+
"specialty-choose",
|
|
101
|
+
"resume-summary",
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: "doctor",
|
|
106
|
+
title: "Doctor / Data",
|
|
107
|
+
items: [
|
|
108
|
+
"plugin-doctor",
|
|
109
|
+
"plugin-cache",
|
|
110
|
+
"history-data",
|
|
111
|
+
"history-update",
|
|
112
|
+
"release-data",
|
|
113
|
+
"code-scan",
|
|
114
|
+
"project-md-upsert",
|
|
115
|
+
"bootstrap-dsn",
|
|
116
|
+
"graduate",
|
|
117
|
+
"upgrade-hub-mode",
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: "hooks",
|
|
122
|
+
title: "Hooks (cli)",
|
|
123
|
+
items: ["hook branch-check", "hook sql-mutation-guard", "hook git-commit-advisor"],
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: "mcp",
|
|
127
|
+
title: "MCP / DSN",
|
|
128
|
+
items: ["mcp dbhub", "mcp setup", "mcp remove", "mcp doctor", "mcp warp-status"],
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
id: "dev",
|
|
132
|
+
title: "Dev-only",
|
|
133
|
+
items: ["harness", "profiles", "logs", "next-number"],
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: "self",
|
|
137
|
+
title: "Self",
|
|
138
|
+
items: [
|
|
139
|
+
"self doctor",
|
|
140
|
+
"self install",
|
|
141
|
+
"self uninstall",
|
|
142
|
+
"self detect-hosts",
|
|
143
|
+
"self mcp",
|
|
144
|
+
"self bootstrap",
|
|
145
|
+
],
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
id: "other",
|
|
149
|
+
title: "Other",
|
|
150
|
+
items: ["graduation-check", "hub-init", "visibility"],
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
// 17 slash commands — `ls skills/agent-workflow/commands/*.md`.
|
|
154
|
+
slashCommands: [
|
|
155
|
+
"/agent-workflow:session",
|
|
156
|
+
"/agent-workflow:resume",
|
|
157
|
+
"/agent-workflow:compact",
|
|
158
|
+
"/agent-workflow:doctor",
|
|
159
|
+
"/agent-workflow:rules",
|
|
160
|
+
"/agent-workflow:migrate",
|
|
161
|
+
"/agent-workflow:project-init",
|
|
162
|
+
"/agent-workflow:hub-init",
|
|
163
|
+
"/agent-workflow:export-plan",
|
|
164
|
+
"/agent-workflow:export-arq",
|
|
165
|
+
"/agent-workflow:export-report",
|
|
166
|
+
"/agent-workflow:export-conclusions",
|
|
167
|
+
"/agent-workflow:export-scripts",
|
|
168
|
+
"/agent-workflow:export-requirement",
|
|
169
|
+
"/agent-workflow:export-qa-note",
|
|
170
|
+
"/agent-workflow:export-tech-note",
|
|
171
|
+
"/agent-workflow:export-tech-manuals",
|
|
172
|
+
],
|
|
173
|
+
// 5 hooks de hooks.template.json — matcher real + qué disparan.
|
|
174
|
+
hooks: [
|
|
175
|
+
{
|
|
176
|
+
name: "SessionStart",
|
|
177
|
+
matcher: "startup|resume|clear",
|
|
178
|
+
fires: "Inject namespace into ~/.config/agent-workflow/namespace",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: "PreToolUse",
|
|
182
|
+
matcher: "Edit|Write|MultiEdit · mcp__*__execute_sql · Bash",
|
|
183
|
+
fires: "branch-check · sql-mutation-guard · git-commit-advisor",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: "SessionEnd",
|
|
187
|
+
matcher: "(any)",
|
|
188
|
+
fires: "agent-workflow auto-compact-on-close",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: "PreCompact",
|
|
192
|
+
matcher: "(any)",
|
|
193
|
+
fires: "checkpoint-write — preserves OBJECTIVE before compacting",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: "PostCompact",
|
|
197
|
+
matcher: "(any)",
|
|
198
|
+
fires: "resume-summary + prompt to reload CHECKPOINT.md",
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
};
|
|
202
|
+
//# sourceMappingURL=workflow-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-content.js","sourceRoot":"","sources":["../../../../src/cli/tui/data/workflow-content.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,uCAAuC;AACvC,4DAA4D;AAC5D,4DAA4D;AAC5D,kEAAkE;AAClE,wCAAwC;AACxC,EAAE;AACF,2EAA2E;AAC3E,0EAA0E;AAC1E,0EAA0E;AAmB1E,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC/C,QAAQ,EAAE,gFAAgF;IAE1F,iCAAiC;IACjC,MAAM,EAAE;QACN;YACE,EAAE,EAAE,UAAU;YACd,CAAC,EAAE,CAAC;YACJ,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,0DAA0D;YAChE,QAAQ,EAAE,CAAC,SAAS,EAAE,gBAAgB,EAAE,UAAU,CAAC;YACnD,KAAK,EAAE,GAAG;YACV,IAAI,EAAE,GAAG;SACV;QACD;YACE,EAAE,EAAE,OAAO;YACX,CAAC,EAAE,CAAC;YACJ,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,iEAAiE;YACvE,QAAQ,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;YAC9C,KAAK,EAAE,yBAAyB;YAChC,IAAI,EAAE,cAAc;SACrB;QACD;YACE,EAAE,EAAE,MAAM;YACV,CAAC,EAAE,CAAC;YACJ,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,uCAAuC;YAC7C,QAAQ,EAAE,CAAC,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,CAAC;YAClE,KAAK,EAAE,uBAAuB;YAC9B,IAAI,EAAE,GAAG;SACV;QACD;YACE,EAAE,EAAE,MAAM;YACV,CAAC,EAAE,CAAC;YACJ,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,kEAAkE;YACxE,QAAQ,EAAE,CAAC,kBAAkB,EAAE,oBA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O,EAAE,mDAAmD;YAC5D,KAAK,EAAE,wDAAwD;SAChE;QACD;YACE,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,sCAAsC;SAC9C;QACD;YACE,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,0DAA0D;SAClE;QACD;YACE,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,iDAAiD;SACzD;KACF;CACF,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CliContext } from "../../types.js";
|
|
2
|
+
import { type ActivityEvent } from "../components/activity-feed.js";
|
|
2
3
|
export interface McpTabProps {
|
|
3
4
|
ctx: CliContext;
|
|
4
5
|
isActive: boolean;
|
|
@@ -7,21 +8,7 @@ export interface McpTabProps {
|
|
|
7
8
|
title: string;
|
|
8
9
|
body?: string;
|
|
9
10
|
}) => void;
|
|
11
|
+
recentEvents?: ActivityEvent[];
|
|
10
12
|
}
|
|
11
|
-
|
|
12
|
-
* MCPTab — split view con sub-modes.
|
|
13
|
-
*
|
|
14
|
-
* Lista: connections reales + row "+ Nueva conexión" al final.
|
|
15
|
-
* Detail: estado único (instalado/no instalado/parcial) + acciones composite.
|
|
16
|
-
*
|
|
17
|
-
* Modes:
|
|
18
|
-
* - `list` — cursor en lista (connections + new-row). ↑↓ navega · ⏎ entra
|
|
19
|
-
* a `actions` (si conn) o a `new-name` (si new-row).
|
|
20
|
-
* - `actions` — cursor en acciones contextuales del host activo. ↑↓ navega
|
|
21
|
-
* · ⏎ aplica · esc vuelve.
|
|
22
|
-
*
|
|
23
|
-
* Install composite: encadena install-claude + install-codex + install-warp.
|
|
24
|
-
* Si alguno falla, aborta el resto y reporta.
|
|
25
|
-
*/
|
|
26
|
-
export declare function McpTab({ ctx, isActive, onToast }: McpTabProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function McpTab({ ctx, isActive, onToast, recentEvents }: McpTabProps): import("react/jsx-runtime").JSX.Element;
|
|
27
14
|
//# sourceMappingURL=mcp-tab.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-tab.d.ts","sourceRoot":"","sources":["../../../../src/cli/tui/tabs/mcp-tab.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mcp-tab.d.ts","sourceRoot":"","sources":["../../../../src/cli/tui/tabs/mcp-tab.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,gCAAgC,CAAC;AAqBlF,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,UAAU,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACvF,YAAY,CAAC,EAAE,aAAa,EAAE,CAAC;CAChC;AA+BD,wBAAgB,MAAM,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,WAAW,2CA4a3E"}
|