nightralph 0.0.9 → 0.0.11

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/meta.json CHANGED
@@ -1,125 +1,122 @@
1
1
  {
2
2
  "inputs": {
3
- "src/index.ts": {
4
- "bytes": 7134,
5
- "imports": [],
6
- "format": "esm"
7
- },
8
- "src/orchestrator.ts": {
9
- "bytes": 33865,
10
- "imports": [],
11
- "format": "esm"
12
- },
13
3
  "src/setup.ts": {
14
4
  "bytes": 4981,
15
- "imports": [],
16
- "format": "esm"
17
- },
18
- "src/resolve.ts": {
19
- "bytes": 2155,
20
- "imports": [],
5
+ "imports": [
6
+ {
7
+ "path": "node:fs",
8
+ "kind": "import-statement",
9
+ "external": true
10
+ },
11
+ {
12
+ "path": "node:path",
13
+ "kind": "import-statement",
14
+ "external": true
15
+ },
16
+ {
17
+ "path": "node:child_process",
18
+ "kind": "import-statement",
19
+ "external": true
20
+ },
21
+ {
22
+ "path": "<runtime>",
23
+ "kind": "import-statement",
24
+ "external": true
25
+ }
26
+ ],
21
27
  "format": "esm"
22
28
  },
23
29
  "src/worktree.ts": {
24
30
  "bytes": 4464,
25
- "imports": [],
26
- "format": "esm"
27
- },
28
- "src/progress.ts": {
29
- "bytes": 5136,
30
- "imports": [],
31
- "format": "esm"
32
- },
33
- "src/merge.ts": {
34
- "bytes": 6529,
35
- "imports": [],
36
- "format": "esm"
37
- },
38
- "src/display.ts": {
39
- "bytes": 10791,
40
- "imports": [],
41
- "format": "esm"
42
- }
43
- },
44
- "outputs": {
45
- "dist/index.js.map": {
46
- "imports": [],
47
- "exports": [],
48
- "inputs": {},
49
- "bytes": 11126
50
- },
51
- "dist/index.js": {
52
31
  "imports": [
53
32
  {
54
- "path": "node:fs",
33
+ "path": "node:child_process",
55
34
  "kind": "import-statement",
56
35
  "external": true
57
36
  },
58
37
  {
59
- "path": "node:path",
38
+ "path": "node:util",
60
39
  "kind": "import-statement",
61
40
  "external": true
62
41
  },
63
42
  {
64
- "path": "yargs",
43
+ "path": "node:path",
65
44
  "kind": "import-statement",
66
45
  "external": true
67
46
  },
68
47
  {
69
- "path": "yargs/helpers",
48
+ "path": "node:fs",
70
49
  "kind": "import-statement",
71
50
  "external": true
72
51
  },
73
52
  {
74
- "path": "@inquirer/prompts",
53
+ "path": "<runtime>",
54
+ "kind": "import-statement",
55
+ "external": true
56
+ }
57
+ ],
58
+ "format": "esm"
59
+ },
60
+ "src/progress.ts": {
61
+ "bytes": 5136,
62
+ "imports": [
63
+ {
64
+ "path": "node:child_process",
75
65
  "kind": "import-statement",
76
66
  "external": true
77
67
  },
78
68
  {
79
- "path": "./setup.js",
69
+ "path": "node:fs",
80
70
  "kind": "import-statement",
81
71
  "external": true
82
72
  },
83
73
  {
84
- "path": "./orchestrator.js",
74
+ "path": "node:util",
85
75
  "kind": "import-statement",
86
76
  "external": true
87
77
  },
88
78
  {
89
- "path": "./display.js",
79
+ "path": "<runtime>",
80
+ "kind": "import-statement",
81
+ "external": true
82
+ }
83
+ ],
84
+ "format": "esm"
85
+ },
86
+ "src/merge.ts": {
87
+ "bytes": 6529,
88
+ "imports": [
89
+ {
90
+ "path": "node:child_process",
90
91
  "kind": "import-statement",
91
92
  "external": true
92
93
  },
93
94
  {
94
- "path": "./resolve.js",
95
+ "path": "node:util",
95
96
  "kind": "import-statement",
96
97
  "external": true
97
98
  },
98
99
  {
99
- "path": "./worktree.js",
100
+ "path": "<runtime>",
100
101
  "kind": "import-statement",
101
102
  "external": true
102
103
  }
103
104
  ],
104
- "exports": [
105
- "findFeatureDirs",
106
- "resolveIssuesDir"
107
- ],
108
- "entryPoint": "src/index.ts",
109
- "inputs": {
110
- "src/index.ts": {
111
- "bytesInOutput": 5338
112
- }
113
- },
114
- "bytes": 5571
105
+ "format": "esm"
115
106
  },
116
- "dist/orchestrator.js.map": {
117
- "imports": [],
118
- "exports": [],
119
- "inputs": {},
120
- "bytes": 52948
107
+ "src/display.ts": {
108
+ "bytes": 10792,
109
+ "imports": [
110
+ {
111
+ "path": "<runtime>",
112
+ "kind": "import-statement",
113
+ "external": true
114
+ }
115
+ ],
116
+ "format": "esm"
121
117
  },
122
- "dist/orchestrator.js": {
118
+ "src/orchestrator.ts": {
119
+ "bytes": 33865,
123
120
  "imports": [
124
121
  {
125
122
  "path": "node:child_process",
@@ -147,62 +144,35 @@
147
144
  "external": true
148
145
  },
149
146
  {
150
- "path": "./worktree.js",
147
+ "path": "src/worktree.ts",
151
148
  "kind": "import-statement",
152
- "external": true
149
+ "original": "./worktree.js"
153
150
  },
154
151
  {
155
- "path": "./progress.js",
152
+ "path": "src/progress.ts",
156
153
  "kind": "import-statement",
157
- "external": true
154
+ "original": "./progress.js"
158
155
  },
159
156
  {
160
- "path": "./merge.js",
157
+ "path": "src/merge.ts",
161
158
  "kind": "import-statement",
162
- "external": true
159
+ "original": "./merge.js"
160
+ },
161
+ {
162
+ "path": "src/display.ts",
163
+ "kind": "import-statement",
164
+ "original": "./display.js"
163
165
  },
164
166
  {
165
- "path": "./display.js",
167
+ "path": "<runtime>",
166
168
  "kind": "import-statement",
167
169
  "external": true
168
170
  }
169
171
  ],
170
- "exports": [
171
- "COMPLETED_RE",
172
- "TICKET_RE",
173
- "checkItems",
174
- "createPiStreamFormatter",
175
- "dryRun",
176
- "dryRunIsolated",
177
- "findReadyTickets",
178
- "formatErrorMessage",
179
- "formatStreamLine",
180
- "getProviderArgs",
181
- "markDone",
182
- "parseBlockers",
183
- "parseStatus",
184
- "parseTicketFilename",
185
- "renderPrompt",
186
- "runWaves",
187
- "runWavesIsolated",
188
- "scanTickets",
189
- "spawnAgent"
190
- ],
191
- "entryPoint": "src/orchestrator.ts",
192
- "inputs": {
193
- "src/orchestrator.ts": {
194
- "bytesInOutput": 26158
195
- }
196
- },
197
- "bytes": 26662
198
- },
199
- "dist/setup.js.map": {
200
- "imports": [],
201
- "exports": [],
202
- "inputs": {},
203
- "bytes": 8061
172
+ "format": "esm"
204
173
  },
205
- "dist/setup.js": {
174
+ "src/resolve.ts": {
175
+ "bytes": 2155,
206
176
  "imports": [
207
177
  {
208
178
  "path": "node:fs",
@@ -215,33 +185,25 @@
215
185
  "external": true
216
186
  },
217
187
  {
218
- "path": "node:child_process",
188
+ "path": "node:url",
189
+ "kind": "import-statement",
190
+ "external": true
191
+ },
192
+ {
193
+ "path": "@inquirer/prompts",
194
+ "kind": "import-statement",
195
+ "external": true
196
+ },
197
+ {
198
+ "path": "<runtime>",
219
199
  "kind": "import-statement",
220
200
  "external": true
221
201
  }
222
202
  ],
223
- "exports": [
224
- "DOC_TEMPLATES",
225
- "SKILL_DIRS",
226
- "checkGhAuth",
227
- "setup",
228
- "writeManagedSection"
229
- ],
230
- "entryPoint": "src/setup.ts",
231
- "inputs": {
232
- "src/setup.ts": {
233
- "bytesInOutput": 4328
234
- }
235
- },
236
- "bytes": 4580
237
- },
238
- "dist/resolve.js.map": {
239
- "imports": [],
240
- "exports": [],
241
- "inputs": {},
242
- "bytes": 3657
203
+ "format": "esm"
243
204
  },
244
- "dist/resolve.js": {
205
+ "src/index.ts": {
206
+ "bytes": 7134,
245
207
  "imports": [
246
208
  {
247
209
  "path": "node:fs",
@@ -254,7 +216,12 @@
254
216
  "external": true
255
217
  },
256
218
  {
257
- "path": "node:url",
219
+ "path": "yargs",
220
+ "kind": "import-statement",
221
+ "external": true
222
+ },
223
+ {
224
+ "path": "yargs/helpers",
258
225
  "kind": "import-statement",
259
226
  "external": true
260
227
  },
@@ -262,29 +229,115 @@
262
229
  "path": "@inquirer/prompts",
263
230
  "kind": "import-statement",
264
231
  "external": true
232
+ },
233
+ {
234
+ "path": "src/setup.ts",
235
+ "kind": "import-statement",
236
+ "original": "./setup.js"
237
+ },
238
+ {
239
+ "path": "src/orchestrator.ts",
240
+ "kind": "import-statement",
241
+ "original": "./orchestrator.js"
242
+ },
243
+ {
244
+ "path": "src/display.ts",
245
+ "kind": "import-statement",
246
+ "original": "./display.js"
247
+ },
248
+ {
249
+ "path": "src/resolve.ts",
250
+ "kind": "import-statement",
251
+ "original": "./resolve.js"
252
+ },
253
+ {
254
+ "path": "src/worktree.ts",
255
+ "kind": "import-statement",
256
+ "original": "./worktree.js"
257
+ },
258
+ {
259
+ "path": "<runtime>",
260
+ "kind": "import-statement",
261
+ "external": true
265
262
  }
266
263
  ],
267
- "exports": [
268
- "findFeatureDirs",
269
- "getScriptDir",
270
- "resolveIssuesDir"
271
- ],
272
- "entryPoint": "src/resolve.ts",
273
- "inputs": {
274
- "src/resolve.ts": {
275
- "bytesInOutput": 1875
276
- }
277
- },
278
- "bytes": 2106
279
- },
280
- "dist/worktree.js.map": {
264
+ "format": "esm"
265
+ }
266
+ },
267
+ "outputs": {
268
+ "dist/index.js.map": {
281
269
  "imports": [],
282
270
  "exports": [],
283
271
  "inputs": {},
284
- "bytes": 7323
272
+ "bytes": 117627
285
273
  },
286
- "dist/worktree.js": {
274
+ "dist/index.js": {
287
275
  "imports": [
276
+ {
277
+ "path": "node:fs",
278
+ "kind": "import-statement",
279
+ "external": true
280
+ },
281
+ {
282
+ "path": "node:path",
283
+ "kind": "import-statement",
284
+ "external": true
285
+ },
286
+ {
287
+ "path": "yargs",
288
+ "kind": "import-statement",
289
+ "external": true
290
+ },
291
+ {
292
+ "path": "yargs/helpers",
293
+ "kind": "import-statement",
294
+ "external": true
295
+ },
296
+ {
297
+ "path": "@inquirer/prompts",
298
+ "kind": "import-statement",
299
+ "external": true
300
+ },
301
+ {
302
+ "path": "node:fs",
303
+ "kind": "import-statement",
304
+ "external": true
305
+ },
306
+ {
307
+ "path": "node:path",
308
+ "kind": "import-statement",
309
+ "external": true
310
+ },
311
+ {
312
+ "path": "node:child_process",
313
+ "kind": "import-statement",
314
+ "external": true
315
+ },
316
+ {
317
+ "path": "node:child_process",
318
+ "kind": "import-statement",
319
+ "external": true
320
+ },
321
+ {
322
+ "path": "node:fs",
323
+ "kind": "import-statement",
324
+ "external": true
325
+ },
326
+ {
327
+ "path": "node:os",
328
+ "kind": "import-statement",
329
+ "external": true
330
+ },
331
+ {
332
+ "path": "node:path",
333
+ "kind": "import-statement",
334
+ "external": true
335
+ },
336
+ {
337
+ "path": "node:readline",
338
+ "kind": "import-statement",
339
+ "external": true
340
+ },
288
341
  {
289
342
  "path": "node:child_process",
290
343
  "kind": "import-statement",
@@ -304,35 +357,7 @@
304
357
  "path": "node:fs",
305
358
  "kind": "import-statement",
306
359
  "external": true
307
- }
308
- ],
309
- "exports": [
310
- "commitDirty",
311
- "createWorktree",
312
- "getCurrentBranch",
313
- "getRepoName",
314
- "getRepoRoot",
315
- "hasNewCommits",
316
- "isDirty",
317
- "listWorktrees",
318
- "removeWorktree"
319
- ],
320
- "entryPoint": "src/worktree.ts",
321
- "inputs": {
322
- "src/worktree.ts": {
323
- "bytesInOutput": 3507
324
- }
325
- },
326
- "bytes": 3830
327
- },
328
- "dist/progress.js.map": {
329
- "imports": [],
330
- "exports": [],
331
- "inputs": {},
332
- "bytes": 8364
333
- },
334
- "dist/progress.js": {
335
- "imports": [
360
+ },
336
361
  {
337
362
  "path": "node:child_process",
338
363
  "kind": "import-statement",
@@ -347,33 +372,7 @@
347
372
  "path": "node:util",
348
373
  "kind": "import-statement",
349
374
  "external": true
350
- }
351
- ],
352
- "exports": [
353
- "checkTicket",
354
- "commitProgress",
355
- "generateProgress",
356
- "mergeProgress",
357
- "readProgress",
358
- "renderProgress",
359
- "writeProgress"
360
- ],
361
- "entryPoint": "src/progress.ts",
362
- "inputs": {
363
- "src/progress.ts": {
364
- "bytesInOutput": 4168
365
- }
366
- },
367
- "bytes": 4466
368
- },
369
- "dist/merge.js.map": {
370
- "imports": [],
371
- "exports": [],
372
- "inputs": {},
373
- "bytes": 9866
374
- },
375
- "dist/merge.js": {
376
- "imports": [
375
+ },
377
376
  {
378
377
  "path": "node:child_process",
379
378
  "kind": "import-statement",
@@ -383,45 +382,60 @@
383
382
  "path": "node:util",
384
383
  "kind": "import-statement",
385
384
  "external": true
385
+ },
386
+ {
387
+ "path": "node:fs",
388
+ "kind": "import-statement",
389
+ "external": true
390
+ },
391
+ {
392
+ "path": "node:path",
393
+ "kind": "import-statement",
394
+ "external": true
395
+ },
396
+ {
397
+ "path": "node:url",
398
+ "kind": "import-statement",
399
+ "external": true
400
+ },
401
+ {
402
+ "path": "@inquirer/prompts",
403
+ "kind": "import-statement",
404
+ "external": true
386
405
  }
387
406
  ],
388
407
  "exports": [
389
- "mergeBranch",
390
- "mergeWave",
391
- "rebaseBranch",
392
- "updateWorktreeFromBase"
408
+ "findFeatureDirs",
409
+ "resolveIssuesDir"
393
410
  ],
394
- "entryPoint": "src/merge.ts",
411
+ "entryPoint": "src/index.ts",
395
412
  "inputs": {
413
+ "src/index.ts": {
414
+ "bytesInOutput": 5060
415
+ },
416
+ "src/setup.ts": {
417
+ "bytesInOutput": 4318
418
+ },
419
+ "src/orchestrator.ts": {
420
+ "bytesInOutput": 25827
421
+ },
422
+ "src/worktree.ts": {
423
+ "bytesInOutput": 3194
424
+ },
425
+ "src/progress.ts": {
426
+ "bytesInOutput": 4233
427
+ },
396
428
  "src/merge.ts": {
397
- "bytesInOutput": 4372
398
- }
399
- },
400
- "bytes": 4616
401
- },
402
- "dist/display.js.map": {
403
- "imports": [],
404
- "exports": [],
405
- "inputs": {},
406
- "bytes": 16701
407
- },
408
- "dist/display.js": {
409
- "imports": [],
410
- "exports": [
411
- "PlainDisplay",
412
- "StatusDisplay",
413
- "ansi",
414
- "color",
415
- "createDisplay",
416
- "renderDot"
417
- ],
418
- "entryPoint": "src/display.ts",
419
- "inputs": {
429
+ "bytesInOutput": 4410
430
+ },
420
431
  "src/display.ts": {
421
- "bytesInOutput": 7276
432
+ "bytesInOutput": 7281
433
+ },
434
+ "src/resolve.ts": {
435
+ "bytesInOutput": 1937
422
436
  }
423
437
  },
424
- "bytes": 7532
438
+ "bytes": 56687
425
439
  }
426
440
  }
427
441
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nightralph",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "type": "module",
5
5
  "description": "Orchestrator that runs a single-agent session per issue.",
6
6
  "bin": {
@@ -17,7 +17,7 @@
17
17
  "lint": "eslint \"./**/*.{ts,js}\"",
18
18
  "start": "npm run build && node dist/index.js",
19
19
  "build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-esm && npm run copy",
20
- "build-esm": "esbuild src/index.ts src/orchestrator.ts src/setup.ts src/resolve.ts src/worktree.ts src/progress.ts src/merge.ts src/display.ts --format=esm --metafile=dist/meta.json --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --sourcemap && tsc --emitDeclarationOnly --project tsconfig.build.json",
20
+ "build-esm": "esbuild src/index.ts --bundle --format=esm --platform=node --packages=external --metafile=dist/meta.json --keep-names --tsconfig=tsconfig.build.json --outfile=./dist/index.js --sourcemap && esbuild src/orchestrator.ts src/setup.ts src/resolve.ts src/worktree.ts src/progress.ts src/merge.ts src/display.ts --format=esm --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --sourcemap && tsc --emitDeclarationOnly --project tsconfig.build.json",
21
21
  "copy": "mkdir -p ./dist/skills ./dist/docs-templates && cp -r ./src/skills/* ./dist/skills && cp -r ./src/docs-templates/* ./dist/docs-templates",
22
22
  "clone-skills": "bash scripts/clone-skills.sh",
23
23
  "toc": "markdown-toc --maxdepth 3 -i README.md",