@kenkaiiii/ggcoder 4.2.49 → 4.2.51
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/ui/App.d.ts +7 -1
- package/dist/ui/App.d.ts.map +1 -1
- package/dist/ui/App.js +34 -9
- package/dist/ui/App.js.map +1 -1
- package/dist/ui/activity-phrases.d.ts +10 -0
- package/dist/ui/activity-phrases.d.ts.map +1 -0
- package/dist/ui/activity-phrases.js +227 -0
- package/dist/ui/activity-phrases.js.map +1 -0
- package/dist/ui/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/ui/components/ActivityIndicator.js +1 -225
- package/dist/ui/components/ActivityIndicator.js.map +1 -1
- package/dist/ui/components/InputArea.d.ts.map +1 -1
- package/dist/ui/components/InputArea.js +453 -39
- package/dist/ui/components/InputArea.js.map +1 -1
- package/dist/ui/hooks/useTerminalTitle.d.ts +8 -1
- package/dist/ui/hooks/useTerminalTitle.d.ts.map +1 -1
- package/dist/ui/hooks/useTerminalTitle.js +19 -22
- package/dist/ui/hooks/useTerminalTitle.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
// ── Phrase lists ────────────────────────────────────────────
|
|
2
|
+
const CONTEXTUAL_PHRASES = [
|
|
3
|
+
{
|
|
4
|
+
keywords: /\b(bug|fix|error|issue|broken|crash|fail|wrong)\b/i,
|
|
5
|
+
phrases: [
|
|
6
|
+
"Investigating",
|
|
7
|
+
"Diagnosing",
|
|
8
|
+
"Tracing the issue",
|
|
9
|
+
"Hunting the bug",
|
|
10
|
+
"Analyzing the problem",
|
|
11
|
+
"Narrowing it down",
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
keywords: /\b(refactor|clean|improve|optimize|simplify|restructure)\b/i,
|
|
16
|
+
phrases: [
|
|
17
|
+
"Studying the code",
|
|
18
|
+
"Planning improvements",
|
|
19
|
+
"Mapping dependencies",
|
|
20
|
+
"Finding patterns",
|
|
21
|
+
"Designing the approach",
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
keywords: /\b(test|spec|coverage|assert|expect|describe|it\()\b/i,
|
|
26
|
+
phrases: [
|
|
27
|
+
"Designing tests",
|
|
28
|
+
"Thinking about edge cases",
|
|
29
|
+
"Planning test coverage",
|
|
30
|
+
"Considering scenarios",
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
keywords: /\b(build|deploy|ci|cd|pipeline|docker|config)\b/i,
|
|
35
|
+
phrases: [
|
|
36
|
+
"Checking the config",
|
|
37
|
+
"Analyzing the pipeline",
|
|
38
|
+
"Working through setup",
|
|
39
|
+
"Reviewing the build",
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
keywords: /\b(style|css|ui|layout|design|color|theme|display|render)\b/i,
|
|
44
|
+
phrases: [
|
|
45
|
+
"Visualizing the layout",
|
|
46
|
+
"Crafting the design",
|
|
47
|
+
"Considering the aesthetics",
|
|
48
|
+
"Sketching it out",
|
|
49
|
+
"Polishing the pixels",
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
keywords: /\b(add|create|new|implement|feature|make|build)\b/i,
|
|
54
|
+
phrases: [
|
|
55
|
+
"Architecting",
|
|
56
|
+
"Drafting the approach",
|
|
57
|
+
"Planning the implementation",
|
|
58
|
+
"Mapping it out",
|
|
59
|
+
"Designing the solution",
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
keywords: /\b(explain|how|why|what|understand|describe)\b/i,
|
|
64
|
+
phrases: [
|
|
65
|
+
"Reading through the code",
|
|
66
|
+
"Connecting the dots",
|
|
67
|
+
"Building understanding",
|
|
68
|
+
"Tracing the logic",
|
|
69
|
+
"Piecing it together",
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
keywords: /\b(delete|remove|drop|clean\s*up|prune|trim)\b/i,
|
|
74
|
+
phrases: ["Identifying dead code", "Marking for removal", "Cleaning house", "Pruning the tree"],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
keywords: /\b(move|rename|reorganize|restructure|migrate)\b/i,
|
|
78
|
+
phrases: ["Planning the move", "Mapping the migration", "Tracing dependencies", "Reorganizing"],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
keywords: /\b(fetch|url|http|api|request|web|download|scrape)\b/i,
|
|
82
|
+
phrases: ["Checking the docs", "Looking it up", "Pulling references", "Gathering info"],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
keywords: /\b(debug|log|trace|inspect|breakpoint|stack\s*trace)\b/i,
|
|
86
|
+
phrases: [
|
|
87
|
+
"Following the trail",
|
|
88
|
+
"Inspecting the stack",
|
|
89
|
+
"Chasing the bug",
|
|
90
|
+
"Tracing execution",
|
|
91
|
+
"Zeroing in",
|
|
92
|
+
],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
keywords: /\b(type|types|interface|generic|typescript|schema)\b/i,
|
|
96
|
+
phrases: [
|
|
97
|
+
"Mapping the types",
|
|
98
|
+
"Checking the signatures",
|
|
99
|
+
"Modeling the data",
|
|
100
|
+
"Tracing the type graph",
|
|
101
|
+
],
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
keywords: /\b(commit|push|pull|merge|rebase|branch|git|pr)\b/i,
|
|
105
|
+
phrases: [
|
|
106
|
+
"Reviewing the history",
|
|
107
|
+
"Checking the diff",
|
|
108
|
+
"Preparing changes",
|
|
109
|
+
"Sorting out the branch",
|
|
110
|
+
],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
keywords: /\b(install|dependency|package|upgrade|update|version)\b/i,
|
|
114
|
+
phrases: [
|
|
115
|
+
"Checking dependencies",
|
|
116
|
+
"Reviewing versions",
|
|
117
|
+
"Sorting out packages",
|
|
118
|
+
"Mapping the dep tree",
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
];
|
|
122
|
+
export const PLANNING_PHRASES = [
|
|
123
|
+
"Studying the codebase",
|
|
124
|
+
"Mapping the architecture",
|
|
125
|
+
"Drafting the plan",
|
|
126
|
+
"Analyzing dependencies",
|
|
127
|
+
"Charting the course",
|
|
128
|
+
"Surveying the landscape",
|
|
129
|
+
"Building the blueprint",
|
|
130
|
+
];
|
|
131
|
+
export const GENERAL_PHRASES = [
|
|
132
|
+
"Thinking",
|
|
133
|
+
"Reasoning",
|
|
134
|
+
"Processing",
|
|
135
|
+
"Mulling it over",
|
|
136
|
+
"Working on it",
|
|
137
|
+
"Contemplating",
|
|
138
|
+
"Figuring it out",
|
|
139
|
+
"Crunching",
|
|
140
|
+
"Assembling thoughts",
|
|
141
|
+
"Cooking up a plan",
|
|
142
|
+
"Brewing ideas",
|
|
143
|
+
"Spinning up neurons",
|
|
144
|
+
"Loading wisdom",
|
|
145
|
+
"Parsing the universe",
|
|
146
|
+
"Channeling clarity",
|
|
147
|
+
];
|
|
148
|
+
export const THINKING_PHRASES = [
|
|
149
|
+
"Deep in thought",
|
|
150
|
+
"Reasoning",
|
|
151
|
+
"Contemplating",
|
|
152
|
+
"Pondering",
|
|
153
|
+
"Reflecting",
|
|
154
|
+
"Working through it",
|
|
155
|
+
"Analyzing",
|
|
156
|
+
"Deliberating",
|
|
157
|
+
];
|
|
158
|
+
export const GENERATING_PHRASES = [
|
|
159
|
+
"Writing",
|
|
160
|
+
"Composing",
|
|
161
|
+
"Generating",
|
|
162
|
+
"Crafting a response",
|
|
163
|
+
"Drafting",
|
|
164
|
+
"Putting it together",
|
|
165
|
+
"Formulating",
|
|
166
|
+
];
|
|
167
|
+
export const TOOLS_GENERIC = [
|
|
168
|
+
"Running tools",
|
|
169
|
+
"Executing",
|
|
170
|
+
"Working",
|
|
171
|
+
"Processing",
|
|
172
|
+
"Operating",
|
|
173
|
+
"Carrying out tasks",
|
|
174
|
+
];
|
|
175
|
+
export const TOOL_PHRASES = {
|
|
176
|
+
bash: ["Running a command", "Executing in the shell", "Running a process"],
|
|
177
|
+
read: ["Reading a file", "Scanning the source", "Studying the code"],
|
|
178
|
+
write: ["Writing a file", "Creating a file", "Laying down code"],
|
|
179
|
+
edit: ["Editing a file", "Applying changes", "Patching the code"],
|
|
180
|
+
grep: ["Searching the codebase", "Scanning for matches", "Grepping"],
|
|
181
|
+
find: ["Locating files", "Searching the tree", "Scanning the directory"],
|
|
182
|
+
ls: ["Listing files", "Browsing the directory", "Scanning contents"],
|
|
183
|
+
subagent: ["Dispatching a subagent", "Delegating work", "Spinning up an agent"],
|
|
184
|
+
"web-fetch": ["Fetching from the web", "Pulling a page", "Downloading content"],
|
|
185
|
+
tasks: ["Managing tasks", "Updating the task list", "Organizing work"],
|
|
186
|
+
"task-output": ["Checking task output", "Reading task results"],
|
|
187
|
+
"task-stop": ["Stopping a task", "Halting a running task"],
|
|
188
|
+
};
|
|
189
|
+
function selectToolPhrases(activeToolNames) {
|
|
190
|
+
if (activeToolNames.length === 0)
|
|
191
|
+
return TOOLS_GENERIC;
|
|
192
|
+
const phrases = [];
|
|
193
|
+
for (const name of activeToolNames) {
|
|
194
|
+
const specific = TOOL_PHRASES[name];
|
|
195
|
+
if (specific)
|
|
196
|
+
phrases.push(...specific);
|
|
197
|
+
}
|
|
198
|
+
return phrases.length > 0 ? phrases : TOOLS_GENERIC;
|
|
199
|
+
}
|
|
200
|
+
export function selectPhrases(phase, userMessage, activeToolNames) {
|
|
201
|
+
switch (phase) {
|
|
202
|
+
case "thinking":
|
|
203
|
+
return THINKING_PHRASES;
|
|
204
|
+
case "generating":
|
|
205
|
+
return GENERATING_PHRASES;
|
|
206
|
+
case "tools":
|
|
207
|
+
return selectToolPhrases(activeToolNames);
|
|
208
|
+
default: {
|
|
209
|
+
// waiting / idle — use contextual phrases based on user message
|
|
210
|
+
for (const set of CONTEXTUAL_PHRASES) {
|
|
211
|
+
if (set.keywords.test(userMessage)) {
|
|
212
|
+
return [...set.phrases, ...GENERAL_PHRASES.slice(0, 3)];
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return GENERAL_PHRASES;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
export function shuffleArray(arr) {
|
|
220
|
+
const shuffled = [...arr];
|
|
221
|
+
for (let i = shuffled.length - 1; i > 0; i--) {
|
|
222
|
+
const j = Math.floor(Math.random() * (i + 1));
|
|
223
|
+
[shuffled[i], shuffled[j]] = [shuffled[j], shuffled[i]];
|
|
224
|
+
}
|
|
225
|
+
return shuffled;
|
|
226
|
+
}
|
|
227
|
+
//# sourceMappingURL=activity-phrases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity-phrases.js","sourceRoot":"","sources":["../../src/ui/activity-phrases.ts"],"names":[],"mappings":"AAEA,+DAA+D;AAE/D,MAAM,kBAAkB,GAAG;IACzB;QACE,QAAQ,EAAE,oDAAoD;QAC9D,OAAO,EAAE;YACP,eAAe;YACf,YAAY;YACZ,mBAAmB;YACnB,iBAAiB;YACjB,uBAAuB;YACvB,mBAAmB;SACpB;KACF;IACD;QACE,QAAQ,EAAE,6DAA6D;QACvE,OAAO,EAAE;YACP,mBAAmB;YACnB,uBAAuB;YACvB,sBAAsB;YACtB,kBAAkB;YAClB,wBAAwB;SACzB;KACF;IACD;QACE,QAAQ,EAAE,uDAAuD;QACjE,OAAO,EAAE;YACP,iBAAiB;YACjB,2BAA2B;YAC3B,wBAAwB;YACxB,uBAAuB;SACxB;KACF;IACD;QACE,QAAQ,EAAE,kDAAkD;QAC5D,OAAO,EAAE;YACP,qBAAqB;YACrB,wBAAwB;YACxB,uBAAuB;YACvB,qBAAqB;SACtB;KACF;IACD;QACE,QAAQ,EAAE,8DAA8D;QACxE,OAAO,EAAE;YACP,wBAAwB;YACxB,qBAAqB;YACrB,4BAA4B;YAC5B,kBAAkB;YAClB,sBAAsB;SACvB;KACF;IACD;QACE,QAAQ,EAAE,oDAAoD;QAC9D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OAAO,eAAe,CAAC;QACzB,CAAC;IACH,CAAC;AACH,CAAC;AAED,MAAM,UAAU,YAAY,CAAI,GAAQ;IACtC,MAAM,QAAQ,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC;IAC1B,KAAK,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7C,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC9C,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityIndicator.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ActivityIndicator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"ActivityIndicator.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ActivityIndicator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAsG9D,UAAU,sBAAsB;IAC9B,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,SAAS,EACT,UAAU,EACV,UAAU,EACV,aAAa,EACb,WAAgB,EAChB,eAAoB,EACpB,QAAQ,GACT,EAAE,sBAAsB,2CAqExB"}
|
|
@@ -3,6 +3,7 @@ import React, { useState, useEffect, useMemo } from "react";
|
|
|
3
3
|
import { Text, Box } from "ink";
|
|
4
4
|
import { useTheme } from "../theme/theme.js";
|
|
5
5
|
import { SPINNER_FRAMES, SPINNER_INTERVAL } from "../spinner-frames.js";
|
|
6
|
+
import { PLANNING_PHRASES, selectPhrases, shuffleArray } from "../activity-phrases.js";
|
|
6
7
|
// ── Color pulse cycle ─────────────────────────────────────
|
|
7
8
|
const PULSE_COLORS = [
|
|
8
9
|
"#60a5fa", // blue
|
|
@@ -29,231 +30,6 @@ const ELLIPSIS_INTERVAL = 500;
|
|
|
29
30
|
// ── Phrase rotation ───────────────────────────────────────
|
|
30
31
|
const WAITING_PHRASE_INTERVAL = 3000;
|
|
31
32
|
const OTHER_PHRASE_INTERVAL = 4000;
|
|
32
|
-
const CONTEXTUAL_PHRASES = [
|
|
33
|
-
{
|
|
34
|
-
keywords: /\b(bug|fix|error|issue|broken|crash|fail|wrong)\b/i,
|
|
35
|
-
phrases: [
|
|
36
|
-
"Investigating",
|
|
37
|
-
"Diagnosing",
|
|
38
|
-
"Tracing the issue",
|
|
39
|
-
"Hunting the bug",
|
|
40
|
-
"Analyzing the problem",
|
|
41
|
-
"Narrowing it down",
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
keywords: /\b(refactor|clean|improve|optimize|simplify|restructure)\b/i,
|
|
46
|
-
phrases: [
|
|
47
|
-
"Studying the code",
|
|
48
|
-
"Planning improvements",
|
|
49
|
-
"Mapping dependencies",
|
|
50
|
-
"Finding patterns",
|
|
51
|
-
"Designing the approach",
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
keywords: /\b(test|spec|coverage|assert|expect|describe|it\()\b/i,
|
|
56
|
-
phrases: [
|
|
57
|
-
"Designing tests",
|
|
58
|
-
"Thinking about edge cases",
|
|
59
|
-
"Planning test coverage",
|
|
60
|
-
"Considering scenarios",
|
|
61
|
-
],
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
keywords: /\b(build|deploy|ci|cd|pipeline|docker|config)\b/i,
|
|
65
|
-
phrases: [
|
|
66
|
-
"Checking the config",
|
|
67
|
-
"Analyzing the pipeline",
|
|
68
|
-
"Working through setup",
|
|
69
|
-
"Reviewing the build",
|
|
70
|
-
],
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
keywords: /\b(style|css|ui|layout|design|color|theme|display|render)\b/i,
|
|
74
|
-
phrases: [
|
|
75
|
-
"Visualizing the layout",
|
|
76
|
-
"Crafting the design",
|
|
77
|
-
"Considering the aesthetics",
|
|
78
|
-
"Sketching it out",
|
|
79
|
-
"Polishing the pixels",
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
keywords: /\b(add|create|new|implement|feature|make|build)\b/i,
|
|
84
|
-
phrases: [
|
|
85
|
-
"Architecting",
|
|
86
|
-
"Drafting the approach",
|
|
87
|
-
"Planning the implementation",
|
|
88
|
-
"Mapping it out",
|
|
89
|
-
"Designing the solution",
|
|
90
|
-
],
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
keywords: /\b(explain|how|why|what|understand|describe)\b/i,
|
|
94
|
-
phrases: [
|
|
95
|
-
"Reading through the code",
|
|
96
|
-
"Connecting the dots",
|
|
97
|
-
"Building understanding",
|
|
98
|
-
"Tracing the logic",
|
|
99
|
-
"Piecing it together",
|
|
100
|
-
],
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
keywords: /\b(delete|remove|drop|clean\s*up|prune|trim)\b/i,
|
|
104
|
-
phrases: ["Identifying dead code", "Marking for removal", "Cleaning house", "Pruning the tree"],
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
keywords: /\b(move|rename|reorganize|restructure|migrate)\b/i,
|
|
108
|
-
phrases: ["Planning the move", "Mapping the migration", "Tracing dependencies", "Reorganizing"],
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
keywords: /\b(fetch|url|http|api|request|web|download|scrape)\b/i,
|
|
112
|
-
phrases: ["Checking the docs", "Looking it up", "Pulling references", "Gathering info"],
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
keywords: /\b(debug|log|trace|inspect|breakpoint|stack\s*trace)\b/i,
|
|
116
|
-
phrases: [
|
|
117
|
-
"Following the trail",
|
|
118
|
-
"Inspecting the stack",
|
|
119
|
-
"Chasing the bug",
|
|
120
|
-
"Tracing execution",
|
|
121
|
-
"Zeroing in",
|
|
122
|
-
],
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
keywords: /\b(type|types|interface|generic|typescript|schema)\b/i,
|
|
126
|
-
phrases: [
|
|
127
|
-
"Mapping the types",
|
|
128
|
-
"Checking the signatures",
|
|
129
|
-
"Modeling the data",
|
|
130
|
-
"Tracing the type graph",
|
|
131
|
-
],
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
keywords: /\b(commit|push|pull|merge|rebase|branch|git|pr)\b/i,
|
|
135
|
-
phrases: [
|
|
136
|
-
"Reviewing the history",
|
|
137
|
-
"Checking the diff",
|
|
138
|
-
"Preparing changes",
|
|
139
|
-
"Sorting out the branch",
|
|
140
|
-
],
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
keywords: /\b(install|dependency|package|upgrade|update|version)\b/i,
|
|
144
|
-
phrases: [
|
|
145
|
-
"Checking dependencies",
|
|
146
|
-
"Reviewing versions",
|
|
147
|
-
"Sorting out packages",
|
|
148
|
-
"Mapping the dep tree",
|
|
149
|
-
],
|
|
150
|
-
},
|
|
151
|
-
];
|
|
152
|
-
const PLANNING_PHRASES = [
|
|
153
|
-
"Studying the codebase",
|
|
154
|
-
"Mapping the architecture",
|
|
155
|
-
"Drafting the plan",
|
|
156
|
-
"Analyzing dependencies",
|
|
157
|
-
"Charting the course",
|
|
158
|
-
"Surveying the landscape",
|
|
159
|
-
"Building the blueprint",
|
|
160
|
-
];
|
|
161
|
-
const GENERAL_PHRASES = [
|
|
162
|
-
"Thinking",
|
|
163
|
-
"Reasoning",
|
|
164
|
-
"Processing",
|
|
165
|
-
"Mulling it over",
|
|
166
|
-
"Working on it",
|
|
167
|
-
"Contemplating",
|
|
168
|
-
"Figuring it out",
|
|
169
|
-
"Crunching",
|
|
170
|
-
"Assembling thoughts",
|
|
171
|
-
"Cooking up a plan",
|
|
172
|
-
"Brewing ideas",
|
|
173
|
-
"Spinning up neurons",
|
|
174
|
-
"Loading wisdom",
|
|
175
|
-
"Parsing the universe",
|
|
176
|
-
"Channeling clarity",
|
|
177
|
-
];
|
|
178
|
-
const THINKING_PHRASES = [
|
|
179
|
-
"Deep in thought",
|
|
180
|
-
"Reasoning",
|
|
181
|
-
"Contemplating",
|
|
182
|
-
"Pondering",
|
|
183
|
-
"Reflecting",
|
|
184
|
-
"Working through it",
|
|
185
|
-
"Analyzing",
|
|
186
|
-
"Deliberating",
|
|
187
|
-
];
|
|
188
|
-
const GENERATING_PHRASES = [
|
|
189
|
-
"Writing",
|
|
190
|
-
"Composing",
|
|
191
|
-
"Generating",
|
|
192
|
-
"Crafting a response",
|
|
193
|
-
"Drafting",
|
|
194
|
-
"Putting it together",
|
|
195
|
-
"Formulating",
|
|
196
|
-
];
|
|
197
|
-
const TOOLS_GENERIC = [
|
|
198
|
-
"Running tools",
|
|
199
|
-
"Executing",
|
|
200
|
-
"Working",
|
|
201
|
-
"Processing",
|
|
202
|
-
"Operating",
|
|
203
|
-
"Carrying out tasks",
|
|
204
|
-
];
|
|
205
|
-
const TOOL_PHRASES = {
|
|
206
|
-
bash: ["Running a command", "Executing in the shell", "Running a process"],
|
|
207
|
-
read: ["Reading a file", "Scanning the source", "Studying the code"],
|
|
208
|
-
write: ["Writing a file", "Creating a file", "Laying down code"],
|
|
209
|
-
edit: ["Editing a file", "Applying changes", "Patching the code"],
|
|
210
|
-
grep: ["Searching the codebase", "Scanning for matches", "Grepping"],
|
|
211
|
-
find: ["Locating files", "Searching the tree", "Scanning the directory"],
|
|
212
|
-
ls: ["Listing files", "Browsing the directory", "Scanning contents"],
|
|
213
|
-
subagent: ["Dispatching a subagent", "Delegating work", "Spinning up an agent"],
|
|
214
|
-
"web-fetch": ["Fetching from the web", "Pulling a page", "Downloading content"],
|
|
215
|
-
tasks: ["Managing tasks", "Updating the task list", "Organizing work"],
|
|
216
|
-
"task-output": ["Checking task output", "Reading task results"],
|
|
217
|
-
"task-stop": ["Stopping a task", "Halting a running task"],
|
|
218
|
-
};
|
|
219
|
-
function selectToolPhrases(activeToolNames) {
|
|
220
|
-
if (activeToolNames.length === 0)
|
|
221
|
-
return TOOLS_GENERIC;
|
|
222
|
-
const phrases = [];
|
|
223
|
-
for (const name of activeToolNames) {
|
|
224
|
-
const specific = TOOL_PHRASES[name];
|
|
225
|
-
if (specific)
|
|
226
|
-
phrases.push(...specific);
|
|
227
|
-
}
|
|
228
|
-
return phrases.length > 0 ? phrases : TOOLS_GENERIC;
|
|
229
|
-
}
|
|
230
|
-
function selectPhrases(phase, userMessage, activeToolNames) {
|
|
231
|
-
switch (phase) {
|
|
232
|
-
case "thinking":
|
|
233
|
-
return THINKING_PHRASES;
|
|
234
|
-
case "generating":
|
|
235
|
-
return GENERATING_PHRASES;
|
|
236
|
-
case "tools":
|
|
237
|
-
return selectToolPhrases(activeToolNames);
|
|
238
|
-
default: {
|
|
239
|
-
// waiting / idle — use contextual phrases based on user message
|
|
240
|
-
for (const set of CONTEXTUAL_PHRASES) {
|
|
241
|
-
if (set.keywords.test(userMessage)) {
|
|
242
|
-
return [...set.phrases, ...GENERAL_PHRASES.slice(0, 3)];
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
return GENERAL_PHRASES;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
function shuffleArray(arr) {
|
|
250
|
-
const shuffled = [...arr];
|
|
251
|
-
for (let i = shuffled.length - 1; i > 0; i--) {
|
|
252
|
-
const j = Math.floor(Math.random() * (i + 1));
|
|
253
|
-
[shuffled[i], shuffled[j]] = [shuffled[j], shuffled[i]];
|
|
254
|
-
}
|
|
255
|
-
return shuffled;
|
|
256
|
-
}
|
|
257
33
|
// ── Formatting helpers ────────────────────────────────────
|
|
258
34
|
function formatElapsed(ms) {
|
|
259
35
|
const totalSec = Math.round(ms / 1000);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityIndicator.js","sourceRoot":"","sources":["../../../src/ui/components/ActivityIndicator.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"ActivityIndicator.js","sourceRoot":"","sources":["../../../src/ui/components/ActivityIndicator.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEvF,6DAA6D;AAE7D,MAAM,YAAY,GAAG;IACnB,SAAS,EAAE,OAAO;IAClB,SAAS,EAA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C;IAElE,MAAM,IAAI,GAAG,eAAe,CAAC,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IAE/E,OAAO,CACL,MAAC,GAAG,eACF,MAAC,IAAI,IAAC,KAAK,EAAE,YAAY,EAAE,IAAI,mBAC5B,cAAc,CAAC,YAAY,CAAC,EAAE,GAAG,IAC7B,EACP,KAAC,WAAW,IAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,GAAI,EAC1E,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,CAAC,OAAO,YAAG,cAAc,GAAQ,EAClD,IAAI,IAAI,CACP,MAAC,IAAI,IAAC,KAAK,EAAE,KAAK,CAAC,OAAO,aACvB,KAAK,EACL,IAAI,EACJ,GAAG,IACC,CACR,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputArea.d.ts","sourceRoot":"","sources":["../../../src/ui/components/InputArea.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EAAoC,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"InputArea.d.ts","sourceRoot":"","sources":["../../../src/ui/components/InputArea.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EAAoC,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAoEhG,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,cAAc;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,KAAK,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;IAChF,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC/B;AAkDD,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,OAAO,EACP,QAAgB,EAChB,QAAe,EACf,WAAW,EACX,UAAU,EACV,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,GAAG,EACH,QAAa,GACd,EAAE,cAAc,2CAg7BhB"}
|