agent-work-loop 0.6.31 → 0.6.33
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/{brief-ZZSQ6RQS.js → brief-IE2AC5XA.js} +5 -5
- package/dist/{changelog-JWLVVHZL.js → changelog-7XV2TAVB.js} +5 -5
- package/dist/{chunk-22SUY5RE.js → chunk-3ADAPFWK.js} +6 -6
- package/dist/{chunk-Z3QCPOOA.js → chunk-C2EWSFNH.js} +2 -2
- package/dist/{chunk-Q7V3WVKT.js → chunk-EW5CLZ7C.js} +4 -4
- package/dist/{chunk-3UPF7LZT.js → chunk-HNBBLKNT.js} +5 -5
- package/dist/{chunk-RNZCRXE3.js → chunk-I2F7DUOQ.js} +5 -5
- package/dist/{chunk-RRQYSRRT.js → chunk-IQNGZFEK.js} +5 -5
- package/dist/{chunk-7NOHUUXV.js → chunk-L3G3B7FT.js} +73 -12
- package/dist/{chunk-TTZY2GLK.js → chunk-LX57XSW3.js} +1 -1
- package/dist/{chunk-YP4VCWPV.js → chunk-NV5FE6II.js} +3 -3
- package/dist/{chunk-5APWNDRG.js → chunk-OA346OKL.js} +2 -2
- package/dist/{chunk-SV4D72NX.js → chunk-Q34HYTEX.js} +2 -2
- package/dist/{chunk-JPFGMDQ4.js → chunk-RBLDM2LU.js} +62 -42
- package/dist/{chunk-DIRYW77S.js → chunk-RQZBANFI.js} +5 -5
- package/dist/{chunk-45X7T64Y.js → chunk-SUF5ISJM.js} +63 -20
- package/dist/{chunk-77EZYCLF.js → chunk-TWL3QIQN.js} +2 -2
- package/dist/{chunk-2DAP3QBU.js → chunk-XFYYCBQD.js} +221 -126
- package/dist/cli.js +41 -42
- package/dist/{commit-3UZE7XJM.js → commit-QPFG6Y6H.js} +6 -6
- package/dist/{config-DAD4LIWR.js → config-7OAT6KH3.js} +3 -3
- package/dist/{doctor-AW65MZKN.js → doctor-E56OQZZH.js} +8 -8
- package/dist/{evolve-K4WKRA6U.js → evolve-QJACOUJV.js} +7 -7
- package/dist/{feedback-3C33YHKF.js → feedback-3K6AJBG5.js} +5 -5
- package/dist/{gotchas-IGEQILOO.js → gotchas-LZYMD22W.js} +7 -7
- package/dist/{hold-recheck-THSJKF5G.js → hold-recheck-GCQRCB5X.js} +16 -16
- package/dist/{init-MRJEU7IR.js → init-7BDRW6AP.js} +12 -2
- package/dist/lane-V3EFI7SW.js +41 -0
- package/dist/{loop-summary-MPEKQ2EC.js → loop-summary-QNH423MW.js} +6 -6
- package/dist/{metrics-64WBBQQX.js → metrics-HCUMZSAU.js} +4 -4
- package/dist/{record-GAWMF7KL.js → record-A35XVG5F.js} +5 -5
- package/dist/{remove-ELP4MFVE.js → remove-SSTHJZ5G.js} +15 -15
- package/dist/{review-A5Q7NSOD.js → review-44SX5ERY.js} +13 -13
- package/dist/{rules-BEQT7YVN.js → rules-GSOMM5VP.js} +8 -8
- package/dist/{state-RDKIOU25.js → state-46G4FKH3.js} +4 -4
- package/dist/status-RHIO7OI6.js +40 -0
- package/dist/{update-7RQQJ2TH.js → update-AKGNAL2F.js} +2 -2
- package/dist/{verify-UUJ6KD37.js → verify-R3ISFRBC.js} +10 -10
- package/dist/version-check-2DSSLKUD.js +14 -0
- package/dist/work-ETVZJUFX.js +60 -0
- package/engine/version.json +1 -1
- package/package.json +1 -1
- package/dist/lane-ZQVD7EDE.js +0 -41
- package/dist/status-FP73XOZS.js +0 -40
- package/dist/version-check-H2T3WW3I.js +0 -14
- package/dist/work-HWJSUWBR.js +0 -50
|
@@ -356,7 +356,15 @@ var UNICODE_SYMBOLS = {
|
|
|
356
356
|
radioOn: "\u25CF",
|
|
357
357
|
radioOff: "\u25CB",
|
|
358
358
|
checkOn: "\u2611",
|
|
359
|
-
checkOff: "\u2610"
|
|
359
|
+
checkOff: "\u2610",
|
|
360
|
+
flowStart: "\u250C",
|
|
361
|
+
flowStep: "\u25C7",
|
|
362
|
+
// radioOn 과 같은 문자(●)를 재사용한다 — "사용자가 고름"이라는 의미가 실제로
|
|
363
|
+
// 같고(체크된 라디오), ASCII 대체는 폭이 달라(radioOn 은 3칸 "(*)") 별도 필드로 둔다.
|
|
364
|
+
flowSelect: "\u25CF",
|
|
365
|
+
flowActive: "\u25C6",
|
|
366
|
+
flowLine: "\u2502",
|
|
367
|
+
flowEnd: "\u2514"
|
|
360
368
|
};
|
|
361
369
|
var ASCII_SYMBOLS = {
|
|
362
370
|
boxTL: "+",
|
|
@@ -373,7 +381,13 @@ var ASCII_SYMBOLS = {
|
|
|
373
381
|
radioOn: "(*)",
|
|
374
382
|
radioOff: "( )",
|
|
375
383
|
checkOn: "[x]",
|
|
376
|
-
checkOff: "[ ]"
|
|
384
|
+
checkOff: "[ ]",
|
|
385
|
+
flowStart: "+",
|
|
386
|
+
flowStep: "o",
|
|
387
|
+
flowSelect: "*",
|
|
388
|
+
flowActive: ">",
|
|
389
|
+
flowLine: "|",
|
|
390
|
+
flowEnd: "+"
|
|
377
391
|
};
|
|
378
392
|
function makeSymbols(c) {
|
|
379
393
|
return c.unicode ? UNICODE_SYMBOLS : ASCII_SYMBOLS;
|
|
@@ -390,27 +404,50 @@ function viewportWidth() {
|
|
|
390
404
|
}
|
|
391
405
|
return HARD_MAX_WIDTH;
|
|
392
406
|
}
|
|
393
|
-
|
|
407
|
+
var FLOW_PAD = 2;
|
|
408
|
+
function flowMaxInner(minInnerWidth) {
|
|
409
|
+
return Math.max(minInnerWidth, Math.min(HARD_MAX_WIDTH, viewportWidth() - (2 + FLOW_PAD * 2)));
|
|
410
|
+
}
|
|
411
|
+
function flowBodyRows(lines, c, minInnerWidth) {
|
|
394
412
|
const s = makeSymbols(c);
|
|
395
413
|
const t = makeTokens(c);
|
|
396
|
-
const
|
|
397
|
-
const maxInner = Math.max(
|
|
398
|
-
minInnerWidth,
|
|
399
|
-
Math.min(HARD_MAX_WIDTH, viewportWidth() - (2 + pad * 2))
|
|
400
|
-
);
|
|
414
|
+
const maxInner = flowMaxInner(minInnerWidth);
|
|
401
415
|
const wrapped = lines.flatMap((line) => wrapToWidth(line, maxInner, { hanging: true }));
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
const
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
const
|
|
412
|
-
|
|
413
|
-
|
|
416
|
+
return wrapped.map((text) => `${t.frame(s.flowLine)}${" ".repeat(FLOW_PAD)}${text}`);
|
|
417
|
+
}
|
|
418
|
+
function flowOpen(title, c = caps(), minInnerWidth = 0) {
|
|
419
|
+
const s = makeSymbols(c);
|
|
420
|
+
const t = makeTokens(c);
|
|
421
|
+
const safeTitle = truncateToWidth(title, flowMaxInner(minInnerWidth));
|
|
422
|
+
return `${t.frame(s.flowStart)}${" ".repeat(FLOW_PAD)}${t.emphasis(t.accent(safeTitle))}`;
|
|
423
|
+
}
|
|
424
|
+
function flowStepLine(title, c = caps()) {
|
|
425
|
+
const s = makeSymbols(c);
|
|
426
|
+
return `${makeTokens(c).frame(s.flowStep)}${" ".repeat(FLOW_PAD)}${title}`;
|
|
427
|
+
}
|
|
428
|
+
function flowSelectLine(title, c = caps()) {
|
|
429
|
+
const s = makeSymbols(c);
|
|
430
|
+
return `${makeTokens(c).frame(s.flowSelect)}${" ".repeat(FLOW_PAD)}${title}`;
|
|
431
|
+
}
|
|
432
|
+
function flowConnector(c = caps()) {
|
|
433
|
+
return makeTokens(c).frame(makeSymbols(c).flowLine);
|
|
434
|
+
}
|
|
435
|
+
function flowClose(c = caps()) {
|
|
436
|
+
return makeTokens(c).frame(makeSymbols(c).flowEnd);
|
|
437
|
+
}
|
|
438
|
+
function flowActiveNode(title, lines, c = caps(), minInnerWidth = 0) {
|
|
439
|
+
const s = makeSymbols(c);
|
|
440
|
+
const t = makeTokens(c);
|
|
441
|
+
const safeTitle = truncateToWidth(title, flowMaxInner(minInnerWidth));
|
|
442
|
+
const header = `${t.frame(s.flowActive)}${" ".repeat(FLOW_PAD)}${t.emphasis(t.accent(safeTitle))}`;
|
|
443
|
+
return [header, ...flowBodyRows(lines, c, minInnerWidth)].join("\n");
|
|
444
|
+
}
|
|
445
|
+
function sectionBox(title, lines, c = caps(), minInnerWidth = 0) {
|
|
446
|
+
return [
|
|
447
|
+
flowOpen(title, c, minInnerWidth),
|
|
448
|
+
...flowBodyRows(lines, c, minInnerWidth),
|
|
449
|
+
flowClose(c)
|
|
450
|
+
].join("\n");
|
|
414
451
|
}
|
|
415
452
|
var RESET = "\x1B[0m";
|
|
416
453
|
function ansi(code, str, enabled) {
|
|
@@ -512,6 +549,12 @@ export {
|
|
|
512
549
|
clipToWidth,
|
|
513
550
|
padEndDisplay,
|
|
514
551
|
makeSymbols,
|
|
552
|
+
flowOpen,
|
|
553
|
+
flowStepLine,
|
|
554
|
+
flowSelectLine,
|
|
555
|
+
flowConnector,
|
|
556
|
+
flowClose,
|
|
557
|
+
flowActiveNode,
|
|
515
558
|
sectionBox,
|
|
516
559
|
makeTokens,
|
|
517
560
|
signal,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectRoot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RBLDM2LU.js";
|
|
4
4
|
import {
|
|
5
5
|
caps,
|
|
6
6
|
makeColors,
|
|
7
7
|
sectionBox
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SUF5ISJM.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/state.ts
|
|
11
11
|
import fs from "fs";
|