elanous 0.2.27 → 0.2.29
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/apps/pwa/out/404/index.html +1 -1
- package/apps/pwa/out/404.html +1 -1
- package/apps/pwa/out/_next/static/{Ev2jivDMTSoEc-5rIXdcy → cIpv5nU9AycwYWZI9H589}/_buildManifest.js +1 -1
- package/apps/pwa/out/_next/static/chunks/{ab4d57c2.e90bc2cb31949045.js → 058a98ba.7eb28d5e6dc03565.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{4565-67e4c620597965c8.js → 1015-9cba22a5a4554797.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/1084-4e66af7376a18db7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1106.3a6410b7b0c70ad4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1127.32fc642f70423506.js +8 -0
- package/apps/pwa/out/_next/static/chunks/{1516.83dd2c1b86b4e507.js → 1142.65d002789ab3af7d.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/1189-d9b8e1995a831fae.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1224.6da98c7ad0eb7dd8.js +34 -0
- package/apps/pwa/out/_next/static/chunks/1370.4e3e2558f111fd5d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1514-b7da377fdc4eb17a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1516.dfaceff3fd2d0e0d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1577.3c24c32584e10d70.js +286 -0
- package/apps/pwa/out/_next/static/chunks/161.130a569855c4d68c.js +24 -0
- package/apps/pwa/out/_next/static/chunks/1782-59db1b5aa06df38a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{1743.563d3168e95825ef.js → 1852.7f7b53991fcb99ef.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/1864.16da9556e78a9236.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1b6f6b2a.aff090122be3726e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2341.e8a9135e5b910dd5.js +36 -0
- package/apps/pwa/out/_next/static/chunks/257.10afdbe3520f2fc2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2658.87550e692dc493f6.js +64 -0
- package/apps/pwa/out/_next/static/chunks/2673.85e2f02efae7a85f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2766-bee623b37472ed63.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2794.6d836872b0bf43e2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2806.eb57ced1a528ed39.js +1 -0
- package/apps/pwa/out/_next/static/chunks/283.7a121c4910e6dad7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{65ebff95.081daeff622d238e.js → 285adb1a.5654e605dddf86d2.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/2870.1dc29aa5fc01f09f.js +115 -0
- package/apps/pwa/out/_next/static/chunks/293.fd38e77ce5d48103.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2993-5952a1cd3fd5d441.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3160-95c96f4d2a21dd26.js +1 -0
- package/apps/pwa/out/_next/static/chunks/32-a523427c5bd5ed00.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3280.af38002a6424a905.js +90 -0
- package/apps/pwa/out/_next/static/chunks/328bb3ab-6628a1114fe3fb3b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3292-5ddffdb2f517b44f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{9917-9e26abc5f7772735.js → 3396-97b97928c49190c9.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{6196.34d6b229079e9e28.js → 3403.7199205e65124486.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3523.d3231daaf7aba993.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3763.577de3181e1e6ea0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4138-cc56b0938ef72783.js +1 -0
- package/apps/pwa/out/_next/static/chunks/419.736c0d6f426249a7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4255-8350c43d307a8875.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6def8a8e.c81f9ca41028eccf.js → 425cfc4d.fb91158e3971c39f.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/4352.a4954693499c2714.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4421-f2dcbc6fd80ec013.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4513-51b94aeee37c9905.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{16e57f67.3ea19e893461e611.js → 46bd8bea.2f4b4099172fcdb7.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{5081.a240b63fad28663a.js → 4759.1f76713aefb87db5.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/4928-c3b72f99aa588699.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4986-f9fc0283fb325219.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5014.671a7b9f69c2b7b1.js +94 -0
- package/apps/pwa/out/_next/static/chunks/5137.d398e24710b3feb6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5298.0bea74885cabe754.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5315.74c53a39739b11c4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5317-8b1df8d02105cd07.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5358-33051f41a2b239af.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5388.a2ec02501f714ad5.js +62 -0
- package/apps/pwa/out/_next/static/chunks/5395.e6ac948a2d15058d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5409-f282bf533c151849.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5466.d0f4aba9d52acfa8.js +27 -0
- package/apps/pwa/out/_next/static/chunks/5564.3d28b353470fe305.js +104 -0
- package/apps/pwa/out/_next/static/chunks/{9974.e77b4ff4884557b3.js → 5591.a35e7a217734a8b9.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/569.b0cbfb4dee4a167a.js +93 -0
- package/apps/pwa/out/_next/static/chunks/5835-72465b73a8bb8d74.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5941.045d6093139e1f7a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5492-e05e26a033ba80d2.js → 6013-2f769370d8b4c2c6.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/6228.47cabb83564dfe54.js +24 -0
- package/apps/pwa/out/_next/static/chunks/6457-8d1993002a87d0fe.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6513.ef54cfae52351982.js +2 -0
- package/apps/pwa/out/_next/static/chunks/{5408.377c8c543635b81f.js → 6534.1ab00f370db7b105.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/6582.13d245bf87df69f1.js +148 -0
- package/apps/pwa/out/_next/static/chunks/6655.c33f6acc2c61bb89.js +149 -0
- package/apps/pwa/out/_next/static/chunks/6731-9d7195af289c8d4c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6733.0be05b1db9279fc5.js +79 -0
- package/apps/pwa/out/_next/static/chunks/6742-90937146253a8b9e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{8578.dff22d988cc2b106.js → 6767.1fcfc9b8be83975f.js} +16 -16
- package/apps/pwa/out/_next/static/chunks/6776.06ff1e3b464cc607.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{9311.24c8f5ea793253dd.js → 6853.cc5174a9dee59593.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/687-816858f77a396a4e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6888.72c7b8cfb02a7e61.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6993.c17c828ac3ef3253.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7076.9f27ef666b0cefdd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7113.1403c5d451804e8c.js +287 -0
- package/apps/pwa/out/_next/static/chunks/7169.9dd603c726c2cd7c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7247-e3ec21f761f86710.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7261-a47b72f96f5199df.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7335-5cda81ac90310077.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7356-c2e4af090546e2d4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{94.4cfed21c0b781a06.js → 7375.050ea0d72968e49f.js} +16 -16
- package/apps/pwa/out/_next/static/chunks/738-59518742078fda71.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7385.a7375f10db73243a.js +77 -0
- package/apps/pwa/out/_next/static/chunks/7445.cf1cf2fe109bcd96.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7505.a2057432ab6ef99a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7515.31f45fac1f9c70cb.js +74 -0
- package/apps/pwa/out/_next/static/chunks/7658-d4ce8c72a9548a91.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7725-4f83d5541fbdb81b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8107-0b1ae46bc5bcb788.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8132.bfea2f016ce8d992.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8332.6f0f49df772e163b.js +23 -0
- package/apps/pwa/out/_next/static/chunks/{7483.ba01c6c209b81bba.js → 8398.73a19b39715eda04.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{2846.d6a433b8663819a5.js → 8471.8d2a8c74f09c36ff.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/8672.e299832bc7d18ee2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8735.f1ef798a5f260f6f.js +226 -0
- package/apps/pwa/out/_next/static/chunks/{5785-ea8d2c633b6688e3.js → 8767-2f6a634f5abeaa01.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/8774-88f67f7d8d53d299.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8782.252e5a405d86e4ed.js +32 -0
- package/apps/pwa/out/_next/static/chunks/8795.32573a185af18c7b.js +41 -0
- package/apps/pwa/out/_next/static/chunks/909-9ed7aa0dba804316.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9100.22b0301256827007.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9140-dde77575570bc71e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{4593.10f5b9bd702d4a6c.js → 9143.ff14585db1d275ff.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9292-a7ad9a01c7044b93.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9517.00627dc51b02821c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9725.dcbb585652d8e9c5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9761.a3ebf5c389c24ddc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{4204.a409ab6250c0f6a8.js → 9907.49be0fcadaf214b5.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9972.834d2b2b7d48f1ed.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9995-1a90486f5ae01546.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{973cbf1b.3bbcf2b41548eca7.js → a435ad95.577add051b4facb2.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-83372d8b5863ebf7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-d69256d7613c140a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-352c5e9ba3f9b858.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/board/page-69f1d725524201a8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-a5635eba0d73b84e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/bots/page-ad9181d84285e4ea.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-86feb08080261a2f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/chat/page-ffa15987e4756d03.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/consult/page-11a3ab44ac327cc1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/control/page-6309b11c4264d24d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-8800472079612e87.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-d387bf3f2301882a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/editor/page-048f88d8c8658da6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/exec/page-6c14f9739b7f6880.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/field/page-2834f44f64e98d74.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-83372d8b5863ebf7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/inside/page-a13df6f88e824887.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/intake/page-8a4397248754cf2b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/layout-daf0bd329360a336.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live/page-f7ef1c28764cb476.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-61e74f28b9353dac.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/loops/{page-ff27902d0b11ef4f.js → page-8aaa6dedc4c10dfb.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-294602ba649be829.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-5fa5f41ed3fce323.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/morning/{page-25a302273b054fd7.js → page-33bf667a5fb297bf.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-5ae3cbd6e5dba515.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-eb867d16ad6fdede.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-1ab789fa68682f7e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-6fd41b5b6ff13a71.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-fb3d5f7642c99fba.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-70f705b2b5ed42ca.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/page-c9c93b358a7667b5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-1563c556b81c96ed.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-ce89c20c45b3a673.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-423ae63d786f4ee9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-591a5378a4c4447c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/page-a250496b19a5824b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-c36a9277febc5911.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-83372d8b5863ebf7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/page-29900ed0011b2c83.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/share/page-a5de57edc6d7f942.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-16bdd4c9f40498df.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-75e946e6e71cc6d8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/term/{page-87b88f551f421d8b.js → page-9eb56166774eb256.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-1c5f9ef35dbb22c5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/trace/page-657ff9985e508498.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/vault/page-22dc72499da68fb2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-9f92737b8766009a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-094ad334e40f8169.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-8bcd379852ff6287.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-6b04413f280cd344.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{f4dfbfc0.a69fb12f854882aa.js → bc324b7c.02a09dd93f6a399b.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/de70ab42-d28d47437208d458.js +1 -0
- package/apps/pwa/out/_next/static/chunks/f800c5e3.46dbd7f2af8c3fce.js +1 -0
- package/apps/pwa/out/_next/static/chunks/f8bc19ad.47579f6d684b0760.js +122 -0
- package/apps/pwa/out/_next/static/chunks/framework-ca9ac4609fb9fed8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-app-0dd08d32d15a030f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-f0399d33955c4e01.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_app-d42caca6f8ac2211.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_error-42e713c13aa41ca8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/webpack-8fbf8f61a377aa16.js +1 -0
- package/apps/pwa/out/approvals/index.html +1 -1
- package/apps/pwa/out/approvals/index.txt +22 -22
- package/apps/pwa/out/autopilot/index.html +1 -1
- package/apps/pwa/out/autopilot/index.txt +22 -22
- package/apps/pwa/out/board/index.html +1 -1
- package/apps/pwa/out/board/index.txt +22 -22
- package/apps/pwa/out/botlab/index.html +1 -1
- package/apps/pwa/out/botlab/index.txt +21 -21
- package/apps/pwa/out/bots/index.html +1 -1
- package/apps/pwa/out/bots/index.txt +21 -21
- package/apps/pwa/out/ceo/index.html +1 -1
- package/apps/pwa/out/ceo/index.txt +22 -22
- package/apps/pwa/out/chat/index.html +1 -1
- package/apps/pwa/out/chat/index.txt +21 -21
- package/apps/pwa/out/consult/index.html +1 -1
- package/apps/pwa/out/consult/index.txt +22 -22
- package/apps/pwa/out/control/index.html +1 -1
- package/apps/pwa/out/control/index.txt +22 -22
- package/apps/pwa/out/decisions/index.html +1 -1
- package/apps/pwa/out/decisions/index.txt +21 -21
- package/apps/pwa/out/design-check/index.html +1 -1
- package/apps/pwa/out/design-check/index.txt +22 -22
- package/apps/pwa/out/editor/index.html +1 -1
- package/apps/pwa/out/editor/index.txt +22 -22
- package/apps/pwa/out/exec/index.html +1 -1
- package/apps/pwa/out/exec/index.txt +22 -22
- package/apps/pwa/out/field/index.html +1 -1
- package/apps/pwa/out/field/index.txt +22 -22
- package/apps/pwa/out/healthz +1 -1
- package/apps/pwa/out/index.html +1 -1
- package/apps/pwa/out/index.txt +21 -21
- package/apps/pwa/out/inside/index.html +1 -1
- package/apps/pwa/out/inside/index.txt +21 -21
- package/apps/pwa/out/intake/index.html +1 -1
- package/apps/pwa/out/intake/index.txt +22 -22
- package/apps/pwa/out/live/index.html +1 -1
- package/apps/pwa/out/live/index.txt +22 -22
- package/apps/pwa/out/live-run/index.html +1 -1
- package/apps/pwa/out/live-run/index.txt +22 -22
- package/apps/pwa/out/loops/index.html +1 -1
- package/apps/pwa/out/loops/index.txt +21 -21
- package/apps/pwa/out/market/index.html +1 -1
- package/apps/pwa/out/market/index.txt +21 -21
- package/apps/pwa/out/missions/placeholder/index.html +1 -1
- package/apps/pwa/out/missions/placeholder/index.txt +21 -21
- package/apps/pwa/out/morning/index.html +1 -1
- package/apps/pwa/out/morning/index.txt +22 -22
- package/apps/pwa/out/observatory/index.html +1 -1
- package/apps/pwa/out/observatory/index.txt +22 -22
- package/apps/pwa/out/ops/checklist/index.html +1 -1
- package/apps/pwa/out/ops/checklist/index.txt +21 -21
- package/apps/pwa/out/ops/release/index.html +1 -1
- package/apps/pwa/out/ops/release/index.txt +21 -21
- package/apps/pwa/out/ops/seats/index.html +1 -1
- package/apps/pwa/out/ops/seats/index.txt +21 -21
- package/apps/pwa/out/outputs/index.html +1 -1
- package/apps/pwa/out/outputs/index.txt +21 -21
- package/apps/pwa/out/reflection/index.html +1 -1
- package/apps/pwa/out/reflection/index.txt +22 -22
- package/apps/pwa/out/scheduler/index.html +1 -1
- package/apps/pwa/out/scheduler/index.txt +22 -22
- package/apps/pwa/out/sessions/index.html +1 -1
- package/apps/pwa/out/sessions/index.txt +21 -21
- package/apps/pwa/out/settings/devices/index.html +1 -1
- package/apps/pwa/out/settings/devices/index.txt +22 -22
- package/apps/pwa/out/settings/index.html +1 -1
- package/apps/pwa/out/settings/index.txt +22 -22
- package/apps/pwa/out/setup/done/index.html +1 -1
- package/apps/pwa/out/setup/done/index.txt +22 -22
- package/apps/pwa/out/setup/index.html +1 -1
- package/apps/pwa/out/setup/index.txt +22 -22
- package/apps/pwa/out/share/index.html +1 -1
- package/apps/pwa/out/share/index.txt +22 -22
- package/apps/pwa/out/showroom/index.html +1 -1
- package/apps/pwa/out/showroom/index.txt +21 -21
- package/apps/pwa/out/tasks/index.html +1 -1
- package/apps/pwa/out/tasks/index.txt +22 -22
- package/apps/pwa/out/term/index.html +1 -1
- package/apps/pwa/out/term/index.txt +22 -22
- package/apps/pwa/out/today/index.html +1 -1
- package/apps/pwa/out/today/index.txt +22 -22
- package/apps/pwa/out/trace/index.html +1 -1
- package/apps/pwa/out/trace/index.txt +22 -22
- package/apps/pwa/out/vault/index.html +1 -1
- package/apps/pwa/out/vault/index.txt +22 -22
- package/apps/pwa/out/workflows/chat-ui/index.html +1 -1
- package/apps/pwa/out/workflows/chat-ui/index.txt +22 -22
- package/apps/pwa/out/workflows/index.html +1 -1
- package/apps/pwa/out/workflows/index.txt +22 -22
- package/apps/pwa/out/workspace/index.html +1 -1
- package/apps/pwa/out/workspace/index.txt +22 -22
- package/apps/pwa/out/worktrees/index.html +1 -1
- package/apps/pwa/out/worktrees/index.txt +22 -22
- package/graphs/implement-loop.yaml +38 -1
- package/graphs/release/release-loop.yaml +6 -2
- package/graphs/steward/recipes.yaml +6 -0
- package/graphs/steward/release-day.yaml +23 -0
- package/graphs/steward/steward.yaml +9 -1
- package/graphs/work/code-pr.yaml +23 -0
- package/package.json +1 -1
- package/plugins/agent-team/agents/research.md +1 -0
- package/scripts/browser-observe-cycle.ts +76 -2
- package/scripts/ci-typecheck-changed.ts +53 -19
- package/scripts/coord-channel-watch.sh +26 -6
- package/scripts/coord-role-pack.ts +143 -0
- package/scripts/detect-test-interference.ts +31 -1
- package/scripts/lib/morning-report-options.ts +41 -0
- package/scripts/pr-land-extra-remote-gates.ts +49 -0
- package/scripts/release-loop/docs-node.ts +51 -22
- package/scripts/release-loop/gate-batch-safe.ts +23 -0
- package/scripts/release-loop/gate-history.ts +422 -0
- package/scripts/release-loop/gate-node.ts +336 -39
- package/scripts/release-loop/gate-triage-node.ts +190 -0
- package/scripts/release-loop/node-verdict.ts +3 -1
- package/scripts/release-loop/publish-node.ts +3 -0
- package/scripts/release-loop/spawn-lane.ts +68 -0
- package/scripts/release-loop/tui-node-checks.ts +28 -2
- package/scripts/release-loop/version-node.ts +62 -4
- package/scripts/skills/public-check.ts +5 -2
- package/scripts/test-deterministic.ts +549 -37
- package/scripts/usage-rollup.ts +11 -3
- package/scripts/ux-sim.ts +7 -1
- package/scripts/verify-kpack6-live.ts +230 -0
- package/src/acp/codex-plugins.ts +17 -0
- package/src/acp/core-turn-bridge.ts +98 -22
- package/src/acp/elanous-extensions.ts +2 -0
- package/src/acp/server.ts +2 -0
- package/src/agent/ref-grounding.ts +18 -0
- package/src/agent/task-notification.ts +2 -1
- package/src/agent-mission/in-agent-plugin.ts +8 -3
- package/src/agent-substrate/pr-reviewer.ts +29 -21
- package/src/agent-substrate/self-review-cli.ts +34 -10
- package/src/briefing/brief-items.ts +151 -35
- package/src/budget/llm-cost.ts +25 -2
- package/src/budget/pty-usage-reemit.ts +7 -0
- package/src/budget/run-usage-rollup.ts +9 -0
- package/src/budget/usage-daily-store.ts +98 -0
- package/src/budget/usage-outcomes.ts +32 -0
- package/src/capture/tui-self-report.ts +22 -4
- package/src/chat/index.ts +31 -10
- package/src/chat/pickers/modal-runtime.ts +1 -0
- package/src/chat/pickers/modals.ts +3 -1
- package/src/chat/turn-typeahead.ts +123 -16
- package/src/claims/claims-ledger.ts +23 -0
- package/src/claims/claims-render.ts +22 -2
- package/src/cli/brief-cli.ts +131 -10
- package/src/cli/claims-cli.ts +24 -4
- package/src/cli/dashboard-name-flag.ts +48 -0
- package/src/cli/doctor-cli.ts +80 -0
- package/src/cli/log-event-names.ts +12 -0
- package/src/cli/msg-cli.ts +210 -11
- package/src/cli/plugin-cli.ts +11 -3
- package/src/cli/pr-cli.ts +443 -104
- package/src/cli/pr-land-heavy-remote.ts +233 -0
- package/src/cli/pr-land-overlap-evidence.ts +104 -5
- package/src/cli/pr-land-refusal.ts +20 -0
- package/src/cli/pty-takeover-cli.ts +125 -16
- package/src/cli/release-cli.ts +46 -2
- package/src/cli/remote-resolve.ts +2 -1
- package/src/cli/rfc-cli.ts +24 -0
- package/src/cli/seat-cli.ts +26 -16
- package/src/cli/tailscale-serve.ts +5 -8
- package/src/cli/tasks-cli.ts +400 -27
- package/src/cli/usage-cli.ts +155 -16
- package/src/cli/usage-daily-cli.ts +84 -0
- package/src/context-bus/context-now.ts +82 -5
- package/src/core-turn/auth-rejected-notice.ts +41 -0
- package/src/core-turn/run-core-turn.ts +13 -2
- package/src/core-turn/run-goal-loop.ts +17 -1
- package/src/core-turn/short-question.ts +45 -12
- package/src/core-turn/types.ts +7 -0
- package/src/dashboard/acp-active-model.ts +40 -0
- package/src/dashboard/auto-compact-runtime.ts +2 -0
- package/src/dashboard/boot-banner.ts +80 -0
- package/src/dashboard/dashboard-status-lines.ts +11 -0
- package/src/dashboard/detail-viewer-runtime.ts +15 -2
- package/src/dashboard/event-loop-stall-monitor.ts +4 -0
- package/src/dashboard/first-screen-band.ts +63 -13
- package/src/dashboard/goal-loop-thinking.ts +16 -0
- package/src/dashboard/hitl-boot.ts +9 -4
- package/src/dashboard/index.ts +235 -389
- package/src/dashboard/input/chat-main-entry-runtime.ts +2 -0
- package/src/dashboard/input/chat-main-log-actions.ts +4 -0
- package/src/dashboard/input/chat-main-log-command.ts +12 -1
- package/src/dashboard/input/chat-main-plain-turn-runtime.ts +172 -3
- package/src/dashboard/input/chat-main-session.ts +6 -2
- package/src/dashboard/input/chat-main-slash-command.ts +7 -0
- package/src/dashboard/input/chat-main-turn.ts +2 -1
- package/src/dashboard/input/compact-prepass-recovery.ts +97 -0
- package/src/dashboard/input/dashboard-chord-actions.ts +10 -1
- package/src/dashboard/input/dashboard-chord-runtime.ts +2 -0
- package/src/dashboard/input/external-input-host.ts +45 -0
- package/src/dashboard/input/log-fold-binding.ts +18 -0
- package/src/dashboard/input/mouse-wiring.ts +17 -4
- package/src/dashboard/input/turn-steer-bridge.ts +94 -0
- package/src/dashboard/log-click-runtime.ts +5 -3
- package/src/dashboard/running-build-status.ts +74 -0
- package/src/dashboard/seat-boot-preamble.ts +113 -0
- package/src/dashboard/seat-local-instructions.ts +305 -0
- package/src/dashboard/skill-detection-runtime.ts +24 -4
- package/src/dashboard/slash-runtime/dashboard-handlers.ts +100 -28
- package/src/dashboard/slash-runtime/model-choices.ts +35 -0
- package/src/dashboard/term-slash-runtime.ts +15 -0
- package/src/dashboard/turn-preamble.ts +30 -2
- package/src/dashboard/turn-session-layers.ts +176 -0
- package/src/dashboard/turn-stream-formatter.ts +14 -6
- package/src/dashboard/turn-stream-presentation-applier.ts +8 -0
- package/src/domains/morning-report.ts +3 -1
- package/src/domains/release-tool.ts +8 -9
- package/src/domains/surface-events.ts +4 -1
- package/src/domains/watch-default-scheduler.ts +8 -9
- package/src/fold-stack.ts +24 -1
- package/src/git-fs/dirty.ts +32 -4
- package/src/git-fs/index.ts +43 -1
- package/src/github/pr-labels.ts +10 -4
- package/src/graph-runner/runner.ts +102 -14
- package/src/harness/harness-clean.ts +21 -3
- package/src/harness/harness-cli-command.ts +22 -6
- package/src/harness/harness-gc.ts +32 -5
- package/src/harness/harness-pod-dispatch.ts +11 -4
- package/src/hq/seats.ts +17 -3
- package/src/index.ts +48 -6
- package/src/input/external-input-queue.ts +219 -0
- package/src/intelligence-map/model-bench-scores.ts +102 -0
- package/src/interactive-terminal-modal.ts +13 -0
- package/src/llm/route-decision.ts +25 -0
- package/src/llm-stream-retry-display.ts +59 -0
- package/src/llm.ts +253 -55
- package/src/log-entry.ts +3 -3
- package/src/log-pane/search.ts +29 -4
- package/src/loops/agent-reply.ts +256 -0
- package/src/loops/budget.ts +37 -7
- package/src/loops/loop-cli.ts +3 -2
- package/src/loops/msg-address.ts +57 -0
- package/src/loops/msg-wake.ts +282 -0
- package/src/loops/orchestrator/inbox.ts +130 -0
- package/src/loops/orchestrator/resync-shadow.ts +100 -12
- package/src/loops/orchestrator/tick.ts +94 -3
- package/src/loops/registry.ts +42 -4
- package/src/maturity/feature-maturity.ts +1 -1
- package/src/memory.ts +20 -5
- package/src/msg/msg-sse-server.ts +141 -0
- package/src/msg/msg-store.ts +84 -14
- package/src/native-tool-catalog.ts +125 -0
- package/src/nexus/api/http-server.ts +5 -0
- package/src/nexus/api/ops-api.ts +2 -0
- package/src/nexus/api/project-autopsy.ts +127 -0
- package/src/nexus/api/terminals.ts +3 -0
- package/src/nexus/api/workflow-approvals.ts +2 -0
- package/src/nexus/onboarding/first-boot-wizard.ts +56 -2
- package/src/oauth/codex-account-store.ts +15 -3
- package/src/oauth/codex-billing-route.ts +31 -0
- package/src/ops/overview-collect.ts +19 -2
- package/src/panes/log-pane.ts +67 -8
- package/src/patents/ledger.ts +128 -0
- package/src/persona/presets.ts +44 -0
- package/src/plugins/install/market-fetch.ts +32 -1
- package/src/plugins/maker/wizard-generate.ts +6 -4
- package/src/pod-lease/admission.ts +116 -41
- package/src/preview/terminal.ts +14 -1
- package/src/prompt-cache/types.ts +2 -0
- package/src/prompt-enhance/enhance.ts +24 -8
- package/src/prompt-library/universal-preamble.ts +273 -56
- package/src/pty-shell/pty-control-ipc.ts +4 -1
- package/src/pty-shell/pty-manifest.ts +77 -5
- package/src/pty-shell/registry.ts +19 -2
- package/src/pty-shell/tui-run-state.ts +253 -0
- package/src/release-loop/checklist.ts +11 -0
- package/src/release-loop/light-rc.ts +28 -3
- package/src/release-loop/merged-pr-checklist.ts +24 -5
- package/src/release-loop/rehearsal.ts +1 -1
- package/src/release-loop/rubric.ts +70 -0
- package/src/render.ts +5 -1
- package/src/rfc-registry/registry.ts +88 -0
- package/src/seat-dispatch/seat-request-ledger.ts +4 -0
- package/src/seat-loop/knowhow-lint.ts +233 -0
- package/src/seat-loop/seat-pack.ts +16 -4
- package/src/seat-loop/seat-report.ts +42 -2
- package/src/seat-loop/traffic-signal.ts +7 -0
- package/src/self-dev/ask-launch-flow.ts +48 -8
- package/src/self-dev/ask-path-candidates.ts +69 -14
- package/src/self-dev/decompose-proposal.ts +43 -1
- package/src/self-dev/graph-journey-nodes.ts +2 -0
- package/src/self-dev/launch-preflight-text.ts +5 -1
- package/src/self-dev/launch-preflight.ts +143 -10
- package/src/self-dev/run-supervisor.ts +71 -5
- package/src/self-dev/shard-aggregate.ts +2 -0
- package/src/self-dev/shard-run.ts +23 -2
- package/src/self-health/signatures.ts +132 -0
- package/src/self-implement/doctor-visit.ts +118 -0
- package/src/self-implement/gate-cli.ts +17 -4
- package/src/self-implement/goal-author-decompose.ts +80 -16
- package/src/self-implement/goal-author.ts +116 -73
- package/src/self-implement/goal-authoring-grounding.ts +1 -1
- package/src/self-implement/goal-file-name.ts +65 -0
- package/src/self-implement/goal-new-paths.ts +4 -5
- package/src/self-implement/graph-authority.ts +17 -3
- package/src/self-implement/graph-yaml.ts +15 -7
- package/src/self-implement/ground-goal.ts +2 -1
- package/src/self-implement/headless-elanous-driver.ts +16 -1
- package/src/self-implement/host-regate.ts +58 -9
- package/src/self-implement/orchestrator.ts +3 -10
- package/src/self-implement/review-mustfix-class.ts +115 -0
- package/src/self-implement/rework-policy.ts +80 -2
- package/src/self-implement/run-ledger.ts +111 -7
- package/src/self-implement/running-runs.ts +10 -6
- package/src/self-implement/self-implement-runtime.ts +32 -0
- package/src/self-implement/speed-claims.ts +145 -6
- package/src/session/pending-input.ts +62 -11
- package/src/session-runtime/index.ts +7 -1
- package/src/skills/tools/ops-ledger.ts +707 -0
- package/src/skills/tools/persistent-grounding.ts +103 -8
- package/src/skills/tools/shell.ts +196 -2
- package/src/status/bar.ts +32 -2
- package/src/status/status-provider-info.ts +58 -0
- package/src/steward/rejudge-tick.ts +12 -1
- package/src/steward/release-day.ts +158 -0
- package/src/steward/resync-tick.ts +123 -0
- package/src/task-agent/actions.ts +1 -0
- package/src/task-agent/adopt-pr.ts +140 -0
- package/src/task-agent/board.ts +11 -1
- package/src/task-agent/card-evidence.ts +37 -5
- package/src/task-agent/cover.ts +84 -17
- package/src/task-agent/failure-notify.ts +61 -0
- package/src/task-agent/green-sweep.ts +170 -0
- package/src/task-agent/land-worktree.ts +52 -5
- package/src/task-agent/live-move-history.ts +1 -0
- package/src/task-agent/live-moves.ts +43 -12
- package/src/task-agent/parent-host.ts +1 -1
- package/src/task-agent/postland-card.ts +139 -0
- package/src/task-agent/rejudge-on-head.ts +109 -7
- package/src/task-agent/remote-rejudge-bind.ts +91 -0
- package/src/task-agent/repair-branch-cas.ts +182 -0
- package/src/task-agent/repair-cycle.ts +288 -0
- package/src/task-agent/repair-next-move.ts +31 -0
- package/src/task-agent/repair-review.ts +24 -0
- package/src/task-agent/repair-worker.ts +87 -0
- package/src/task-agent/review-result-capture.ts +2 -1
- package/src/task-agent/shadow.ts +13 -7
- package/src/task-agent/task-hand.ts +115 -6
- package/src/task-orchestrator/surfaces/kubectl-transient-retry.ts +51 -0
- package/src/task-orchestrator/surfaces/pod-command-job.ts +63 -7
- package/src/task-orchestrator/surfaces/pod-install-slots.ts +6 -11
- package/src/task-orchestrator/surfaces/pod-mirror-seed.ts +76 -0
- package/src/task-orchestrator/surfaces/pod-repair-commit.ts +96 -0
- package/src/task-orchestrator/surfaces/self-implement-pod.ts +175 -43
- package/src/telegram.ts +30 -1
- package/src/terminal/session-registry.ts +6 -0
- package/src/thinking-line.ts +12 -3
- package/src/tool-runtime/index.ts +4 -0
- package/src/tool-runtime/ops-ledger-runtimes.ts +84 -0
- package/src/tool-runtime/ref-consult-runtime.ts +17 -2
- package/src/tool-runtime/run-shell-runtime.ts +4 -1
- package/src/tool-runtime/self-cognition-runtimes.ts +5 -1
- package/src/tui.ts +5 -0
- package/src/user-config.ts +62 -7
- package/src/ux-sim/fake-llm.ts +29 -0
- package/src/ux-sim/fault-sqlite-busy.ts +50 -0
- package/src/ux-sim/in-process-cli.ts +175 -0
- package/src/version/packed-revision.json +1 -1
- package/apps/pwa/out/_next/static/chunks/1027.a0f04663d24c2779.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1038.676007ae505822e7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1113.a37eadf7f740d955.js +0 -1
- package/apps/pwa/out/_next/static/chunks/112-fa7c526c20ce1405.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1144.5fa1fa1d48dbcd12.js +0 -36
- package/apps/pwa/out/_next/static/chunks/1146.80d15ea7c6e6ee95.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1157.f08bf2b70915e176.js +0 -148
- package/apps/pwa/out/_next/static/chunks/119b405e.8fdd0e44d1ff37aa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1296.04560d98e73fbf51.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1314-f604ba013ec535b0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1454-a9c338f5bb556f42.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1464.f3209af0d8ae4ff2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1729-d73dd25e564679d4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1843.5924c24295243261.js +0 -27
- package/apps/pwa/out/_next/static/chunks/1987.e28149724b92918b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2066-5ca18ffa5a4be68b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2240.d10a66695155fd93.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2391.e2cbc98d4abbb41a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2528.3868070ef1be69f9.js +0 -24
- package/apps/pwa/out/_next/static/chunks/2566-734cb83bbd405886.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2697.76ca2ac3efef6f3b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/275.0e6bad414729bfa0.js +0 -32
- package/apps/pwa/out/_next/static/chunks/2803-33bdae771855a8d1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3143.257997a5f1ed79df.js +0 -34
- package/apps/pwa/out/_next/static/chunks/3259-86f3be56e43eaf6a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3280-e177c33bfbdcfb0a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3294-2b6a6d45a46a6c1c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3309.364573ceedbdfd5f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3522.758840fc5e7fe630.js +0 -287
- package/apps/pwa/out/_next/static/chunks/3525-a7c989c1a661e880.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3694.b1a66387756458c0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/370.124f9e678a76fc01.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3797-9643105335e660fe.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4084.15ecaf4240bd9e77.js +0 -286
- package/apps/pwa/out/_next/static/chunks/4089-b3382b8843114eee.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4293.928a8d573c16aab7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4402.f9238a3b18a7bd43.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4490-9b090b0f9427f902.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4548.13502d0ca3b4f862.js +0 -8
- package/apps/pwa/out/_next/static/chunks/4599-548bc96cda44a5a7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4625.206574e33a9e7ae8.js +0 -104
- package/apps/pwa/out/_next/static/chunks/4862-392c9a71f0d8dfb4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5054.2906d1b02542edc5.js +0 -149
- package/apps/pwa/out/_next/static/chunks/5102-c822bbbee5a022a4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5194-8c93f2e7e4b6f717.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5305-bacd7eca0b9a5848.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5311.9071ee3f44fd7ff5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5369.9f34353442daa421.js +0 -1
- package/apps/pwa/out/_next/static/chunks/589-49d730cb8138b397.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5904-264a6412ae3c9028.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5980.728531d5c566535c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/599-a914cc0468f56143.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6011.f525002e21bef0ac.js +0 -23
- package/apps/pwa/out/_next/static/chunks/6132.4381ab93683f1acf.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6149.2e698635e454d8f6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6356-0afafc4230cf9767.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6406.64756073f7df35b8.js +0 -77
- package/apps/pwa/out/_next/static/chunks/6479-16e62aedafa0e310.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6599.b5246b46a2453329.js +0 -64
- package/apps/pwa/out/_next/static/chunks/6610.5c26eec011565acb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/666.37d18474edc1c552.js +0 -2
- package/apps/pwa/out/_next/static/chunks/6904.a0b5b1ed4f2d2c20.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7247-1f4aba94aba50d9f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7274-e71a7c5b7760cd02.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7290.1fcaeef3adb5d0d4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7477-2c64e42760f82f33.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7505-47002b76ff1aef6c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7600-11884ca4da68e5d9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7607.40d8bb3689697ccb.js +0 -62
- package/apps/pwa/out/_next/static/chunks/7752.5cbdd0b433c54af9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7763.f51fcc19ca1414ec.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7785.846140c859b1adf6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7807-a0fdac6393e0bf36.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7837-20a63b4b7e9342b1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/800.7815414cf280545d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8085-1e5fce59500a2cc2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8100.415f2105faa63e97.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8290.701aa42ed13aa767.js +0 -226
- package/apps/pwa/out/_next/static/chunks/83a80514-b897b64df43ce108.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8444.d9c74214a3145a43.js +0 -93
- package/apps/pwa/out/_next/static/chunks/8569.98c915534928c7f9.js +0 -24
- package/apps/pwa/out/_next/static/chunks/8591.b1c7f876e5ec7cfb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8715-f63756021d3ab989.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8879.776c2ec7732aa114.js +0 -115
- package/apps/pwa/out/_next/static/chunks/8881.ddca15b3c82c490c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8946.5da5c87f32a2e1a8.js +0 -41
- package/apps/pwa/out/_next/static/chunks/9117.080b9b75be90e14d.js +0 -74
- package/apps/pwa/out/_next/static/chunks/9167.f3ecb28f367d6e69.js +0 -94
- package/apps/pwa/out/_next/static/chunks/9224.66095370ee28c93b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9238-0682b013c83d6449.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9449.d3ed795da4befb1c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/949.1e7d45ccb71580aa.js +0 -90
- package/apps/pwa/out/_next/static/chunks/9638-d268329f2c6f4f8d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9842-d6644eb53d3dc6bf.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9863.94ca3263e760696e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9938.b23e4d4dfa0114cd.js +0 -79
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-d9babd8795f396a5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-a1ce306364f08da9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-07110da72c45e68f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-d2d76d4a7eae91bd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-30007380f2e2a3c1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-e5a9302c105725a3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-b93c04b5311c97ec.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/chat/page-718a49e86bf25f9c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/consult/page-20662900d6b4b455.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/control/page-f707a509515ac50c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-6a16a48d1aa6e91f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-fcb06e305f515527.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/editor/page-6acf5ec4e6c6d1af.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/exec/page-39f82acf619cca23.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/field/page-7c2c8f81b185f9c0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-d9babd8795f396a5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/inside/page-ae7aff07e32676bb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-482c60c1bc540d0a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/layout-7cb996c1aa08b6f5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live/page-623e08fe4477d606.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-db460cd8aecb8490.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-8397a5c6ca569bf4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-1917ea87ea71ab6b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-670510eda8b9443f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-d73c3f1e00d93986.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-65caacf54389081e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-4bb7556e2e97a750.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-77e04b4f8762c666.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-15c0a4095baddfba.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/page-4eb96fc7241c2456.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-63e272a4cd3b6634.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-0d64ff212dc55d03.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-7f096248993fc2d4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-e47fc72049149a38.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-f7d808e31e005895.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-5c2b24b5496dad73.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-d9babd8795f396a5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/page-76cdb531668b5191.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/share/page-e2b63345bba1a11f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-d376e0c83edc041a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-d6db55fe2c04d128.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-dab163b338e3b966.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/trace/page-08019efef111ed2e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/vault/page-0260ffc7eda50db1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-980ce6fe36ad95eb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-99c4e6c7345a9156.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-0ab42e0f05823013.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-ad9220422d20ba33.js +0 -1
- package/apps/pwa/out/_next/static/chunks/dcf24383-2f82e35f2d827393.js +0 -1
- package/apps/pwa/out/_next/static/chunks/e117f801.e92bf10242653497.js +0 -1
- package/apps/pwa/out/_next/static/chunks/e87d89b9.2e71c0ae475d28a1.js +0 -122
- package/apps/pwa/out/_next/static/chunks/framework-bf135b997155e90e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-5571537543bea91c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-app-25c51c7df7f3a442.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_app-e3b2c1f5d82abd65.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_error-083f2e23e9bc3641.js +0 -1
- package/apps/pwa/out/_next/static/chunks/webpack-e94d22b7a028217b.js +0 -1
- package/src/dashboard/bench-slash-runtime.ts +0 -40
- package/src/dashboard/input/search-modal-router.ts +0 -9
- package/src/dashboard/modals/pane-key-router.ts +0 -27
- package/src/dashboard/view-slash-runtime.ts +0 -48
- /package/apps/pwa/out/_next/static/{Ev2jivDMTSoEc-5rIXdcy → cIpv5nU9AycwYWZI9H589}/_ssgManifest.js +0 -0
|
@@ -13,6 +13,55 @@ export interface TurnTypeaheadState {
|
|
|
13
13
|
buffer: string;
|
|
14
14
|
/** Enter 한 입력들. 턴 종료 뒤 입력 순서대로 자동 제출한다. */
|
|
15
15
|
queuedSubmissions: string[];
|
|
16
|
+
/**
|
|
17
|
+
* `queuedSubmissions` 와 같은 순서의 짝 — 턴 «안» 주입 레지스트리(`session/pending-input`) 항목 id.
|
|
18
|
+
* `null`(또는 칸이 모자람) = 레지스트리에 안 넣은 항목. ⭐ 이 id 로 배수·되꺼내기·턴 종료 승격을
|
|
19
|
+
* «짝지어» 떨어낸다 — 위치·문자열로 짝지으면 같은 발화가 두 번 들어간다(10-14 중복 수리).
|
|
20
|
+
*/
|
|
21
|
+
queuedPendingIds?: (string | null)[];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** 큐 길이에 맞춘 id 짝(모자라면 null 로 채운다). 순수. */
|
|
25
|
+
export function turnTypeaheadPendingIds(state: TurnTypeaheadState): (string | null)[] {
|
|
26
|
+
const ids = state.queuedPendingIds ?? [];
|
|
27
|
+
return state.queuedSubmissions.map((_, i) => ids[i] ?? null);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function presentIds(ids: readonly (string | null)[]): string[] {
|
|
31
|
+
return ids.filter((id): id is string => typeof id === 'string');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** 짝이 하나도 없으면 칸을 아예 안 둔다(`undefined` 키도 없이) — 레지스트리를 안 쓰는 경로의 상태 모양을 옛 그대로 둔다. */
|
|
35
|
+
function idsField(ids: readonly (string | null)[]): { queuedPendingIds?: (string | null)[] } {
|
|
36
|
+
return ids.some(id => id !== null) ? { queuedPendingIds: [...ids] } : {};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** 상태에서 id 짝 칸을 뗀다 — `idsField` 와 함께 써서 옛 짝이 스프레드로 살아남지 않게 한다. */
|
|
40
|
+
function withoutIds(state: TurnTypeaheadState): TurnTypeaheadState {
|
|
41
|
+
if (!('queuedPendingIds' in state)) return state;
|
|
42
|
+
const { queuedPendingIds: _ids, ...rest } = state;
|
|
43
|
+
return rest;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** 큐 index 번째 항목에 레지스트리 id 를 단다. 순수. 범위 밖이면 그대로. */
|
|
47
|
+
export function attachTurnTypeaheadPendingId(
|
|
48
|
+
state: TurnTypeaheadState,
|
|
49
|
+
index: number,
|
|
50
|
+
id: string,
|
|
51
|
+
): TurnTypeaheadState {
|
|
52
|
+
if (index < 0 || index >= state.queuedSubmissions.length) return state;
|
|
53
|
+
const ids = turnTypeaheadPendingIds(state);
|
|
54
|
+
ids[index] = id;
|
|
55
|
+
return { ...withoutIds(state), ...idsField(ids) };
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* 턴 «안» 주입(steer) 대상인가. ⛔ 슬래시는 뺀다 — 명령은 턴이 끝난 뒤 FIFO 로만 실행한다
|
|
60
|
+
* (모델에 `/…` 문면이 발화로 들어가면 명령이 아니라 잡음이다 · Claude Code 도 같은 경계에서 뺀다).
|
|
61
|
+
*/
|
|
62
|
+
export function isTurnTypeaheadSteerable(text: string): boolean {
|
|
63
|
+
const trimmed = text.trim();
|
|
64
|
+
return trimmed.length > 0 && !trimmed.startsWith('/');
|
|
16
65
|
}
|
|
17
66
|
|
|
18
67
|
export function createTurnTypeaheadState(): TurnTypeaheadState {
|
|
@@ -38,6 +87,8 @@ export type TurnTypeaheadKeyResult = {
|
|
|
38
87
|
immediateSubmission?: string;
|
|
39
88
|
/** 비어 있지 않은 Enter 입력의 제출 경로 분류. */
|
|
40
89
|
submissionDisposition?: 'immediate' | 'fifo';
|
|
90
|
+
/** 큐에서 «다른 길»로 빠진 항목의 레지스트리 id — 호출측이 레지스트리에서도 떨어낸다(되꺼내기). */
|
|
91
|
+
releasedPendingIds?: string[];
|
|
41
92
|
};
|
|
42
93
|
|
|
43
94
|
/** 등록소 소유의 관측용 표시 조회. 이름·문법·실행 정책은 이 순수 판정기에 두지 않는다. */
|
|
@@ -82,7 +133,11 @@ export function applyTurnTypeaheadKey(
|
|
|
82
133
|
// A registry lookup failure must preserve the typed input on the existing FIFO path.
|
|
83
134
|
}
|
|
84
135
|
return {
|
|
85
|
-
state: {
|
|
136
|
+
state: {
|
|
137
|
+
buffer: '',
|
|
138
|
+
queuedSubmissions: [...state.queuedSubmissions, state.buffer],
|
|
139
|
+
...idsField([...turnTypeaheadPendingIds(state), null]),
|
|
140
|
+
},
|
|
86
141
|
consumed: true,
|
|
87
142
|
changed: true,
|
|
88
143
|
submissionDisposition: 'fifo',
|
|
@@ -94,10 +149,16 @@ export function applyTurnTypeaheadKey(
|
|
|
94
149
|
if (key.name === 'up' && key.ctrl && !key.alt && !key.shift && !key.meta) {
|
|
95
150
|
const recalled = state.queuedSubmissions.at(-1);
|
|
96
151
|
if (recalled === undefined) return { state, consumed: false, changed: false };
|
|
152
|
+
const ids = turnTypeaheadPendingIds(state);
|
|
97
153
|
return {
|
|
98
|
-
state: {
|
|
154
|
+
state: {
|
|
155
|
+
buffer: state.buffer + recalled,
|
|
156
|
+
queuedSubmissions: state.queuedSubmissions.slice(0, -1),
|
|
157
|
+
...idsField(ids.slice(0, -1)),
|
|
158
|
+
},
|
|
99
159
|
consumed: true,
|
|
100
160
|
changed: true,
|
|
161
|
+
...(ids.at(-1) ? { releasedPendingIds: presentIds(ids.slice(-1)) } : {}),
|
|
101
162
|
};
|
|
102
163
|
}
|
|
103
164
|
|
|
@@ -114,13 +175,17 @@ export function restoreTurnTypeaheadSubmission(
|
|
|
114
175
|
state: TurnTypeaheadState,
|
|
115
176
|
text: string,
|
|
116
177
|
): TurnTypeaheadState {
|
|
117
|
-
return {
|
|
178
|
+
return {
|
|
179
|
+
...withoutIds(state),
|
|
180
|
+
queuedSubmissions: [...state.queuedSubmissions, text],
|
|
181
|
+
...idsField([...turnTypeaheadPendingIds(state), null]),
|
|
182
|
+
};
|
|
118
183
|
}
|
|
119
184
|
|
|
120
185
|
export type TurnTypeaheadHandoff =
|
|
121
186
|
| { kind: 'none' }
|
|
122
187
|
| { kind: 'prefill'; text: string }
|
|
123
|
-
| { kind: 'submit'; text: string };
|
|
188
|
+
| { kind: 'submit'; text: string; pendingId?: string };
|
|
124
189
|
|
|
125
190
|
/** 턴 종료 때 FIFO의 다음 항목 하나를 꺼낸다. 큐가 비면 미제출 buffer는 prefill한다. */
|
|
126
191
|
export function dequeueTurnTypeaheadHandoff(
|
|
@@ -128,7 +193,11 @@ export function dequeueTurnTypeaheadHandoff(
|
|
|
128
193
|
): { handoff: TurnTypeaheadHandoff; state: TurnTypeaheadState } {
|
|
129
194
|
const [next, ...queuedSubmissions] = state.queuedSubmissions;
|
|
130
195
|
if (next !== undefined) {
|
|
131
|
-
|
|
196
|
+
const [pendingId, ...queuedPendingIds] = turnTypeaheadPendingIds(state);
|
|
197
|
+
return {
|
|
198
|
+
handoff: pendingId ? { kind: 'submit', text: next, pendingId } : { kind: 'submit', text: next },
|
|
199
|
+
state: { ...withoutIds(state), queuedSubmissions, ...idsField(queuedPendingIds) },
|
|
200
|
+
};
|
|
132
201
|
}
|
|
133
202
|
if (!state.buffer) return { handoff: { kind: 'none' }, state };
|
|
134
203
|
return { handoff: { kind: 'prefill', text: state.buffer }, state: createTurnTypeaheadState() };
|
|
@@ -143,21 +212,35 @@ export function drainTurnTypeaheadOnce(
|
|
|
143
212
|
state: TurnTypeaheadState,
|
|
144
213
|
carriedInitial: string | null | undefined,
|
|
145
214
|
opts?: { interrupted?: boolean },
|
|
146
|
-
): {
|
|
215
|
+
): {
|
|
216
|
+
state: TurnTypeaheadState;
|
|
217
|
+
nextInitial: string | undefined;
|
|
218
|
+
injectEnter: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* ⭐ 이번 걸음에 큐를 «떠난» 항목의 레지스트리 id — 호출측이 레지스트리에서도 떨어낸다.
|
|
221
|
+
* 안 떨어내면 승격된 발화(새 프롬프트)가 다음 턴 둘째 바퀴에 «또» 들어가고(턴 종료),
|
|
222
|
+
* composer 로 돌아간 글이 고치기 전 문면으로 모델에 들어간다(중단 복원).
|
|
223
|
+
*/
|
|
224
|
+
releasedPendingIds: string[];
|
|
225
|
+
} {
|
|
147
226
|
if (opts?.interrupted && state.queuedSubmissions.length > 0) {
|
|
148
227
|
const restored = [...state.queuedSubmissions, ...(state.buffer ? [state.buffer] : [])].join('\n');
|
|
149
228
|
return {
|
|
150
229
|
state: createTurnTypeaheadState(),
|
|
151
230
|
nextInitial: carriedInitial ? `${carriedInitial}\n${restored}` : restored,
|
|
152
231
|
injectEnter: false,
|
|
232
|
+
releasedPendingIds: presentIds(turnTypeaheadPendingIds(state)),
|
|
153
233
|
};
|
|
154
234
|
}
|
|
155
235
|
const { handoff, state: remaining } = dequeueTurnTypeaheadHandoff(state);
|
|
156
|
-
if (handoff.kind === 'none')
|
|
236
|
+
if (handoff.kind === 'none') {
|
|
237
|
+
return { state: remaining, nextInitial: carriedInitial ?? undefined, injectEnter: false, releasedPendingIds: [] };
|
|
238
|
+
}
|
|
157
239
|
return {
|
|
158
240
|
state: remaining,
|
|
159
241
|
nextInitial: carriedInitial ? `${carriedInitial}${handoff.text}` : handoff.text,
|
|
160
242
|
injectEnter: handoff.kind === 'submit',
|
|
243
|
+
releasedPendingIds: handoff.kind === 'submit' && handoff.pendingId ? [handoff.pendingId] : [],
|
|
161
244
|
};
|
|
162
245
|
}
|
|
163
246
|
|
|
@@ -177,7 +260,7 @@ export function drainTurnTypeaheadQueue(
|
|
|
177
260
|
): { state: TurnTypeaheadState; drained: string[] } {
|
|
178
261
|
if (state.queuedSubmissions.length === 0) return { state, drained: [] };
|
|
179
262
|
return {
|
|
180
|
-
state: { ...state, queuedSubmissions: [] },
|
|
263
|
+
state: { ...withoutIds(state), queuedSubmissions: [] },
|
|
181
264
|
drained: [...state.queuedSubmissions],
|
|
182
265
|
};
|
|
183
266
|
}
|
|
@@ -185,8 +268,10 @@ export function drainTurnTypeaheadQueue(
|
|
|
185
268
|
/**
|
|
186
269
|
* ★ 라이브 턴 안으로 배수된 발화의 상태 전이 + 챗로그 문장. 순수.
|
|
187
270
|
*
|
|
188
|
-
*
|
|
189
|
-
* `slice(drained.length)`
|
|
271
|
+
* `items`(레지스트리 항목 · id 포함)를 주면 ***id 가 짝지어지는 항목만*** 떨어내고 문장도 그것만 적는다.
|
|
272
|
+
* ⛔ 앞에서부터 `slice(drained.length)` 하면 같은 버킷의 남의 항목(goal-loop 제어 메모)이나
|
|
273
|
+
* 이미 되꺼낸 항목 때문에 엉뚱한 대기 발화가 떨어진다(10-14 중복 수리).
|
|
274
|
+
* `items` 가 없으면 옛 계약(앞에서부터 떨어내기)을 지킨다.
|
|
190
275
|
* 버퍼는 건드리지 않는다. 배수된 것이 없으면 문장도 없다.
|
|
191
276
|
*
|
|
192
277
|
* 문면은 `renderTurnTypeaheadQueueRow` 와 나란히 읽힌다:
|
|
@@ -199,15 +284,37 @@ export function drainTurnTypeaheadQueue(
|
|
|
199
284
|
export function drainedIntoTurn(
|
|
200
285
|
state: TurnTypeaheadState,
|
|
201
286
|
drained: readonly string[],
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
287
|
+
items?: readonly { id: string; text: string }[],
|
|
288
|
+
): { state: TurnTypeaheadState; sentence: string | null; matched: string[] } {
|
|
289
|
+
if (drained.length === 0) return { state, sentence: null, matched: [] };
|
|
290
|
+
let next: TurnTypeaheadState;
|
|
291
|
+
let matched: string[];
|
|
292
|
+
if (items) {
|
|
293
|
+
const drainedIds = new Set(items.map(item => item.id));
|
|
294
|
+
const ids = turnTypeaheadPendingIds(state);
|
|
295
|
+
const keep = ids.map(id => id === null || !drainedIds.has(id));
|
|
296
|
+
matched = state.queuedSubmissions.filter((_, i) => !keep[i]);
|
|
297
|
+
next = {
|
|
298
|
+
...withoutIds(state),
|
|
299
|
+
queuedSubmissions: state.queuedSubmissions.filter((_, i) => keep[i]),
|
|
300
|
+
...idsField(ids.filter((_, i) => keep[i])),
|
|
301
|
+
};
|
|
302
|
+
} else {
|
|
303
|
+
matched = [...drained];
|
|
304
|
+
next = {
|
|
305
|
+
...withoutIds(state),
|
|
306
|
+
queuedSubmissions: state.queuedSubmissions.slice(drained.length),
|
|
307
|
+
...idsField(turnTypeaheadPendingIds(state).slice(drained.length)),
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
if (matched.length === 0) return { state: next, sentence: null, matched };
|
|
311
|
+
const count = matched.length;
|
|
206
312
|
const label = count === 1 ? '⏳ 턴 안 1건' : `⏳ 턴 안 ${count}건`;
|
|
207
|
-
const quoted =
|
|
313
|
+
const quoted = matched.map(text => `"${text}"`).join(' · ');
|
|
208
314
|
return {
|
|
209
|
-
state:
|
|
315
|
+
state: next,
|
|
210
316
|
sentence: `${label} · ${quoted} · 라이브 턴으로 전송`,
|
|
317
|
+
matched,
|
|
211
318
|
};
|
|
212
319
|
}
|
|
213
320
|
|
|
@@ -3,6 +3,7 @@ import { chmodSync, mkdirSync } from 'node:fs';
|
|
|
3
3
|
import { dirname, join } from 'node:path';
|
|
4
4
|
import { elanousStateRoot } from '../autopilot/state-paths.js';
|
|
5
5
|
import { debug } from '../debug/log.js';
|
|
6
|
+
import type { PatentCandidate, PatentLedger } from '../patents/ledger.js';
|
|
6
7
|
|
|
7
8
|
export type ClaimStatus = 'draft' | 'verified' | 'public' | 'stale' | 'retracted';
|
|
8
9
|
|
|
@@ -41,6 +42,19 @@ function iso(value: string, field: string): string {
|
|
|
41
42
|
return date.toISOString();
|
|
42
43
|
}
|
|
43
44
|
|
|
45
|
+
function patentClaimRow(candidate: PatentCandidate, owner: string, audience: string): ClaimRow {
|
|
46
|
+
return {
|
|
47
|
+
id: candidate.id,
|
|
48
|
+
claim: candidate.title,
|
|
49
|
+
audience,
|
|
50
|
+
status: 'public',
|
|
51
|
+
owner,
|
|
52
|
+
contrast: null,
|
|
53
|
+
created_at: candidate.created_at,
|
|
54
|
+
updated_at: candidate.updated_at,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
44
58
|
export class ClaimsLedger {
|
|
45
59
|
readonly path: string;
|
|
46
60
|
private readonly now: () => Date;
|
|
@@ -229,4 +243,13 @@ export class ClaimsLedger {
|
|
|
229
243
|
};
|
|
230
244
|
}));
|
|
231
245
|
}
|
|
246
|
+
|
|
247
|
+
/** 특허 원장의 공개 허용 상태 후보만 읽어 공개 주장 행으로 내온다 — 조사·명세·출원 상태 후보는 공개 주장으로 나오지 않는다. */
|
|
248
|
+
patentClaims(patents: PatentLedger, options: { owner: string; audience: string }): ClaimRow[] {
|
|
249
|
+
const owner = required(options.owner, 'owner');
|
|
250
|
+
const audience = required(options.audience, 'audience');
|
|
251
|
+
const rows = patents.listPublicCandidates().map(candidate => patentClaimRow(candidate, owner, audience));
|
|
252
|
+
debug.log('claims.ledger', 'patent-claims', { count: rows.length });
|
|
253
|
+
return rows;
|
|
254
|
+
}
|
|
232
255
|
}
|
|
@@ -6,6 +6,7 @@ import { BRAND_RULES_UNMEASURED, checkBrand } from '../../scripts/brand/check.js
|
|
|
6
6
|
import { debug } from '../debug/log.js';
|
|
7
7
|
import { effectiveInstanceRoot } from '../instance/resolve.js';
|
|
8
8
|
import type { ClaimsLedger, ClaimEvidence } from './claims-ledger.js';
|
|
9
|
+
import type { PatentLedger } from '../patents/ledger.js';
|
|
9
10
|
|
|
10
11
|
export type ClaimSurface = 'deck' | 'site' | 'notice';
|
|
11
12
|
export interface RenderedClaims {
|
|
@@ -49,12 +50,14 @@ export function representativeNumber(value: string): string | undefined {
|
|
|
49
50
|
return matches[0];
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
export function renderClaims(ledger: ClaimsLedger, options: { surface: ClaimSurface; audience?: string; rulesPath?: string }): RenderedClaims {
|
|
53
|
+
export function renderClaims(ledger: ClaimsLedger, options: { surface: ClaimSurface; audience?: string; rulesPath?: string; patents?: { ledger: PatentLedger; owner: string; audience: string } }): RenderedClaims {
|
|
53
54
|
const { surface, audience } = options;
|
|
54
55
|
if (!(surface in headings)) throw new Error(`invalid claims surface: ${surface}`);
|
|
55
56
|
const excluded: RenderedClaims['excluded'] = [];
|
|
56
57
|
const candidates: Array<{ id: string; line: string }> = [];
|
|
57
|
-
|
|
58
|
+
const rows = ledger.list();
|
|
59
|
+
const known = new Set(rows.map(row => row.id));
|
|
60
|
+
for (const row of rows) {
|
|
58
61
|
if (audience && !row.audience.split(',').includes(audience)) continue;
|
|
59
62
|
if (row.status !== 'public') {
|
|
60
63
|
excluded.push({ id: row.id, reason: row.status === 'stale' ? 'stale' : row.status === 'retracted' ? 'retracted' : 'not-public' });
|
|
@@ -83,6 +86,23 @@ export function renderClaims(ledger: ClaimsLedger, options: { surface: ClaimSurf
|
|
|
83
86
|
candidates.push({ id: row.id, line: `- ${claim} — ${number} <!-- claim:${row.id} measured:${evidence.measured_at} cmd:${commentValue(evidence.command)}${evidence.source ? ` source:${commentValue(evidence.source)}` : ''} --> <!-- src:${commentValue(evidence.source ?? evidence.command)} -->` });
|
|
84
87
|
}
|
|
85
88
|
|
|
89
|
+
// 공개 허용 상태는 렌더 시점에 특허 원장에서 읽는다. 임의의 ClaimRow 배열은 받지 않는다.
|
|
90
|
+
// 저장된 주장과 같은 식별자를 가진 유도 행은 원장 행이 이긴다.
|
|
91
|
+
for (const row of options.patents ? ledger.patentClaims(options.patents.ledger, options.patents) : []) {
|
|
92
|
+
if (known.has(row.id)) continue;
|
|
93
|
+
if (audience && !row.audience.split(',').includes(audience)) continue;
|
|
94
|
+
if (row.status !== 'public') {
|
|
95
|
+
excluded.push({ id: row.id, reason: 'not-public' });
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
const patentClaim = firstSentence(row.claim);
|
|
99
|
+
if (!patentClaim) {
|
|
100
|
+
excluded.push({ id: row.id, reason: 'brand' });
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
candidates.push({ id: row.id, line: `- ${patentClaim} <!-- claim:${row.id} patent --> <!-- src:patents -->` });
|
|
104
|
+
}
|
|
105
|
+
|
|
86
106
|
const rulesMissing = checkBrand(scopes[surface], [], options.rulesPath).missing;
|
|
87
107
|
if (rulesMissing) {
|
|
88
108
|
excluded.push(...candidates.map(({ id }) => ({ id, reason: 'rules-missing' as const })));
|
package/src/cli/brief-cli.ts
CHANGED
|
@@ -1,9 +1,97 @@
|
|
|
1
1
|
import type { Command } from 'commander';
|
|
2
2
|
import { BRIEF_DOMAINS, BRIEF_PRIORITIES, BRIEF_REACTIONS, BRIEF_SLOTS, BriefItemsInputError, BriefItemsLedger, type BriefDomain, type BriefPriority, type BriefReaction, type BriefSendSlot } from '../briefing/brief-items.js';
|
|
3
3
|
import { kindRouteTarget } from '../domains/telegram-kind-route.js';
|
|
4
|
-
import {
|
|
4
|
+
import { sendTelegramButtonsTo, type TgButton } from '../autopilot/mission-notify.js';
|
|
5
5
|
import { getUserConfig } from '../user-config.js';
|
|
6
6
|
|
|
7
|
+
export function briefFeedbackButtons(ids: readonly number[]): TgButton[][] {
|
|
8
|
+
return ids.map(id => [
|
|
9
|
+
{ text: `👀 ${id} 읽음`, data: `brief-item:${id}:read` },
|
|
10
|
+
{ text: `✅ ${id} 움직임`, data: `brief-item:${id}:button` },
|
|
11
|
+
{ text: `➖ ${id} 넘김`, data: `brief-item:${id}:ignore` },
|
|
12
|
+
]);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface BriefTelegramUpdate {
|
|
16
|
+
botId: string;
|
|
17
|
+
chatId: number;
|
|
18
|
+
messageId: number;
|
|
19
|
+
updateId: string;
|
|
20
|
+
text?: string;
|
|
21
|
+
callbackData?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export function recordBriefTelegramUpdate(ledger: BriefItemsLedger, update: BriefTelegramUpdate): boolean {
|
|
25
|
+
if (update.callbackData !== undefined) {
|
|
26
|
+
const match = /^brief-item:([1-9]\d*):(read|button|ignore)$/.exec(update.callbackData);
|
|
27
|
+
if (!match) return false;
|
|
28
|
+
return ledger.recordTelegramFeedback({ botId: update.botId, chatId: update.chatId,
|
|
29
|
+
messageId: update.messageId, updateId: update.updateId, itemId: Number(match[1]),
|
|
30
|
+
reaction: match[2] === 'read' ? '열람' : match[2] === 'ignore' ? '무시' : '버튼' });
|
|
31
|
+
}
|
|
32
|
+
if (!update.text?.trim()) return false;
|
|
33
|
+
const text = update.text.trim();
|
|
34
|
+
const itemId = /^(?:#|항목\s*)([1-9]\d*)(?=\s|[::]|$)/.exec(text)?.[1];
|
|
35
|
+
return ledger.recordTelegramFeedback({ botId: update.botId, chatId: update.chatId,
|
|
36
|
+
messageId: update.messageId, updateId: update.updateId,
|
|
37
|
+
...(itemId ? { itemId: Number(itemId) } : {}),
|
|
38
|
+
reaction: /그게 아니라|(?:^|\s)정정\s*[::]/.test(text) ? '정정' : '답장' });
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** Prefix each item line with `#<id>` so the 대표 can name the reply target ("#12 답장", "#12 그게 아니라 …"). */
|
|
42
|
+
function withItemNumbers(text: string, itemLines: ReadonlyMap<string, readonly number[]>): string {
|
|
43
|
+
const linePositions = new Map<string, number>();
|
|
44
|
+
return text.split('\n').map(line => {
|
|
45
|
+
const ids = itemLines.get(line);
|
|
46
|
+
if (!ids) return line;
|
|
47
|
+
const position = linePositions.get(line) ?? 0;
|
|
48
|
+
linePositions.set(line, position + 1);
|
|
49
|
+
const itemId = ids[position];
|
|
50
|
+
return itemId === undefined ? line : `#${itemId} ${line}`;
|
|
51
|
+
}).join('\n');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** Split only feedback-enabled pages; each Telegram message gets its own real item coordinate.
|
|
55
|
+
* Item lines carry their `#<id>` so a plain text reply can name its target item.
|
|
56
|
+
*/
|
|
57
|
+
function briefDeliveryParts(markdown: string, itemLines: ReadonlyMap<string, readonly number[]>): Array<{ text: string; itemId: number }> {
|
|
58
|
+
const parts: Array<{ text: string; itemId: number }> = [];
|
|
59
|
+
const linePositions = new Map<string, number>();
|
|
60
|
+
let pending = '';
|
|
61
|
+
for (const line of markdown.trimEnd().split('\n')) {
|
|
62
|
+
const ids = itemLines.get(line);
|
|
63
|
+
const position = linePositions.get(line) ?? 0;
|
|
64
|
+
const itemId = ids?.[position];
|
|
65
|
+
if (itemId === undefined) {
|
|
66
|
+
pending += `${line}\n`;
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
linePositions.set(line, position + 1);
|
|
70
|
+
const numbered = `#${itemId} ${line}`;
|
|
71
|
+
// Leave room for the Telegram sender's newline and keep a button on every fragment.
|
|
72
|
+
while (pending.length >= 3800) {
|
|
73
|
+
parts.push({ text: pending.slice(0, 3800), itemId });
|
|
74
|
+
pending = pending.slice(3800);
|
|
75
|
+
}
|
|
76
|
+
let remainder = pending + numbered;
|
|
77
|
+
do {
|
|
78
|
+
parts.push({ text: remainder.slice(0, 3800), itemId });
|
|
79
|
+
remainder = remainder.slice(3800);
|
|
80
|
+
} while (remainder.length);
|
|
81
|
+
pending = '';
|
|
82
|
+
}
|
|
83
|
+
if (pending && parts.length) {
|
|
84
|
+
const last = parts[parts.length - 1]!;
|
|
85
|
+
if (last.text.length + pending.length <= 3800) last.text += pending;
|
|
86
|
+
else {
|
|
87
|
+
const room = 3800 - last.text.length;
|
|
88
|
+
last.text += pending.slice(0, room);
|
|
89
|
+
for (let i = room; i < pending.length; i += 3800) parts.push({ text: pending.slice(i, i + 3800), itemId: last.itemId });
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return parts;
|
|
93
|
+
}
|
|
94
|
+
|
|
7
95
|
export interface BriefCliDeps {
|
|
8
96
|
ledger?: BriefItemsLedger;
|
|
9
97
|
stateDir?: string;
|
|
@@ -11,6 +99,10 @@ export interface BriefCliDeps {
|
|
|
11
99
|
output?: (line: string) => void;
|
|
12
100
|
error?: (line: string) => void;
|
|
13
101
|
send?: (markdown: string) => number | null;
|
|
102
|
+
/** Test seam for the Telegram button sender (one actual message per invocation). */
|
|
103
|
+
sendWithButtons?: (text: string, buttons: TgButton[][]) => number | null;
|
|
104
|
+
/** Allows an injected sender to exercise the same Telegram attribution as the real sender. */
|
|
105
|
+
telegramTarget?: { botToken: string; chatId: number };
|
|
14
106
|
}
|
|
15
107
|
|
|
16
108
|
export function registerBriefCommands(program: Command, deps: BriefCliDeps = {}): void {
|
|
@@ -31,18 +123,47 @@ export function registerBriefCommands(program: Command, deps: BriefCliDeps = {})
|
|
|
31
123
|
output(`이번 주 브리핑 중 대표가 움직인 것 ${acted}/${total}`);
|
|
32
124
|
} catch (cause) { fail('', cause); }
|
|
33
125
|
});
|
|
34
|
-
const deliver = (slot: BriefSendSlot): string => ledger().withSendLock(slot, ({ markdown, ids }, markSent) => {
|
|
126
|
+
const deliver = (slot: BriefSendSlot): string => ledger().withSendLock(slot, ({ markdown, ids, itemLines }, markSent) => {
|
|
35
127
|
if (ids.length === 0) return '(보낼 항목 없음)';
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
128
|
+
const target = deps.telegramTarget ?? (deps.send ? null : kindRouteTarget(getUserConfig(), 'ops-report'));
|
|
129
|
+
const numberedMarkdown = withItemNumbers(markdown, itemLines);
|
|
130
|
+
const oneMessage = numberedMarkdown.length + numberedMarkdown.split('\n').length <= 3900 && ids.length <= 30;
|
|
131
|
+
const send = (text: string, itemIds: readonly number[]) => deps.sendWithButtons
|
|
132
|
+
? deps.sendWithButtons(text, briefFeedbackButtons(itemIds))
|
|
133
|
+
: deps.send ? deps.send(text)
|
|
134
|
+
: target ? sendTelegramButtonsTo(target.botToken, target.chatId, text, briefFeedbackButtons(itemIds)) : null;
|
|
135
|
+
const botId = target ? target.botToken.split(':')[0]! : '';
|
|
136
|
+
if (target && !oneMessage) {
|
|
137
|
+
// A sent fragment is not a completed item. Persist only items whose every fragment
|
|
138
|
+
// succeeded; an incomplete item must remain available to the next send.
|
|
139
|
+
const parts = briefDeliveryParts(markdown, itemLines);
|
|
140
|
+
const remainingParts = new Map<number, number>();
|
|
141
|
+
for (const part of parts) remainingParts.set(part.itemId, (remainingParts.get(part.itemId) ?? 0) + 1);
|
|
142
|
+
const coordinates: Array<{ botId: string; chatId: number; messageId: number; itemId: number }> = [];
|
|
143
|
+
let sendThrew = false;
|
|
144
|
+
let sendCause: unknown;
|
|
145
|
+
for (const part of parts) {
|
|
146
|
+
let partMessageId: number | null;
|
|
147
|
+
try { partMessageId = send(part.text, [part.itemId]); }
|
|
148
|
+
catch (cause) { sendThrew = true; sendCause = cause; break; }
|
|
149
|
+
if (typeof partMessageId !== 'number' || !Number.isSafeInteger(partMessageId) || partMessageId <= 0) break;
|
|
150
|
+
coordinates.push({ botId, chatId: target.chatId, messageId: partMessageId, itemId: part.itemId });
|
|
151
|
+
remainingParts.set(part.itemId, remainingParts.get(part.itemId)! - 1);
|
|
152
|
+
}
|
|
153
|
+
const deliveredIds = [...new Set(coordinates.map(row => row.itemId))].filter(id => remainingParts.get(id) === 0);
|
|
154
|
+
if (deliveredIds.length > 0) markSent(deliveredIds, slot, coordinates.filter(row => deliveredIds.includes(row.itemId)));
|
|
155
|
+
if (coordinates.length < parts.length) {
|
|
156
|
+
if (sendThrew) throw sendCause;
|
|
157
|
+
throw new Error(`발송 실패: ${deliveredIds.length}/${ids.length} 항목 전송 후 중단 — 나머지는 다음 발송에서 이어진다`);
|
|
158
|
+
}
|
|
159
|
+
const lastMessageId = coordinates[coordinates.length - 1]!.messageId;
|
|
160
|
+
return `sent ${lastMessageId} (${ids.length} items)`;
|
|
161
|
+
}
|
|
162
|
+
const messageId = target ? send(numberedMarkdown, ids) : send(markdown, ids);
|
|
163
|
+
if (typeof messageId !== 'number' || !Number.isSafeInteger(messageId) || messageId <= 0) {
|
|
43
164
|
throw new Error('발송 실패: 양수 메시지 id 없음');
|
|
44
165
|
}
|
|
45
|
-
markSent(ids, slot);
|
|
166
|
+
markSent(ids, slot, target ? { botId, chatId: target.chatId, messageId } : undefined);
|
|
46
167
|
return `sent ${messageId} (${ids.length} items)`;
|
|
47
168
|
});
|
|
48
169
|
|
package/src/cli/claims-cli.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Command } from 'commander';
|
|
2
2
|
import { ClaimsInputError, ClaimsLedger, type ClaimsLedgerOptions, type ClaimRow, type ClaimDetail } from '../claims/claims-ledger.js';
|
|
3
3
|
import { renderClaims, queueStaleRechecks, type ClaimSurface } from '../claims/claims-render.js';
|
|
4
|
+
import { PatentLedger, PatentsInputError, type PatentStatus, type PatentTrack } from '../patents/ledger.js';
|
|
4
5
|
|
|
5
6
|
function actor(explicit?: string): string {
|
|
6
7
|
const by = explicit?.trim() || process.env.AI_AGENT?.trim();
|
|
@@ -19,7 +20,7 @@ function handle<Args extends unknown[]>(command: string, action: (...args: Args)
|
|
|
19
20
|
return (...args) => {
|
|
20
21
|
try { action(...args); }
|
|
21
22
|
catch (error) {
|
|
22
|
-
if (!(error instanceof ClaimsInputError)) throw error;
|
|
23
|
+
if (!(error instanceof ClaimsInputError) && !(error instanceof PatentsInputError)) throw error;
|
|
23
24
|
const message = error.message.replace(/\r/g, '\\r').replace(/\n/g, '\\n')
|
|
24
25
|
.replace(/\u2028/g, '\\u2028').replace(/\u2029/g, '\\u2029');
|
|
25
26
|
process.stderr.write(`claims ${command}: ${message}\n`);
|
|
@@ -41,7 +42,19 @@ function detail(row: ClaimDetail): string {
|
|
|
41
42
|
export function registerClaimsCommands(program: Command, options: ClaimsLedgerOptions & { instanceRoot?: string } = {}, out: Pick<Console, 'log'> = console): void {
|
|
42
43
|
const root = program.command('claims').description('소구점 · 실측 근거 원장');
|
|
43
44
|
const ledger = () => new ClaimsLedger(options);
|
|
45
|
+
const patentLedger = () => new PatentLedger(options);
|
|
44
46
|
const emit = (value: unknown, json: boolean | undefined, text: string) => out.log(json ? JSON.stringify(value) : text);
|
|
47
|
+
const patents = root.command('patents').description('비공개 특허 후보 원장');
|
|
48
|
+
patents.command('add <id>').requiredOption('--title <title>').requiredOption('--track <track>')
|
|
49
|
+
.option('--deadline <YYYY-MM-DD>').action(handle('patents add', (id: string, o: { title: string; track: PatentTrack; deadline?: string }) => {
|
|
50
|
+
const row = patentLedger().add({ id, title: o.title, track: o.track, ...(o.deadline ? { deadline: o.deadline } : {}) });
|
|
51
|
+
emit(row, false, `${row.id} · ${row.status}`);
|
|
52
|
+
}));
|
|
53
|
+
patents.command('status <id>').requiredOption('--status <status>')
|
|
54
|
+
.action(handle('patents status', (id: string, o: { status: PatentStatus }) => {
|
|
55
|
+
const row = patentLedger().setStatus(id, o.status);
|
|
56
|
+
emit(row, false, `${row.id} · ${row.status}`);
|
|
57
|
+
}));
|
|
45
58
|
root.command('add <id>').requiredOption('--claim <text>').requiredOption('--audience <list>').requiredOption('--owner <seat>')
|
|
46
59
|
.option('--contrast <text>').action(handle('add', (id: string, o: { claim: string; audience: string; owner: string; contrast?: string }) => {
|
|
47
60
|
const row = ledger().add({ id, claim: o.claim, audience: o.audience, owner: o.owner, ...(o.contrast ? { contrast: o.contrast } : {}) });
|
|
@@ -79,9 +92,16 @@ export function registerClaimsCommands(program: Command, options: ClaimsLedgerOp
|
|
|
79
92
|
emit(row, o.json, detail(row));
|
|
80
93
|
}));
|
|
81
94
|
root.command('render').requiredOption('--surface <surface>', 'deck | site | notice')
|
|
82
|
-
.option('--audience <audience>').option('--
|
|
83
|
-
.
|
|
84
|
-
|
|
95
|
+
.option('--audience <audience>').option('--include-patents', '명시적으로 공개 허용 특허 후보를 포함')
|
|
96
|
+
.option('--patent-owner <owner>', '특허 후보의 확인된 담당').option('--json')
|
|
97
|
+
.action(handle('render', (o: { surface: ClaimSurface; audience?: string; includePatents?: boolean; patentOwner?: string; json?: boolean }) => {
|
|
98
|
+
if (o.includePatents && (!o.patentOwner?.trim() || !o.audience?.trim())) {
|
|
99
|
+
throw new ClaimsInputError('--include-patents requires --patent-owner and --audience');
|
|
100
|
+
}
|
|
101
|
+
if (!o.includePatents && o.patentOwner) throw new ClaimsInputError('--patent-owner requires --include-patents');
|
|
102
|
+
const patents = o.includePatents
|
|
103
|
+
? { ledger: patentLedger(), owner: o.patentOwner!, audience: o.audience! } : undefined;
|
|
104
|
+
const result = renderClaims(ledger(), { surface: o.surface, ...(o.audience ? { audience: o.audience } : {}), ...(patents ? { patents } : {}) });
|
|
85
105
|
// Review follow-up: rendering is where stale claims surface — queue their re-measurement in the same act.
|
|
86
106
|
const rechecks = result.excluded.some(item => item.reason === 'stale')
|
|
87
107
|
? queueStaleRechecks(ledger(), { root: options.instanceRoot, now: options.now?.() }) : 0;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// `elanous --name <name>` — 맨 `elanous`(대시보드 TUI)가 자기 PTY manifest 행(`tui:<pid>`)에
|
|
2
|
+
// 별명을 달고 뜬다. 그러면 `elanous pty list` 에 그 이름이 보이고 `pty snapshot <name>` ·
|
|
3
|
+
// `pty text <name> …` 가 별명으로 해석된다(ref 해석은 이미 nickname 을 받는다).
|
|
4
|
+
//
|
|
5
|
+
// ⭐ 루트 «실행» 플래그다 — `--resume`·`--debug` 와 같은 규칙으로 Commander «전»에 걷어낸다.
|
|
6
|
+
// ⛔ 하위 명령 «뒤»의 `--name`(`elanous pty list --name x` · `elanous --debug session new --name x`)은 건드리지 않는다 — 그 명령이 `--name` 을
|
|
7
|
+
// 자기 옵션으로 가질 수 있다(가로채면 조용히 그 옵션을 먹는다).
|
|
8
|
+
|
|
9
|
+
import { ROOT_FLAGS_TAKING_VALUE } from './remote-resolve.js';
|
|
10
|
+
|
|
11
|
+
export interface DashboardNameFlag {
|
|
12
|
+
/** 걷어낸 뒤의 인자 — Commander·대시보드 필터로 넘긴다. */
|
|
13
|
+
readonly args: string[];
|
|
14
|
+
/** 준 이름(앞뒤 공백 제거). 플래그가 없으면 undefined. */
|
|
15
|
+
readonly name?: string;
|
|
16
|
+
/** 값이 없거나 빈 이름이면 사람에게 낼 오류 문면. */
|
|
17
|
+
readonly error?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** 루트 «선행 플래그 구간»에서 값을 받는 플래그 — 그 값 토큰은 하위 명령이 아니다. */
|
|
21
|
+
const LEADING_VALUE_FLAGS = new Set([...ROOT_FLAGS_TAKING_VALUE, '--resume']);
|
|
22
|
+
|
|
23
|
+
/** 루트 선행 플래그 구간 안의 `--name` 위치. 하위 명령(맨 위치 인자)이나 `--` 를 만나면 멈춘다 —
|
|
24
|
+
* `elanous --debug session new --name x` 의 `--name` 은 그 하위 명령의 것이다(리뷰 must-fix). */
|
|
25
|
+
function leadingNameIndex(rawArgs: readonly string[]): number {
|
|
26
|
+
for (let i = 0; i < rawArgs.length; i += 1) {
|
|
27
|
+
const arg = rawArgs[i]!;
|
|
28
|
+
if (arg === '--' || !arg.startsWith('-')) return -1;
|
|
29
|
+
if (arg === '--name' || arg.startsWith('--name=')) return i;
|
|
30
|
+
if (LEADING_VALUE_FLAGS.has(arg)) i += 1;
|
|
31
|
+
}
|
|
32
|
+
return -1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function readDashboardNameFlag(rawArgs: readonly string[]): DashboardNameFlag {
|
|
36
|
+
const idx = leadingNameIndex(rawArgs);
|
|
37
|
+
if (idx < 0) return { args: [...rawArgs] };
|
|
38
|
+
const flag = rawArgs[idx]!;
|
|
39
|
+
const inline = flag.startsWith('--name=');
|
|
40
|
+
const value = inline ? flag.slice('--name='.length) : rawArgs[idx + 1];
|
|
41
|
+
const args = rawArgs.filter((_, i) => i !== idx && (inline || i !== idx + 1));
|
|
42
|
+
if (value === undefined || (!inline && value.startsWith('-'))) {
|
|
43
|
+
return { args: rawArgs.filter((_, i) => i !== idx), error: 'elanous: --name needs a value (e.g. elanous --name op)' };
|
|
44
|
+
}
|
|
45
|
+
const name = value.trim();
|
|
46
|
+
if (!name) return { args, error: 'elanous: --name must not be empty' };
|
|
47
|
+
return { args, name };
|
|
48
|
+
}
|