elanous 0.3.4 → 0.3.5
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/chunks/{6fa80ede.7b05276e6be12b1d.js → 01af03c4.71e22e1e1aca813e.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/0e3e9261.84afa98360d3b889.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1163.de587836684ae0e8.js +74 -0
- package/apps/pwa/out/_next/static/chunks/124-5c8fb000f2fef6fd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/147.48bf376824f7df0a.js +8 -0
- package/apps/pwa/out/_next/static/chunks/1623-0cd4aabb94e3fc0d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1689-5ee3c3dd16ab8667.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1783.708de9a0182ac571.js +41 -0
- package/apps/pwa/out/_next/static/chunks/1807-778f3031dc089a09.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5892-6f0a1ee3c6c38173.js → 1911-bc30f2d39d2b318e.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/1968.4f77d6f940c26d94.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1985.ab97a36d1b3a9458.js +36 -0
- package/apps/pwa/out/_next/static/chunks/2169.709268f6190a67e4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2215.90b2a595c9880580.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2233.061c80f2a79abb24.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2466.ff652b24ae9dee2a.js +32 -0
- package/apps/pwa/out/_next/static/chunks/2541-70d25b112ae1960d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2556-14a3c1858511d4b2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6764.ec2d2cf14278c473.js → 259.ff45e655e5e41a4d.js} +16 -16
- package/apps/pwa/out/_next/static/chunks/2592.cc0b9dc547aca123.js +104 -0
- package/apps/pwa/out/_next/static/chunks/2708-f51dd5bc56aed2a7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2845ea08.c590f5c7ddc06b98.js +122 -0
- package/apps/pwa/out/_next/static/chunks/2856-d3c6d2706d6cc45e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2883-5b4aaa3950d416c2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6355.34fd60aca3e95acf.js → 2999.c462d95ab66dba3a.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{d7c7394d.c015f14113d7faef.js → 2c8c2385.34ce9456dac99420.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3085.59001f746a9a2e8c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3162-94995e3e8f1524f3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3176.fcf82fd6b3fcfff5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{1695-e63446cc38743225.js → 3177-151f3b49f3b2d2ef.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3196.4d0730f411899434.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{4935.7f5b0bd162f201cc.js → 3235.7b9c3e9c55ea6d98.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3414-037ce9f127904fe2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/348.b77e8e6b6ed5230c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3483-f7f5f9a66e1780ad.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3501.d2b92806ac1d949e.js +287 -0
- package/apps/pwa/out/_next/static/chunks/3552.e6be7ac885976039.js +1 -0
- package/apps/pwa/out/_next/static/chunks/366-eb724714d15eb3f4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3700.422355522e15e182.js +2 -0
- package/apps/pwa/out/_next/static/chunks/3789.443ac3d6037b503c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4278.5624379f0c23ee3d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4365-9e2bea90e6243b8e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4388.42598a55da8c47cf.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4530.3a14a074896302f2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4557-3b576c4706df592d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{2538.f7b0fd1f3b0c2bff.js → 4647.a6e02754d5dcf398.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/4793-a77c3acf9ffc4454.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4806.d7a41078ec5f9e6f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4881.ad56fcbdcfb39a23.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4983.cb812be748dd07e5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5054.cef07be26f74f202.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5075.b30af8ae9aadc959.js +226 -0
- package/apps/pwa/out/_next/static/chunks/{8108.2cd332dff4f07acd.js → 5323.277ad337906fe70a.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/5464-5837a4fba34df983.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5535-3d077c5296902ba6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{1549.81d2a59aa303b629.js → 5640.b32a01e556340532.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/5654.1b52dfa2ffb08352.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6.aa2a99e9454c9a8d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6208.70eba139a9c68af3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{448.26b198f3b58cbcf9.js → 6251.a547705e850c5149.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/6253.d4f0940b616f889d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6281-8492f70e843316fa.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6289-3c8732cbeeeb62a2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6332-d5edcc5c35500524.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6433.e0006a1e924a2131.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6437.3cd4d04efb8ab871.js +286 -0
- package/apps/pwa/out/_next/static/chunks/6461-5584cf24a661817a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6618-9b8d9a46ede0c41e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6715-f1316dd169ff9f50.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6735-e62669175cce8686.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{4578.04c77c13e3c62361.js → 6841.ed452e7d06f598ee.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/6937.0bdc3185f2ace9e4.js +79 -0
- package/apps/pwa/out/_next/static/chunks/{922c23f1.797bdf68f73f0488.js → 6c25ab46.9d19c4994d7f5495.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7015-6abc8f1809ff071f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7056-c994bfc3e3701439.js +1 -0
- package/apps/pwa/out/_next/static/chunks/712-4496b0c3ac3e4b75.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7151.d2511e5f23155242.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7228.8cb7ac9d98e331d5.js +34 -0
- package/apps/pwa/out/_next/static/chunks/725.63b4017563b04379.js +93 -0
- package/apps/pwa/out/_next/static/chunks/{5456-e9f9027af2bb4799.js → 7250-70e47260b60cd47e.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7263-34fefd269746719c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3130.69315cfa410b3cc7.js → 7663.e4ea6f8c14df314c.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/77.b432098b663eb23e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{2987.f36195bfacdbcc4e.js → 770.f7b4481b25fe01c4.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/7746.c8b9b75e18472c54.js +115 -0
- package/apps/pwa/out/_next/static/chunks/{1004.b334bd3d776bd455.js → 7923.35fed012b66d1420.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/7959.4e02edd1fdf86b05.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7974-b134a047264b1e55.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8089-c13a0ed6973e7490.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8101.31728c5a01a6167b.js +77 -0
- package/apps/pwa/out/_next/static/chunks/8231.297058c760d62aee.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8389.af75612ea24ceba6.js +24 -0
- package/apps/pwa/out/_next/static/chunks/8427.085d79f7afbb3825.js +149 -0
- package/apps/pwa/out/_next/static/chunks/8473.20a465ef76441b50.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8541.3a501dabd3140fd0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8739-f0deba2b3e06427c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8818.02938c951b1000d1.js +94 -0
- package/apps/pwa/out/_next/static/chunks/8846.3103ace634243ee8.js +64 -0
- package/apps/pwa/out/_next/static/chunks/8847.72b1b3e33bcad95a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8883-30b5a763ec36eafa.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{7644.bdbfed1da174219e.js → 9052.0be41f794a5fb029.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/9086.b691a72402d521d5.js +27 -0
- package/apps/pwa/out/_next/static/chunks/9133.0be4ebb6c50cd78a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/916.3a04c642f0e5ff90.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9240.1637f5e69335d06b.js +62 -0
- package/apps/pwa/out/_next/static/chunks/9298-cd7b117f1a5be480.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9340-c2ac8651b03e94b2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9376.35941fbddcbfe1d4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9424.9062e8119fae997a.js +24 -0
- package/apps/pwa/out/_next/static/chunks/9486.8ef4e64969908842.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9488.98d1b3c092da470a.js +23 -0
- package/apps/pwa/out/_next/static/chunks/{4055-90325ff209cd557e.js → 9648-42f1d4648cfa7eb8.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9781-946d591f1e66da8d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9844.72bbf73fd214af65.js +90 -0
- package/apps/pwa/out/_next/static/chunks/9850.90badc8e9b213e5a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9868.027b845025f57183.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9948-dbde92fff6625cad.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9951-b903d4a257c01657.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9ccc18c7-87a6c1410d97d560.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6cd6be76.9d27e7414d939d53.js → abec6764.4a84c474be416fb7.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-a76e282302331a47.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-9c79d56c52c3b39c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-cd45c61031d63214.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/board/page-e133c057c3c62663.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-89ff7827ff5f449f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/bots/page-0cd71686fa026045.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-a0b329a1295e9704.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/chat/page-f4b64283a86189e3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/consult/page-c6567da3170d92b7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/control/page-90bff14d4d1104a9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/decisions/{page-9b16ae10bbe63997.js → page-bc7f2d53539f1599.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-51dd1cfa869e3e9e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/editor/page-734e98ce83fcb338.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/exec/page-0dbd78003825005e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/field/page-d716d9e3eebe01c9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-a76e282302331a47.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/inside/page-35ac985a392a23da.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/intake/page-8169a6d36aca9d00.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/layout-c07319ebc55c858f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live/page-e74b1236e3318957.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live-run/{page-e7e02e459ca54062.js → page-f2d9e65f2fa34919.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/loops/page-e44e85553f3d1747.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/market/page-9786452dd87449f8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-c01f73b8ca382e89.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/morning/page-4ba4b24fc4aa2262.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/not-found-e4f1cff672c21cf5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/observatory/{page-65ecf674fc5e9d19.js → page-7408295e90c5f3da.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/{page-d34cea406f837407.js → page-5145d13713aa12ba.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/release/{page-7d69cc10c33882b7.js → page-4b40d62f2182addf.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-cbf974b1f9c988e2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-e63ff6bd28f8c0c9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-a9dd827a1ab83e4f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/page-367850708c52c660.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-b1456fb9b51a4fd7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-26867b3d37b1e7a8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/sessions/{page-1156870631db0555.js → page-82c9de5c8c37b051.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-7f03bb1e52c1a43d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/page-8b9f729cfc8ebc14.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-f2dec730b93abfab.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-a76e282302331a47.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/page-fa6f33a05e473556.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/share/page-5e0e3113bfda415d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-7864eff18ce702ba.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-e29cc254c3ee0054.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/term/page-cd2f7856a7dc4849.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/today/page-2de3d35eb5a86aae.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/trace/page-cdb70038ead4a184.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/vault/page-e093c97ee87aca70.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-fb97121241bc7cfc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-3072b3b9e14ea04d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-a976e10f6c3f82bd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-dfbc7268ba631190.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{49263d14.0a995d745de3f818.js → c9c445f7.15a7d747f61c56e6.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{57af6223.b79d56584a040f84.js → d1dc888b.cc6ca4afda9a5ef8.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/dc5145c8.9547e252e2e1d3d1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/e5a2a050-4b51c1f86f5cc4bb.js +1 -0
- package/apps/pwa/out/_next/static/chunks/framework-5a93f9a572271e1c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-1c2ba214755ef1d0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-app-55b1247a78f22727.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_app-239264d5fa7469e1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_error-8184168567215c6b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/webpack-0144ea4a99833df5.js +1 -0
- package/apps/pwa/out/_next/static/{v4GHQkFrQs8lzZY_KFv9_ → iXeJzCRg0ENSSl_RTbGIN}/_buildManifest.js +1 -1
- 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/resources/index.html +1 -1
- package/apps/pwa/out/ops/resources/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/bin/elanous.cjs +268 -64
- package/docs/goal-context/05-authoring-lessons.jsonl +5 -0
- package/graphs/implement-loop.yaml +1 -0
- package/graphs/natural-language-research.yaml +22 -1
- package/package.json +4 -3
- package/scripts/audit-test-state-writes.ts +2 -2
- package/scripts/data-diet-14d-gc.ts +568 -0
- package/scripts/generate-sim-world-device-catalogs.ts +28 -0
- package/scripts/install.sh +9 -12
- package/scripts/npm-postinstall.cjs +68 -0
- package/scripts/public-export.ts +63 -7
- package/scripts/release-loop/cut-branch.ts +2 -1
- package/scripts/release-loop/export-check-node.ts +7 -1
- package/scripts/release-loop/gate-node.ts +47 -31
- package/scripts/release-loop/gate-pr-cache.ts +7 -2
- package/scripts/release-loop/gate-radius-live.ts +19 -5
- package/scripts/release-loop/node-verdict.ts +3 -1
- package/scripts/release-loop/pwa-scenarios-node.ts +3 -3
- package/scripts/release-loop/resume-release.ts +18 -1
- package/scripts/review-model-ab.ts +48 -4
- package/scripts/sim-world-runner.ts +2 -1
- package/scripts/test-deterministic.ts +32 -3
- package/scripts/tree-sync-decide.ts +3 -1
- package/scripts/triage-open-drafts.py +41 -8
- package/scripts/ux-sim-merge-driver.mjs +28 -60
- package/scripts/ux-sim.ts +8 -1
- package/scripts/warm-pool-provider-config.ts +11 -1
- package/src/acp/core-turn-bridge.ts +4 -9
- package/src/acp/multi-llm-bridge.ts +2 -4
- package/src/acp/server.ts +105 -107
- package/src/ad-pipeline/higgsfield-backend.ts +4 -1
- package/src/agent/agent-output-tool.ts +3 -0
- package/src/agent/monad-agent-turn.ts +1 -1
- package/src/agent-mission/driver.ts +31 -5
- package/src/aside/remote-targets.ts +234 -0
- package/src/auto-research/research-turn.ts +2 -0
- package/src/autopilot/elanous-builtin-runner.ts +1 -1
- package/src/autopilot/mission-hitl-callback.ts +6 -1
- package/src/autopilot/pr-manager.ts +23 -4
- package/src/boot/daemon-prompt-turn.ts +1 -1
- package/src/boot/daemon-runtime.ts +1 -1
- package/src/boot/daemon-tools/self-implement.ts +75 -13
- package/src/capture/encoders/png.ts +2 -1
- package/src/chat/index.ts +0 -1
- package/src/cli/app-cli.ts +40 -0
- package/src/cli/doctor-cli.ts +77 -2
- package/src/cli/doctor-readiness.ts +3 -0
- package/src/cli/log-event-names.ts +1 -0
- package/src/cli/logs-cli.ts +11 -0
- package/src/cli/logs-warm-reuse-stats.ts +76 -0
- package/src/cli/msg-cli.ts +13 -7
- package/src/cli/pr-cli.ts +312 -17
- package/src/cli/pr-land-conflict-merge.ts +253 -0
- package/src/cli/pr-land-drift-repair.ts +298 -0
- package/src/cli/pr-land-heavy-remote.ts +99 -0
- package/src/cli/pr-land-overlap-evidence.ts +207 -13
- package/src/cli/pr-land-refusal.ts +21 -8
- package/src/cli/release-cli.ts +4 -3
- package/src/cli/repo-cli.ts +3 -2
- package/src/cli/resource-ledger-cli.ts +10 -1
- package/src/cli/review-typefix-carry.ts +452 -0
- package/src/cli/secret-cli.test-helpers.ts +9 -0
- package/src/cli/secret-cli.ts +294 -1
- package/src/cli/sim-cli.ts +94 -0
- package/src/cli/tasks-cli.ts +23 -8
- package/src/compact/archive.ts +6 -0
- package/src/compact/tool-output-budget.ts +33 -24
- package/src/control-plane/ledger.ts +47 -0
- package/src/control-plane/server.ts +32 -2
- package/src/core-turn/run-goal-loop.ts +1 -1
- package/src/dashboard/acp-boot.ts +8 -8
- package/src/dashboard/index.ts +7 -337
- package/src/dashboard/slash-runtime/dashboard-handlers.ts +2 -18
- package/src/dashboard/slash-runtime/help-groups.ts +1 -1
- package/src/dashboard/slash-runtime/index.ts +0 -6
- package/src/dashboard/turn-preamble.ts +4 -5
- package/src/debug/log.ts +4 -2
- package/src/extractors.ts +4 -2
- package/src/hq/promote.ts +12 -0
- package/src/hq/seats.ts +173 -3
- package/src/hq/transfer.ts +18 -0
- package/src/image/utils.ts +7 -1
- package/src/index.ts +27 -12
- package/src/kgp/pipeline.ts +2 -1
- package/src/llm.ts +86 -2
- package/src/loops/orchestrator/inbox-once.ts +2 -3
- package/src/maturity/feature-maturity.ts +2 -3
- package/src/mcp/server.ts +4 -4
- package/src/msg/msg-store.ts +98 -12
- package/src/nexus/api/agent-cli.ts +1 -1
- package/src/nexus/api/bot-commands.ts +1 -1
- package/src/nexus/api/chat-backend-detection.ts +1 -1
- package/src/nexus/api/config.ts +1 -1
- package/src/nexus/api/connect-info.ts +1 -1
- package/src/nexus/api/dispatch-runs.ts +1 -1
- package/src/nexus/api/edit-in-pwa.ts +1 -1
- package/src/nexus/api/errors.ts +1 -1
- package/src/nexus/api/grid.ts +88 -1
- package/src/nexus/api/harness-api.ts +2 -2
- package/src/nexus/api/harness-traversal.ts +1 -11
- package/src/nexus/api/health.ts +1 -1
- package/src/nexus/api/hitl-pushcut-settings.ts +1 -1
- package/src/nexus/api/http-server.ts +20 -6
- package/src/nexus/api/intake-pipeline-commit.ts +1 -1
- package/src/nexus/api/intake-pipeline-preview.ts +1 -1
- package/src/nexus/api/intake-runs.ts +1 -1
- package/src/nexus/api/log-fabric.ts +1 -1
- package/src/nexus/api/logs.ts +1 -1
- package/src/nexus/api/loop-edges.ts +255 -6
- package/src/nexus/api/meta-api.ts +2 -2
- package/src/nexus/api/missions.ts +1 -1
- package/src/nexus/api/platforms.ts +1 -1
- package/src/nexus/api/registry-catalog.ts +1 -1
- package/src/nexus/api/registry-discovery.ts +1 -1
- package/src/nexus/api/registry-resolved.ts +1 -1
- package/src/nexus/api/registry.ts +1 -1
- package/src/nexus/api/research-run-observer.ts +7 -1
- package/src/nexus/api/schedules-action.ts +1 -1
- package/src/nexus/api/schedules-read.ts +1 -1
- package/src/nexus/api/sessions-store.ts +1 -1
- package/src/nexus/api/showroom-layouts.ts +1 -1
- package/src/nexus/api/skill-router.ts +1 -1
- package/src/nexus/api/tabs-mutations.ts +1 -1
- package/src/nexus/api/tabs.ts +1 -1
- package/src/nexus/api/tasks-create.ts +1 -1
- package/src/nexus/api/tasks-scheduler.ts +1 -1
- package/src/nexus/api/templates.ts +1 -1
- package/src/nexus/api/terminals.ts +1 -1
- package/src/nexus/api/triggers.ts +1 -1
- package/src/nexus/api/workflow-events.ts +1 -1
- package/src/nexus/api/workflow-lifecycle.ts +1 -1
- package/src/nexus/api/workflow-pins.ts +1 -1
- package/src/nexus/api/workflow-router.ts +1 -1
- package/src/nexus/api/workflow-templates.ts +1 -1
- package/src/nexus/api/workflows.ts +1 -1
- package/src/nexus/api/worktrees.ts +1 -1
- package/src/nexus/apps/app-contract.ts +310 -0
- package/src/nexus/apps/app-host.ts +309 -0
- package/src/nexus/apps/app-openapi.ts +141 -0
- package/src/nexus/apps/app-simulate.ts +188 -0
- package/src/nexus/apps/backend-tier.ts +42 -0
- package/src/nexus/boot/register-mcp-clients.ts +132 -10
- package/src/nexus/config/secrets/env-import.ts +42 -0
- package/src/nexus/config/secrets/file-backend.ts +25 -0
- package/src/nexus/config/secrets/index.ts +12 -0
- package/src/nexus/config/secrets/transfer.ts +94 -0
- package/src/nexus/index.ts +10 -0
- package/src/oauth/codex-account-store.ts +8 -2
- package/src/oauth/codex-owner-mirror.ts +30 -0
- package/src/onboarding.ts +1 -1
- package/src/plugins/core/host.ts +0 -12
- package/src/plugins/core/manifest.ts +8 -5
- package/src/plugins/install/plugin-install.ts +4 -2
- package/src/pr-tool/census.ts +29 -8
- package/src/release-loop/rehearsal.ts +31 -10
- package/src/repl/agent-turn.ts +2 -1
- package/src/resource-ledger/resource-ledger.ts +18 -0
- package/src/self-dev/dev-cli.ts +22 -2
- package/src/self-dev/dev-pipeline.ts +13 -9
- package/src/self-dev/orchestrate.ts +18 -0
- package/src/self-dev/run-supervisor.ts +4 -2
- package/src/self-dev/run-types.ts +5 -0
- package/src/self-implement/comment-only-source.ts +11 -10
- package/src/self-implement/evidence-command-budget.ts +9 -8
- package/src/self-implement/executor-contract.ts +3 -3
- package/src/self-implement/gate-cli.ts +5 -2
- package/src/self-implement/gate-remote.ts +27 -3
- package/src/self-implement/goal-author-clarification.ts +15 -14
- package/src/self-implement/goal-author-text.ts +180 -0
- package/src/self-implement/goal-author.ts +2 -218
- package/src/self-implement/graph-authority.ts +18 -17
- package/src/self-implement/graph-templates.ts +13 -12
- package/src/self-implement/headless-elanous-driver.ts +3 -0
- package/src/self-implement/importer-test-index.ts +21 -20
- package/src/self-implement/knowhow-pack.ts +66 -5
- package/src/self-implement/l8-merge-queue.ts +26 -12
- package/src/self-implement/lazy-typescript.ts +15 -0
- package/src/self-implement/merge-train.ts +195 -17
- package/src/self-implement/off-diff-evidence.ts +48 -47
- package/src/self-implement/orchestrator.ts +2 -31
- package/src/self-implement/pwa-import-graph.ts +28 -27
- package/src/self-implement/readable-text.ts +18 -0
- package/src/self-implement/route-consumer-test-index.ts +18 -17
- package/src/self-implement/run-ledger.ts +1 -1
- package/src/self-implement/scoped-typecheck-config.ts +5 -4
- package/src/self-implement/seams.ts +3 -0
- package/src/self-implement/self-implement-cli.ts +19 -2
- package/src/self-implement/self-implement-runtime.ts +4 -6
- package/src/self-implement/soft-stop-observer.ts +6 -0
- package/src/self-implement/wiring-check.ts +74 -73
- package/src/session/chat.ts +20 -14
- package/src/session/compact-session.ts +7 -1
- package/src/session/request-size-guard.ts +146 -2
- package/src/sim-world-device-catalogs.json +311 -0
- package/src/skills/runner.ts +10 -3
- package/src/skills/tools/dev-harness.ts +7 -4
- package/src/skills/tools/mermaid.ts +5 -2
- package/src/skills/tools/persistent-grounding.ts +3 -1
- package/src/task-agent/parent-host.ts +29 -2
- package/src/task-agent/repair-branch-cas.ts +2 -1
- package/src/task-agent/repair-cycle.ts +5 -1
- package/src/task-orchestrator/surfaces/pod-lease.ts +78 -1
- package/src/task-orchestrator/surfaces/pod-si-warm-host.ts +68 -4
- package/src/task-orchestrator/surfaces/pod-si-warm-protocol.ts +26 -1
- package/src/task-orchestrator/surfaces/pod-si-warm-provider.ts +6 -4
- package/src/task-orchestrator/surfaces/pod-si-warm-transport.ts +2 -1
- package/src/task-orchestrator/surfaces/pod-warm-worker-pod.ts +98 -1
- package/src/task-orchestrator/surfaces/pod-warm-worker-provider.ts +393 -41
- package/src/task-orchestrator/surfaces/self-implement-pod.ts +77 -6
- package/src/task-orchestrator/surfaces/warm-reuse-evidence.ts +39 -3
- package/src/task-orchestrator/surfaces/warm-reuse-stats.ts +84 -0
- package/src/telegram-report.ts +3 -1
- package/src/tool-runtime/aside-selection-runtime.ts +24 -5
- package/src/tool-runtime/mcp-proxy-bootstrap.ts +6 -3
- package/src/tui/entry.ts +8 -92
- package/src/tui/slash/new-session.ts +2 -2
- package/src/tui-key.ts +545 -0
- package/src/tui-render-cache.ts +157 -0
- package/src/tui-string-width.ts +273 -0
- package/src/tui.ts +20 -988
- package/src/user-config.ts +66 -3
- package/src/ux-sim/author-reviewer-precheck-device.ts +2 -2
- package/src/ux-sim/backend-tier-device.ts +13 -0
- package/src/ux-sim/chain-land.ts +158 -0
- package/src/ux-sim/device-fidelity.ts +261 -0
- package/src/ux-sim/event-monkey.ts +48 -0
- package/src/ux-sim/fake-app-auth.ts +236 -0
- package/src/ux-sim/fake-app-host.ts +107 -0
- package/src/ux-sim/fake-app-realtime.ts +372 -0
- package/src/ux-sim/fake-app-storage.ts +477 -0
- package/src/ux-sim/fake-app-traffic.ts +375 -0
- package/src/ux-sim/fake-bin-install-helper.mjs +119 -0
- package/src/ux-sim/fake-bin.ts +49 -5
- package/src/ux-sim/fake-dns-cert.ts +295 -0
- package/src/ux-sim/fake-elevenlabs.ts +144 -0
- package/src/ux-sim/fake-fetch.ts +158 -0
- package/src/ux-sim/fake-gh.ts +45 -1
- package/src/ux-sim/fake-higgsfield.ts +106 -0
- package/src/ux-sim/fake-kubectl.ts +34 -6
- package/src/ux-sim/fake-land-queue.ts +5 -2
- package/src/ux-sim/fake-payment.ts +201 -0
- package/src/ux-sim/fake-ps.ts +82 -0
- package/src/ux-sim/fake-stt.ts +101 -0
- package/src/ux-sim/fault-nexus-stall.ts +225 -0
- package/src/ux-sim/fault-pod-child-result.ts +2 -2
- package/src/ux-sim/fault-pod-reuse-residue.ts +73 -0
- package/src/ux-sim/fault-pool-cap.ts +5 -2
- package/src/ux-sim/hq-move-sim.ts +293 -0
- package/src/ux-sim/install-consent-device.ts +52 -0
- package/src/ux-sim/mock-scenario-catalog.json +3552 -2618
- package/src/ux-sim/next-tui-seat-scenarios.ts +12 -8
- package/src/ux-sim/release-sim-rig.ts +208 -7
- package/src/ux-sim/secret-canary.ts +416 -0
- package/src/ux-sim/sim-coverage.ts +299 -0
- package/src/ux-sim/subagent-tools-device.ts +31 -2
- package/src/ux-sim/temp-git-repo.ts +95 -0
- package/src/ux-sim/tool-async-fail-loop.ts +165 -0
- package/src/ux-sim/warm-pool-reuse-sim.ts +201 -13
- package/src/ux-sim/warm-pool-reuse-switch-sim.ts +76 -0
- package/src/ux-sim/warm-si-reuse-sim.ts +234 -0
- package/src/ux-sim/world-chaos-runtime.ts +312 -0
- package/src/ux-sim/world-host-chaos.ts +124 -0
- package/src/ux-sim/world-schema.ts +271 -5
- package/src/ux-sim/world-snapshot.ts +307 -0
- package/src/ux-sim/world.ts +673 -47
- package/src/ux-sim/worlds/secret-export-import.yaml +27 -0
- package/src/ux-sim/worlds/secret-zsh-keys-absorb.yaml +26 -0
- package/src/version/packed-revision.json +1 -1
- package/apps/pwa/out/_next/static/chunks/001d1d30.3b264a3a5834784b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1044.f780ef30fbeec1d2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/106.ef1dcdfef46b0b72.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1207.912f5869bdf13244.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1226-29248177d8e43df5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/128757ea.677175b2ad79b371.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1469.157ee10170c461ab.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1475-f4208d07b2b41e44.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1525.9fd05c15746d77c8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1596-80cc66168f6a520b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/224.0585d01ba7f4f898.js +0 -226
- package/apps/pwa/out/_next/static/chunks/2277.80d00b0a6fe67cad.js +0 -94
- package/apps/pwa/out/_next/static/chunks/2287.6a4cce8ac8897fda.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2378.0805bd9972a241f3.js +0 -24
- package/apps/pwa/out/_next/static/chunks/25600806.42d40cb74fdc4bf3.js +0 -122
- package/apps/pwa/out/_next/static/chunks/2785-33003c356341fab5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/280-66f2ebc166517702.js +0 -1
- package/apps/pwa/out/_next/static/chunks/29.135cc356bdf1a8be.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3111-f3c2382dc49d4719.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3135-4f30d19149be541d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/336.dd6c1b81512124e6.js +0 -74
- package/apps/pwa/out/_next/static/chunks/337.35019dda0819a283.js +0 -64
- package/apps/pwa/out/_next/static/chunks/3393.cbbe17ef7aeee5e7.js +0 -2
- package/apps/pwa/out/_next/static/chunks/3394.8a08fac56ac2f941.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3461-113eb7d3afb5969e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3603-473956ca996d5b03.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3687.55335796604accd0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3692-ed2cebf0d6c4e273.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3702-d50492fee8529bd7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3782.3ead96e62c8ac5c5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3849-59a5a66baa48998b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3965.1ae261de91a7507b.js +0 -115
- package/apps/pwa/out/_next/static/chunks/3985-432efaf9bc4e4123.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4174.d97cc593a5cf01bc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4276.863502da440e095f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4450-ea0ec552f18d799d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4495.2fbef8546af0792c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4674.e41c0f9b62fed6e2.js +0 -36
- package/apps/pwa/out/_next/static/chunks/482.52b487cbac96db29.js +0 -93
- package/apps/pwa/out/_next/static/chunks/4841.b78af1deed2d3d3f.js +0 -23
- package/apps/pwa/out/_next/static/chunks/4869.839bacfaab182108.js +0 -1
- package/apps/pwa/out/_next/static/chunks/500-57c24ef4341cdb21.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5017-e079ea96feddbe85.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5135.7b73d384c46dc26b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5359-7aa498ded308ea17.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5457-5459ae7638b42dff.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5521-16fb56b15c809e4a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5616-33de319a016180cd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5646.41a48aad446799fa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5716.ad2c840320ab9472.js +0 -41
- package/apps/pwa/out/_next/static/chunks/5730-ca5565abe3d360ad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5841.26bcfac34b5889b4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/586.658dedb3bc558b22.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5894-7d90af46a43f80d2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5927-88cbc16437430987.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5960.0dfb8bd3d27e1063.js +0 -1
- package/apps/pwa/out/_next/static/chunks/597-9bf9f66dba4ccae9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6064.f425ee61836bb5c7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6074.39f84a90284749de.js +0 -1
- package/apps/pwa/out/_next/static/chunks/61.cbbe643a52cf53ab.js +0 -62
- package/apps/pwa/out/_next/static/chunks/6184.4c0ba455eb3d27a1.js +0 -79
- package/apps/pwa/out/_next/static/chunks/6224.cd0ca2a16727e9a9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6229-a83289910e01869b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6243.61e6f450a70a8d91.js +0 -90
- package/apps/pwa/out/_next/static/chunks/6295-4f1a1386f8667fd1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6310.5fb57ba0781bc476.js +0 -286
- package/apps/pwa/out/_next/static/chunks/6653.f3f30affdbe694aa.js +0 -32
- package/apps/pwa/out/_next/static/chunks/6657.f57e1d8511e510ce.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6672-bc0f317b72f0bbd2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6761-2143fe6fe3578118.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6955-75b2659eafd27893.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7051-406b0538949c932f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7222.df77e48936e60d2e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7242-08db87893cf792b7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7307-3172df9d07acb8e0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7613.4523dc082005e359.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7648-7c7346c2a73503f9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7788.ffd9f4d57647a354.js +0 -149
- package/apps/pwa/out/_next/static/chunks/7793.4d3de6ce591fbc21.js +0 -34
- package/apps/pwa/out/_next/static/chunks/7816.4b8c0fa1e5b4ec4f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7988-bbcd506079ceceb6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8066.32863fb9dd2dc278.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8073-cdf4607b80d127fe.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8414-77dbc0c35bc85f42.js +0 -1
- package/apps/pwa/out/_next/static/chunks/849.fe241354322a97e9.js +0 -27
- package/apps/pwa/out/_next/static/chunks/8665.900daf2473f7032a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8713.11d79e4e023ab74f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8718.137b7ce2c3cae66b.js +0 -8
- package/apps/pwa/out/_next/static/chunks/8764.39400f626e015e79.js +0 -287
- package/apps/pwa/out/_next/static/chunks/8803.d3504166481bc91e.js +0 -24
- package/apps/pwa/out/_next/static/chunks/8939.a14783a0a81e5e62.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8963.928e777871d1d637.js +0 -104
- package/apps/pwa/out/_next/static/chunks/8987-372a6317aaf83fa9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9039.03e40d9f9fd90920.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9546.3a0afc5d5fa0851d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9671.d935d274b65718e4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9756.24e020ddf99f7020.js +0 -77
- package/apps/pwa/out/_next/static/chunks/9777-6b21b6f1989ea7b1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9947.7a8d89554e873316.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9980.fd66776b3782eeb4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-2c29b6716055aa54.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-538c811d4da4d7b8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-32cb397d044bb5aa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-02d148f66a3da6bb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-42b7211f972c6001.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-46bac74d4ce82733.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-10e7ee66dc7c3d8a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/chat/page-391a9ecbfb541e68.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/consult/page-6b69baa42370ba35.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/control/page-58960a34c0fa8f97.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-417a7b86f7eceeea.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/editor/page-09f86a64836617b7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/exec/page-cb640bac3150eb4c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/field/page-e80fc997e0c589d5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-2c29b6716055aa54.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/inside/page-173d296c2127560a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-358c3e0c2ce7184c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/layout-09c6e6033ddb1605.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live/page-11a4763fe20fe116.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/loops/page-b0c21fcb45c049d0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-f331955e0ca9bf84.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-c4c4b4333b24e505.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/morning/page-7cab7257602fe967.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-a0dc43b385fba1b5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-c2b69a4da710ccee.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-80adac335abc5070.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-10b7dbd205510a67.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/page-5f3c9b795a225d8c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-68ece02272941b6c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-21d4e1472f806b1e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-4fc726c790e6a7bf.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-e0dc9ec9ac537906.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-83138c236444d7d5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-2c29b6716055aa54.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/page-61133c103b342d2b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/share/page-40cac04d8f4822c6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-ecb7be39ce14845a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-a288059ee8ed73fb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/term/page-31ed388024d4f660.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-29d28b05a7ddede3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/trace/page-b39bdb4ce095ccfc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/vault/page-ecbc7b9f31d195b7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-059b94e88f91e73f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-ca29c405228c72b9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-ff99da4e3ff50503.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-2aa0c6cdb2ef7ea8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/db2f0161-8781ed841c51137a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/f6a577ab-4b799b8c69e49cfd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/framework-01d45c12f1bce665.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-0a9bbda118d4e9dc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-app-7f817b9fe2a360cc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_app-f953b3d6c9ece48e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_error-1a3e6e3f0aa99004.js +0 -1
- package/apps/pwa/out/_next/static/chunks/webpack-090556529ba4efb6.js +0 -1
- package/src/autopilot/mission-tui-watch.ts +0 -380
- package/src/dashboard/plugin-wizard-runtime.ts +0 -111
- package/src/dashboard/plugin-wizard-tool.ts +0 -69
- package/src/tui/slash/mission.ts +0 -492
- /package/apps/pwa/out/_next/static/{v4GHQkFrQs8lzZY_KFv9_ → iXeJzCRg0ENSSl_RTbGIN}/_ssgManifest.js +0 -0
|
@@ -239,6 +239,32 @@ export class ResourceLedger {
|
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
+
/** Atomically fences an expired idle Pod so it cannot be leased while its UID-pinned deletion runs. */
|
|
243
|
+
expireIdlePodWorker(id: string, request: { machine: string; podUid: string; expectedObservedAt: number;
|
|
244
|
+
expectedExpiresAtMs: number }, now?: number): ResourceRecord {
|
|
245
|
+
return this.mutate(() => {
|
|
246
|
+
const at = now ?? Date.now();
|
|
247
|
+
const rows = this.read();
|
|
248
|
+
const index = rows.findIndex(row => row.id === id && row.kind === 'pod-worker-lease');
|
|
249
|
+
if (index < 0) throw new ResourceLedgerError(404, 'not-found');
|
|
250
|
+
const row = rows[index]!;
|
|
251
|
+
const attrs = workerAttrs(row);
|
|
252
|
+
const expiresAtMs = row.observedAt + row.ttlMs;
|
|
253
|
+
if (row.machine !== request.machine || attrs.podUid !== request.podUid
|
|
254
|
+
|| row.observedAt !== request.expectedObservedAt || expiresAtMs !== request.expectedExpiresAtMs)
|
|
255
|
+
throw new ResourceLedgerError(409, 'stale-expired-worker');
|
|
256
|
+
if (attrs.state !== 'idle' || attrs.leaseId || !Number.isSafeInteger(row.observedAt)
|
|
257
|
+
|| !Number.isSafeInteger(row.ttlMs) || row.ttlMs <= 0 || at < expiresAtMs)
|
|
258
|
+
throw new ResourceLedgerError(409, 'pod-worker-not-expired-idle');
|
|
259
|
+
const next: ResourceRecord = { ...row,
|
|
260
|
+
attrs: { ...attrs, state: 'reaping', reason: 'idle-ttl-expired' } as unknown as Record<string, unknown>,
|
|
261
|
+
observedAt: at };
|
|
262
|
+
rows[index] = next;
|
|
263
|
+
this.write(rows);
|
|
264
|
+
return next;
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
|
|
242
268
|
acquirePodWorker(request: { machine?: string; key: PodWorkerKey; owner: string; runId: string; attemptId: string; ttlMs: number }, now?: number): ResourceRecord {
|
|
243
269
|
return this.mutate(() => {
|
|
244
270
|
const at = now ?? Date.now();
|
|
@@ -380,6 +406,27 @@ export class ResourceLedger {
|
|
|
380
406
|
});
|
|
381
407
|
}
|
|
382
408
|
|
|
409
|
+
retireIdlePodWorker(id: string, request: { machine: string; podUid: string; reason?: 'host-drained' | 'runtime-contract-mismatch' }, now = Date.now()): ResourceRecord {
|
|
410
|
+
return this.mutate(() => {
|
|
411
|
+
const rows = this.read();
|
|
412
|
+
const index = rows.findIndex(row => row.id === id && row.kind === 'pod-worker-lease');
|
|
413
|
+
if (index < 0) throw new ResourceLedgerError(404, 'not-found');
|
|
414
|
+
const row = rows[index]!;
|
|
415
|
+
const attrs = workerAttrs(row);
|
|
416
|
+
if (row.machine !== request.machine) throw new ResourceLedgerError(403, 'machine-scope');
|
|
417
|
+
if (!request.podUid || attrs.podUid !== request.podUid) throw new ResourceLedgerError(409, 'pod-uid-mismatch');
|
|
418
|
+
const reason = request.reason ?? 'host-drained';
|
|
419
|
+
if (reason !== 'host-drained' && reason !== 'runtime-contract-mismatch')
|
|
420
|
+
throw new ResourceLedgerError(400, 'invalid-worker-retire-reason');
|
|
421
|
+
if (attrs.state === 'quarantined' && attrs.reason === reason) return row;
|
|
422
|
+
if (attrs.state !== 'idle') throw new ResourceLedgerError(409, 'worker-not-idle');
|
|
423
|
+
const next = { ...row, attrs: { ...attrs, state: 'quarantined', reason }, observedAt: now };
|
|
424
|
+
rows[index] = next as ResourceRecord;
|
|
425
|
+
this.write(rows);
|
|
426
|
+
return next as ResourceRecord;
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
|
|
383
430
|
heartbeat(id: string, owner: string, attrs?: Record<string, unknown>, now?: number): ResourceRecord {
|
|
384
431
|
return this.mutate(() => {
|
|
385
432
|
if (id.startsWith('pod-worker-lease:')) throw new ResourceLedgerError(403, 'pod-worker-requires-allocator');
|
|
@@ -133,7 +133,7 @@ export function startControlServer(opts: ControlServerOptions = {}): {
|
|
|
133
133
|
const leaseRenewal = /^\/v1\/leases\/port\/([^/]+)\/heartbeat$/.exec(path);
|
|
134
134
|
const workerRegister = path === '/v1/workers/pod' && method === 'POST';
|
|
135
135
|
const workerAcquire = path === '/v1/leases/pod-worker' && method === 'POST';
|
|
136
|
-
const workerTransition = /^\/v1\/leases\/pod-worker\/([^/]+)\/(renew|release|sanitize|quarantine|timeout|reap)$/.exec(path);
|
|
136
|
+
const workerTransition = /^\/v1\/leases\/pod-worker\/([^/]+)\/(renew|release|sanitize|quarantine|timeout|reap|expire|retire)$/.exec(path);
|
|
137
137
|
if (!resourcePath && !registerPath && !leaseRequest && !workerRegister && !workerAcquire && !(workerTransition && method === 'POST') && !(leaseDeletion && method === 'DELETE') && !(leaseRenewal && method === 'POST') && !(heartbeat && method === 'POST') && !(deletion && method === 'DELETE')) {
|
|
138
138
|
return json({ error: 'not-found' }, 404);
|
|
139
139
|
}
|
|
@@ -201,7 +201,21 @@ export function startControlServer(opts: ControlServerOptions = {}): {
|
|
|
201
201
|
if (workerTransition) {
|
|
202
202
|
const workerId = decodeURIComponent(workerTransition[1]!);
|
|
203
203
|
if (!/^[a-zA-Z0-9][a-zA-Z0-9._-]{0,95}$/.test(workerId)) throw new ResourceLedgerError(400, 'invalid-worker-id');
|
|
204
|
-
const action = workerTransition[2] as 'renew' | 'release' | 'sanitize' | 'quarantine' | 'timeout' | 'reap';
|
|
204
|
+
const action = workerTransition[2] as 'renew' | 'release' | 'sanitize' | 'quarantine' | 'timeout' | 'reap' | 'expire' | 'retire';
|
|
205
|
+
if (action === 'retire') {
|
|
206
|
+
if (!machine) throw new ResourceLedgerError(403, 'worker-retire-host-required');
|
|
207
|
+
const body = podWorkerBody(await req.json());
|
|
208
|
+
if (typeof body.podUid !== 'string' || !body.podUid.trim()) throw new ResourceLedgerError(400, 'invalid-pod-worker-retire');
|
|
209
|
+
if (body.reason !== undefined && body.reason !== 'host-drained' && body.reason !== 'runtime-contract-mismatch')
|
|
210
|
+
throw new ResourceLedgerError(400, 'invalid-worker-retire-reason');
|
|
211
|
+
const id = `pod-worker-lease:${workerId}`;
|
|
212
|
+
requireTarget(id);
|
|
213
|
+
const stale = await currentWorkerPrimary();
|
|
214
|
+
if (stale) return stale;
|
|
215
|
+
return json(await ledger.withGuardedWorkerMutation(async () => !(await currentWorkerPrimary()),
|
|
216
|
+
() => ledger.retireIdlePodWorker(id, { machine, podUid: body.podUid as string,
|
|
217
|
+
...(body.reason ? { reason: body.reason as 'host-drained' | 'runtime-contract-mismatch' } : {}) })));
|
|
218
|
+
}
|
|
205
219
|
if (action === 'reap') {
|
|
206
220
|
if (!machine) throw new ResourceLedgerError(403, 'worker-reap-host-required');
|
|
207
221
|
const body = podWorkerBody(await req.json());
|
|
@@ -214,6 +228,22 @@ export function startControlServer(opts: ControlServerOptions = {}): {
|
|
|
214
228
|
return json(await ledger.withGuardedWorkerMutation(async () => !(await currentWorkerPrimary()),
|
|
215
229
|
() => ledger.reservePodWorkerReap(id, { machine, podUid })));
|
|
216
230
|
}
|
|
231
|
+
if (action === 'expire') {
|
|
232
|
+
if (!machine) throw new ResourceLedgerError(403, 'worker-expire-host-required');
|
|
233
|
+
const body = podWorkerBody(await req.json());
|
|
234
|
+
const { podUid, expectedObservedAt, expectedExpiresAtMs } = body;
|
|
235
|
+
if (typeof podUid !== 'string' || !podUid.trim()
|
|
236
|
+
|| !Number.isSafeInteger(expectedObservedAt) || (expectedObservedAt as number) < 0
|
|
237
|
+
|| !Number.isSafeInteger(expectedExpiresAtMs) || (expectedExpiresAtMs as number) < 1)
|
|
238
|
+
throw new ResourceLedgerError(400, 'invalid-pod-worker-expire');
|
|
239
|
+
const id = `pod-worker-lease:${workerId}`;
|
|
240
|
+
requireTarget(id);
|
|
241
|
+
const stale = await currentWorkerPrimary();
|
|
242
|
+
if (stale) return stale;
|
|
243
|
+
return json(await ledger.withGuardedWorkerMutation(async () => !(await currentWorkerPrimary()),
|
|
244
|
+
() => ledger.expireIdlePodWorker(id, { machine, podUid, expectedObservedAt: expectedObservedAt as number,
|
|
245
|
+
expectedExpiresAtMs: expectedExpiresAtMs as number })));
|
|
246
|
+
}
|
|
217
247
|
if (action === 'timeout') {
|
|
218
248
|
if (scope !== 'member') throw new ResourceLedgerError(403, 'worker-timeout-scope');
|
|
219
249
|
const body = podWorkerBody(await req.json());
|
|
@@ -32,7 +32,7 @@ import type { LLMMessage, ContentBlock, LLMToolSpec } from '../llm.js';
|
|
|
32
32
|
import type { LLMUsage } from '../prompt-cache/types.js';
|
|
33
33
|
import { debug } from '../debug/log.js';
|
|
34
34
|
import { publishGoalLifecycle } from '../goals/loop.js';
|
|
35
|
-
import { boundReadableText } from '../self-implement/
|
|
35
|
+
import { boundReadableText } from '../self-implement/readable-text.js';
|
|
36
36
|
import { changedFiles } from '../self-implement/seams.js';
|
|
37
37
|
import { getHarnessRole, getHarnessRunId, getHarnessSpace } from '../harness/harness-space.js';
|
|
38
38
|
import { CONTROL_INBOX_DIR_ENV, drainControlInbox, drainSoftStopControlInbox, enqueueControlMemo, type ControlInboxDrain, type ControlMemoPayload } from '../harness/control-inbox.js';
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
import type { ChatMessage } from '../chat/index.js';
|
|
26
26
|
import type { LLMMessage, LLMToolSpec } from '../llm.js';
|
|
27
27
|
import type { RunCompactPipeline } from '../session/request-size-guard.js';
|
|
28
|
-
import type { CoreTurnDispatchTool } from '../core-turn/
|
|
28
|
+
import type { CoreTurnDispatchTool } from '../core-turn/types.js';
|
|
29
29
|
import {
|
|
30
30
|
DashboardSession,
|
|
31
31
|
type DashboardRequestPermissionHandler,
|
|
@@ -114,7 +114,7 @@ export interface DashboardAcpBootDeps {
|
|
|
114
114
|
* Phase 5a — receives `{ userText }` so the caller can reuse the
|
|
115
115
|
* dashboard's per-turn impl-discipline + surface guidance builders
|
|
116
116
|
* (both branch on user text). */
|
|
117
|
-
getPreamble(ctx: { sessionId: string; userText: string }): readonly LLMMessage[]
|
|
117
|
+
getPreamble(ctx: { sessionId: string; userText: string }): readonly LLMMessage[] | Promise<readonly LLMMessage[]>;
|
|
118
118
|
/** Current turn's tool catalog (tier-split active set). Return `[]`
|
|
119
119
|
* for text-only turns; the bridge falls through to plain
|
|
120
120
|
* streamLLM.
|
|
@@ -254,15 +254,15 @@ export async function bootDashboardAcpSession(
|
|
|
254
254
|
const opts: DashboardSessionOptions = {
|
|
255
255
|
cwd: deps.getCwd(),
|
|
256
256
|
tuiRouting: true,
|
|
257
|
-
getMessages: ({ sessionId, userText }) => {
|
|
257
|
+
getMessages: async ({ sessionId, userText }) => {
|
|
258
258
|
// Failed/canceled turns can skip completion. Retire both transient
|
|
259
259
|
// user markers and per-turn preambles before the next serialized turn.
|
|
260
260
|
clearActiveTurnMarker();
|
|
261
261
|
clearTurnPreambles(sessionId);
|
|
262
|
-
const preamble = deps.getPreamble({ sessionId, userText })
|
|
262
|
+
const preamble = (await deps.getPreamble({ sessionId, userText }))
|
|
263
263
|
.map(message => ({ ...message, transientPreamble: true as const }));
|
|
264
264
|
turnPreambles.set(turnKey(sessionId, userText), preamble);
|
|
265
|
-
return buildTurnMessages(deps, sessionId, userText, preamble);
|
|
265
|
+
return await buildTurnMessages(deps, sessionId, userText, preamble);
|
|
266
266
|
},
|
|
267
267
|
getTools: ({ sessionId, userText }) => {
|
|
268
268
|
const tools = [...deps.getTools({ userText })];
|
|
@@ -535,13 +535,13 @@ function isCurrentDashboardUser(
|
|
|
535
535
|
&& typeof block.text === 'string' && block.text === userText));
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
-
function buildTurnMessages(
|
|
538
|
+
async function buildTurnMessages(
|
|
539
539
|
deps: DashboardAcpBootDeps,
|
|
540
540
|
sessionId: string,
|
|
541
541
|
userText: string,
|
|
542
542
|
turnPreamble?: readonly LLMMessage[],
|
|
543
|
-
): LLMMessage[] {
|
|
544
|
-
const preamble = [...(turnPreamble ?? deps.getPreamble({ sessionId, userText }))];
|
|
543
|
+
): Promise<LLMMessage[]> {
|
|
544
|
+
const preamble = [...(turnPreamble ?? await deps.getPreamble({ sessionId, userText }))];
|
|
545
545
|
const history = [...deps.getChatHistory()] as unknown as LLMMessage[];
|
|
546
546
|
// If the caller already appended the current user text to history,
|
|
547
547
|
// the last entry IS `{ role:'user', content: userText }` and we
|
package/src/dashboard/index.ts
CHANGED
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
import { dispatchStreamingTurnTypeaheadSubmission } from './input/streaming-turn-typeahead.js';
|
|
179
179
|
import { composeVertical, type LayoutZone } from '../layout/composer.js';
|
|
180
180
|
import { createPromptBandRenderObserver, createPromptRowOwner, renderPromptOwnerHintRow, withPromptRowOwner } from '../display/prompt-row-owner.js';
|
|
181
|
-
import type { CoreTurnDispatchTool } from '../core-turn/
|
|
181
|
+
import type { CoreTurnDispatchTool } from '../core-turn/types.js';
|
|
182
182
|
// streamGrok kept as back-compat shim in chat.ts — not imported here
|
|
183
183
|
// directly anymore. Dashboard runs every turn through the in-process
|
|
184
184
|
// ACP pair (see `bootDashboardAcpSession`), which internally routes
|
|
@@ -976,17 +976,10 @@ import { createDashboardTerminalPopupRuntime } from './terminal-popup-runtime.js
|
|
|
976
976
|
import { createDashboardSidetabRuntime, mergeLocalAgentSessions, runDashboardAgentMission } from './sidetab-runtime.js';
|
|
977
977
|
import { visibleMissionFailureLogData } from './visible-mission-diagnostics.js';
|
|
978
978
|
import { CLASSIC_SIDETAB_MISSION_TOOL_NAME, createClassicSidetabMissionIntegration, createClassicSidetabMissionPairSessionRegistry, type ClassicSidetabHandReplyInput, type ClassicSidetabMissionAgent, type ClassicSidetabMissionDispatchContext, type ClassicSidetabMissionIntegration, type ClassicSidetabMissionPairResult, type ClassicSidetabMissionResult, type ClassicSidetabMissionTrioResult } from './classic-sidetab-mission.js';
|
|
979
|
-
import type { ClassicSidetabMissionPairCompletionResult } from './classic-sidetab-mission-job.js';
|
|
980
|
-
import type { HandTaskOptions } from '../task-agent/task-hand.js';
|
|
981
979
|
import { cancelClassicMissionCli, startClassicMissionCli } from './mission-cli-consumer.js';
|
|
982
980
|
import { enqueueClassicSidetabMissionCompletion, runPreparedClassicSidetabVisibleMission } from './classic-sidetab-mission-job.js';
|
|
983
981
|
import { startClassicSidetabMissionPair } from './classic-sidetab-mission-pair.js';
|
|
984
982
|
import { captureClassicMissionExitObservation, createClassicSidetabMissionTrioVisibleRunner, startClassicSidetabMissionTrio } from './classic-sidetab-mission-trio.js';
|
|
985
|
-
import { createDashboardPluginWizardRuntimeFromSidetab, searchAvailablePluginWizardTools } from './plugin-wizard-runtime.js';
|
|
986
|
-
|
|
987
|
-
/** Public dashboard composition seam used by the TUI entrypoint and its integration test. */
|
|
988
|
-
export const createDashboardTuiPluginWizard = createDashboardPluginWizardRuntimeFromSidetab;
|
|
989
|
-
import { TUI_PLUGIN_WIZARD_TOOL_NAME } from './plugin-wizard-tool.js';
|
|
990
983
|
import { probeGrokLogin } from '../agent-mission/grok-auth-status.js';
|
|
991
984
|
import { loadSidetabRows } from '../sidetab-core/model.js';
|
|
992
985
|
import { toggleDashboardAssistantRenderState } from './assistant-render-state-runtime.js';
|
|
@@ -1251,7 +1244,7 @@ import {
|
|
|
1251
1244
|
} from '../agent-activity-hud.js';
|
|
1252
1245
|
import { DASHBOARD_CLARIFICATION_REQUEST, consumeStreamingTopModalEscape, createEscAbortGate, createEscAbortPendingGate, createHarnessEscHint, routeStreamingEscapeKey } from '../esc-abort-gate.js';
|
|
1253
1246
|
import { enqueueSoftStop, readSoftStopRequestStatus } from '../harness/control-inbox.js';
|
|
1254
|
-
import { setSelfImplementSoftStopSpaceObserver } from '../self-implement/
|
|
1247
|
+
import { setSelfImplementSoftStopSpaceObserver } from '../self-implement/soft-stop-observer.js';
|
|
1255
1248
|
import { createViEditor, type ViEditorHandle } from '../vi-editor.js';
|
|
1256
1249
|
import { launchEditor, canLaunchEditor } from '../editor-launcher.js';
|
|
1257
1250
|
import {
|
|
@@ -1649,16 +1642,6 @@ export interface ShowDashboardOptions {
|
|
|
1649
1642
|
* effect in in-process mode (use TUI's `/session load` for that
|
|
1650
1643
|
* path). */
|
|
1651
1644
|
resumeSessionId?: string;
|
|
1652
|
-
/** Internal integration-test seam. Exercises showDashboard boot and the registered RunSidetabMission dispatcher
|
|
1653
|
-
* while replacing only visible child-process execution and the downstream task hand. Never set by the CLI. */
|
|
1654
|
-
pluginWizardTestOverrides?: {
|
|
1655
|
-
findAvailableTools?: (capability: string) => readonly string[];
|
|
1656
|
-
runPair: (agent: 'codex' | 'claude', mission: string, parallelMission: string, context?: ClassicSidetabMissionDispatchContext) => Promise<{
|
|
1657
|
-
result: ClassicSidetabMissionPairResult;
|
|
1658
|
-
completion: Promise<ClassicSidetabMissionPairCompletionResult>;
|
|
1659
|
-
}>;
|
|
1660
|
-
taskHand: (options: HandTaskOptions) => Promise<unknown>;
|
|
1661
|
-
};
|
|
1662
1645
|
}
|
|
1663
1646
|
|
|
1664
1647
|
// FileIndex cache keyed by absolute cwd. A single elanous session can
|
|
@@ -3347,288 +3330,6 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
3347
3330
|
draw();
|
|
3348
3331
|
};
|
|
3349
3332
|
|
|
3350
|
-
// TUI 부활 C-b-2 PR① — /mission new 준비(ready) 워처 + 인라인 HITL 픽커.
|
|
3351
|
-
// 텔레그램 미션 UX(등록→준비완료 버튼 3행→해소)의 TUI flavor. 실행/알림은
|
|
3352
|
-
// detached prepare 그대로 두고, TUI 는 store 폴링(mission-tui-watch 순수 판정)
|
|
3353
|
-
// 으로 전이 시에만 chat line 을 낸다. 준비완료 → 페이즈 보드 인라인 + 픽커
|
|
3354
|
-
// (승인/보류=dispatchAutopilotMissions via:'tui' · 정정=spawnMissionPrepare 재분해).
|
|
3355
|
-
const missionReadyWatchTimers = new Map<string, ReturnType<typeof setInterval>>();
|
|
3356
|
-
const stopMissionReadyWatch = (missionId: string): void => {
|
|
3357
|
-
const t = missionReadyWatchTimers.get(missionId);
|
|
3358
|
-
if (t) { clearInterval(t); missionReadyWatchTimers.delete(missionId); }
|
|
3359
|
-
};
|
|
3360
|
-
let missionHitlModal: SearchModalHandle | null = null;
|
|
3361
|
-
let missionHitlModalHandle: { dispose: () => void } | null = null;
|
|
3362
|
-
const closeMissionHitlPicker = (): void => {
|
|
3363
|
-
if (missionHitlModalHandle) { try { missionHitlModalHandle.dispose(); } catch { /* ignore */ } missionHitlModalHandle = null; }
|
|
3364
|
-
missionHitlModal = null;
|
|
3365
|
-
draw();
|
|
3366
|
-
try { promptCtl.repaint(); } catch { /* ignore */ } // C-d-1 — 하단 슬롯 반납 후 composer 복원.
|
|
3367
|
-
};
|
|
3368
|
-
const openMissionHitlPicker = (missionId: string, goal: string): void => {
|
|
3369
|
-
if (missionHitlModal) return;
|
|
3370
|
-
void (async () => {
|
|
3371
|
-
const { HITL_REVISE_PRESETS } = await import('../autopilot/mission-notify.js');
|
|
3372
|
-
const items: SearchItem[] = [
|
|
3373
|
-
{ label: '✅ 승인 — 실행 시작', payload: 'approve' },
|
|
3374
|
-
{ label: '⏸️ 보류 — 기록 유지·실행 안 함', payload: 'hold' },
|
|
3375
|
-
...HITL_REVISE_PRESETS.map((p): SearchItem => ({ label: `${p.label} — 재분해`, payload: `preset:${p.action}` })),
|
|
3376
|
-
{ label: '✏️ 직접입력 — 정정 코멘트 작성', payload: 'custom' },
|
|
3377
|
-
];
|
|
3378
|
-
// Pickers share the composer bottom slot.
|
|
3379
|
-
const placement = resolveDecisionPickerPlacement({ height: 14 });
|
|
3380
|
-
const modalWidth = placement.width;
|
|
3381
|
-
const handle = createSearchModal({
|
|
3382
|
-
id: `mission-hitl:${Date.now().toString(36)}`,
|
|
3383
|
-
bounds: placement.bounds,
|
|
3384
|
-
...(placement.slot ? { slot: placement.slot } : {}),
|
|
3385
|
-
title: `미션 승인 — ${goal.slice(0, 48)}`,
|
|
3386
|
-
width: modalWidth,
|
|
3387
|
-
maxVisible: 8,
|
|
3388
|
-
primaryActionLabel: 'select',
|
|
3389
|
-
cancelActionLabel: 'later',
|
|
3390
|
-
filterable: false,
|
|
3391
|
-
onQuery: () => items,
|
|
3392
|
-
onAccept: (item) => {
|
|
3393
|
-
const pick = String(item.payload);
|
|
3394
|
-
closeMissionHitlPicker();
|
|
3395
|
-
void (async () => {
|
|
3396
|
-
if (pick === 'approve' || pick === 'hold') {
|
|
3397
|
-
const { dispatchAutopilotMissions } = await import('../autopilot/mission-tool.js');
|
|
3398
|
-
const r = await dispatchAutopilotMissions(
|
|
3399
|
-
pick === 'approve'
|
|
3400
|
-
? { action: 'approve', id: missionId, via: 'tui' }
|
|
3401
|
-
: { action: 'cancel', id: missionId, via: 'tui', defer: true },
|
|
3402
|
-
) as { error?: string; note?: string; scheduledCron?: string };
|
|
3403
|
-
chatLines.push('');
|
|
3404
|
-
if (r.error) chatLines.push(C.error(` ✗ ${r.error}`));
|
|
3405
|
-
else if (pick === 'approve') {
|
|
3406
|
-
chatLines.push(C.success(` ✅ 승인 — ${r.note ?? '실행 시작'} (${missionId})`));
|
|
3407
|
-
// PR ② — 즉시 집행(비예약)이면 실행 워처: 페이즈 전이·진행바·종결 리포트.
|
|
3408
|
-
if (!r.scheduledCron) startMissionRunWatch(missionId);
|
|
3409
|
-
} else chatLines.push(C.warning(` ⏸️ 보류 — ${r.note ?? '기록 유지'} (${missionId})`));
|
|
3410
|
-
} else if (pick.startsWith('preset:')) {
|
|
3411
|
-
const { HITL_REVISE_PRESETS: presets } = await import('../autopilot/mission-notify.js');
|
|
3412
|
-
const preset = presets.find((p) => `preset:${p.action}` === pick);
|
|
3413
|
-
if (preset) {
|
|
3414
|
-
const { spawnMissionPrepare } = await import('../autopilot/mission-prepare-spawn.js');
|
|
3415
|
-
try { spawnMissionPrepare(missionId, { comment: preset.comment }); } catch { /* fail-soft */ }
|
|
3416
|
-
chatLines.push('');
|
|
3417
|
-
chatLines.push(C.info(` 🔧 정정 반영 중: ${preset.label} — 재분해 후 새 보드를 보여드립니다`));
|
|
3418
|
-
startMissionReadyWatch(missionId);
|
|
3419
|
-
}
|
|
3420
|
-
} else {
|
|
3421
|
-
// 직접입력 — 다음 입력 프롬프트에 /mission revise 를 prefill(고쳐서 Enter).
|
|
3422
|
-
inputPrefixState.set(`/mission revise ${missionId} `);
|
|
3423
|
-
chatLines.push('');
|
|
3424
|
-
chatLines.push(C.muted(' ✏️ 정정 코멘트를 입력창에 이어 쓰고 Enter — /mission revise 로 재분해'));
|
|
3425
|
-
}
|
|
3426
|
-
chatScrollOffset = -1;
|
|
3427
|
-
draw();
|
|
3428
|
-
})();
|
|
3429
|
-
},
|
|
3430
|
-
onCancel: () => {
|
|
3431
|
-
closeMissionHitlPicker();
|
|
3432
|
-
chatLines.push(C.muted(` (나중에 — 승인: /mission approve ${missionId} · 보류: /mission hold · 정정: /mission revise)`));
|
|
3433
|
-
chatScrollOffset = -1;
|
|
3434
|
-
draw();
|
|
3435
|
-
},
|
|
3436
|
-
theme: currentThemeTokens(),
|
|
3437
|
-
});
|
|
3438
|
-
missionHitlModal = handle;
|
|
3439
|
-
attachSurfaceToWorkspace(handle.surface, currentWorkspaceOwnerId());
|
|
3440
|
-
missionHitlModalHandle = display.pushModal(handle.surface);
|
|
3441
|
-
draw();
|
|
3442
|
-
})();
|
|
3443
|
-
};
|
|
3444
|
-
// P4 (2026-07-13) — 페이즈 실패 힐 픽커. 텔레그램 3층 탈출구 버튼([🔧 재구현][✂️ 분할]
|
|
3445
|
-
// [✏️ 골 정정][⏭️ 건너뛰기] + (권장) 강조)의 TUI flavor — 저장 진단(diagnosis.heal)이
|
|
3446
|
-
// 권장을 강조하고, 실행은 P2 의 dispatch 액션(단일 창구·via:'tui'). Esc=나중에(슬래시 안내).
|
|
3447
|
-
const openMissionHealPicker = (
|
|
3448
|
-
missionId: string,
|
|
3449
|
-
phase: { index: number; title: string; diagnosis?: { heal: string; rootCause: string; confidence: string } },
|
|
3450
|
-
): void => {
|
|
3451
|
-
if (missionHitlModal) return; // 하단 슬롯 단일 소유자 — 이미 결정 뷰가 떠 있으면 양보(슬래시로 가능).
|
|
3452
|
-
void (async () => {
|
|
3453
|
-
const rec = phase.diagnosis?.heal;
|
|
3454
|
-
const mark = (kind: string, label: string): string => (rec === kind ? `${label} (권장)` : label);
|
|
3455
|
-
const items: SearchItem[] = [
|
|
3456
|
-
{ label: mark('rebuild', '🔧 재구현 — 이 페이즈부터 재시도'), payload: 'rebuild' },
|
|
3457
|
-
{ label: mark('split', '✂️ 분할 — 단일책임 서브페이즈로 재분해'), payload: 'split' },
|
|
3458
|
-
{ label: mark('revise', '✏️ 골 정정 — 목표 축소·재분해(코멘트 입력)'), payload: 'revise' },
|
|
3459
|
-
{ label: mark('skip', '⏭️ 건너뛰기 — 기능 제외·부분 완주'), payload: 'skip' },
|
|
3460
|
-
];
|
|
3461
|
-
// 권장 항목을 맨 위로(텔레그램 (권장) 강조 동형 · 픽커는 순서가 곧 강조).
|
|
3462
|
-
items.sort((a, b) => Number(String(b.payload) === rec) - Number(String(a.payload) === rec));
|
|
3463
|
-
const placement = resolveDecisionPickerPlacement({ height: 10 });
|
|
3464
|
-
const handle = createSearchModal({
|
|
3465
|
-
id: `mission-heal:${Date.now().toString(36)}`,
|
|
3466
|
-
bounds: placement.bounds,
|
|
3467
|
-
...(placement.slot ? { slot: placement.slot } : {}),
|
|
3468
|
-
title: `페이즈 실패 — ${phase.index}. ${phase.title.slice(0, 40)}`,
|
|
3469
|
-
width: placement.width,
|
|
3470
|
-
maxVisible: 5,
|
|
3471
|
-
primaryActionLabel: 'select',
|
|
3472
|
-
cancelActionLabel: 'later',
|
|
3473
|
-
filterable: false,
|
|
3474
|
-
onQuery: () => items,
|
|
3475
|
-
onAccept: (item) => {
|
|
3476
|
-
const pick = String(item.payload);
|
|
3477
|
-
closeMissionHitlPicker();
|
|
3478
|
-
void (async () => {
|
|
3479
|
-
if (pick === 'revise') {
|
|
3480
|
-
// 정정 코멘트는 사람 입력 — prefill 후 Enter(기존 HITL 직접입력 경로 동형).
|
|
3481
|
-
inputPrefixState.set(`/mission revise ${missionId} `);
|
|
3482
|
-
chatLines.push('');
|
|
3483
|
-
chatLines.push(C.muted(' ✏️ 정정 코멘트를 입력창에 이어 쓰고 Enter — 실패 컨텍스트는 자동 첨부됩니다'));
|
|
3484
|
-
} else {
|
|
3485
|
-
const { dispatchAutopilotMissions } = await import('../autopilot/mission-tool.js');
|
|
3486
|
-
const r = await dispatchAutopilotMissions({
|
|
3487
|
-
action: pick, id: missionId, phase: String(phase.index), via: 'tui',
|
|
3488
|
-
}) as { error?: string; note?: string };
|
|
3489
|
-
chatLines.push('');
|
|
3490
|
-
if (r.error) chatLines.push(C.error(` ✗ ${r.error}`));
|
|
3491
|
-
else {
|
|
3492
|
-
chatLines.push(C.success(` ${r.note ?? `${pick} 시작`}`));
|
|
3493
|
-
startMissionRunWatch(missionId); // 힐 후 순회 재개를 계속 관찰.
|
|
3494
|
-
}
|
|
3495
|
-
}
|
|
3496
|
-
chatScrollOffset = -1;
|
|
3497
|
-
draw();
|
|
3498
|
-
})();
|
|
3499
|
-
},
|
|
3500
|
-
onCancel: () => {
|
|
3501
|
-
closeMissionHitlPicker();
|
|
3502
|
-
chatLines.push(C.muted(` (나중에 — /mission rebuild|split|skip ${missionId} ${phase.index} · 골 정정: /mission revise ${missionId} <코멘트>)`));
|
|
3503
|
-
chatScrollOffset = -1;
|
|
3504
|
-
draw();
|
|
3505
|
-
},
|
|
3506
|
-
theme: currentThemeTokens(),
|
|
3507
|
-
});
|
|
3508
|
-
missionHitlModal = handle;
|
|
3509
|
-
attachSurfaceToWorkspace(handle.surface, currentWorkspaceOwnerId());
|
|
3510
|
-
missionHitlModalHandle = display.pushModal(handle.surface);
|
|
3511
|
-
draw();
|
|
3512
|
-
})();
|
|
3513
|
-
};
|
|
3514
|
-
const startMissionReadyWatch = (missionId: string): void => {
|
|
3515
|
-
if (missionReadyWatchTimers.has(missionId)) return;
|
|
3516
|
-
void (async () => {
|
|
3517
|
-
const watch = await import('../autopilot/mission-tui-watch.js');
|
|
3518
|
-
const baseline = watch.takeMissionReadySnapshot(missionId);
|
|
3519
|
-
let state = watch.createMissionWatchState(baseline, Date.now());
|
|
3520
|
-
const timer = setInterval(() => {
|
|
3521
|
-
const cur = watch.takeMissionReadySnapshot(missionId);
|
|
3522
|
-
const r = watch.advanceMissionWatch(state, cur, Date.now());
|
|
3523
|
-
state = r.state;
|
|
3524
|
-
let readyGoal: string | null = null;
|
|
3525
|
-
for (const ev of r.events) {
|
|
3526
|
-
if (ev.kind === 'phases') {
|
|
3527
|
-
chatLines.push(C.muted(` 🧩 분해 진행 — ${ev.count} 페이즈 (${missionId})`));
|
|
3528
|
-
} else if (ev.kind === 'ready') {
|
|
3529
|
-
const snap = ev.snapshot;
|
|
3530
|
-
readyGoal = snap.goal;
|
|
3531
|
-
chatLines.push('');
|
|
3532
|
-
chatLines.push(C.accent(`❯ 미션 준비 완료 — ${snap.goal.slice(0, 64)}`));
|
|
3533
|
-
// 승인 예고 — 승인하면 무엇이 일어나는지(사람의 승인 판단 근거·dogfood 지적).
|
|
3534
|
-
const tierLabel = snap.tier === 'heavy' ? '무거움' : '가벼움';
|
|
3535
|
-
const approveEffect = snap.executionModel === 'scheduler'
|
|
3536
|
-
? '승인 시 cron 예약(즉시 실행 아님)'
|
|
3537
|
-
: '승인 시 backlog 페이즈 즉시 집행(detached)';
|
|
3538
|
-
chatLines.push(C.subtext(` · 실행모델 ${snap.executionModel || '?'} (${tierLabel}) — ${approveEffect}`));
|
|
3539
|
-
for (const line of watch.missionDescriptionDigest(snap.description)) {
|
|
3540
|
-
chatLines.push(line.startsWith(' ') ? C.muted(` ${line}`) : C.subtext(` · ${line}`));
|
|
3541
|
-
}
|
|
3542
|
-
for (const line of watch.renderMissionPhaseBoardLines(snap.phases, { goal: snap.goal })) {
|
|
3543
|
-
chatLines.push(C.text(` ${line}`));
|
|
3544
|
-
}
|
|
3545
|
-
chatLines.push(C.muted(` 검토 후 선택 — 승인 / 보류 / 정정 (Esc=나중에 · 전문: /mission trace ${missionId})`));
|
|
3546
|
-
} else if (ev.kind === 'resolved-elsewhere') {
|
|
3547
|
-
chatLines.push(C.muted(` ✔ 미션 ${missionId} 은 다른 서피스에서 이미 해소됨 (status=${ev.status})`));
|
|
3548
|
-
} else if (ev.kind === 'gone') {
|
|
3549
|
-
chatLines.push(C.muted(` ✔ 미션 ${missionId} 이 삭제되어 준비 워처를 종료합니다`));
|
|
3550
|
-
} else if (ev.kind === 'timeout') {
|
|
3551
|
-
chatLines.push(C.warning(` ⏰ 미션 준비 워처 타임아웃 — /mission trace ${missionId} 로 확인하세요`));
|
|
3552
|
-
}
|
|
3553
|
-
}
|
|
3554
|
-
if (r.events.length > 0) {
|
|
3555
|
-
chatScrollOffset = -1;
|
|
3556
|
-
draw();
|
|
3557
|
-
}
|
|
3558
|
-
if (r.done) {
|
|
3559
|
-
stopMissionReadyWatch(missionId);
|
|
3560
|
-
if (readyGoal !== null) openMissionHitlPicker(missionId, readyGoal);
|
|
3561
|
-
}
|
|
3562
|
-
}, watch.MISSION_WATCH_INTERVAL_MS);
|
|
3563
|
-
missionReadyWatchTimers.set(missionId, timer);
|
|
3564
|
-
})();
|
|
3565
|
-
};
|
|
3566
|
-
// PR ② — approve 후 실행 워처. 페이즈 전이 chat line(텔레그램 notifyPhaseResult
|
|
3567
|
-
// 동형) + chatFooter 진행바 + 종결 리포트. 실행은 detached run-mission 그대로 —
|
|
3568
|
-
// tox_tasks status 폴링(5s)만. footer 는 MISSION_FOOTER_PREFIX 소유권 판별로
|
|
3569
|
-
// thinking 인디케이터와 공존(우리 것일 때만 갱신/해제).
|
|
3570
|
-
const missionRunWatchTimers = new Map<string, ReturnType<typeof setInterval>>();
|
|
3571
|
-
const stopMissionRunWatch = (missionId: string): void => {
|
|
3572
|
-
const t = missionRunWatchTimers.get(missionId);
|
|
3573
|
-
if (t) { clearInterval(t); missionRunWatchTimers.delete(missionId); }
|
|
3574
|
-
};
|
|
3575
|
-
const startMissionRunWatch = (missionId: string): void => {
|
|
3576
|
-
if (missionRunWatchTimers.has(missionId)) return;
|
|
3577
|
-
void (async () => {
|
|
3578
|
-
const watch = await import('../autopilot/mission-tui-watch.js');
|
|
3579
|
-
const baseline = watch.takeMissionRunSnapshot(missionId);
|
|
3580
|
-
let state = watch.createMissionRunWatchState(baseline, Date.now());
|
|
3581
|
-
const setFooter = (text: string | null): void => {
|
|
3582
|
-
const cur = chatFooterLine.current;
|
|
3583
|
-
if (cur === null || cur.startsWith(watch.MISSION_FOOTER_PREFIX)) chatFooterLine.current = text;
|
|
3584
|
-
};
|
|
3585
|
-
const timer = setInterval(() => {
|
|
3586
|
-
const cur = watch.takeMissionRunSnapshot(missionId);
|
|
3587
|
-
const r = watch.advanceMissionRunWatch(state, cur, Date.now());
|
|
3588
|
-
state = r.state;
|
|
3589
|
-
for (const ev of r.events) {
|
|
3590
|
-
if (ev.kind === 'phase') {
|
|
3591
|
-
const line = watch.renderMissionRunPhaseLine(ev);
|
|
3592
|
-
chatLines.push(ev.phase.status === 'failed' ? C.error(` ${line}`) : C.text(` ${line}`));
|
|
3593
|
-
// P4 — 실패 즉시 저장 진단 카드(🧭 왜 실패 + 💡 권장 힐·텔레그램 동형) + 힐 픽커.
|
|
3594
|
-
if (ev.phase.status === 'failed') {
|
|
3595
|
-
for (const dl of watch.renderMissionPhaseDiagnosisLines(ev.phase)) {
|
|
3596
|
-
chatLines.push(C.subtext(` ${dl}`));
|
|
3597
|
-
}
|
|
3598
|
-
openMissionHealPicker(missionId, ev.phase);
|
|
3599
|
-
}
|
|
3600
|
-
} else if (ev.kind === 'progress') {
|
|
3601
|
-
// 페이즈 내부 변곡점(#3919 미러) — 재시도·예산 상향·opus 폴백 국면을 1줄로.
|
|
3602
|
-
chatLines.push(C.muted(` ⏳ ${ev.phase.index + 1}/${ev.total} ${ev.note.slice(0, 96)}`));
|
|
3603
|
-
} else if (ev.kind === 'finished') {
|
|
3604
|
-
chatLines.push('');
|
|
3605
|
-
chatLines.push(C.accent(`❯ 미션 종결 — ${ev.snapshot.goal.slice(0, 64)}`));
|
|
3606
|
-
for (const line of watch.renderMissionRunReportLines(ev.snapshot)) {
|
|
3607
|
-
chatLines.push(line.startsWith('❌') ? C.warning(` ${line}`) : C.text(` ${line}`));
|
|
3608
|
-
}
|
|
3609
|
-
chatLines.push(C.muted(` 상세: /mission trace ${missionId}`));
|
|
3610
|
-
} else if (ev.kind === 'gone') {
|
|
3611
|
-
chatLines.push(C.muted(` ✔ 미션 ${missionId} 이 삭제되어 실행 워처를 종료합니다`));
|
|
3612
|
-
} else if (ev.kind === 'timeout') {
|
|
3613
|
-
chatLines.push(C.warning(` ⏰ 미션 실행 워처 타임아웃(4h) — /mission trace ${missionId} 로 확인하세요`));
|
|
3614
|
-
}
|
|
3615
|
-
}
|
|
3616
|
-
if (r.events.length > 0) {
|
|
3617
|
-
setFooter(r.done || !cur ? null : watch.renderMissionRunFooter(cur));
|
|
3618
|
-
chatScrollOffset = -1;
|
|
3619
|
-
draw();
|
|
3620
|
-
}
|
|
3621
|
-
if (r.done) {
|
|
3622
|
-
setFooter(null);
|
|
3623
|
-
stopMissionRunWatch(missionId);
|
|
3624
|
-
}
|
|
3625
|
-
}, watch.MISSION_RUN_WATCH_INTERVAL_MS);
|
|
3626
|
-
missionRunWatchTimers.set(missionId, timer);
|
|
3627
|
-
const first = baseline ? watch.renderMissionRunFooter(baseline) : null;
|
|
3628
|
-
if (first) { setFooter(first); draw(); }
|
|
3629
|
-
})();
|
|
3630
|
-
};
|
|
3631
|
-
|
|
3632
3333
|
// C-d-3' (2026-07-13) — 턴 중 타이핑 보존 상태 + 에코 페인터 (essential 전용).
|
|
3633
3334
|
// 스트리밍 사다리가 printable/BS/Enter 를 이 버퍼로 소유하고 composer zone 에
|
|
3634
3335
|
// 즉시 에코 · 턴 종료 시 loop-head 핸드오프가 prefill/자동제출로 넘긴다.
|
|
@@ -13987,7 +13688,6 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
13987
13688
|
})).answer,
|
|
13988
13689
|
});
|
|
13989
13690
|
};
|
|
13990
|
-
const pluginWizardPairCompletions = new Map<string, Promise<import('./classic-sidetab-mission-job.js').ClassicSidetabMissionPairCompletionResult>>();
|
|
13991
13691
|
const classicSidetabMission = createDashboardClassicSidetabMissionCallbacks(async (agent, mission, context) => {
|
|
13992
13692
|
const started = await startClassicMissionCli({
|
|
13993
13693
|
agent,
|
|
@@ -14009,14 +13709,6 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
14009
13709
|
content: 'Independent sidetab job started; this conversation can continue.',
|
|
14010
13710
|
};
|
|
14011
13711
|
}, cancelClassicSidetabMission, async (agent, mission, parallelMission, context) => {
|
|
14012
|
-
const testPair = opts.pluginWizardTestOverrides?.runPair;
|
|
14013
|
-
if (testPair) {
|
|
14014
|
-
const started = await testPair(agent, mission, parallelMission, context);
|
|
14015
|
-
if (context?.callId?.startsWith('plugin-wizard:')) {
|
|
14016
|
-
pluginWizardPairCompletions.set(context.callId, started.completion);
|
|
14017
|
-
}
|
|
14018
|
-
return started.result;
|
|
14019
|
-
}
|
|
14020
13712
|
for (const member of ['codex', 'claude'] as const) {
|
|
14021
13713
|
const prepared = await prepareClassicSidetabAgentCli(member);
|
|
14022
13714
|
if (!prepared.ready) {
|
|
@@ -14137,9 +13829,6 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
14137
13829
|
killSession: (sessionId) => sessionRegistry.kill(sessionId),
|
|
14138
13830
|
enqueue: (notification) => globalTaskNotificationQueue.enqueue(notification),
|
|
14139
13831
|
});
|
|
14140
|
-
if (context?.callId?.startsWith('plugin-wizard:')) {
|
|
14141
|
-
pluginWizardPairCompletions.set(context.callId, started.completion);
|
|
14142
|
-
}
|
|
14143
13832
|
void started.completion;
|
|
14144
13833
|
return started.result;
|
|
14145
13834
|
}, async (input) => {
|
|
@@ -14200,16 +13889,6 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
14200
13889
|
void started.completion;
|
|
14201
13890
|
return started.result;
|
|
14202
13891
|
});
|
|
14203
|
-
const tuiPluginWizard = createDashboardTuiPluginWizard(classicSidetabMission, pluginWizardPairCompletions, {
|
|
14204
|
-
getWorkspace: () => getSessionCwd(),
|
|
14205
|
-
findAvailableTools: opts.pluginWizardTestOverrides?.findAvailableTools ?? ((capability) => {
|
|
14206
|
-
const runtimeSpecs = acpToolRuntime?.listToolRuntimes('tui').map(runtime => runtime.spec) ?? [];
|
|
14207
|
-
const hostSpecs = pluginHost.hostLLMTools();
|
|
14208
|
-
return searchAvailablePluginWizardTools(capability, [...new Map([...runtimeSpecs, ...hostSpecs]
|
|
14209
|
-
.map(spec => [spec.name, spec] as const)).values()]);
|
|
14210
|
-
}),
|
|
14211
|
-
...(opts.pluginWizardTestOverrides ? { taskHand: opts.pluginWizardTestOverrides.taskHand } : {}),
|
|
14212
|
-
});
|
|
14213
13892
|
disposeClassicSigquit = registerClassicSigquitHandler(() => {
|
|
14214
13893
|
classicSidetabRuntime.beginPrefix();
|
|
14215
13894
|
});
|
|
@@ -15734,7 +15413,7 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
15734
15413
|
[...researchDefaults, ...tools].map(tool => [tool.name, tool] as const),
|
|
15735
15414
|
).values()];
|
|
15736
15415
|
const classicTools = runtime ? classicSidetabMission.getTools(withSurfaceDefaults) : withSurfaceDefaults;
|
|
15737
|
-
const tuiTools =
|
|
15416
|
+
const tuiTools = classicTools;
|
|
15738
15417
|
return [
|
|
15739
15418
|
...tuiChatPersonaMessages(currentChatPersonaSessionId(), chatPersonaSelection),
|
|
15740
15419
|
...buildDashboardTurnPreamble({
|
|
@@ -15757,7 +15436,7 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
15757
15436
|
},
|
|
15758
15437
|
getTools: ({ userText }) => {
|
|
15759
15438
|
const runtime = acpToolRuntime;
|
|
15760
|
-
if (!runtime) return
|
|
15439
|
+
if (!runtime) return [];
|
|
15761
15440
|
const tools = buildSessionRuntimeToolSpecs({
|
|
15762
15441
|
userText,
|
|
15763
15442
|
hostTools: pluginHost.hostLLMTools(),
|
|
@@ -15777,7 +15456,7 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
15777
15456
|
[...researchDefaults, ...tools].map(tool => [tool.name, tool] as const),
|
|
15778
15457
|
).values()];
|
|
15779
15458
|
const classicTools = classicSidetabMission.getTools(withSurfaceDefaults);
|
|
15780
|
-
const tuiTools =
|
|
15459
|
+
const tuiTools = classicTools;
|
|
15781
15460
|
// ⭐ Remember this turn's catalog so a spawned sub-agent can inherit it.
|
|
15782
15461
|
//
|
|
15783
15462
|
// `dispatchAgent` computes `childTools = (hostTools ?? []).filter(...)`,
|
|
@@ -15785,7 +15464,7 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
15785
15464
|
// or edit anything, which is the whole point of delegating code work.
|
|
15786
15465
|
// Exposing `Agent` without this wiring is worse than not exposing it:
|
|
15787
15466
|
// the model picks a delegate that provably cannot act.
|
|
15788
|
-
acpTurnToolSpecs = tuiTools.filter(tool => tool.name !== CLASSIC_SIDETAB_MISSION_TOOL_NAME
|
|
15467
|
+
acpTurnToolSpecs = tuiTools.filter(tool => tool.name !== CLASSIC_SIDETAB_MISSION_TOOL_NAME);
|
|
15789
15468
|
return tuiTools;
|
|
15790
15469
|
},
|
|
15791
15470
|
// R2 essential TUI execution boundary: ACP receives the same
|
|
@@ -15802,11 +15481,6 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
15802
15481
|
// Count at the server-side boundary, before any tool effect and
|
|
15803
15482
|
// before the ACP notification can reach the TUI client.
|
|
15804
15483
|
acpToolDispatchCount++;
|
|
15805
|
-
const pluginWizardResult = tuiPluginWizard.dispatchTool(name, args, {
|
|
15806
|
-
callId: ctx?.callId,
|
|
15807
|
-
parentSessionId: ctx?.sessionId,
|
|
15808
|
-
});
|
|
15809
|
-
if (pluginWizardResult) return await pluginWizardResult;
|
|
15810
15484
|
const classicMissionResult = classicSidetabMission.dispatchTool(name, args, {
|
|
15811
15485
|
callId: ctx?.callId,
|
|
15812
15486
|
parentSessionId: ctx?.sessionId,
|
|
@@ -15891,7 +15565,7 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
15891
15565
|
});
|
|
15892
15566
|
const specs = [...new Map(
|
|
15893
15567
|
[...acpTurnToolSpecs, ...childCatalog]
|
|
15894
|
-
.filter(tool => tool.name !== CLASSIC_SIDETAB_MISSION_TOOL_NAME
|
|
15568
|
+
.filter(tool => tool.name !== CLASSIC_SIDETAB_MISSION_TOOL_NAME)
|
|
15895
15569
|
.map(tool => [tool.name, tool] as const),
|
|
15896
15570
|
).values()];
|
|
15897
15571
|
return {
|
|
@@ -18117,10 +17791,6 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
18117
17791
|
openPicker: () => { openForkTimetravelPicker(); },
|
|
18118
17792
|
timetravel: (n) => forkTimetravelFromChatHistory(n),
|
|
18119
17793
|
},
|
|
18120
|
-
missionTui: {
|
|
18121
|
-
startReadyWatch: (missionId) => { startMissionReadyWatch(missionId); },
|
|
18122
|
-
startRunWatch: (missionId) => { startMissionRunWatch(missionId); },
|
|
18123
|
-
},
|
|
18124
17794
|
refreshReasoningHudSegment,
|
|
18125
17795
|
inputSeed: {
|
|
18126
17796
|
appendBlock: (seed) => { inputPrefixState.appendBlock(seed); },
|