elanous 0.2.43 → 0.2.47
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/README.md +3 -3
- package/apps/pwa/out/404/index.html +1 -1
- package/apps/pwa/out/404.html +1 -1
- package/apps/pwa/out/_next/static/chunks/05181998.4f8efaf00572ba3b.js +122 -0
- package/apps/pwa/out/_next/static/chunks/1100-c0c1d80f649e121b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/113.80a933f7c75c98f4.js +24 -0
- package/apps/pwa/out/_next/static/chunks/1170.2b91e0702fae25c2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/120-0c4a26e7eedc1bb9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1279.d5c20b1a56b736bf.js +149 -0
- package/apps/pwa/out/_next/static/chunks/1372.9db49566ed0e4c02.js +104 -0
- package/apps/pwa/out/_next/static/chunks/{8062-7cd0bcc7f01455ba.js → 1395-be70dd3408dec106.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/1449-4665277ec241284f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1473.ac3cee48c1d82bc6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1510.7b4ce4032d06097c.js +148 -0
- package/apps/pwa/out/_next/static/chunks/1575.33a2d7d2be3d23f9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1728-d9808a0d6be6aa40.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{d96660fb.cbc21a2a88539dbb.js → 17673afb.ba8b2d0410a4be97.js} +7 -7
- package/apps/pwa/out/_next/static/chunks/{5824.da9527b15a3221e5.js → 2021.7d4dfac25daed3bc.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/2128.368c63f8816ffc35.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2272-2179b64be6512dcf.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2282-7f396efa367b707d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{7900.096f455c7c1efc53.js → 2313.444bed0db65aadb0.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/{2073-ba274e00e4f9efb4.js → 2408-017e04049c99038f.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/2433.1108dd9eb7f009c0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2474-ce5b82a664d581f2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2532.376ea6de59f7c4f0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/256.2a8e008d30947074.js +1 -0
- package/apps/pwa/out/_next/static/chunks/27.a383feedd4b99367.js +74 -0
- package/apps/pwa/out/_next/static/chunks/{6540.c7bef57ad8f90a87.js → 2767.71eaafcf158c9e24.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/279-9a8b620470792271.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3113.d7472bbc27d580c7.js → 2791.6620db26a28b4ad4.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/2831-6d9d315a32b98961.js +1 -0
- package/apps/pwa/out/_next/static/chunks/292.06ca375a02c7830b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2955-056d5f1facf64dd7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2979-9c9f85d058367133.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2993.e25197cd7fb4e2e5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/29a68040.431a2da0564d7724.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5930.8b4df3b46c32b05a.js → 3131.e7063655797e9743.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/314-db68d7268a1f99aa.js +1 -0
- package/apps/pwa/out/_next/static/chunks/316.76984e210cf33c21.js +62 -0
- package/apps/pwa/out/_next/static/chunks/3255-80f60feecd5db880.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3271.938bf60213f6cd17.js +8 -0
- package/apps/pwa/out/_next/static/chunks/3325-9699faf5a5294830.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3418-f1ea6c6c710d5b94.js +1 -0
- package/apps/pwa/out/_next/static/chunks/342.050ac4b1738dfa5c.js +94 -0
- package/apps/pwa/out/_next/static/chunks/{9810-2543267050e58b82.js → 3545-5642d5df0667bcac.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3615-322e67bfc3b6907e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3805-5c39a4bf5012fe86.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3892.b8cde90082048d8c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3900.b581090764d62bfb.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3907.097fcec8956b021d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4110.8f14b59381558d7d.js +32 -0
- package/apps/pwa/out/_next/static/chunks/422.33fde3dd808ec96d.js +115 -0
- package/apps/pwa/out/_next/static/chunks/4512-11a489cb5444ef52.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4537-2c8089e830054a19.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{8967-7dfebf710c9dec9d.js → 4548-afc498c924849db3.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/4588.3b7994fe28615549.js +23 -0
- package/apps/pwa/out/_next/static/chunks/4621-dcc3be02b7262bbe.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4680-53705a02f53bd359.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4705-16e4a3603923253d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4731.460c7a05f812951a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3694.e0099884345f0198.js → 4818.6fdc817b8b12788a.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/4875-dbc3d55494aa15bb.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4890-100ef7fd2852528a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/497.e875b212a877dc91.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5106-1d9854b2e07d263b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3091.a5a4143dea33d197.js → 5136.062e5b4ac043384f.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/5190.7cb2cf1274606639.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5290.80a8cd7d37adf0b4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/543.67803b0449dc628e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5464-f8193c7ae973d9d1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5501.43770a36d11760e4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5672.2616c24baee6bb2f.js +34 -0
- package/apps/pwa/out/_next/static/chunks/5745-8a56d7701139e416.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5757.eae58c9553985765.js +79 -0
- package/apps/pwa/out/_next/static/chunks/5848-9c1a3b9533bd0031.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{8986.8e2e4efbfa655c59.js → 5987.3693cba0f39fc644.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{6944.309f4e3ea54d1537.js → 6006.3dcd594182d0cedb.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{aa57532f.510551854ff239b1.js → 607d4dc1.a4c4988d2c164d64.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/6166-b2fc7231dee53e86.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6250.7667f92b4d4465fb.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{114.2b90424d1a3ce84c.js → 6293.4e33bcd25fa7fe80.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/6312.11884f8b6fc01317.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6329.cfe619f9146ddb60.js +287 -0
- package/apps/pwa/out/_next/static/chunks/6610-f0510f329e6c15e8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6840.046ad6790da728d9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6851.700470acf99ed58b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{0ad6802e.ae7afb63fdcb4491.js → 6c31d3a0.7f6d7568c2b7f9cc.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{5789.2da35c258292e1e5.js → 7134.373f7059f13a9ea9.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{1406.a1dc2ab6f8449374.js → 7216.dc82684f78870505.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/{5564.9e72532188f57586.js → 7327.5bc587cdfbb7468b.js} +4 -4
- package/apps/pwa/out/_next/static/chunks/{8861-cc1fa1c7b920fa8e.js → 7340-55af4d0198f3c218.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7385.23cc541c89c2fa98.js +286 -0
- package/apps/pwa/out/_next/static/chunks/{5963-c4d8469c52a0828b.js → 7631-673b883cfbbcaed1.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7746.17ee8fc1f87b774f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{2573.387a707f6f9d720c.js → 7756.ba59333b9f5eb5b1.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/7763.a7579952c4e6f1b4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8045.a714469921e805dd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5394.5dabeb0c62293a28.js → 8073.57b55743909e9013.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/8126.e5237d43a372cf65.js +1 -0
- package/apps/pwa/out/_next/static/chunks/81a72ea7-19d3ed13dbaabf14.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8269-782b63932e10a2ae.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8385-931a72cc6864b91f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8541-6801e6237710c920.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8572.c425a14dcf1ffeb0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/867-2d1e981b0167c29a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8723.ca926aacbbf3ac7f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8747.eeb006b94dad5759.js +41 -0
- package/apps/pwa/out/_next/static/chunks/895.5f73e50705fe1830.js +226 -0
- package/apps/pwa/out/_next/static/chunks/{5866.366966af47fdde5d.js → 8993.bbf6810d7afa70bf.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{c7945435-b44d4dbe90ba0dcb.js → 8f44ce90-05842a3e94de7716.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9066.629ebf156fcd2ab1.js +27 -0
- package/apps/pwa/out/_next/static/chunks/9133-06cf65777241d447.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3903.3ef4656c67572764.js → 9160.83b3cab34166c934.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{5628.6ddb2d5ffba4ff4c.js → 919.c8775745cc88225f.js} +4 -4
- package/apps/pwa/out/_next/static/chunks/{0966f8a1.745fcd44f64a87ea.js → 9270078e.402279bc985895b9.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9397.b3fbfb372280934a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3402.44b565b314f2263c.js → 9605.c828819da413e8e0.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9635.f8d12ec73885ac29.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{2144.25b292396712196d.js → 9695.d086738c907a0c2c.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/{3072.01338851ca21a6f7.js → 9748.2866a5c59dbe980c.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/9828.e6e68b558c521de6.js +24 -0
- package/apps/pwa/out/_next/static/chunks/{5154.5f56dc3902e3d275.js → 9893.7a7b6edae64e8ead.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/9a51175e.fccb3ff43e50adbc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-bedb21eab48baf18.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-07762315735dd0b2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-03f85a9f0a258ea8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/board/page-e845d6c10f91d76b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-fb3631f9f3a50179.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/bots/page-00f6e3c7a80a9bce.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-971a0c0861b98018.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/chat/page-651d5b7636a46cf6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/consult/page-d02ad543024d8341.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/control/page-bb376bd8355baae6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-28c4bec75794d1bd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-2123da599d50838a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/editor/page-2955f93723dcc402.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/exec/page-9223ba698a2a0188.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/field/{page-6b8b4267bab0a677.js → page-e81094cf3567e2f2.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-bedb21eab48baf18.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/inside/page-7d654302ac3b3a4e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/intake/page-2bc02d4bee167db4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/layout-617df2f350b6d863.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live/{page-eff819f0c2d5e084.js → page-499ad36f9c8d105c.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-09acff44586be1c2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/loops/page-5c18c95a9bd1c524.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/market/page-b7e45df4c89eda9d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-9bd9e634f324e2d8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/morning/{page-9ee28f7df07428ea.js → page-895823d15c5776c7.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-76d702791c75b6f5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-89cdfe958d836563.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-65718fff9f43051d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-f0d6a675eb513720.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-a0d5bffbf9203c00.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-9890ca9c1b120cf1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-bb9cf5e9622532a0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/page-44dfa774fa7c5533.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-93c8c51d77053d35.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-716bdba6d2ad3fcd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-0f04eeda9894b67d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-3835d43c61fa1af6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/page-41e8ba9c4feab48e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-eedf8d31ba99ca9f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-bedb21eab48baf18.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/page-241ed1c971bfa1ac.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/share/page-93e2ce2a6e871642.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-561cf4fce14c622c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-b71cab2d1ba15c2c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/term/page-f86e352129f64ac6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/today/page-5b0bd68768085bdb.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/trace/page-a6003c82802c5e93.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/vault/page-122887bd22818e86.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/{page-b4396321238798ec.js → page-a5e2267da13cac6d.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-abac2741a74c7e0f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-cc3091a30e35cbde.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-1b5ef5aad6c1eefc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{cb0f8df8.09a4a6be97e3fc5f.js → c0a97b40.42e62d6352afa9df.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{3557ac4a.c8931684475018ad.js → e866a15a.97493b74d66f48b3.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/framework-52efbeade0c028ac.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-app-365b194cc7ba42f7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-dc781b21621cd6de.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_app-c69e53f764eae97b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_error-bd8106d7e595dfc3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/webpack-e3f77df212a70fcb.js +1 -0
- package/apps/pwa/out/_next/static/css/700f225938e9488f.css +1 -0
- package/apps/pwa/out/_next/static/fMFwB4C7VwMRiuFGZdGVs/_buildManifest.js +1 -0
- package/apps/pwa/out/approvals/index.html +1 -1
- package/apps/pwa/out/approvals/index.txt +23 -23
- package/apps/pwa/out/autopilot/index.html +1 -1
- package/apps/pwa/out/autopilot/index.txt +23 -23
- package/apps/pwa/out/board/index.html +1 -1
- package/apps/pwa/out/board/index.txt +23 -23
- package/apps/pwa/out/botlab/index.html +1 -1
- package/apps/pwa/out/botlab/index.txt +22 -22
- package/apps/pwa/out/bots/index.html +1 -1
- package/apps/pwa/out/bots/index.txt +22 -22
- package/apps/pwa/out/ceo/index.html +1 -1
- package/apps/pwa/out/ceo/index.txt +23 -23
- package/apps/pwa/out/chat/index.html +1 -1
- package/apps/pwa/out/chat/index.txt +22 -22
- package/apps/pwa/out/consult/index.html +1 -1
- package/apps/pwa/out/consult/index.txt +23 -23
- package/apps/pwa/out/control/index.html +1 -1
- package/apps/pwa/out/control/index.txt +23 -23
- package/apps/pwa/out/decisions/index.html +1 -1
- package/apps/pwa/out/decisions/index.txt +22 -22
- package/apps/pwa/out/design-check/index.html +1 -1
- package/apps/pwa/out/design-check/index.txt +23 -23
- package/apps/pwa/out/editor/index.html +1 -1
- package/apps/pwa/out/editor/index.txt +23 -23
- package/apps/pwa/out/exec/index.html +1 -1
- package/apps/pwa/out/exec/index.txt +23 -23
- package/apps/pwa/out/field/index.html +1 -1
- package/apps/pwa/out/field/index.txt +23 -23
- package/apps/pwa/out/healthz +1 -1
- package/apps/pwa/out/index.html +1 -1
- package/apps/pwa/out/index.txt +22 -22
- package/apps/pwa/out/inside/index.html +1 -1
- package/apps/pwa/out/inside/index.txt +22 -22
- package/apps/pwa/out/intake/index.html +1 -1
- package/apps/pwa/out/intake/index.txt +23 -23
- package/apps/pwa/out/live/index.html +1 -1
- package/apps/pwa/out/live/index.txt +23 -23
- package/apps/pwa/out/live-run/index.html +1 -1
- package/apps/pwa/out/live-run/index.txt +23 -23
- package/apps/pwa/out/loops/index.html +1 -1
- package/apps/pwa/out/loops/index.txt +22 -22
- package/apps/pwa/out/market/index.html +1 -1
- package/apps/pwa/out/market/index.txt +22 -22
- package/apps/pwa/out/missions/placeholder/index.html +1 -1
- package/apps/pwa/out/missions/placeholder/index.txt +22 -22
- package/apps/pwa/out/morning/index.html +1 -1
- package/apps/pwa/out/morning/index.txt +23 -23
- package/apps/pwa/out/observatory/index.html +1 -1
- package/apps/pwa/out/observatory/index.txt +23 -23
- package/apps/pwa/out/ops/checklist/index.html +1 -1
- package/apps/pwa/out/ops/checklist/index.txt +22 -22
- package/apps/pwa/out/ops/release/index.html +1 -1
- package/apps/pwa/out/ops/release/index.txt +22 -22
- package/apps/pwa/out/ops/resources/index.html +1 -0
- package/apps/pwa/out/ops/resources/index.txt +30 -0
- package/apps/pwa/out/ops/seats/index.html +1 -1
- package/apps/pwa/out/ops/seats/index.txt +22 -22
- package/apps/pwa/out/outputs/index.html +1 -1
- package/apps/pwa/out/outputs/index.txt +22 -22
- package/apps/pwa/out/reflection/index.html +1 -1
- package/apps/pwa/out/reflection/index.txt +23 -23
- package/apps/pwa/out/scheduler/index.html +1 -1
- package/apps/pwa/out/scheduler/index.txt +23 -23
- package/apps/pwa/out/sessions/index.html +1 -1
- package/apps/pwa/out/sessions/index.txt +22 -22
- package/apps/pwa/out/settings/devices/index.html +1 -1
- package/apps/pwa/out/settings/devices/index.txt +23 -23
- package/apps/pwa/out/settings/index.html +1 -1
- package/apps/pwa/out/settings/index.txt +23 -23
- package/apps/pwa/out/setup/done/index.html +1 -1
- package/apps/pwa/out/setup/done/index.txt +23 -23
- package/apps/pwa/out/setup/index.html +1 -1
- package/apps/pwa/out/setup/index.txt +23 -23
- package/apps/pwa/out/share/index.html +1 -1
- package/apps/pwa/out/share/index.txt +23 -23
- package/apps/pwa/out/showroom/index.html +1 -1
- package/apps/pwa/out/showroom/index.txt +22 -22
- package/apps/pwa/out/tasks/index.html +1 -1
- package/apps/pwa/out/tasks/index.txt +23 -23
- package/apps/pwa/out/term/index.html +1 -1
- package/apps/pwa/out/term/index.txt +23 -23
- package/apps/pwa/out/today/index.html +1 -1
- package/apps/pwa/out/today/index.txt +23 -23
- package/apps/pwa/out/trace/index.html +1 -1
- package/apps/pwa/out/trace/index.txt +23 -23
- package/apps/pwa/out/vault/index.html +1 -1
- package/apps/pwa/out/vault/index.txt +23 -23
- package/apps/pwa/out/workflows/chat-ui/index.html +1 -1
- package/apps/pwa/out/workflows/chat-ui/index.txt +23 -23
- package/apps/pwa/out/workflows/index.html +1 -1
- package/apps/pwa/out/workflows/index.txt +23 -23
- package/apps/pwa/out/workspace/index.html +1 -1
- package/apps/pwa/out/workspace/index.txt +23 -23
- package/apps/pwa/out/worktrees/index.html +1 -1
- package/apps/pwa/out/worktrees/index.txt +23 -23
- package/docs/goal-context/01-goal-authoring-checks.md +1 -0
- package/graphs/overlays/README.md +6 -0
- package/graphs/release/release-loop.yaml +33 -17
- package/graphs/steward/README.md +9 -0
- package/graphs/steward/entrance-dispatch-shadow.yaml +23 -0
- package/graphs/steward/recipes.yaml +3 -0
- package/graphs/units/verbs/make-doc.yaml +1 -0
- package/graphs/video/README.md +38 -0
- package/graphs/video/explainer-line.yaml +20 -7
- package/package.json +2 -1
- package/scripts/bench-metering-plan.ts +229 -0
- package/scripts/demo/demo1104-parallel-host.ts +56 -0
- package/scripts/demo/demo1104-parallel.ts +72 -0
- package/scripts/generate-ux-sim-device-manual.ts +21 -0
- package/scripts/intake-news.ts +10 -4
- package/scripts/intake-social.ts +10 -4
- package/scripts/lib/intake-check-cli.ts +15 -0
- package/scripts/measure-git-checkout-accel.ts +232 -0
- package/scripts/public-leak-baseline.txt +0 -1
- package/scripts/release-loop/docs-node.ts +4 -2
- package/scripts/release-loop/gate-baseline-receipt.ts +34 -3
- package/scripts/release-loop/gate-image-pin.ts +116 -2
- package/scripts/release-loop/gate-node-sim.ts +5 -1
- package/scripts/release-loop/gate-node.ts +633 -84
- package/scripts/release-loop/gate-progress-sim.ts +73 -0
- package/scripts/release-loop/gate-radius-live.ts +5 -4
- package/scripts/release-loop/gate-shard-dispatch.ts +99 -10
- package/scripts/release-loop/gate-shard-receipts.ts +81 -5
- package/scripts/release-loop/known-issues-node.ts +7 -2
- package/scripts/release-loop/node-verdict.ts +3 -1
- package/scripts/release-loop/notes-repair.ts +18 -1
- package/scripts/release-loop/preflight.ts +188 -8
- package/scripts/release-loop/render-warm-control-manifest.ts +22 -0
- package/scripts/release-loop/resume-release.ts +45 -12
- package/scripts/release-loop/resume.ts +93 -16
- package/scripts/release-loop/warm-control-forward.ts +178 -0
- package/scripts/retro-cycle.ts +30 -8
- package/scripts/rhythm/daily.ts +4 -1
- package/scripts/rhythm/linear-progress-sync.ts +28 -15
- package/scripts/sim-world-runner.ts +29 -0
- package/scripts/test-diet/node.ts +1 -1
- package/scripts/test-pod40-control-inbox-isolation.ts +39 -0
- package/scripts/ux-sim.ts +18 -1
- package/scripts/video-pipeline.ts +6 -1
- package/scripts/warm-pool-provider-config.ts +6 -1
- package/skills/explainer-video/engine/build.mjs +39 -2
- package/src/acp/core-turn-bridge.ts +30 -0
- package/src/agent/identity-env.ts +1 -0
- package/src/agent-mission/driver.ts +8 -5
- package/src/agent-mission/grok-auth-status.ts +119 -22
- package/src/agent-mission/mission-out.ts +2 -2
- package/src/agent-mission/resource-ladder.ts +11 -4
- package/src/agent-substrate/pr-reviewer.ts +211 -18
- package/src/agent-substrate/self-review-cli.ts +112 -39
- package/src/auto-research/question-ladder-contract.ts +2 -0
- package/src/auto-research/research-fanout.ts +221 -0
- package/src/auto-research/research-turn.ts +568 -47
- package/src/autopilot/mission-codebase-gate.ts +7 -3
- package/src/cli/config-test-sync.ts +6 -1
- package/src/cli/control-cli.ts +17 -6
- package/src/cli/decision-list-format.ts +9 -0
- package/src/cli/decision-list-since.ts +13 -0
- package/src/cli/decisions-cli.ts +84 -24
- package/src/cli/decisions-list-cli.ts +32 -0
- package/src/cli/doctor-cli.ts +2 -2
- package/src/cli/friendly-errors.ts +4 -0
- package/src/cli/intake-cli.ts +10 -5
- package/src/cli/light-entry-route.ts +25 -3
- package/src/cli/log-event-names.ts +8 -0
- package/src/cli/msg-cli.ts +5 -28
- package/src/cli/msg-list-cli.ts +73 -0
- package/src/cli/pr-cli.ts +42 -58
- package/src/cli/pr-land-options.ts +34 -0
- package/src/cli/provider-cli.ts +54 -0
- package/src/cli/pty-drive-cli.ts +25 -1
- package/src/cli/pty-takeover-cli.ts +9 -6
- package/src/cli/release-checklist-landed-cli.ts +273 -0
- package/src/cli/release-checklist-set-cli.ts +137 -0
- package/src/cli/release-checklist-write.ts +34 -0
- package/src/cli/release-cli.ts +8 -4
- package/src/cli/remote-eln-pty.ts +287 -0
- package/src/cli/resource-ledger-cli.ts +248 -0
- package/src/cli/runs-tree-cli.ts +256 -0
- package/src/cli/setup-cli.ts +42 -0
- package/src/cli/setup-keys.ts +100 -16
- package/src/cli/sim-cli.ts +89 -0
- package/src/cli/tasks-advance-cli.ts +185 -0
- package/src/cli/tasks-cli.ts +59 -92
- package/src/cli/tasks-read-cli.ts +32 -21
- package/src/cli/tui-test-cli.ts +159 -23
- package/src/compact/pipeline.ts +6 -1
- package/src/context-bus/nightly-condense.ts +8 -7
- package/src/control-plane/ledger.ts +42 -4
- package/src/control-plane/member-tokens.ts +25 -2
- package/src/control-plane/ports.ts +8 -3
- package/src/control-plane/server.ts +26 -5
- package/src/core-turn/research-policy.ts +7 -1
- package/src/core-turn/run-core-turn.ts +201 -48
- package/src/core-turn/types.ts +2 -0
- package/src/dashboard/acp-boot.ts +66 -10
- package/src/dashboard/classic-sidetab-mission-job.ts +129 -24
- package/src/dashboard/classic-sidetab-mission-pair.ts +3 -2
- package/src/dashboard/classic-sidetab-mission-trio.ts +125 -29
- package/src/dashboard/classic-sidetab-mission.ts +36 -17
- package/src/dashboard/index.ts +45 -35
- package/src/dashboard/sidetab-runtime.ts +2 -0
- package/src/dashboard/visible-mission-diagnostics.ts +14 -0
- package/src/decisions/decision-cards.ts +6 -1
- package/src/decisions/decision-ledger.ts +5 -0
- package/src/domains/retro-cycle-observation.ts +43 -0
- package/src/domains/retro-cycle.ts +13 -2
- package/src/domains/retro-proposals.ts +92 -0
- package/src/domains/retro-report.ts +6 -1
- package/src/error-report/report.ts +139 -4
- package/src/execution-loop/launch-gate.ts +115 -18
- package/src/fleet/host-doctor.ts +20 -20
- package/src/graph-runner/graph-cli.ts +27 -3
- package/src/graph-runner/graph-grow-llm.ts +3 -1
- package/src/graph-runner/runner.ts +241 -32
- package/src/grid/ssh-broker.ts +436 -0
- package/src/harness/browser-act.ts +11 -4
- package/src/harness/dispatch-backpressure.ts +111 -29
- package/src/harness/harness-cli-command.ts +40 -5
- package/src/harness/harness-pod-dispatch.ts +40 -1
- package/src/index.ts +156 -11
- package/src/light-cli.ts +52 -5
- package/src/llm/child-first-llm-observation.ts +112 -0
- package/src/llm/provider-credentials.ts +60 -4
- package/src/llm/provider-failure-evidence.ts +44 -0
- package/src/llm.ts +306 -32
- package/src/loops/orchestrator/tick.ts +29 -9
- package/src/maturity/feature-maturity.ts +2 -1
- package/src/mcp/client.ts +7 -0
- package/src/mcp/proxy-runtime.ts +6 -1
- package/src/mcp/server.ts +54 -0
- package/src/msg/msg-store.ts +5 -2
- package/src/native-tool-catalog.ts +15 -2
- package/src/nexus/api/consult-requests.ts +18 -6
- package/src/nexus/api/discord-trigger-bot.ts +6 -6
- package/src/nexus/api/graphs-api.ts +4 -2
- package/src/nexus/api/grokbot-trigger-bot.ts +206 -0
- package/src/nexus/api/http-server.ts +8 -0
- package/src/nexus/api/ops-api.ts +6 -0
- package/src/nexus/api/resource-guardian.ts +26 -0
- package/src/nexus/api/resource-ledger.ts +36 -0
- package/src/nexus/api/rest-route-paths.ts +3 -0
- package/src/nexus/api/telegram-trigger-bot.ts +6 -6
- package/src/nexus/api/ux-sim-devices.ts +36 -0
- package/src/nexus/boot/register-mcp-clients.ts +114 -8
- package/src/nexus/index.ts +15 -0
- package/src/nexus/outbound/grokbot-adapter.ts +71 -0
- package/src/nexus/outbound/router.ts +33 -13
- package/src/oauth/codex-owner-mirror.ts +47 -10
- package/src/oauth/codex-seat-home.ts +231 -0
- package/src/oauth/codex.ts +69 -16
- package/src/onboarding/first-run.ts +44 -6
- package/src/onboarding/web-first.ts +45 -14
- package/src/onboarding.ts +9 -0
- package/src/plugins/maker/wizard-generate.ts +13 -1
- package/src/preview/terminal.ts +22 -7
- package/src/prompt-enhance/enhance.ts +10 -0
- package/src/pty-shell/pty-manifest-query-cache.ts +18 -0
- package/src/pty-shell/pty-manifest.ts +76 -0
- package/src/pty-shell/pty-write-provenance.ts +21 -3
- package/src/pty-shell/registry.ts +9 -2
- package/src/pty-shell/remote-eln-inventory.ts +88 -0
- package/src/release-loop/gate-host-reservation.ts +5 -3
- package/src/release-loop/gate-shard-ledger.ts +2 -0
- package/src/release-loop/placement.ts +18 -8
- package/src/release-loop/proposal-auto-place.ts +83 -0
- package/src/release-loop/rehearsal.ts +86 -11
- package/src/release-loop/release-note.ts +84 -0
- package/src/release-loop/stage-mail.ts +71 -0
- package/src/research/axis-fanout.ts +107 -22
- package/src/research/entity-status-table.ts +305 -0
- package/src/research/evidence-attribution.ts +48 -0
- package/src/research/gap-followup.ts +6 -1
- package/src/research/lenses/second-order.ts +312 -0
- package/src/resource-ledger/guardian-reconcile.ts +172 -0
- package/src/resource-ledger/lease-automation.ts +112 -0
- package/src/resource-ledger/lease-heartbeat-worker.ts +169 -0
- package/src/resource-ledger/resource-ledger.ts +253 -0
- package/src/seat-loop/seat-loop.ts +2 -1
- package/src/self-dev/dev-cli.ts +3 -1
- package/src/self-dev/dev-pipeline.ts +67 -6
- package/src/self-dev/draft-sweep.ts +31 -10
- package/src/self-dev/draft-triage-rules.ts +60 -3
- package/src/self-dev/orchestrate-parent-dispatch.ts +44 -0
- package/src/self-dev/review-provider-fallback.ts +108 -10
- package/src/self-dev/run-supervisor.ts +152 -2
- package/src/self-implement/goal-author.ts +420 -30
- package/src/self-implement/graph-overlay-yaml.ts +151 -0
- package/src/self-implement/graph-yaml.ts +68 -2
- package/src/self-implement/orchestrator.ts +234 -59
- package/src/self-implement/pod-warm-pool-profile.ts +3 -0
- package/src/self-implement/seams.ts +42 -1
- package/src/self-implement/test-scenario-request.ts +37 -6
- package/src/session/chat.ts +2 -2
- package/src/session/index.ts +34 -0
- package/src/session/request-size-guard.ts +7 -7
- package/src/session-runtime/index.ts +37 -5
- package/src/session-runtime/search-processor.ts +5 -2
- package/src/sidetab-core/model.ts +213 -15
- package/src/sidetab-core/visible-agent-mission-pair.ts +51 -0
- package/src/sidetab-core/visible-agent-mission.ts +207 -60
- package/src/skills/tools/omni-search.ts +4 -2
- package/src/skills/tools/shell.ts +7 -4
- package/src/steward/entrance-dispatch-shadow-adapter-child.ts +26 -0
- package/src/steward/entrance-dispatch-shadow-adapter.ts +196 -0
- package/src/steward/entrance-dispatch-shadow.ts +318 -0
- package/src/storage/short-lived-read-cache.ts +119 -0
- package/src/task-agent/card-evidence.ts +2 -1
- package/src/task-agent/entrance-shadow.ts +178 -0
- package/src/task-agent/mission.ts +9 -19
- package/src/task-agent/parent-host.ts +93 -5
- package/src/task-agent/recall-inject.ts +98 -0
- package/src/task-agent/repair-cycle.ts +75 -1
- package/src/task-agent/task-card-state.ts +161 -0
- package/src/task-agent/task-hand.ts +66 -147
- package/src/task-agent/work-order-build.ts +22 -1
- package/src/task-orchestrator/surfaces/gate-pod-pool-policy.ts +161 -0
- package/src/task-orchestrator/surfaces/pod-artifact-return.ts +19 -1
- package/src/task-orchestrator/surfaces/pod-failure-reason.ts +15 -0
- package/src/task-orchestrator/surfaces/pod-si-warm-host.ts +21 -9
- package/src/task-orchestrator/surfaces/pod-warm-worker-pod.ts +1 -1
- package/src/task-orchestrator/surfaces/pod-warm-worker-provider.ts +490 -100
- package/src/task-orchestrator/surfaces/pod-warm-worker-runtime.ts +45 -3
- package/src/task-orchestrator/surfaces/self-implement-pod.ts +38 -8
- package/src/task-orchestrator/surfaces/warm-reuse-evidence.ts +61 -0
- package/src/tool-hints/gate.ts +45 -14
- package/src/tool-hints/signals.ts +1 -1
- package/src/tool-hints/types.ts +2 -0
- package/src/tool-runtime/browser-hand-runtime.ts +51 -11
- package/src/tool-runtime/browser-runtime.ts +31 -18
- package/src/tool-runtime/elanous-control-runtimes.ts +5 -2
- package/src/tool-runtime/elanous-linear-secretary-runtime.ts +152 -36
- package/src/tool-runtime/elanous-ux-sim-devices-runtime.ts +43 -0
- package/src/tool-runtime/index.ts +2 -0
- package/src/tool-runtime/types.ts +2 -0
- package/src/tui/entry.ts +55 -8
- package/src/tui/sidetab/attach.ts +324 -34
- package/src/tui/sidetab/list.ts +3 -2
- package/src/tui/sidetab/remote.ts +89 -0
- package/src/tui-client/dashboard-session.ts +2 -0
- package/src/tui-client/next-dashboard-runtime.ts +52 -0
- package/src/user-config.ts +3 -1
- package/src/ux-sim/author-reviewer-precheck-device.ts +78 -0
- package/src/ux-sim/codex-wire-capture.ts +26 -0
- package/src/ux-sim/draft-inventory-builder.ts +2 -1
- package/src/ux-sim/event-monkey.ts +20 -2
- package/src/ux-sim/fake-bin.ts +72 -1
- package/src/ux-sim/fake-cloud-vm.ts +227 -0
- package/src/ux-sim/fake-fleet.ts +123 -0
- package/src/ux-sim/fake-kubectl.ts +21 -6
- package/src/ux-sim/fake-llm.ts +14 -1
- package/src/ux-sim/fake-ssh.ts +125 -0
- package/src/ux-sim/fake-telegram-video.ts +54 -0
- package/src/ux-sim/fixtures/git-worktree-accel-linux.json +239 -0
- package/src/ux-sim/gate-shard-host-reroute.ts +7 -3
- package/src/ux-sim/graph-runtime-overlay-event-path-worker.ts +54 -0
- package/src/ux-sim/graph-runtime-overlay-event-path.ts +80 -0
- package/src/ux-sim/grid-chaos-driver.ts +198 -0
- package/src/ux-sim/grid-ledger.ts +259 -0
- package/src/ux-sim/grid-ready-tiers.ts +253 -0
- package/src/ux-sim/heal-reauthor-materialized.ts +115 -0
- package/src/ux-sim/linear-secretary.ts +4 -12
- package/src/ux-sim/mock-scenario-catalog.json +63 -32
- package/src/ux-sim/mock-scenario-catalog.ts +112 -7
- package/src/ux-sim/release-sim-rig.ts +63 -18
- package/src/ux-sim/research-decision-chain.ts +220 -0
- package/src/ux-sim/safe-public-copy-publish.ts +89 -0
- package/src/ux-sim/scenario.ts +107 -14
- package/src/ux-sim/seminar-rehearsal.ts +108 -0
- package/src/ux-sim/service-key-setup.ts +63 -0
- package/src/ux-sim/warm-pool-reuse-sim.ts +183 -0
- package/src/ux-sim/world-schema.ts +216 -0
- package/src/ux-sim/world-store.ts +328 -0
- package/src/ux-sim/world.ts +524 -0
- package/src/version/packed-revision.json +1 -1
- package/src/video-pipeline/recipes/explainer.ts +237 -10
- package/src/video-pipeline/telegram-video-sender.ts +47 -0
- package/apps/pwa/out/_next/static/Om5xS9jpjSXJCeTNGYEi4/_buildManifest.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1151-5c2bb8f002ca2dd6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1200.6a37c202f9f17e9a.js +0 -226
- package/apps/pwa/out/_next/static/chunks/1261-a616d5728e02e624.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1313-19f737e0222c4444.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1357.3bbef3976c37f94a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1362-20adddfaf662b0fa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1737-9491fc6ab29b9ec6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1803-4f91a8e7dcaf042c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1961.a81b12872c3e93a9.js +0 -23
- package/apps/pwa/out/_next/static/chunks/1970cf59.2d4d8ce5d6c81853.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1971-8890f3962ba7ee0a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2268-53861f339e0b65a2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2312.0c8b61e22d3136d7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/273.f156eee28f11af77.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2873.d2140e5a82546401.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3095.dc44586a5f83b86d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3228-9650b6447b6fa288.js +0 -1
- package/apps/pwa/out/_next/static/chunks/360.ae9f9f4c33c395e8.js +0 -79
- package/apps/pwa/out/_next/static/chunks/3638.80412ea63aae8f3f.js +0 -286
- package/apps/pwa/out/_next/static/chunks/363bfab3.9623b9f89363541f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3744.54f87db52acfd1ab.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3935.16701e33f8982dc9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3955.6922286237f2ac2b.js +0 -24
- package/apps/pwa/out/_next/static/chunks/3969.272ee7f9fd6c62e5.js +0 -34
- package/apps/pwa/out/_next/static/chunks/4199.ce86b281fd0a60b7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4311-6dd3144002cc0c2d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4426-2b230fad00c88930.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4445.7990c76b3751a918.js +0 -115
- package/apps/pwa/out/_next/static/chunks/4447-14c5161fa59166c7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4856-b0b8075bba8c53f4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4870-de370d65e73c0bb5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4885-2c989165c4b29fad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4894.fec2ca9e99caefa2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5093.8f04b7f8cb899a95.js +0 -94
- package/apps/pwa/out/_next/static/chunks/5122-2bb177cebf89e19a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/529.64ff7257180b2ac9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5461.08bf2404ff38ec85.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5474-22e08a85583209b2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5567-265df39ed8fe9dcb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5570-a94ae19811cb2046.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5574-b47c9ef2dceff1fd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5730.43d7ccc09988e646.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6001.ec4049ceb3c43418.js +0 -27
- package/apps/pwa/out/_next/static/chunks/6120-471f03db1e299c0c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6175-41479e643aca1878.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6291.a2de4f9787637075.js +0 -104
- package/apps/pwa/out/_next/static/chunks/6400-6699907c3537436a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6428.1f4327d6ae5fdf9a.js +0 -287
- package/apps/pwa/out/_next/static/chunks/644.02cb026fa44bcd0a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6466-6c87d60d3dd174fb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6773.d4264665ab31bec0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6822.3c789f1a8443e774.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7261-8ff69d3b2ee671fd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7266.084c6bbc70035140.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7271.5c0100e7320aa856.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7429-bf5731358c8f2f68.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7464.01f7a0ae1215fbe7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7479.0fcad5f37eb64f0c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7483.427a2fe2049e388d.js +0 -148
- package/apps/pwa/out/_next/static/chunks/7502-be74718178e13e56.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7530.0889722b19572065.js +0 -24
- package/apps/pwa/out/_next/static/chunks/7645.5b2ee3ad45c55ea3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7788.7d1c79f1a8e18946.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7910-6f139bcafd238b9f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7966.f71c8958d1637548.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8073.f6cf2f2c71aafbd0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8201.190b94088980f430.js +0 -74
- package/apps/pwa/out/_next/static/chunks/8205.282ca4bb62d54a0a.js +0 -62
- package/apps/pwa/out/_next/static/chunks/8313-dfa1021bb58a46d6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/837-81336ebaca8198a8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8447.7963352ef5f71b76.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8574-868e8129525ef6d9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8588.d1c6a2903727ce87.js +0 -149
- package/apps/pwa/out/_next/static/chunks/8637.90f92d5c8db4732c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/868.6e953be05bcf6dca.js +0 -41
- package/apps/pwa/out/_next/static/chunks/8706-e1fe0309343a2273.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8749-06384cdfc4520add.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8997-3c564dbb3b58b055.js +0 -1
- package/apps/pwa/out/_next/static/chunks/923.2034d10ae91e9c20.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9312.bc1b89c5d4368033.js +0 -1
- package/apps/pwa/out/_next/static/chunks/943.39ae5e82f4f1893f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9469.0500480de55fb205.js +0 -32
- package/apps/pwa/out/_next/static/chunks/9770.5f75bc6088b16109.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9870.8419702475254745.js +0 -8
- package/apps/pwa/out/_next/static/chunks/9941-376d1b74d51b01a4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9958.385434ab04241758.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-deea1450b17cb8dc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-70985b904f8650ef.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-a2e15e33e56a4353.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-fc72ce2db12d6ca9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-be03e41f9436ebd9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-35a35999382da3f2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-3ff5b1e6ca88b848.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/chat/page-a65101300a0ee5c1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/consult/page-3aca5b6d67dba511.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/control/page-45b8ab0a71e61314.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-53046e282d4cda8e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-17809e60e8354c17.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/editor/page-fd2442d347bf5898.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/exec/page-e9d720d6fc082e21.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-deea1450b17cb8dc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/inside/page-8bcf6233ac7c17af.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-7cc25591cfc2126f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/layout-053e871f35c9beba.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-4d7e9d8db5274a87.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/loops/page-2b2d8f5aa5f69ad4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-0b8f92c5062e68b1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-1bd9d0fdac2ced3d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-44b7a1ff468c6648.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-cbc6523711dc1b65.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-fdad47899c2695be.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-79a8b5fee4c20871.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-03e8ac9606aeaffb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-4cd55c55ec287e2f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/page-db17b4305404161e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-30041d848350fd02.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-c540da022dbf86b0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-9399efc538da057f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-ca2d09128c585ca4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-0e2635aecd343038.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-ef7f4399b6b7726e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-deea1450b17cb8dc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/page-caf530535b875468.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/share/page-eaa20c1543a5fd8e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-c541eb1b75120f61.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-ab5e213eda9479f4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/term/page-0a815f34367b6db6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-e858ba0ed9393b68.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/trace/page-1638ee9dd6e0582f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/vault/page-4cf5a399109391f2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-cb72bfd21006781a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-6135d0242afbc434.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-a1dccf907eddb856.js +0 -1
- package/apps/pwa/out/_next/static/chunks/ea514caa.05a24f78d9dffe5f.js +0 -122
- package/apps/pwa/out/_next/static/chunks/fb7d20d5-6892502b6ee39ca6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/framework-e8a911e19b1be41f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-7022f418fabba021.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-app-e5f15df755756a1e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_app-4525f91e36940c9b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_error-140f0e519c085b0f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/webpack-8f22ef63dcb865b1.js +0 -1
- package/apps/pwa/out/_next/static/css/d1f8bb401740a549.css +0 -1
- /package/apps/pwa/out/_next/static/{Om5xS9jpjSXJCeTNGYEi4 → fMFwB4C7VwMRiuFGZdGVs}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { Command } from 'commander';
|
|
2
|
+
import { join } from 'node:path';
|
|
3
|
+
import { elanousStateRoot } from '../autopilot/state-paths.js';
|
|
4
|
+
import { canonicalSeatId, defaultMsgStorePath, openMsgStore, type Message, type MsgStore } from '../msg/msg-store.js';
|
|
5
|
+
import { readQueryCache } from '../storage/short-lived-read-cache.js';
|
|
6
|
+
|
|
7
|
+
interface MessageListOptions { to?: string; thread?: string; after?: string; limit?: string; json?: boolean }
|
|
8
|
+
|
|
9
|
+
function integer(raw: string | undefined, flag: string, fallback: number, min: number, max: number): number {
|
|
10
|
+
if (raw === undefined) return fallback;
|
|
11
|
+
if (!/^(0|[1-9]\d*)$/.test(raw)) throw new Error(`${flag} must be an integer between ${min} and ${max}`);
|
|
12
|
+
const value = Number(raw);
|
|
13
|
+
if (!Number.isSafeInteger(value) || value < min || value > max) throw new Error(`${flag} must be an integer between ${min} and ${max}`);
|
|
14
|
+
return value;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const KIND_EMOJI: Readonly<Record<string, string>> = {
|
|
18
|
+
coord: '🤝', report: '📋', info: 'ℹ️', question: '❓', alert: '🚨', progress: '⏳', incident: '🔥', coach: '🎓',
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export function formatMessage(message: Message): string {
|
|
22
|
+
const kind = message.kind ? ` ${Object.hasOwn(KIND_EMOJI, message.kind) ? KIND_EMOJI[message.kind] : ''}[${message.kind}]` : '';
|
|
23
|
+
return `#${message.id} ${message.createdAt} ${message.from} → ${message.to}${kind}: ${message.body}`;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** Register only msg list so the hot read route does not load post/watch/mirror producers. */
|
|
27
|
+
export function registerMsgListCommand(msg: Command, deps: {
|
|
28
|
+
openStore?: () => MsgStore;
|
|
29
|
+
cacheReads?: boolean;
|
|
30
|
+
out?: Pick<Console, 'log' | 'error'>;
|
|
31
|
+
setExitCode?: (code: number) => void;
|
|
32
|
+
} = {}): void {
|
|
33
|
+
const open = deps.openStore ?? (() => openMsgStore());
|
|
34
|
+
const out = deps.out ?? console;
|
|
35
|
+
const setExitCode = deps.setExitCode ?? ((code: number) => { process.exitCode = code; });
|
|
36
|
+
msg.command('list').description('List messages for one recipient or one thread without acknowledging them')
|
|
37
|
+
.option('--to <seat>').option('--thread <id>', 'request ID; list it and its replies, regardless of recipient')
|
|
38
|
+
.option('--after <id>', 'exclusive message ID (default: acknowledged cursor for a recipient, 0 for a thread)')
|
|
39
|
+
.option('--limit <count>', 'maximum messages (1–1000)').option('--json')
|
|
40
|
+
.action((opts: MessageListOptions) => {
|
|
41
|
+
let store: MsgStore | undefined;
|
|
42
|
+
try {
|
|
43
|
+
if (opts.thread !== undefined && opts.to !== undefined) throw new Error('--thread cannot be used with --to');
|
|
44
|
+
const to = opts.thread === undefined
|
|
45
|
+
? (opts.to === undefined ? (() => { throw new Error('--to is required'); })() : canonicalSeatId(opts.to))
|
|
46
|
+
: undefined;
|
|
47
|
+
const threadId = opts.thread === undefined ? undefined : integer(opts.thread, '--thread', 0, 1, Number.MAX_SAFE_INTEGER);
|
|
48
|
+
const limit = integer(opts.limit, '--limit', 100, 1, 1000);
|
|
49
|
+
const after = opts.after === undefined ? undefined : integer(opts.after, '--after', 0, 0, Number.MAX_SAFE_INTEGER);
|
|
50
|
+
store = open();
|
|
51
|
+
const cursor = to === undefined || after !== undefined ? null : store.getCursor(to);
|
|
52
|
+
const key = { command: 'msg-list', to, threadId, after, cursor, sequence: store.latestId(), limit };
|
|
53
|
+
const load = () => threadId === undefined
|
|
54
|
+
? store!.list(to!, after ?? cursor!, limit)
|
|
55
|
+
: store!.listThread(threadId, after ?? 0, limit);
|
|
56
|
+
const messages = deps.cacheReads === false ? load() : readQueryCache({
|
|
57
|
+
root: join(elanousStateRoot(), 'cache', 'cli-read-query'), key,
|
|
58
|
+
sourcePaths: [`${defaultMsgStorePath()}`, `${defaultMsgStorePath()}-wal`], ttlMs: 500, load,
|
|
59
|
+
});
|
|
60
|
+
store.close();
|
|
61
|
+
store = undefined;
|
|
62
|
+
if (opts.json) out.log(JSON.stringify(messages));
|
|
63
|
+
else {
|
|
64
|
+
if (!messages.length) out.log('No messages.');
|
|
65
|
+
for (const message of messages) out.log(formatMessage(message));
|
|
66
|
+
}
|
|
67
|
+
} catch (error) {
|
|
68
|
+
store?.close();
|
|
69
|
+
out.error(`msg: ${error instanceof Error ? error.message : String(error)}`);
|
|
70
|
+
setExitCode(2);
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
package/src/cli/pr-cli.ts
CHANGED
|
@@ -58,22 +58,17 @@ import {
|
|
|
58
58
|
} from './pr-granularity.js';
|
|
59
59
|
import { branchLineageSlug, findSiblingPrs } from './pr-lineage.js';
|
|
60
60
|
import { parseReleaseNoteSection } from '../release-loop/release-note.js';
|
|
61
|
+
import { registerPrLandOptions } from './pr-land-options.js';
|
|
61
62
|
import { landingFreezeMessage } from '../release-loop/landing-freeze.js';
|
|
62
|
-
import { admitLandingMerge } from '../self-implement/frozen-merges.js';
|
|
63
|
-
import { resolveOverlapEvidencePath, verifyAllSameHeadReviews, verifyAncestorAutoPass, verifyOverlapEvidence, verifyOverlapEvidenceVirtualRebase } from './pr-land-overlap-evidence.js';
|
|
64
63
|
import type { VerifyOverlapEvidenceInput } from './pr-land-overlap-evidence.js';
|
|
65
|
-
import { verifyVirtualRebasePatch } from './pr-land-virtual-rebase.js';
|
|
66
64
|
import { classifyPrLandRefusal, observeDirectPrLandRefusal, observePrLandRefusal } from './pr-land-refusal.js';
|
|
67
65
|
import { bindPrLandRefusalToRecover, PR_LAND_CARD_ID_ENV } from './pr-land-recovery.js';
|
|
68
|
-
import {
|
|
66
|
+
import type { HeavyRemoteInput, HeavyRemoteResult } from './pr-land-heavy-remote.js';
|
|
69
67
|
import { readPrBaseNameWithRetry } from './pr-land-base-read.js';
|
|
70
|
-
import { runHeavyOnPodShadow } from './pr-land-pod-shadow.js';
|
|
71
68
|
import type { LandingPodShadowInput, LandingPodShadowVerdict } from './pr-land-pod-shadow-job.js';
|
|
72
|
-
import {
|
|
73
|
-
import { readTaskAgentState, taskAgentStatePath, type TaskCard } from '../task-agent/task-hand.js';
|
|
69
|
+
import type { TaskCard } from '../task-agent/task-hand.js';
|
|
74
70
|
import { INFLIGHT_REGISTRY_FILE, removeInflightForPr } from '../pr-tool/inflight-registry.js';
|
|
75
|
-
import {
|
|
76
|
-
import { enqueueL8ShadowQueue, runL8ShadowQueue, shadowPrNumber, statusL8ShadowQueue, type L8ShadowQueueDeps } from '../self-implement/l8-merge-queue.js';
|
|
71
|
+
import type { L8ShadowQueueDeps } from '../self-implement/l8-merge-queue.js';
|
|
77
72
|
import { censusOpenPrs, guardNewPr, parseDiffHunks, readOpenPrs, sharedCensusDiffCache, type Seat } from '../pr-tool/census.js';
|
|
78
73
|
|
|
79
74
|
export { branchLineageSlug, findSiblingPrs };
|
|
@@ -1074,7 +1069,7 @@ function emitLandingOverlapAdvisory(
|
|
|
1074
1069
|
}
|
|
1075
1070
|
|
|
1076
1071
|
/** The pinned overlap evidence decision is shared by landing and its read-only preview. */
|
|
1077
|
-
export function verifyPinnedOverlapDecision(input: {
|
|
1072
|
+
export async function verifyPinnedOverlapDecision(input: {
|
|
1078
1073
|
opts: PrLandOpts;
|
|
1079
1074
|
deps: PrLandDeps;
|
|
1080
1075
|
run: CmdRunner;
|
|
@@ -1085,21 +1080,24 @@ export function verifyPinnedOverlapDecision(input: {
|
|
|
1085
1080
|
decision: OverlapLandingDecisionOutcome | undefined;
|
|
1086
1081
|
out: { log: (message: string) => void; error: (message: string) => void };
|
|
1087
1082
|
refuse: (message: string) => void;
|
|
1088
|
-
}): boolean {
|
|
1083
|
+
}): Promise<boolean> {
|
|
1089
1084
|
const { opts, deps, run, cwd, base, readFile, overlappingLandings, decision, out, refuse } = input;
|
|
1090
1085
|
if (decision === undefined || decision === 'user-merge') return true;
|
|
1086
|
+
const taskState = await import('../task-agent/task-card-state.js');
|
|
1087
|
+
const reviewResultsDir = deps.reviewResultsDir ?? join(dirname(taskState.taskAgentStatePath()), 'review-results');
|
|
1091
1088
|
let accepted = false;
|
|
1092
1089
|
let ancestorResyncNeeded = false;
|
|
1093
1090
|
if (decision === 'unavailable' && opts.overlapEvidence !== undefined) {
|
|
1091
|
+
const overlap = require('./pr-land-overlap-evidence.js') as typeof import('./pr-land-overlap-evidence.js');
|
|
1094
1092
|
const ref = resolveRemoteBranchRef(run, cwd, base);
|
|
1095
1093
|
const evidenceInput: VerifyOverlapEvidenceInput = {
|
|
1096
|
-
evidencePath: resolveOverlapEvidencePath(opts.overlapEvidence, cwd), pr: Number(opts.pr), expectedHead: opts.expectedHead!,
|
|
1094
|
+
evidencePath: overlap.resolveOverlapEvidencePath(opts.overlapEvidence, cwd), pr: Number(opts.pr), expectedHead: opts.expectedHead!,
|
|
1097
1095
|
remote: ref.remote, branch: ref.branch, cwd, run, readFile,
|
|
1098
|
-
reviewResultsDir:
|
|
1096
|
+
reviewResultsDir: reviewResultsDir,
|
|
1099
1097
|
listDir: (dir) => readdirSync(dir), reviewMtime: (path) => statSync(path).mtimeMs,
|
|
1100
1098
|
reviewRealPath: (path) => realpathSync(path), overlappingLandings,
|
|
1101
1099
|
};
|
|
1102
|
-
const verdict = verifyOverlapEvidence(evidenceInput);
|
|
1100
|
+
const verdict = overlap.verifyOverlapEvidence(evidenceInput);
|
|
1103
1101
|
accepted = verdict.ok;
|
|
1104
1102
|
if (verdict.ok) {
|
|
1105
1103
|
out.log(verdict.mode === 'already-ancestor'
|
|
@@ -1112,7 +1110,7 @@ export function verifyPinnedOverlapDecision(input: {
|
|
|
1112
1110
|
`not-rebased: ${ref.remote}/${ref.branch} ${verdict.baseTip.slice(0, 12)} is not an ancestor of ${opts.expectedHead!.slice(0, 12)}`;
|
|
1113
1111
|
const measuredOverlap = verdict.baseTip !== undefined && verdict.reason.startsWith('base-stale-overlap:');
|
|
1114
1112
|
if (pureNotRebased || measuredOverlap) {
|
|
1115
|
-
const patch = verifyOverlapEvidenceVirtualRebase(evidenceInput, verdict.baseTip!);
|
|
1113
|
+
const patch = overlap.verifyOverlapEvidenceVirtualRebase(evidenceInput, verdict.baseTip!);
|
|
1116
1114
|
accepted = patch.ok;
|
|
1117
1115
|
record('virtual-rebase', patch.ok, {
|
|
1118
1116
|
pr: Number(opts.pr), head: opts.expectedHead, baseTip: verdict.baseTip,
|
|
@@ -1126,9 +1124,10 @@ export function verifyPinnedOverlapDecision(input: {
|
|
|
1126
1124
|
} else refuse(`✗ overlap-evidence: ${verdict.reason}`);
|
|
1127
1125
|
}
|
|
1128
1126
|
} else if (decision === 'unavailable') {
|
|
1129
|
-
const
|
|
1127
|
+
const overlap = require('./pr-land-overlap-evidence.js') as typeof import('./pr-land-overlap-evidence.js');
|
|
1128
|
+
const verdict = overlap.verifyAncestorAutoPass({
|
|
1130
1129
|
pr: Number(opts.pr), expectedHead: opts.expectedHead!, cwd, run, readFile, overlappingLandings,
|
|
1131
|
-
reviewResultsDir:
|
|
1130
|
+
reviewResultsDir: reviewResultsDir,
|
|
1132
1131
|
listDir: (dir) => readdirSync(dir),
|
|
1133
1132
|
});
|
|
1134
1133
|
accepted = verdict.ok;
|
|
@@ -1141,13 +1140,13 @@ export function verifyPinnedOverlapDecision(input: {
|
|
|
1141
1140
|
const remote = run('git', ['ls-remote', ref.remote, `refs/heads/${ref.branch}`], { cwd });
|
|
1142
1141
|
const baseTip = remote.ok ? remote.out.trim().split(/\s+/u, 1)[0] ?? '' : '';
|
|
1143
1142
|
const local = run('git', ['rev-parse', '--verify', `refs/remotes/${ref.remote}/${ref.branch}`], { cwd });
|
|
1144
|
-
const reviews = verifyAllSameHeadReviews({
|
|
1143
|
+
const reviews = overlap.verifyAllSameHeadReviews({
|
|
1145
1144
|
pr: Number(opts.pr), expectedHead: opts.expectedHead!, readFile,
|
|
1146
|
-
reviewResultsDir:
|
|
1145
|
+
reviewResultsDir: reviewResultsDir,
|
|
1147
1146
|
listDir: (dir) => readdirSync(dir),
|
|
1148
1147
|
});
|
|
1149
1148
|
const patch = reviews.ok && /^[a-f0-9]{40}$/iu.test(baseTip) && local.ok && local.out.trim() === baseTip
|
|
1150
|
-
? verifyVirtualRebasePatch({ cwd, baseTip, head: opts.expectedHead! })
|
|
1149
|
+
? (require('./pr-land-virtual-rebase.js') as typeof import('./pr-land-virtual-rebase.js')).verifyVirtualRebasePatch({ cwd, baseTip, head: opts.expectedHead! })
|
|
1151
1150
|
: { ok: false as const, reason: reviews.ok ? 'base-stale-or-unmeasured' : reviews.reason };
|
|
1152
1151
|
accepted = patch.ok;
|
|
1153
1152
|
ancestorResyncNeeded = !accepted;
|
|
@@ -1164,7 +1163,8 @@ export function verifyPinnedOverlapDecision(input: {
|
|
|
1164
1163
|
}
|
|
1165
1164
|
if (!accepted) {
|
|
1166
1165
|
if (ancestorResyncNeeded && !opts.dryRun) {
|
|
1167
|
-
const
|
|
1166
|
+
const labels = await import('../github/pr-labels.js');
|
|
1167
|
+
const marked = run('gh', ['pr', 'edit', String(opts.pr), '--add-label', labels.PR_LABEL_NAMES.needsRebase], { cwd });
|
|
1168
1168
|
record('resync-marker', marked.ok, { pr: Number(opts.pr), reason: 'ancestor-auto-not-ancestor' });
|
|
1169
1169
|
if (!marked.ok) out.error('⚠ resync-marker: needs-rebase 라벨을 남기지 못했습니다');
|
|
1170
1170
|
}
|
|
@@ -1527,7 +1527,7 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
1527
1527
|
const overlappingLandings: string[] = [];
|
|
1528
1528
|
const overlapFound = emitLandingOverlapAdvisory(readOnlyRun, cwd, measuredBase, changedPaths, out, overlappingLandings, landings);
|
|
1529
1529
|
emitSiblingPrAdvisory(branch!, deps.listOpenPrs ?? (() => lookupOpenPrs(readOnlyRun, cwd)), out);
|
|
1530
|
-
if (overlapFound && !verifyPinnedOverlapDecision({
|
|
1530
|
+
if (overlapFound && !await verifyPinnedOverlapDecision({
|
|
1531
1531
|
opts, deps, run: readOnlyRun, cwd, base, readFile, overlappingLandings,
|
|
1532
1532
|
decision: 'unavailable', out, refuse: out.error,
|
|
1533
1533
|
})) {
|
|
@@ -1845,7 +1845,7 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
1845
1845
|
});
|
|
1846
1846
|
}
|
|
1847
1847
|
hold = !!opts.hold || overlapDecision?.outcome === 'user-hold';
|
|
1848
|
-
if (pinned && !verifyPinnedOverlapDecision({ opts, deps, run, cwd, base, readFile, overlappingLandings, decision: overlapDecision?.outcome, out, refuse })) return 1;
|
|
1848
|
+
if (pinned && !await verifyPinnedOverlapDecision({ opts, deps, run, cwd, base, readFile, overlappingLandings, decision: overlapDecision?.outcome, out, refuse })) return 1;
|
|
1849
1849
|
return undefined;
|
|
1850
1850
|
};
|
|
1851
1851
|
if (pinned && (await checkOverlap()) !== undefined) return 1;
|
|
@@ -1858,10 +1858,11 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
1858
1858
|
const HEAVY_BASE_STABILITY_RETRIES = 3;
|
|
1859
1859
|
let heavyInterferenceMeasured: boolean | null = null;
|
|
1860
1860
|
let heavyGateHost: string | undefined;
|
|
1861
|
-
const heavyGate = (main: string, phase: 'initial' | 'late-recheck' | 'post-merge'): HeavyRemoteResult | undefined => {
|
|
1861
|
+
const heavyGate = async (main: string, phase: 'initial' | 'late-recheck' | 'post-merge'): Promise<HeavyRemoteResult | undefined> => {
|
|
1862
1862
|
const before = readLoad();
|
|
1863
1863
|
const started = Date.now();
|
|
1864
|
-
const
|
|
1864
|
+
const ensureHeavyRemote = deps.runHeavyRemote ?? (await import('./pr-land-heavy-remote.js')).ensurePrLandHeavyRemote;
|
|
1865
|
+
const verdict = ensureHeavyRemote({
|
|
1865
1866
|
pr: Number(opts.pr), head: opts.expectedHead!, main, repo: cwd,
|
|
1866
1867
|
});
|
|
1867
1868
|
if (verdict.ok) {
|
|
@@ -1890,12 +1891,14 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
1890
1891
|
let verifiedHeavyBase: string | undefined;
|
|
1891
1892
|
if (opts.heavyRemote) {
|
|
1892
1893
|
const main = overlapCheckedBase!;
|
|
1893
|
-
const verdict = heavyGate(main, 'initial');
|
|
1894
|
+
const verdict = await heavyGate(main, 'initial');
|
|
1894
1895
|
if (!verdict?.ok) { refuseDirect(`✗ heavy-remote: 원격 게이트 ${verdict?.reason ?? 'unmeasured'} — 로컬 게이트로 폴백하지 않는다.`); return 1; }
|
|
1895
1896
|
verifiedHeavyBase = main;
|
|
1896
1897
|
out.log(`✓ heavy-remote: host=${verdict.host ?? 'unknown'} head=${opts.expectedHead!.slice(0, 12)} main=${main.slice(0, 12)} source=${verdict.source} elapsed=${verdict.elapsedMs}ms`);
|
|
1897
1898
|
out.log(`✓ typecheck-roots: ${JSON.stringify(verdict.rootPlan ?? { mode: 'not-applicable', roots: null, promoted: false, reason: 'no-root-plan-in-gate-output' })}`);
|
|
1898
1899
|
if (opts.heavyOnPodShadow) {
|
|
1900
|
+
const { runHeavyOnPodShadow } = await import('./pr-land-pod-shadow.js');
|
|
1901
|
+
const warmReuse = await import('../task-orchestrator/surfaces/warm-reuse-evidence.js');
|
|
1899
1902
|
await runHeavyOnPodShadow({
|
|
1900
1903
|
enabled: true, pr: Number(opts.pr), head: opts.expectedHead!,
|
|
1901
1904
|
local: { measured: verdict.rootPlan != null, ok: verdict.ok, rootPlan: verdict.rootPlan ?? null },
|
|
@@ -1908,7 +1911,7 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
1908
1911
|
onShadow: ({ pod, agree }) => {
|
|
1909
1912
|
const shadow = pod && typeof pod === 'object' ? pod as LandingPodShadowVerdict : undefined;
|
|
1910
1913
|
const warm = shadow?.warmEvidence;
|
|
1911
|
-
recordWarmReuseEvidence(warmReuseEvidencePath(), {
|
|
1914
|
+
warmReuse.recordWarmReuseEvidence(warmReuse.warmReuseEvidencePath(), {
|
|
1912
1915
|
schema: 1, consumer: 'land', pr: Number(opts.pr), head: opts.expectedHead!, main, recordedAt: new Date().toISOString(),
|
|
1913
1916
|
...(warm ? { ...warm, agree: warm.agree && agree } : {}),
|
|
1914
1917
|
...(!warm ? { reason: shadow?.warmReason ?? 'warm-shadow-unmeasured' } : {}),
|
|
@@ -1973,7 +1976,7 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
1973
1976
|
// before spending another remote gate on a pair that cannot land.
|
|
1974
1977
|
const staleOverlap = await recheckOverlapAtBase(main);
|
|
1975
1978
|
if (staleOverlap !== undefined) return staleOverlap;
|
|
1976
|
-
const verdict = heavyGate(main, 'late-recheck');
|
|
1979
|
+
const verdict = await heavyGate(main, 'late-recheck');
|
|
1977
1980
|
if (!verdict?.ok) {
|
|
1978
1981
|
refuseDirect(`✗ heavy-remote: 병합 직전 원격 게이트 ${verdict?.reason ?? 'unmeasured'} — 로컬 게이트로 폴백하지 않는다.`);
|
|
1979
1982
|
return 1;
|
|
@@ -2306,6 +2309,7 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
2306
2309
|
const headCommit = landedHead.ok && /^[a-f0-9]{40}$/i.test(landedHead.out.trim()) ? landedHead.out.trim() : undefined;
|
|
2307
2310
|
const validPr = Number.isSafeInteger(prNumber) && prNumber > 0;
|
|
2308
2311
|
const heldEntry = validPr && headCommit ? { prNumber, headCommit, repoRoot: cwd } : null;
|
|
2312
|
+
const { admitLandingMerge } = await import('../self-implement/frozen-merges.js');
|
|
2309
2313
|
const admission = admitLandingMerge(heldEntry, undefined, {}, validPr ? { prNumber, repoRoot: cwd, ...(headCommit ? { headCommit } : {}) } : undefined,
|
|
2310
2314
|
{ prodFreezeRoot: deps.prodFreezeRoot, forceReason: opts.forceFreeze });
|
|
2311
2315
|
if (admission.kind === 'held' && !heldEntry) {
|
|
@@ -2433,8 +2437,9 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
2433
2437
|
}
|
|
2434
2438
|
// INFLIGHT-REGISTRY — 착지하면 비행 중 등록부의 그 런 줄을 지운다(색인 실패는 착지를 막지 않는다).
|
|
2435
2439
|
try {
|
|
2436
|
-
const
|
|
2437
|
-
const
|
|
2440
|
+
const taskState = await import('../task-agent/task-card-state.js');
|
|
2441
|
+
const statePath = deps.taskStatePath ?? taskState.taskAgentStatePath();
|
|
2442
|
+
const cards = Object.values(taskState.readTaskAgentState<{ tasks?: Record<string, TaskCard> }>(statePath).tasks ?? {});
|
|
2438
2443
|
removeInflightForPr(prNumber, cards, { path: join(dirname(statePath), INFLIGHT_REGISTRY_FILE) });
|
|
2439
2444
|
} catch (error) {
|
|
2440
2445
|
try { debug.log('pr-tool.inflight', 'remove-failed', { pr: prNumber, error: String((error as Error)?.message ?? error).slice(0, 200) }, { level: 'warn' }); } catch { /* fail-soft */ }
|
|
@@ -2485,7 +2490,7 @@ export async function runPrLand(opts: PrLandOpts = {}, deps: PrLandDeps = {}): P
|
|
|
2485
2490
|
out.log(`✓ merge: squash ${upsert.url} → ${base}`);
|
|
2486
2491
|
return 1;
|
|
2487
2492
|
}
|
|
2488
|
-
const post = heavyGate(firstParent, 'post-merge');
|
|
2493
|
+
const post = await heavyGate(firstParent, 'post-merge');
|
|
2489
2494
|
if (!post?.ok) {
|
|
2490
2495
|
out.error(`✗ heavy-remote: post-merge 원격 게이트 ${post?.reason ?? 'unmeasured'} — 병합은 되돌리지 않는다.`);
|
|
2491
2496
|
out.log(`✓ merge: squash ${upsert.url} → ${base}`);
|
|
@@ -2594,34 +2599,13 @@ export function registerPrCommands(program: Command, deps: PrLandDeps = {}, queu
|
|
|
2594
2599
|
(deps.setExitCode ?? ((code: number) => { process.exitCode = code; }))(1);
|
|
2595
2600
|
}
|
|
2596
2601
|
};
|
|
2597
|
-
queue.command('status').description('Show pending PRs and shadow verdicts').action(() => queueAction(() => statusL8ShadowQueue(process.cwd(), queueDeps)));
|
|
2598
|
-
queue.command('enqueue <pr>').description('Pin a ready PR at the tail of the shadow queue').action((prNumber: string) => queueAction(() => enqueueL8ShadowQueue(process.cwd(), shadowPrNumber(prNumber), queueDeps)));
|
|
2599
|
-
queue.command('run').description('Evaluate the first PR without merging').requiredOption('--shadow', 'Only evaluate; never land').action(() => queueAction(() => runL8ShadowQueue(process.cwd(), queueDeps)));
|
|
2602
|
+
queue.command('status').description('Show pending PRs and shadow verdicts').action(() => queueAction(async () => (await import('../self-implement/l8-merge-queue.js')).statusL8ShadowQueue(process.cwd(), queueDeps)));
|
|
2603
|
+
queue.command('enqueue <pr>').description('Pin a ready PR at the tail of the shadow queue').action(async (prNumber: string) => queueAction(async () => { const queueMod = await import('../self-implement/l8-merge-queue.js'); return queueMod.enqueueL8ShadowQueue(process.cwd(), queueMod.shadowPrNumber(prNumber), queueDeps); }));
|
|
2604
|
+
queue.command('run').description('Evaluate the first PR without merging').requiredOption('--shadow', 'Only evaluate; never land').action(() => queueAction(async () => (await import('../self-implement/l8-merge-queue.js')).runL8ShadowQueue(process.cwd(), queueDeps)));
|
|
2600
2605
|
|
|
2601
|
-
pr.command('land')
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
.option('--cwd <path>', '작업 트리 경로')
|
|
2605
|
-
.option('--pr <number>', '기존 PR 번호 고정 (--expected-head 와 함께)')
|
|
2606
|
-
.option('--expected-head <sha>', '리뷰된 PR 머리 SHA 고정 (--pr 와 함께)')
|
|
2607
|
-
.option('--heavy-remote', '머리 고정 착지의 무거운 게이트를 node-b·node-c 중 빈 호스트에서 실행; head⊕main 증거가 없거나 실패하면 거부(로컬 폴백 없음)')
|
|
2608
|
-
.option('--heavy-on-pod-shadow', '--heavy-remote 판정을 유지하고 같은 head/main의 Pod 타입·변경 시험 결과를 비교만 한다')
|
|
2609
|
-
.option('--dry-run', '변경 없이 landing 계획만 출력')
|
|
2610
|
-
.option('--hold', 'PR을 생성 또는 갱신한 뒤 병합하지 않고 쌓아 둔다')
|
|
2611
|
-
.option('--title <title>', 'PR title')
|
|
2612
|
-
.option('--title-file <path>', 'PR title file')
|
|
2613
|
-
.option('--body <body>', 'PR body')
|
|
2614
|
-
.option('--body-file <path>', 'PR body file')
|
|
2615
|
-
.option('--commit-message <message>', 'upsert commit message')
|
|
2616
|
-
.option('--commit-message-file <path>', 'upsert commit message file (takes precedence over --commit-message)')
|
|
2617
|
-
.option('--include-active-run-files', '도는 런 파일을 이번 착지에 포함 (기본 동작)')
|
|
2618
|
-
.option('--exclude-active-run-files', '도는 런과 겹친 파일을 이번 착지에서 제외')
|
|
2619
|
-
.option('--exclude-active-run-sources', '⚠ 위험: --exclude-active-run-files 가 골 문서가 아닌 파일(소스)을 빼도 착지를 강행')
|
|
2620
|
-
.option('--land-reason <text>', '권고를 보고도 지금 내는 이유(예: 남이 기다리는 차단 해제)')
|
|
2621
|
-
.option('--force-freeze <reason>', '동결을 넘겨 병합할 명시적 이유(필수)')
|
|
2622
|
-
.option('--allow-public-leak', '바뀐 파일이 공개본에 사적 흔적을 실어도 착지(이유는 --land-reason)')
|
|
2623
|
-
.option('--overlap-evidence <file>', '머리 고정 착지 전용: 비대화형 겹침 승인을 대신할 증거 JSON {pr, head, gate:{head,baseCommit,passed}, reviewResult} — 재기반·재게이트·리뷰를 CLI 가 다시 잰다(겹친 착지가 전부 머리의 조상이면 리뷰만 · gate 생략 가능)')
|
|
2624
|
-
.action(async (opts: PrLandOpts) => {
|
|
2606
|
+
const land = pr.command('land');
|
|
2607
|
+
registerPrLandOptions(land);
|
|
2608
|
+
land.action(async (opts: PrLandOpts) => {
|
|
2625
2609
|
// ⛔⭐⭐⭐ **관측 sink 를 먼저 건다** — 라이브 도그푸드가 잡은 결함(2026-08-03).
|
|
2626
2610
|
// 단위 테스트는 `debug.log` 가 **불렸다**를 단언하지만, standalone CLI 는 sink 를 등록하지
|
|
2627
2611
|
// 않으면 그 로그가 **`logs.db` 에 안 닿는다** ⇒ `elanous logs --category pr.land` 가 0건이었다.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Command } from 'commander';
|
|
2
|
+
|
|
3
|
+
/** Shared option contract keeps the lightweight help shell and full PR action in sync. */
|
|
4
|
+
export function registerPrLandOptions(command: Command): void {
|
|
5
|
+
command
|
|
6
|
+
.description('현재 브랜치 PR을 생성 또는 갱신해 ready 상태로 만들고 squash merge')
|
|
7
|
+
.option('--base <branch>', 'PR base branch')
|
|
8
|
+
.option('--cwd <path>', '작업 트리 경로')
|
|
9
|
+
.option('--pr <number>', '기존 PR 번호 고정 (--expected-head 와 함께)')
|
|
10
|
+
.option('--expected-head <sha>', '리뷰된 PR 머리 SHA 고정 (--pr 와 함께)')
|
|
11
|
+
.option(
|
|
12
|
+
'--heavy-remote',
|
|
13
|
+
'머리 고정 착지의 무거운 게이트를 node-b·node-c 중 빈 호스트에서 실행; head⊕main 증거가 없거나 실패하면 거부(로컬 폴백 없음)',
|
|
14
|
+
)
|
|
15
|
+
.option('--heavy-on-pod-shadow', '--heavy-remote 판정을 유지하고 같은 head/main의 Pod 타입·변경 시험 결과를 비교만 한다')
|
|
16
|
+
.option('--dry-run', '변경 없이 landing 계획만 출력')
|
|
17
|
+
.option('--hold', 'PR을 생성 또는 갱신한 뒤 병합하지 않고 쌓아 둔다')
|
|
18
|
+
.option('--title <title>', 'PR title')
|
|
19
|
+
.option('--title-file <path>', 'PR title file')
|
|
20
|
+
.option('--body <body>', 'PR body')
|
|
21
|
+
.option('--body-file <path>', 'PR body file')
|
|
22
|
+
.option('--commit-message <message>', 'upsert commit message')
|
|
23
|
+
.option('--commit-message-file <path>', 'upsert commit message file (takes precedence over --commit-message)')
|
|
24
|
+
.option('--include-active-run-files', '도는 런 파일을 이번 착지에 포함 (기본 동작)')
|
|
25
|
+
.option('--exclude-active-run-files', '도는 런과 겹친 파일을 이번 착지에서 제외')
|
|
26
|
+
.option('--exclude-active-run-sources', '⚠ 위험: --exclude-active-run-files 가 골 문서가 아닌 파일(소스)을 빼도 착지를 강행')
|
|
27
|
+
.option('--land-reason <text>', '권고를 보고도 지금 내는 이유(예: 남이 기다리는 차단 해제)')
|
|
28
|
+
.option('--force-freeze <reason>', '동결을 넘겨 병합할 명시적 이유(필수)')
|
|
29
|
+
.option('--allow-public-leak', '바뀐 파일이 공개본에 사적 흔적을 실어도 착지(이유는 --land-reason)')
|
|
30
|
+
.option(
|
|
31
|
+
'--overlap-evidence <file>',
|
|
32
|
+
'머리 고정 착지 전용: 비대화형 겹침 승인을 대신할 증거 JSON {pr, head, gate:{head,baseCommit,passed}, reviewResult} — 재기반·재게이트·리뷰를 CLI 가 다시 잰다(겹친 착지가 전부 머리의 조상이면 리뷰만 · gate 생략 가능)',
|
|
33
|
+
);
|
|
34
|
+
}
|
package/src/cli/provider-cli.ts
CHANGED
|
@@ -416,6 +416,60 @@ export function registerProviderCommands(program: Command): void {
|
|
|
416
416
|
console.log(` 백업: ${r.backupPath}`);
|
|
417
417
|
});
|
|
418
418
|
|
|
419
|
+
const seatHomeCmd = accountCmd.command('seat-home').description('OPC seat Codex CODEX_HOME — account mirror distribution and owner-side refresh loop');
|
|
420
|
+
seatHomeCmd
|
|
421
|
+
.command('home <seat>')
|
|
422
|
+
.description('approved seat mapping for launch environment; default seats keep ~/.codex')
|
|
423
|
+
.action(async (seat: string) => {
|
|
424
|
+
const { codexSeatAccountForSeat, codexSeatHomeForSeat } = await import('../oauth/codex-seat-home.js');
|
|
425
|
+
const account = codexSeatAccountForSeat(seat);
|
|
426
|
+
const home = codexSeatHomeForSeat(seat);
|
|
427
|
+
if (!home) { console.log(`${seat} → default · CODEX_HOME unchanged (~/.codex)`); return; }
|
|
428
|
+
console.log(`${seat} → ${account} · CODEX_HOME=${home}`);
|
|
429
|
+
});
|
|
430
|
+
|
|
431
|
+
seatHomeCmd
|
|
432
|
+
.command('launch <seat> [codexArgs...]')
|
|
433
|
+
.allowUnknownOption()
|
|
434
|
+
.description('launch the installed Codex CLI with the approved seat CODEX_HOME; use -- before Codex flags')
|
|
435
|
+
.action(async (seat: string, codexArgs: string[] = []) => {
|
|
436
|
+
const { runCodexSeatCommand } = await import('../oauth/codex-seat-home.js');
|
|
437
|
+
const result = await runCodexSeatCommand(seat, codexArgs);
|
|
438
|
+
if (!result.ok) { console.error(`Codex seat launch refused (${result.kind}): ${result.reason}`); process.exitCode = 1; return; }
|
|
439
|
+
process.exitCode = result.exitCode;
|
|
440
|
+
});
|
|
441
|
+
|
|
442
|
+
seatHomeCmd
|
|
443
|
+
.command('sync <account>')
|
|
444
|
+
.description('refresh expiring named account if needed and atomically install its access-only seat-home auth.json')
|
|
445
|
+
.action(async (account: string) => {
|
|
446
|
+
const { syncCodexSeatHome } = await import('../oauth/codex-seat-home.js');
|
|
447
|
+
const result = await syncCodexSeatHome(account);
|
|
448
|
+
if (!result.ok) { console.error(`seat-home sync refused (${result.kind}): ${result.reason}`); process.exitCode = 1; return; }
|
|
449
|
+
console.log(`✅ seat-home ${result.account} · expiresAt=${new Date(result.expiresAt).toISOString()} · refreshed=${result.refreshed} · ${result.path}`);
|
|
450
|
+
});
|
|
451
|
+
|
|
452
|
+
seatHomeCmd
|
|
453
|
+
.command('watch <seat...>')
|
|
454
|
+
.description('owner-side 60s loop for selected seats; named accounts refresh 10 minutes before access expiry')
|
|
455
|
+
.action(async (seats: string[]) => {
|
|
456
|
+
const { codexSeatAccountForSeat, runCodexSeatHomeRefreshLoop } = await import('../oauth/codex-seat-home.js');
|
|
457
|
+
const accounts = [...new Set(seats.map(codexSeatAccountForSeat).filter((name) => name !== 'default'))];
|
|
458
|
+
if (!accounts.length) { console.error('seat-home watch requires at least one team/third seat; default remains ~/.codex'); process.exitCode = 1; return; }
|
|
459
|
+
let stopping = false;
|
|
460
|
+
const stop = () => { stopping = true; };
|
|
461
|
+
process.once('SIGINT', stop);
|
|
462
|
+
process.once('SIGTERM', stop);
|
|
463
|
+
console.log(`Codex seat-home watch · accounts=${accounts.join(',')} · poll=60s · refresh-before=10m (Ctrl-C to stop)`);
|
|
464
|
+
try {
|
|
465
|
+
await runCodexSeatHomeRefreshLoop(accounts, {
|
|
466
|
+
shouldStop: () => stopping,
|
|
467
|
+
onError: (account, result) => console.error(`Codex seat-home refresh failed · account=${account} · reason=${result.kind}`),
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
finally { process.removeListener('SIGINT', stop); process.removeListener('SIGTERM', stop); }
|
|
471
|
+
});
|
|
472
|
+
|
|
419
473
|
const resetCreditsCmd = codexCmd.command('reset-credits').description('리셋 크레딧 — 조회 · 관측 · 사용(⛔ 사용은 되돌릴 수 없다)');
|
|
420
474
|
|
|
421
475
|
resetCreditsCmd
|
package/src/cli/pty-drive-cli.ts
CHANGED
|
@@ -454,8 +454,11 @@ export function buildDriveSpawnOptions(
|
|
|
454
454
|
if (opts.elanous) {
|
|
455
455
|
const ptyId = opts.ptyId ?? ctx.envPtyId;
|
|
456
456
|
const observeOnly = opts.observeOnly || resolveObserveOnlyDecision().enabled;
|
|
457
|
+
const heldTuiRepoRoot = opts.hold && process.env.ELANOUS_HOLD_OWNER === '1'
|
|
458
|
+
? process.env.ELANOUS_HOLD_TUI_REPO_ROOT?.trim()
|
|
459
|
+
: undefined;
|
|
457
460
|
return elanousTuiSpawnOptions({
|
|
458
|
-
repoRoot: opts.repoRoot
|
|
461
|
+
repoRoot: heldTuiRepoRoot || opts.repoRoot || resolve(import.meta.dir, '../..'),
|
|
459
462
|
cwd: ctx.cwd,
|
|
460
463
|
configDir: ctx.configDir!,
|
|
461
464
|
stateDir: ctx.stateDir!,
|
|
@@ -833,6 +836,27 @@ async function runPtyDriveInner(opts: PtyDriveOpts): Promise<{ exitCode: number
|
|
|
833
836
|
// 종전엔 finally 가 `opts.hold` 만 봐서, 위 setAccessMode·renderScreen·writeScreen 중
|
|
834
837
|
// 하나라도 던지면 **detached PTY 와 isolation 이 유출**됐다(아무도 거두지 않는다).
|
|
835
838
|
handedOff = true;
|
|
839
|
+
// The detached owner is also the Bun native-PTY host. Returning here
|
|
840
|
+
// closes its PTY master, which can make an otherwise-live child exit
|
|
841
|
+
// immediately after the caller's readiness check. Keep the owner alive
|
|
842
|
+
// until the handed-off child exits; the caller can still control it via
|
|
843
|
+
// the shared PTY registry while this process waits.
|
|
844
|
+
if (process.env.ELANOUS_HOLD_OWNER === '1') {
|
|
845
|
+
// Bun does not keep the owner event loop alive for an unresolved
|
|
846
|
+
// promise alone, so poll liveness with a referenced timer.
|
|
847
|
+
await new Promise<void>((resolve) => {
|
|
848
|
+
const checkExit = setInterval(() => {
|
|
849
|
+
if (!h!.isAlive()) {
|
|
850
|
+
clearInterval(checkExit);
|
|
851
|
+
resolve();
|
|
852
|
+
}
|
|
853
|
+
}, 100);
|
|
854
|
+
if (!h!.isAlive()) {
|
|
855
|
+
clearInterval(checkExit);
|
|
856
|
+
resolve();
|
|
857
|
+
}
|
|
858
|
+
});
|
|
859
|
+
}
|
|
836
860
|
return { exitCode: 0 };
|
|
837
861
|
}
|
|
838
862
|
const { runPtyControlLoop, controlDepsForHandle } = await import('../autopilot/pty-control-loop.js');
|
|
@@ -6,7 +6,8 @@ import { runGitCommand } from '../git-fs/runner.js';
|
|
|
6
6
|
import { debug } from '../debug/log.js';
|
|
7
7
|
import { getPty, listPty, renamePty, requestPtyTakeover, startPty, type StartOpts } from '../pty-shell/registry.js';
|
|
8
8
|
import { describePtyRunState, describeTurnCell, formatTurnCell, judgeTurnProgress, ptyTurnViewOfRow, readCheckoutHead, readCurrentInstallRecord, shortSha, UNKNOWN_TURN_CELL, type InstalledRecord, type PtyRunStateView, type PtyTurnCell, type TurnProgressJudgment } from '../pty-shell/tui-run-state.js';
|
|
9
|
-
import { getPtyManifest, isProcessAlive,
|
|
9
|
+
import { getPtyManifest, isProcessAlive, ptyManifestDbPath, readPtyManifestFrame, reapDeadPtyManifest, reapDeadPtyManifestAt, reapStalePtyManifest, removePtyManifest, PTY_MANIFEST_CLOSED_TTL_MS, PTY_MANIFEST_STALE_MS, type PtyManifestExternalReapResult, type PtyManifestRow } from '../pty-shell/pty-manifest.js';
|
|
10
|
+
import { listPtyManifestRowsCached, listPtyManifestRowsCachedAt } from '../pty-shell/pty-manifest-query-cache.js';
|
|
10
11
|
import { readPtyEventsAfter, readPtyEventsAfterAt, type PtyEventLogReadResult, type PtyEventRow } from '../pty-shell/pty-event-log.js';
|
|
11
12
|
import { resolvePtyRef, type PtyRefItem } from '../pty-shell/pty-ref.js';
|
|
12
13
|
import { parsePtyWriteActor, resolveRemoteControlActor, resolveTakeover, type PtyWriteActor } from '../pty-shell/pty-write-arbiter.js';
|
|
@@ -16,6 +17,7 @@ import { formatPtyWebAddress, ptyWebAddress, type PtyWebAddress } from './pty-we
|
|
|
16
17
|
import { ensureRunId, getHarnessRunId, normalizeRunIdSource, type RunIdSource } from '../harness/harness-space.js';
|
|
17
18
|
import { inspectControlInbox, type ControlInboxSnapshot } from '../harness/control-inbox.js';
|
|
18
19
|
import { requestRemotePtyControl, type PtyControlAction, type PtyControlPayload, type PtyControlRequestOptions, type PtyControlResult } from '../pty-shell/pty-control-ipc.js';
|
|
20
|
+
import { registerRemoteElnPtyCommands } from './remote-eln-pty.js';
|
|
19
21
|
import { resolvePtySpecialKey, type PtyKeyEncoding } from '../pty-shell/pty-special-keys.js';
|
|
20
22
|
import { encodeSgrMouse, mouseModeOffReason, type PtyMouseInput } from '../pty-shell/pty-mouse.js';
|
|
21
23
|
import { resizePtyWithOutcome, writePtyWithOutcome, writePtyWithOutcomeDetail } from '../pty-shell/pty-write-outcome.js';
|
|
@@ -518,7 +520,7 @@ export function readLivePtyAddressBook(): PtyAddressBook {
|
|
|
518
520
|
const localIds = new Set(local.map((handle) => handle.id));
|
|
519
521
|
try { reapDeadPtyManifest(); } catch { /* fail-soft */ }
|
|
520
522
|
try { reapStalePtyManifest(Date.now()); } catch { /* fail-soft */ }
|
|
521
|
-
const rows =
|
|
523
|
+
const rows = listPtyManifestRowsCached();
|
|
522
524
|
const manifest = rows.filter((row) => row.alive);
|
|
523
525
|
const deadRefs = rows
|
|
524
526
|
.filter((row) => !row.alive && !localIds.has(row.id))
|
|
@@ -544,8 +546,8 @@ const liveDeps: PtyTakeoverCommandDeps = {
|
|
|
544
546
|
readInstalledBuild: () => readCurrentInstallRecord(),
|
|
545
547
|
readCheckoutHead,
|
|
546
548
|
// `find`/`retire` must prove before removal: this reader never invokes any reaper.
|
|
547
|
-
listManifestRows:
|
|
548
|
-
listManifestRowsAt:
|
|
549
|
+
listManifestRows: listPtyManifestRowsCached,
|
|
550
|
+
listManifestRowsAt: listPtyManifestRowsCachedAt,
|
|
549
551
|
currentManifestDbPath: ptyManifestDbPath,
|
|
550
552
|
realpath: (path) => { try { return realpathSync(path); } catch { return path; } },
|
|
551
553
|
removeManifest: removePtyManifest,
|
|
@@ -554,7 +556,7 @@ const liveDeps: PtyTakeoverCommandDeps = {
|
|
|
554
556
|
readLifecycleRows: () => readPtyEventsAfter(0, { kind: 'lifecycle' }),
|
|
555
557
|
inspectControlInbox,
|
|
556
558
|
readFederatedLineage({ includeTest }) {
|
|
557
|
-
const manifestRows = ptyManifestTargets({ includeTest }).flatMap((target) =>
|
|
559
|
+
const manifestRows = ptyManifestTargets({ includeTest }).flatMap((target) => listPtyManifestRowsCachedAt(target.dbPath).map((row) => ({ ...row, sourceRoot: target.name })));
|
|
558
560
|
const lifecycleRows: PtyEventRow[] = [];
|
|
559
561
|
const unreadableRoots: PtyLineageRoot[] = [];
|
|
560
562
|
const missingRoots: PtyLineageRoot[] = [];
|
|
@@ -575,7 +577,7 @@ const liveDeps: PtyTakeoverCommandDeps = {
|
|
|
575
577
|
// ⚠️ 정적 import 로 배선한다 — `runPtyList` 는 동기라 `await import` 를 못 쓰고,
|
|
576
578
|
// ESM 에서 `require` 는 런타임 의존이다(Bun 에선 돌지만 계약으로 삼지 않는다·리뷰 must-fix).
|
|
577
579
|
listFederatedRefs({ includeTest }) {
|
|
578
|
-
return federatedPtyRefs(federatedManifestTargets(ptyManifestTargets({ includeTest }), ptyManifestDbPath(), (path) => { try { return realpathSync(path); } catch { return path; } }),
|
|
580
|
+
return federatedPtyRefs(federatedManifestTargets(ptyManifestTargets({ includeTest }), ptyManifestDbPath(), (path) => { try { return realpathSync(path); } catch { return path; } }), listPtyManifestRowsCachedAt);
|
|
579
581
|
},
|
|
580
582
|
reapManifestAt: reapDeadPtyManifestAt,
|
|
581
583
|
manifestTargets: ({ includeTest }) => ptyManifestTargets({ includeTest }),
|
|
@@ -2352,6 +2354,7 @@ export function registerPtyTakeoverCommands(program: Command, deps: PtyTakeoverC
|
|
|
2352
2354
|
// 종전 도움말은 `<ptyId>` 라 **실제보다 좁게** 적혀 있었다(구현은 처음부터 ref 를 받았다).
|
|
2353
2355
|
"PTY control — <ref> is an id, nickname, or unique prefix (see 'pty list')",
|
|
2354
2356
|
);
|
|
2357
|
+
registerRemoteElnPtyCommands(pty);
|
|
2355
2358
|
// ⚠️ 명령을 **thunk 로** 받는다 — 미리 만든 Promise 를 받으면 명령이 이미 돌기 시작한 뒤라
|
|
2356
2359
|
// sink 등록 前에 나간 로그를 놓친다(짧은 명령일수록 잘 놓친다).
|
|
2357
2360
|
const run = async <T extends { readonly exitCode: number; readonly message: string; readonly notice?: string }>(start: () => Promise<T>) => {
|