@covibes/zeroshot 5.3.0 → 5.4.1
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/LICENSE +1 -1
- package/README.md +8 -385
- package/cli/index.js +108 -4615
- package/package.json +16 -125
- package/CHANGELOG.md +0 -537
- package/cli/commands/providers.js +0 -150
- package/cli/lib/first-run.js +0 -211
- package/cli/lib/update-checker.js +0 -281
- package/cli/message-formatter-utils.js +0 -75
- package/cli/message-formatters-normal.js +0 -253
- package/cli/message-formatters-watch.js +0 -181
- package/cluster-templates/base-templates/debug-workflow.json +0 -375
- package/cluster-templates/base-templates/full-workflow.json +0 -697
- package/cluster-templates/base-templates/single-worker.json +0 -63
- package/cluster-templates/base-templates/worker-validator.json +0 -152
- package/cluster-templates/conductor-bootstrap.json +0 -124
- package/docker/zeroshot-cluster/Dockerfile +0 -152
- package/docker/zeroshot-cluster/pre-baked-deps.json +0 -28
- package/lib/completion.js +0 -174
- package/lib/docker-config.js +0 -212
- package/lib/id-detector.js +0 -53
- package/lib/provider-detection.js +0 -59
- package/lib/provider-names.js +0 -56
- package/lib/settings.js +0 -405
- package/lib/stream-json-parser.js +0 -10
- package/scripts/fix-node-pty-permissions.js +0 -75
- package/scripts/record-demo.sh +0 -279
- package/scripts/test-install.sh +0 -40
- package/scripts/validate-templates.js +0 -100
- package/src/agent/agent-config.js +0 -193
- package/src/agent/agent-context-builder.js +0 -335
- package/src/agent/agent-hook-executor.js +0 -402
- package/src/agent/agent-lifecycle.js +0 -683
- package/src/agent/agent-stuck-detector.js +0 -256
- package/src/agent/agent-task-executor.js +0 -1431
- package/src/agent/agent-trigger-evaluator.js +0 -67
- package/src/agent/output-extraction.js +0 -200
- package/src/agent/output-reformatter.js +0 -175
- package/src/agent/schema-utils.js +0 -111
- package/src/agent-wrapper.js +0 -570
- package/src/agents/git-pusher-agent.json +0 -20
- package/src/attach/attach-client.js +0 -438
- package/src/attach/attach-server.js +0 -543
- package/src/attach/index.js +0 -35
- package/src/attach/protocol.js +0 -220
- package/src/attach/ring-buffer.js +0 -121
- package/src/attach/socket-discovery.js +0 -267
- package/src/claude-task-runner.js +0 -523
- package/src/config-router.js +0 -80
- package/src/config-validator.js +0 -1660
- package/src/copy-worker.js +0 -43
- package/src/github.js +0 -139
- package/src/isolation-manager.js +0 -1381
- package/src/ledger.js +0 -614
- package/src/logic-engine.js +0 -223
- package/src/message-bus-bridge.js +0 -139
- package/src/message-bus.js +0 -249
- package/src/name-generator.js +0 -232
- package/src/orchestrator.js +0 -2519
- package/src/preflight.js +0 -485
- package/src/process-metrics.js +0 -566
- package/src/providers/anthropic/cli-builder.js +0 -45
- package/src/providers/anthropic/index.js +0 -134
- package/src/providers/anthropic/models.js +0 -23
- package/src/providers/anthropic/output-parser.js +0 -159
- package/src/providers/base-provider.js +0 -181
- package/src/providers/capabilities.js +0 -51
- package/src/providers/google/cli-builder.js +0 -55
- package/src/providers/google/index.js +0 -116
- package/src/providers/google/models.js +0 -24
- package/src/providers/google/output-parser.js +0 -92
- package/src/providers/index.js +0 -75
- package/src/providers/openai/cli-builder.js +0 -122
- package/src/providers/openai/index.js +0 -135
- package/src/providers/openai/models.js +0 -21
- package/src/providers/openai/output-parser.js +0 -129
- package/src/schemas/sub-cluster.js +0 -156
- package/src/status-footer.js +0 -980
- package/src/sub-cluster-wrapper.js +0 -560
- package/src/task-runner.js +0 -30
- package/src/template-resolver.js +0 -369
- package/src/tui/CHANGES.txt +0 -133
- package/src/tui/LAYOUT.md +0 -261
- package/src/tui/README.txt +0 -192
- package/src/tui/TWO-LEVEL-NAVIGATION.md +0 -186
- package/src/tui/data-poller.js +0 -325
- package/src/tui/demo.js +0 -208
- package/src/tui/formatters.js +0 -128
- package/src/tui/index.js +0 -193
- package/src/tui/keybindings.js +0 -383
- package/src/tui/layout.js +0 -334
- package/src/tui/renderer.js +0 -194
- package/task-lib/attachable-watcher.js +0 -272
- package/task-lib/claude-recovery.js +0 -119
- package/task-lib/commands/clean.js +0 -50
- package/task-lib/commands/get-log-path.js +0 -23
- package/task-lib/commands/kill.js +0 -32
- package/task-lib/commands/list.js +0 -105
- package/task-lib/commands/logs.js +0 -411
- package/task-lib/commands/resume.js +0 -42
- package/task-lib/commands/run.js +0 -57
- package/task-lib/commands/schedule.js +0 -105
- package/task-lib/commands/scheduler-cmd.js +0 -96
- package/task-lib/commands/schedules.js +0 -98
- package/task-lib/commands/status.js +0 -44
- package/task-lib/commands/unschedule.js +0 -16
- package/task-lib/completion.js +0 -9
- package/task-lib/config.js +0 -10
- package/task-lib/name-generator.js +0 -230
- package/task-lib/package.json +0 -3
- package/task-lib/runner.js +0 -144
- package/task-lib/scheduler.js +0 -252
- package/task-lib/store.js +0 -230
- package/task-lib/tui/formatters.js +0 -166
- package/task-lib/tui/index.js +0 -197
- package/task-lib/tui/layout.js +0 -111
- package/task-lib/tui/renderer.js +0 -119
- package/task-lib/tui.js +0 -384
- package/task-lib/watcher.js +0 -188
package/src/name-generator.js
DELETED
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Human-readable name generator (like Weights & Biases)
|
|
3
|
-
* Generates names like "wandering-forest-42" or "bright-star-17"
|
|
4
|
-
*
|
|
5
|
-
* No prefix - short forms used everywhere for simplicity
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
const ADJECTIVES = [
|
|
9
|
-
// Colors
|
|
10
|
-
'amber',
|
|
11
|
-
'azure',
|
|
12
|
-
'crimson',
|
|
13
|
-
'emerald',
|
|
14
|
-
'golden',
|
|
15
|
-
'indigo',
|
|
16
|
-
'jade',
|
|
17
|
-
'ruby',
|
|
18
|
-
'sapphire',
|
|
19
|
-
'silver',
|
|
20
|
-
'violet',
|
|
21
|
-
'bronze',
|
|
22
|
-
'coral',
|
|
23
|
-
'ivory',
|
|
24
|
-
'pearl',
|
|
25
|
-
'platinum',
|
|
26
|
-
'scarlet',
|
|
27
|
-
'cobalt',
|
|
28
|
-
'copper',
|
|
29
|
-
'obsidian',
|
|
30
|
-
'onyx',
|
|
31
|
-
'opal',
|
|
32
|
-
'topaz',
|
|
33
|
-
'turquoise',
|
|
34
|
-
// Nature
|
|
35
|
-
'wandering',
|
|
36
|
-
'bright',
|
|
37
|
-
'silent',
|
|
38
|
-
'ancient',
|
|
39
|
-
'swift',
|
|
40
|
-
'noble',
|
|
41
|
-
'bold',
|
|
42
|
-
'wild',
|
|
43
|
-
'gentle',
|
|
44
|
-
'hidden',
|
|
45
|
-
'fierce',
|
|
46
|
-
'calm',
|
|
47
|
-
'frozen',
|
|
48
|
-
'misty',
|
|
49
|
-
'stormy',
|
|
50
|
-
'sunny',
|
|
51
|
-
// Cosmic
|
|
52
|
-
'cosmic',
|
|
53
|
-
'crystal',
|
|
54
|
-
'electric',
|
|
55
|
-
'lunar',
|
|
56
|
-
'solar',
|
|
57
|
-
'stellar',
|
|
58
|
-
'astral',
|
|
59
|
-
'orbital',
|
|
60
|
-
'mystic',
|
|
61
|
-
'quantum',
|
|
62
|
-
'radiant',
|
|
63
|
-
'twilight',
|
|
64
|
-
'vivid',
|
|
65
|
-
'zen',
|
|
66
|
-
'infinite',
|
|
67
|
-
'eternal',
|
|
68
|
-
// Tech/Abstract
|
|
69
|
-
'clever',
|
|
70
|
-
'rapid',
|
|
71
|
-
'steady',
|
|
72
|
-
'agile',
|
|
73
|
-
'nimble',
|
|
74
|
-
'keen',
|
|
75
|
-
'sharp',
|
|
76
|
-
'quick',
|
|
77
|
-
'prime',
|
|
78
|
-
'binary',
|
|
79
|
-
'neural',
|
|
80
|
-
'atomic',
|
|
81
|
-
'sonic',
|
|
82
|
-
'hyper',
|
|
83
|
-
'mega',
|
|
84
|
-
'ultra',
|
|
85
|
-
// Descriptive
|
|
86
|
-
'blazing',
|
|
87
|
-
'gleaming',
|
|
88
|
-
'glowing',
|
|
89
|
-
'shining',
|
|
90
|
-
'burning',
|
|
91
|
-
'flaming',
|
|
92
|
-
'sparkling',
|
|
93
|
-
'dazzling',
|
|
94
|
-
'roaring',
|
|
95
|
-
'rushing',
|
|
96
|
-
'soaring',
|
|
97
|
-
'flying',
|
|
98
|
-
'rising',
|
|
99
|
-
'falling',
|
|
100
|
-
'spinning',
|
|
101
|
-
'dancing',
|
|
102
|
-
];
|
|
103
|
-
|
|
104
|
-
const NOUNS = [
|
|
105
|
-
// Nature
|
|
106
|
-
'forest',
|
|
107
|
-
'river',
|
|
108
|
-
'mountain',
|
|
109
|
-
'ocean',
|
|
110
|
-
'thunder',
|
|
111
|
-
'canyon',
|
|
112
|
-
'summit',
|
|
113
|
-
'valley',
|
|
114
|
-
'cascade',
|
|
115
|
-
'glacier',
|
|
116
|
-
'volcano',
|
|
117
|
-
'desert',
|
|
118
|
-
'meadow',
|
|
119
|
-
'tundra',
|
|
120
|
-
'jungle',
|
|
121
|
-
'reef',
|
|
122
|
-
// Space
|
|
123
|
-
'star',
|
|
124
|
-
'comet',
|
|
125
|
-
'nebula',
|
|
126
|
-
'galaxy',
|
|
127
|
-
'pulsar',
|
|
128
|
-
'quasar',
|
|
129
|
-
'aurora',
|
|
130
|
-
'eclipse',
|
|
131
|
-
'meteor',
|
|
132
|
-
'nova',
|
|
133
|
-
'cosmos',
|
|
134
|
-
'orbit',
|
|
135
|
-
'void',
|
|
136
|
-
'horizon',
|
|
137
|
-
'zenith',
|
|
138
|
-
'equinox',
|
|
139
|
-
// Mythical
|
|
140
|
-
'phoenix',
|
|
141
|
-
'dragon',
|
|
142
|
-
'griffin',
|
|
143
|
-
'sphinx',
|
|
144
|
-
'hydra',
|
|
145
|
-
'kraken',
|
|
146
|
-
'titan',
|
|
147
|
-
'atlas',
|
|
148
|
-
'oracle',
|
|
149
|
-
'rune',
|
|
150
|
-
'sigil',
|
|
151
|
-
'glyph',
|
|
152
|
-
'totem',
|
|
153
|
-
'aegis',
|
|
154
|
-
'aether',
|
|
155
|
-
'flux',
|
|
156
|
-
// Animals
|
|
157
|
-
'falcon',
|
|
158
|
-
'eagle',
|
|
159
|
-
'wolf',
|
|
160
|
-
'bear',
|
|
161
|
-
'tiger',
|
|
162
|
-
'hawk',
|
|
163
|
-
'lion',
|
|
164
|
-
'panther',
|
|
165
|
-
'raven',
|
|
166
|
-
'serpent',
|
|
167
|
-
'shark',
|
|
168
|
-
'owl',
|
|
169
|
-
'fox',
|
|
170
|
-
'lynx',
|
|
171
|
-
'viper',
|
|
172
|
-
'condor',
|
|
173
|
-
// Architecture
|
|
174
|
-
'citadel',
|
|
175
|
-
'temple',
|
|
176
|
-
'spire',
|
|
177
|
-
'tower',
|
|
178
|
-
'fortress',
|
|
179
|
-
'bastion',
|
|
180
|
-
'vault',
|
|
181
|
-
'sanctum',
|
|
182
|
-
'beacon',
|
|
183
|
-
'arch',
|
|
184
|
-
'bridge',
|
|
185
|
-
'gate',
|
|
186
|
-
'hall',
|
|
187
|
-
'keep',
|
|
188
|
-
'dome',
|
|
189
|
-
'obelisk',
|
|
190
|
-
// Abstract
|
|
191
|
-
'cipher',
|
|
192
|
-
'echo',
|
|
193
|
-
'nexus',
|
|
194
|
-
'prism',
|
|
195
|
-
'relic',
|
|
196
|
-
'vertex',
|
|
197
|
-
'vortex',
|
|
198
|
-
'pulse',
|
|
199
|
-
'surge',
|
|
200
|
-
'spark',
|
|
201
|
-
'flame',
|
|
202
|
-
'storm',
|
|
203
|
-
'wave',
|
|
204
|
-
'drift',
|
|
205
|
-
'shift',
|
|
206
|
-
'core',
|
|
207
|
-
];
|
|
208
|
-
|
|
209
|
-
// 96 adjectives × 96 nouns × 100 numbers = 921,600 combinations
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Generate a human-readable name
|
|
213
|
-
* @param {string} _prefix - DEPRECATED: Ignored for backwards compat, short form always used
|
|
214
|
-
* @returns {string} Human-readable name (e.g., 'wandering-forest-42')
|
|
215
|
-
*/
|
|
216
|
-
function generateName(_prefix = '') {
|
|
217
|
-
const adjective = ADJECTIVES[Math.floor(Math.random() * ADJECTIVES.length)];
|
|
218
|
-
const noun = NOUNS[Math.floor(Math.random() * NOUNS.length)];
|
|
219
|
-
const number = Math.floor(Math.random() * 100);
|
|
220
|
-
|
|
221
|
-
return `${adjective}-${noun}-${number}`;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Generate a short unique suffix (for collision prevention)
|
|
226
|
-
* @returns {string} Short random suffix (e.g., 'a3f9')
|
|
227
|
-
*/
|
|
228
|
-
function generateSuffix() {
|
|
229
|
-
return Math.random().toString(36).slice(2, 6);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
module.exports = { generateName, generateSuffix };
|