elanous 0.3.1 → 0.3.2
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/{98VlBaYvL-VVnCq93_lFS → 5URFQKPO21SIgTlLvb1Jv}/_buildManifest.js +1 -1
- package/apps/pwa/out/_next/static/chunks/001d1d30.3b264a3a5834784b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{9531.ffbcd1e59e2c32fc.js → 1004.b334bd3d776bd455.js} +4 -4
- package/apps/pwa/out/_next/static/chunks/1044.f780ef30fbeec1d2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/106.ef1dcdfef46b0b72.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1207.912f5869bdf13244.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1226-29248177d8e43df5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/128757ea.677175b2ad79b371.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1469.157ee10170c461ab.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1475-f4208d07b2b41e44.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1525.9fd05c15746d77c8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5536.bbb17703f46e52e7.js → 1549.81d2a59aa303b629.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/1596-80cc66168f6a520b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1695-e63446cc38743225.js +1 -0
- package/apps/pwa/out/_next/static/chunks/224.0585d01ba7f4f898.js +226 -0
- package/apps/pwa/out/_next/static/chunks/2277.80d00b0a6fe67cad.js +94 -0
- package/apps/pwa/out/_next/static/chunks/2287.6a4cce8ac8897fda.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2378.0805bd9972a241f3.js +24 -0
- package/apps/pwa/out/_next/static/chunks/{751.95d127a92f7817e3.js → 2538.f7b0fd1f3b0c2bff.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/25600806.42d40cb74fdc4bf3.js +122 -0
- package/apps/pwa/out/_next/static/chunks/2785-33003c356341fab5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/280-f880696e14bc1032.js +1 -0
- package/apps/pwa/out/_next/static/chunks/29.135cc356bdf1a8be.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2987.f36195bfacdbcc4e.js +148 -0
- package/apps/pwa/out/_next/static/chunks/3111-f3c2382dc49d4719.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{7479.d00f44fde98cf34e.js → 3130.69315cfa410b3cc7.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3135-4f30d19149be541d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/336.dd6c1b81512124e6.js +74 -0
- package/apps/pwa/out/_next/static/chunks/337.35019dda0819a283.js +64 -0
- package/apps/pwa/out/_next/static/chunks/3393.cbbe17ef7aeee5e7.js +2 -0
- package/apps/pwa/out/_next/static/chunks/3394.8a08fac56ac2f941.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3461-113eb7d3afb5969e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3603-473956ca996d5b03.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3687.55335796604accd0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3692-ed2cebf0d6c4e273.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3702-d50492fee8529bd7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3782.3ead96e62c8ac5c5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3849-59a5a66baa48998b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3965.1ae261de91a7507b.js +115 -0
- package/apps/pwa/out/_next/static/chunks/3985-432efaf9bc4e4123.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4055-90325ff209cd557e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4174.d97cc593a5cf01bc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4276.863502da440e095f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4450-ea0ec552f18d799d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5571.a062963c309338b4.js → 448.26b198f3b58cbcf9.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/4495.2fbef8546af0792c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4578.04c77c13e3c62361.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4674.e41c0f9b62fed6e2.js +36 -0
- package/apps/pwa/out/_next/static/chunks/{7197.7b19aa948048e19a.js → 482.52b487cbac96db29.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/4841.b78af1deed2d3d3f.js +23 -0
- package/apps/pwa/out/_next/static/chunks/4869.839bacfaab182108.js +1 -0
- package/apps/pwa/out/_next/static/chunks/49263d14.0a995d745de3f818.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4935.7f5b0bd162f201cc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/500-57c24ef4341cdb21.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5017-e079ea96feddbe85.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6932.f80f616260b74131.js → 5135.7b73d384c46dc26b.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/5359-11952bdf39bae0c7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{9705-bbcd00db4ffd3484.js → 5456-e9f9027af2bb4799.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{4506-f8439f6fbd0a8483.js → 5457-5459ae7638b42dff.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/5521-16fb56b15c809e4a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5616-33de319a016180cd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5646.41a48aad446799fa.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5716.ad2c840320ab9472.js +41 -0
- package/apps/pwa/out/_next/static/chunks/5730-ca5565abe3d360ad.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{4069a63b.a074c39997560438.js → 57af6223.b79d56584a040f84.js} +7 -7
- package/apps/pwa/out/_next/static/chunks/5841.26bcfac34b5889b4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/586.658dedb3bc558b22.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{9693-ab5bc28704a66601.js → 5892-6f0a1ee3c6c38173.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/5894-7d90af46a43f80d2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5927-88cbc16437430987.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5960.0dfb8bd3d27e1063.js +1 -0
- package/apps/pwa/out/_next/static/chunks/597-9bf9f66dba4ccae9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6064.f425ee61836bb5c7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6074.39f84a90284749de.js +1 -0
- package/apps/pwa/out/_next/static/chunks/61.cbbe643a52cf53ab.js +62 -0
- package/apps/pwa/out/_next/static/chunks/6184.4c0ba455eb3d27a1.js +79 -0
- package/apps/pwa/out/_next/static/chunks/6224.cd0ca2a16727e9a9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6229-a83289910e01869b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6243.61e6f450a70a8d91.js +90 -0
- package/apps/pwa/out/_next/static/chunks/6295-4f1a1386f8667fd1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5709.867a5086d782dd97.js → 6310.5fb57ba0781bc476.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/{7087.99662912e4db6255.js → 6355.34fd60aca3e95acf.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/6653.f3f30affdbe694aa.js +32 -0
- package/apps/pwa/out/_next/static/chunks/6657.f57e1d8511e510ce.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6672-bc0f317b72f0bbd2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6761-2143fe6fe3578118.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6747.365eefdf3b4a0226.js → 6764.ec2d2cf14278c473.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/6955-75b2659eafd27893.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{52bafb67.054ec9d048116d83.js → 6cd6be76.9d27e7414d939d53.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{77a1aef7.ba1c04f78a1493d9.js → 6fa80ede.7b05276e6be12b1d.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7051-406b0538949c932f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7222.df77e48936e60d2e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7242-08db87893cf792b7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7307-3172df9d07acb8e0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{156.389be47355dc94c7.js → 7613.4523dc082005e359.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{234.f25f5b0d65f89af8.js → 7644.bdbfed1da174219e.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/7648-7c7346c2a73503f9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7788.ffd9f4d57647a354.js +149 -0
- package/apps/pwa/out/_next/static/chunks/{1972.a8d37aadbc59ac43.js → 7793.4d3de6ce591fbc21.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{8469.f67afe44a0fa8af0.js → 7816.4b8c0fa1e5b4ec4f.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7988-bbcd506079ceceb6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{367.1ffe524fe1ee7803.js → 8066.32863fb9dd2dc278.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/8073-cdf4607b80d127fe.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{691.6ff56b5f4b6ec918.js → 8108.2cd332dff4f07acd.js} +4 -4
- package/apps/pwa/out/_next/static/chunks/8414-77dbc0c35bc85f42.js +1 -0
- package/apps/pwa/out/_next/static/chunks/849.fe241354322a97e9.js +27 -0
- package/apps/pwa/out/_next/static/chunks/8665.900daf2473f7032a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8713.11d79e4e023ab74f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8718.137b7ce2c3cae66b.js +8 -0
- package/apps/pwa/out/_next/static/chunks/8764.39400f626e015e79.js +287 -0
- package/apps/pwa/out/_next/static/chunks/8803.d3504166481bc91e.js +24 -0
- package/apps/pwa/out/_next/static/chunks/{9103.bd34694d18c05083.js → 8939.a14783a0a81e5e62.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/8963.928e777871d1d637.js +104 -0
- package/apps/pwa/out/_next/static/chunks/8987-372a6317aaf83fa9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9039.03e40d9f9fd90920.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{c58bec24.d208786405e23259.js → 922c23f1.797bdf68f73f0488.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{5998.d426273cdd00305a.js → 9546.3a0afc5d5fa0851d.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9671.d935d274b65718e4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9756.24e020ddf99f7020.js +77 -0
- package/apps/pwa/out/_next/static/chunks/9777-6b21b6f1989ea7b1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9947.7a8d89554e873316.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9980.fd66776b3782eeb4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-2c29b6716055aa54.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-822c5395a88eb1e5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-9d7432ad7cb155ce.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/board/page-26941f067e899ed3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/botlab/{page-dbc30fbf2e8933d9.js → page-3c29b0e0d681e33d.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-d1cdb65c4ceb5c33.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-1224ce11e2a2eef5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/chat/page-940b44876305fac2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/consult/page-c5b8f3b77568a8e9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/control/page-77db1e47b120b94e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-3048505d466ec98a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-8d97da172a2cd552.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/editor/page-6a36535d413596b1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/exec/page-8696a777c88bacc2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/field/page-c4f1095489266f97.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-2c29b6716055aa54.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/inside/page-ea374796ca2317b9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/intake/page-111a4245428caa84.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/layout-956789c8340e289e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live/page-7645ef6d17d2314b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-3448160192777209.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/loops/page-e911bcd2bfb5c305.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/market/page-52b55f54c9d8e0fb.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-6a904a7d1b3aee11.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/morning/page-afa5068541a55cd1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/not-found-3eb72a4f6788a903.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-527a398eac0b4699.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-c9e4ca5025534239.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-63c8938149254e9d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-da8f855dc25cae3d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-f48403ffee4c4b77.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-905013106f55daad.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/page-f95beb047d743d09.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-3b0434a6fc1154e1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-9deae0524ce7a7e2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-4f4f0858754f73a4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-73857fa536e7c832.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/page-c0bdee145df0f6c9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-2e8cc4d212f1ca01.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-2c29b6716055aa54.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/page-fe67b4e66f496b3a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/share/page-b8c0c73c2e5a8917.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-2e8ed69b1a70c746.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-aedaede687cc293d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/term/page-bb5c95ce68358be2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/today/page-c6b096777f73c43a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/trace/page-45967d78c1748112.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/vault/page-9a1cdd7c5a50bf73.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-c54c8b957ebf94e2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-9dc19aee0932542a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-8f291522cb3d91a6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-52b36e1c8acd087f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{e7a93f74.aa8572069f848f17.js → d7c7394d.c015f14113d7faef.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/db2f0161-8781ed841c51137a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/f6a577ab-4b799b8c69e49cfd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/framework-01d45c12f1bce665.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-0a9bbda118d4e9dc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-app-7f817b9fe2a360cc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_app-f953b3d6c9ece48e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_error-1a3e6e3f0aa99004.js +1 -0
- package/apps/pwa/out/_next/static/chunks/webpack-090556529ba4efb6.js +1 -0
- package/apps/pwa/out/approvals/index.html +1 -1
- package/apps/pwa/out/approvals/index.txt +22 -22
- package/apps/pwa/out/autopilot/index.html +1 -1
- package/apps/pwa/out/autopilot/index.txt +22 -22
- package/apps/pwa/out/board/index.html +1 -1
- package/apps/pwa/out/board/index.txt +22 -22
- package/apps/pwa/out/botlab/index.html +1 -1
- package/apps/pwa/out/botlab/index.txt +21 -21
- package/apps/pwa/out/bots/index.html +1 -1
- package/apps/pwa/out/bots/index.txt +21 -21
- package/apps/pwa/out/ceo/index.html +1 -1
- package/apps/pwa/out/ceo/index.txt +22 -22
- package/apps/pwa/out/chat/index.html +1 -1
- package/apps/pwa/out/chat/index.txt +21 -21
- package/apps/pwa/out/consult/index.html +1 -1
- package/apps/pwa/out/consult/index.txt +22 -22
- package/apps/pwa/out/control/index.html +1 -1
- package/apps/pwa/out/control/index.txt +22 -22
- package/apps/pwa/out/decisions/index.html +1 -1
- package/apps/pwa/out/decisions/index.txt +21 -21
- package/apps/pwa/out/design-check/index.html +1 -1
- package/apps/pwa/out/design-check/index.txt +22 -22
- package/apps/pwa/out/editor/index.html +1 -1
- package/apps/pwa/out/editor/index.txt +22 -22
- package/apps/pwa/out/exec/index.html +1 -1
- package/apps/pwa/out/exec/index.txt +22 -22
- package/apps/pwa/out/field/index.html +1 -1
- package/apps/pwa/out/field/index.txt +22 -22
- package/apps/pwa/out/healthz +1 -1
- package/apps/pwa/out/index.html +1 -1
- package/apps/pwa/out/index.txt +21 -21
- package/apps/pwa/out/inside/index.html +1 -1
- package/apps/pwa/out/inside/index.txt +21 -21
- package/apps/pwa/out/intake/index.html +1 -1
- package/apps/pwa/out/intake/index.txt +22 -22
- package/apps/pwa/out/live/index.html +1 -1
- package/apps/pwa/out/live/index.txt +22 -22
- package/apps/pwa/out/live-run/index.html +1 -1
- package/apps/pwa/out/live-run/index.txt +22 -22
- package/apps/pwa/out/loops/index.html +1 -1
- package/apps/pwa/out/loops/index.txt +21 -21
- package/apps/pwa/out/market/index.html +1 -1
- package/apps/pwa/out/market/index.txt +21 -21
- package/apps/pwa/out/missions/placeholder/index.html +1 -1
- package/apps/pwa/out/missions/placeholder/index.txt +21 -21
- package/apps/pwa/out/morning/index.html +1 -1
- package/apps/pwa/out/morning/index.txt +22 -22
- package/apps/pwa/out/observatory/index.html +1 -1
- package/apps/pwa/out/observatory/index.txt +22 -22
- package/apps/pwa/out/ops/checklist/index.html +1 -1
- package/apps/pwa/out/ops/checklist/index.txt +21 -21
- package/apps/pwa/out/ops/release/index.html +1 -1
- package/apps/pwa/out/ops/release/index.txt +21 -21
- package/apps/pwa/out/ops/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/package.json +1 -1
- package/scripts/release-loop/auto-approve-node.ts +2 -1
- package/scripts/release-loop/gate-node.ts +13 -6
- package/scripts/release-loop/gate-shard-receipts.ts +5 -0
- package/scripts/release-loop/publish-node.ts +2 -1
- package/scripts/release-loop/pwa-scenarios-node.ts +10 -1
- package/scripts/zero-sim-world.sh +1 -1
- package/src/autopilot/track-courier.ts +48 -8
- package/src/browser-cdp/client.ts +17 -3
- package/src/cli/fleet-cli.ts +9 -2
- package/src/cli/release-cli.ts +4 -3
- package/src/cli/task-plugin-wizard-host.ts +22 -3
- package/src/cli/test-state-dir-flag.ts +4 -1
- package/src/dashboard/index.ts +5 -20
- package/src/dashboard/plugin-wizard-runtime.ts +54 -7
- package/src/fleet/cloud-resource-discovery.ts +95 -0
- package/src/fleet/resource-inventory.ts +12 -3
- package/src/graph-runner/runner.ts +3 -1
- package/src/graph-wizard/mission-compose.ts +7 -1
- package/src/harness/harness-queue.ts +74 -6
- package/src/llm.ts +4 -0
- package/src/loops/budget.ts +20 -0
- package/src/onboarding/first-chat-gate.ts +4 -1
- package/src/onboarding/first-run.ts +8 -1
- package/src/onboarding.ts +5 -1
- package/src/pr-tool/census.ts +42 -5
- package/src/pty-shell/pty-manifest.ts +15 -6
- package/src/release-loop/light-rc.ts +47 -0
- package/src/research/axis-fanout.ts +15 -8
- package/src/self-dev/dev-pipeline.ts +67 -8
- package/src/self-implement/gate-remote.ts +13 -7
- package/src/sidetab-core/model.ts +64 -6
- package/src/task-orchestrator/surfaces/pod-source-receive.ts +10 -1
- package/src/tool-runtime/aside-selection-runtime.ts +89 -0
- package/src/tool-runtime/index.ts +2 -0
- package/src/tui/entry.ts +75 -21
- package/src/tui/sidetab/attach.ts +1 -0
- package/src/tui/sidetab/list.ts +2 -1
- package/src/ux-sim/release-sim-rig.ts +244 -7
- package/src/version/packed-revision.json +1 -1
- package/apps/pwa/out/_next/static/chunks/1388-1eb6df003f29bb9c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1434-a2c279f005d9c501.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1464.14588e93d2ab3190.js +0 -24
- package/apps/pwa/out/_next/static/chunks/1465.85f9a1708f17853a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/162.c03cf23572cb4136.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1831.25868bc1e2cc0dae.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1896.b6c635d0c8f65727.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1939.3fa2506ad8e585bc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1997-f22e6f9510520182.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2242-6edf27c6c0ae7589.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2344.795de26da3261060.js +0 -23
- package/apps/pwa/out/_next/static/chunks/2491.9ac5bd2f48bcd60c.js +0 -226
- package/apps/pwa/out/_next/static/chunks/2513.e03f6479c0079b6e.js +0 -79
- package/apps/pwa/out/_next/static/chunks/2551-43782d8812989ae7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2799.12b1a3e7090e27ef.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2806.f04d7923f2adadb1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2862.b8ea08cbc69a63d4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/295-1ff35d6a06be8400.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3161.b9eb612f66d5ff04.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3233.46021e4acc520c03.js +0 -1
- package/apps/pwa/out/_next/static/chunks/325.3cfd5b7571a9f740.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3384.d91656787bec7922.js +0 -104
- package/apps/pwa/out/_next/static/chunks/3414f5fa-46ae45073dca64f0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3589.a9094c2bc034055c.js +0 -287
- package/apps/pwa/out/_next/static/chunks/3777.1450df79d987816d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3877-871ea505d778a6a7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4021.28d034c7fb0a6732.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4212.873105c37a871421.js +0 -1
- package/apps/pwa/out/_next/static/chunks/423-6be27163a1bce5d7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4231.644cd1e23974f1f6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4362.1adc1412509b7bb8.js +0 -94
- package/apps/pwa/out/_next/static/chunks/4431.83a630154376636a.js +0 -41
- package/apps/pwa/out/_next/static/chunks/4540-993e2e4e1d485a9a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4719-1d04b01d4d6166fc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4754-bfd5e1ad9016e176.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5001.b39bf6d792509317.js +0 -64
- package/apps/pwa/out/_next/static/chunks/5021.7234ae147ab0a3e1.js +0 -77
- package/apps/pwa/out/_next/static/chunks/5230.3e562ed2a69cbc7b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5279.f75fafa19de6e131.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5325-b9c1258cc7e579f9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5495-37306015ec740354.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5658.d1e61315cb865f82.js +0 -32
- package/apps/pwa/out/_next/static/chunks/5765.5949ec61cec63eac.js +0 -1
- package/apps/pwa/out/_next/static/chunks/587.e6b35bcbd947c58e.js +0 -8
- package/apps/pwa/out/_next/static/chunks/5951-f25e14d03e72135a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5962-1ab68b213684716b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6352.20c708245475cf50.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6548-a160aa580fb9a8ff.js +0 -1
- package/apps/pwa/out/_next/static/chunks/673-40c924b2095a05eb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6731-c9308c2f71a1b8e3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6950-5d5edab502cc208b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6982.e8fecbf7feb3aba5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7051-0dbbb2c1ce4f519e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/709.bd9939dbb991de9f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7230-6527ac6be205c096.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7233-d93f8ce1475f730c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7292-a4d5c8d2fe255e06.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7304-dae57d61a8ccccf0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7382.bf53ab097670a235.js +0 -27
- package/apps/pwa/out/_next/static/chunks/7434.99c31fb661085b6a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7457-9ceddd4301467503.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7494.d8b8d01d8dcbafe8.js +0 -2
- package/apps/pwa/out/_next/static/chunks/7554-d9cec4ac2e6d556d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7733-6f0d8da7a3f3ce91.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7757-6f4b6363cc651de5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/787-4d1d55b1311a5019.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7915-a755af5ea69cfcfe.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8029-2963385667511b16.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8090.bc2349b6133b2cd5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8136.8ff2113530c27083.js +0 -1
- package/apps/pwa/out/_next/static/chunks/819.632a2a50f814f98e.js +0 -74
- package/apps/pwa/out/_next/static/chunks/8328.72a79ba9b81971ad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8448.4e25153e035786b0.js +0 -62
- package/apps/pwa/out/_next/static/chunks/8613.76dfc054055f06ba.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8649-fe9165a8879fad56.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8840-53feb140de04dcfe.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8873.ef8a37057644f876.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8917-46eb4e608f44bf74.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8954.e749ad9e9c5ca512.js +0 -115
- package/apps/pwa/out/_next/static/chunks/9065.8134b756614cf83f.js +0 -36
- package/apps/pwa/out/_next/static/chunks/9089.087fcd352568af49.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9140-bfcc4075cac3c387.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9272.787cb6d987824708.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9361-5b10273d3f34b21d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9396.097c14dd4df77c43.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9468.370ef15c86f7b141.js +0 -1
- package/apps/pwa/out/_next/static/chunks/963-66d3a6d98e977ae5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9644.a615f56876ed37b8.js +0 -90
- package/apps/pwa/out/_next/static/chunks/9786.2d8c3b7368f18f1b.js +0 -148
- package/apps/pwa/out/_next/static/chunks/9805.e17f9c6e3811e48b.js +0 -24
- package/apps/pwa/out/_next/static/chunks/9876-49a1e08c0dfe7b8c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9891.5995e75a99b53d4e.js +0 -149
- package/apps/pwa/out/_next/static/chunks/9912-2be6b6ea0321c365.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-c0543429ffa9cdfb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-39f04d88df12b3e9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-e4f014aa82483cae.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-e86f9273877eab46.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-d83a916672a8cfd3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-22f27eaa5e6e68c7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/chat/page-66477bf22d33b56e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/consult/page-913f2a86ea109c65.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/control/page-ac51dc349381d564.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-cd09fc74dca72511.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-6c357f5b58598b67.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/editor/page-ab83de8c73bd2e4f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/exec/page-6402ad2273b6f7b5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/field/page-50d9b8d13b33f785.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-c0543429ffa9cdfb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/inside/page-ffca50fc1f13759c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-3316bfc28a901722.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/layout-aef93e049341011e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live/page-8e67bb49fa81d4e5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-8b8c8ac4a3edf0eb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/loops/page-b5b994c9ea03f6d7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-1a06f6f510439341.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-d9720f6a03f31fa7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/morning/page-d7c891d78672d771.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-e915872b37ca7dcf.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-43c2ec7c00978377.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-c2537aa89b121637.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-3264666f6ef99431.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-efe9dd7bc58d4fc6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-153277343c9956b8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-c1457829d1506ad7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/page-9622573651a4b6ce.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-5aeba1aa69ec67ad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-29cf1ba9ae2fdb92.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-99a060c6edd4726c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-decfacd2237da403.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-3650eed85a5c5c93.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-14077f0eddcae22f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-c0543429ffa9cdfb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/page-364ee29f223bdc6b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/share/page-905fb1f67c2665a7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-79907fc36e3113f4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-8f01867ee2a701b6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/term/page-310b734167671ba8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-cb1ca7ae52803603.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/trace/page-5491f2fb8e9376b5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/vault/page-7e98befd36460b21.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-220923eefd5149b5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-afdef54bb570da39.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-19f8acddbff16091.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-d327a7647a075184.js +0 -1
- package/apps/pwa/out/_next/static/chunks/bc1f8ef9.b79035bd0f565c66.js +0 -1
- package/apps/pwa/out/_next/static/chunks/cf9ff424.b702f4a2ac70d836.js +0 -1
- package/apps/pwa/out/_next/static/chunks/d90ea774-d492ff408af303c1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/ec9064d2.691021d974525713.js +0 -122
- package/apps/pwa/out/_next/static/chunks/ef9d715f.186b83d00befb229.js +0 -1
- package/apps/pwa/out/_next/static/chunks/framework-f01b715c1ec2fb74.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-3267c2e627901292.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-app-a690bcbeac3c465d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_app-124f11699738fd43.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_error-754b7bd073a36a5f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/webpack-8ded1efe8121eba0.js +0 -1
- /package/apps/pwa/out/_next/static/{98VlBaYvL-VVnCq93_lFS → 5URFQKPO21SIgTlLvb1Jv}/_ssgManifest.js +0 -0
|
@@ -64,6 +64,11 @@ export type GateShardReceiptInspection =
|
|
|
64
64
|
| { kind: 'invalid'; reason: string }
|
|
65
65
|
| { kind: 'valid'; images: Array<{ imageDigest: string }>; receipts: GateShardReceipt[] };
|
|
66
66
|
|
|
67
|
+
/** The gate treats an empty formal receipt inventory as a full-sweep fallback reason. */
|
|
68
|
+
export function formalReceiptSetPresenceReason(receiptCount: number): 'formal-receipt-set-absent' | undefined {
|
|
69
|
+
return receiptCount === 0 ? 'formal-receipt-set-absent' : undefined;
|
|
70
|
+
}
|
|
71
|
+
|
|
67
72
|
/** Validate the complete formal receipt set against independently recorded shard and test inventories. */
|
|
68
73
|
export function inspectGateShardReceipts(root: string, expected: {
|
|
69
74
|
version: string; commit: string; base40: string; envFingerprint: string; graphPins: { graphSha: string; recipeSha: string }; graphEntry: string; recipeCommand: string; recipeTimeoutMs: number;
|
|
@@ -114,7 +114,8 @@ export function runPublish(run: CommandRunner = runCommand, prodFreezeRoot?: str
|
|
|
114
114
|
return { outcome: 'fail' as const, verdict: 'fail' as const, summary: 'publish blocked: neither auto-approve nor approve-publish approved' };
|
|
115
115
|
}
|
|
116
116
|
const gate = context.outputs.gate;
|
|
117
|
-
const ownerWaivedGate = gate?.
|
|
117
|
+
const ownerWaivedGate = gate?.verdict === 'owner-waived'
|
|
118
|
+
&& (gate.outcome === 'ok' || gate.outcome === 'pass(owner-waived)')
|
|
118
119
|
&& typeof gate.approvedBy === 'string' && gate.approvedBy.trim().length > 0
|
|
119
120
|
&& typeof gate.reason === 'string' && gate.reason.trim().length > 0;
|
|
120
121
|
if (gate?.outcome !== 'ok' && !ownerWaivedGate)
|
|
@@ -45,7 +45,16 @@ export function parseArgs(argv: readonly string[]): Options {
|
|
|
45
45
|
return opts;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
export function releasePwaNodeEnvironment(env: NodeJS.ProcessEnv = process.env): Record<string, string | undefined> {
|
|
49
|
+
const clean = Object.fromEntries(Object.entries(env).filter(([k]) => !/^(https?|all)_proxy$/i.test(k)));
|
|
50
|
+
const configured = env.ELANOUS_CDP_ATTACH_TIMEOUT_MS?.trim();
|
|
51
|
+
const timeout = configured && /^\d+$/.test(configured) && Number.isSafeInteger(Number(configured)) && Number(configured) > 0
|
|
52
|
+
? configured
|
|
53
|
+
: '30000';
|
|
54
|
+
return { ...clean, ELANOUS_CDP_ATTACH_TIMEOUT_MS: timeout };
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const NO_PROXY_ENV = releasePwaNodeEnvironment();
|
|
49
58
|
const log = (msg: string) => process.stderr.write(`[pwa-node] ${msg}\n`);
|
|
50
59
|
|
|
51
60
|
function run(cmd: string, args: string[], cwd: string, timeoutMs = 600_000) {
|
|
@@ -68,7 +68,7 @@ first_run_log_rc=${first_run_pipeline_rc[2]:-0}
|
|
|
68
68
|
|
|
69
69
|
print "[S3] collect first-run logs"
|
|
70
70
|
zero_tool "$VM" logs "$M" --since 15m --limit 100 2>&1 | tee "$EVIDENCE/zero-sim-$M-elanous-logs.log"
|
|
71
|
-
logs_rc
|
|
71
|
+
logs_rc=${pipestatus[1]:-$?}
|
|
72
72
|
if (( logs_rc != 0 )); then
|
|
73
73
|
print -r -- "[S3] log collection unavailable rc=$logs_rc" | tee -a "$EVIDENCE/zero-sim-$M-elanous-logs.log"
|
|
74
74
|
fi
|
|
@@ -19,6 +19,7 @@ export type CourierDeps = {
|
|
|
19
19
|
config?: CourierConfig;
|
|
20
20
|
now?: number;
|
|
21
21
|
listComments?: () => Promise<Comment[]> | Comment[];
|
|
22
|
+
ghApi?: (args: string[]) => Promise<string>;
|
|
22
23
|
post?: (body: string) => Promise<void> | void;
|
|
23
24
|
trackAgent?: { enabled: boolean };
|
|
24
25
|
agentRunner?: TrackAgentRunner;
|
|
@@ -26,6 +27,9 @@ export type CourierDeps = {
|
|
|
26
27
|
|
|
27
28
|
const repoRoot = resolve(import.meta.dir, '../..');
|
|
28
29
|
const execFileAsync = promisify(execFile);
|
|
30
|
+
const runGhApi = async (args: string[]): Promise<string> => (await execFileAsync('gh', args, {
|
|
31
|
+
cwd: repoRoot, encoding: 'utf8', timeout: 20_000, maxBuffer: 8 * 1024 * 1024,
|
|
32
|
+
})).stdout;
|
|
29
33
|
const log = (event: string, data: Record<string, unknown>) => {
|
|
30
34
|
try { debug.log('autopilot.track-courier', event, data); } catch { /* observation is fail-soft */ }
|
|
31
35
|
};
|
|
@@ -33,15 +37,51 @@ const configFor = (deps: CourierDeps): CourierConfig => deps.config ?? getUserCo
|
|
|
33
37
|
const minutesFor = (config: CourierConfig): number =>
|
|
34
38
|
typeof config.handoffMinutes === 'number' && Number.isFinite(config.handoffMinutes) && config.handoffMinutes > 0 ? config.handoffMinutes : 60;
|
|
35
39
|
|
|
36
|
-
|
|
40
|
+
function parseJsonDocuments(stdout: string): unknown[] {
|
|
41
|
+
const documents: unknown[] = [];
|
|
42
|
+
let start = -1;
|
|
43
|
+
const closing: string[] = [];
|
|
44
|
+
let inString = false;
|
|
45
|
+
let escaped = false;
|
|
46
|
+
|
|
47
|
+
for (let index = 0; index < stdout.length; index++) {
|
|
48
|
+
const char = stdout[index]!;
|
|
49
|
+
if (start < 0) {
|
|
50
|
+
if (/\s/.test(char)) continue;
|
|
51
|
+
if (char !== '[') throw new Error('comments page is not a JSON array');
|
|
52
|
+
start = index;
|
|
53
|
+
closing.push(']');
|
|
54
|
+
continue;
|
|
55
|
+
}
|
|
56
|
+
if (inString) {
|
|
57
|
+
if (escaped) escaped = false;
|
|
58
|
+
else if (char === '\\') escaped = true;
|
|
59
|
+
else if (char === '"') inString = false;
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
if (char === '"') { inString = true; continue; }
|
|
63
|
+
if (char === '[') closing.push(']');
|
|
64
|
+
else if (char === '{') closing.push('}');
|
|
65
|
+
else if (char === ']' || char === '}') {
|
|
66
|
+
if (closing.pop() !== char) throw new Error('comments page has mismatched JSON delimiters');
|
|
67
|
+
if (closing.length === 0) {
|
|
68
|
+
documents.push(JSON.parse(stdout.slice(start, index + 1)) as unknown);
|
|
69
|
+
start = -1;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (start >= 0 || inString || closing.length > 0) throw new Error('comments response contains incomplete JSON');
|
|
74
|
+
return documents;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
async function defaultComments(channelPr: number, now: number, handoffMinutes: number, query = runGhApi): Promise<Comment[]> {
|
|
37
78
|
const since = new Date(now - Math.max(120, handoffMinutes) * 60_000).toISOString();
|
|
38
79
|
const repo = process.env.CH_REPO || 'ElanvitalAI/elanous';
|
|
39
|
-
const
|
|
40
|
-
`repos/${repo}/issues/${channelPr}/comments?since=${encodeURIComponent(since)}`]
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
return parsed.flat() as Comment[];
|
|
80
|
+
const stdout = await query(['api', '--paginate',
|
|
81
|
+
`repos/${repo}/issues/${channelPr}/comments?since=${encodeURIComponent(since)}`]);
|
|
82
|
+
const pages = parseJsonDocuments(stdout);
|
|
83
|
+
if (!pages.length || !pages.every(Array.isArray)) throw new Error('comments response is not paged arrays');
|
|
84
|
+
return pages.flat() as Comment[];
|
|
45
85
|
}
|
|
46
86
|
|
|
47
87
|
async function defaultPost(body: string, channelPr: number): Promise<void> {
|
|
@@ -63,7 +103,7 @@ export async function trackAlive(track: string, deps: CourierDeps = {}): Promise
|
|
|
63
103
|
const config = configFor(deps);
|
|
64
104
|
try {
|
|
65
105
|
if (!deps.listComments && !config.channelPr) return { alive: true, lastPostAt: null, reason: 'unmeasured' };
|
|
66
|
-
const comments = await (deps.listComments ?? (() => defaultComments(config.channelPr!, now, minutesFor(config))))();
|
|
106
|
+
const comments = await (deps.listComments ?? (() => defaultComments(config.channelPr!, now, minutesFor(config), deps.ghApi)))();
|
|
67
107
|
if (!Array.isArray(comments)) throw new Error('comments response is not an array');
|
|
68
108
|
const timestamps = comments
|
|
69
109
|
.filter((c) => c && typeof c.body === 'string' && trackPostIds(track).some((id) => c.body.startsWith(`**[${id}]**`)))
|
|
@@ -36,6 +36,20 @@ export const DEFAULT_CDP_TIMEOUT_MS = 120_000;
|
|
|
36
36
|
/** Short watchdog for local CDP HTTP endpoint discovery and target cleanup. */
|
|
37
37
|
export const DEFAULT_CDP_ATTACH_TIMEOUT_MS = 5_000;
|
|
38
38
|
|
|
39
|
+
/** Resolve the per-client setting, then the process-wide override, then the safe default. */
|
|
40
|
+
export function resolveCdpAttachTimeoutMs(
|
|
41
|
+
configuredMs?: number,
|
|
42
|
+
env: NodeJS.ProcessEnv = process.env,
|
|
43
|
+
): number {
|
|
44
|
+
if (configuredMs !== undefined) return configuredMs;
|
|
45
|
+
const raw = env.ELANOUS_CDP_ATTACH_TIMEOUT_MS?.trim();
|
|
46
|
+
if (raw && /^\d+$/.test(raw)) {
|
|
47
|
+
const value = Number(raw);
|
|
48
|
+
if (Number.isSafeInteger(value) && value > 0) return value;
|
|
49
|
+
}
|
|
50
|
+
return DEFAULT_CDP_ATTACH_TIMEOUT_MS;
|
|
51
|
+
}
|
|
52
|
+
|
|
39
53
|
export type CdpEndpoint = number | string;
|
|
40
54
|
|
|
41
55
|
function cdpEndpointUrl(endpoint: CdpEndpoint, path: string): string {
|
|
@@ -243,7 +257,7 @@ export async function resolveDebuggerUrl(
|
|
|
243
257
|
const retries = opts.retries ?? 10;
|
|
244
258
|
const interval = opts.intervalMs ?? 200;
|
|
245
259
|
const fetchImpl = opts.fetchImpl ?? fetch;
|
|
246
|
-
const attachTimeoutMs = opts.attachTimeoutMs
|
|
260
|
+
const attachTimeoutMs = resolveCdpAttachTimeoutMs(opts.attachTimeoutMs);
|
|
247
261
|
const startedAt = Date.now();
|
|
248
262
|
let lastErr: unknown = null;
|
|
249
263
|
let attempts = 0;
|
|
@@ -544,7 +558,7 @@ export async function createPageTarget(
|
|
|
544
558
|
const url = opts.url ?? 'about:blank';
|
|
545
559
|
const retries = opts.retries ?? 3;
|
|
546
560
|
const interval = opts.intervalMs ?? 150;
|
|
547
|
-
const attachTimeoutMs = opts.attachTimeoutMs
|
|
561
|
+
const attachTimeoutMs = resolveCdpAttachTimeoutMs(opts.attachTimeoutMs);
|
|
548
562
|
let lastErr: unknown = null;
|
|
549
563
|
for (let i = 0; i < retries; i++) {
|
|
550
564
|
try {
|
|
@@ -585,7 +599,7 @@ export async function createCdpClientFromEndpoint(
|
|
|
585
599
|
} = {},
|
|
586
600
|
): Promise<CdpClient> {
|
|
587
601
|
const create = deps.createTransport ?? createCdpTransport;
|
|
588
|
-
const attachTimeoutMs = deps.attachTimeoutMs
|
|
602
|
+
const attachTimeoutMs = resolveCdpAttachTimeoutMs(deps.attachTimeoutMs);
|
|
589
603
|
const resolvePage = deps.resolvePage ?? ((targetEndpoint: CdpEndpoint) => createPageTarget(targetEndpoint, {
|
|
590
604
|
...(deps.fetchImpl ? { fetchImpl: deps.fetchImpl } : {}),
|
|
591
605
|
attachTimeoutMs,
|
package/src/cli/fleet-cli.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Command } from 'commander';
|
|
2
2
|
import * as ui from '../ui.js';
|
|
3
|
+
import { discoverCloudResources } from '../fleet/cloud-resource-discovery.js';
|
|
3
4
|
import { writeStdoutJson } from './stdout-json.js';
|
|
4
5
|
|
|
5
6
|
export function registerFleetCommands(program: Command): void {
|
|
@@ -33,10 +34,16 @@ export function registerFleetCommands(program: Command): void {
|
|
|
33
34
|
.option('--cost', '오늘 추정 비용과 누적 등록 비용을 출력한다')
|
|
34
35
|
.option('--json', '구조화된 자원·경보를 출력한다')
|
|
35
36
|
.action(async (opts: { cost?: boolean; json?: boolean }) => {
|
|
37
|
+
const discovery = await discoverCloudResources();
|
|
36
38
|
const { inspectInventory } = await import('../fleet/resource-inventory.js');
|
|
37
|
-
const snapshot = inspectInventory();
|
|
38
|
-
if (opts.json) {
|
|
39
|
+
const snapshot = inspectInventory(undefined, discovery.resources);
|
|
40
|
+
if (opts.json) {
|
|
41
|
+
await writeStdoutJson(JSON.stringify({ ...snapshot, discovery: discovery.providers,
|
|
42
|
+
...(opts.cost ? { cost: { today: snapshot.estimatedCostToday, cumulative: snapshot.estimatedCumulativeCost } } : {}) }, null, 2) + '\n');
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
39
45
|
ui.header('Fleet resources (' + snapshot.resources.length + ' registered · ' + snapshot.alerts.length + ' alerts)');
|
|
46
|
+
for (const provider of discovery.providers) ui.info(`${provider.provider}: ${provider.status} · ${provider.resources} running`);
|
|
40
47
|
for (const row of snapshot.resources) {
|
|
41
48
|
const attrs = row.attrs;
|
|
42
49
|
console.log('- ' + row.name + ' · ' + String(attrs.provider) + ' · ' + String(attrs.role) + ' · owner=' + String(attrs.ownerSeat) + ' · purpose=' + String(attrs.purpose || '(없음)') + (row.expired ? ' · EXPIRED' : ''));
|
package/src/cli/release-cli.ts
CHANGED
|
@@ -25,7 +25,7 @@ import { createHash } from 'node:crypto';
|
|
|
25
25
|
import { chmodSync, existsSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, symlinkSync, writeFileSync } from 'node:fs';
|
|
26
26
|
import { tmpdir } from 'node:os';
|
|
27
27
|
import { dirname, isAbsolute, join, relative, resolve, sep } from 'node:path';
|
|
28
|
-
import type
|
|
28
|
+
import { Option, type Command } from 'commander';
|
|
29
29
|
import { debug } from '../debug/log.js';
|
|
30
30
|
import { effectiveInstanceRoot, releaseLedgerRoot } from '../instance/resolve.js';
|
|
31
31
|
import { getElanousConfigDirOverride } from '../elanous-config-dir.js';
|
|
@@ -1309,14 +1309,15 @@ export function registerReleaseCommands(program: Command, releaseRunDeps: Unatte
|
|
|
1309
1309
|
.option('--shard-concurrency <n>', '동시에 실행할 조각 묶음 수 (1–4, 기본 3)')
|
|
1310
1310
|
.option('--fixed-shard-distribution', 'self gate 에 그대로 전달 — RSS 사전 측정 없이 --shards N 조각에 정렬 라운드로빈 고정 배정(opt-in · 원격 자식 전달)')
|
|
1311
1311
|
.option('--rehearsal-tui', '리허설 전용 TUI 화면 점검(원격 자식 전달)')
|
|
1312
|
+
.addOption(new Option('--legacy-self-gate').hideHelp())
|
|
1312
1313
|
.option('--json', '결과 한 줄 JSON(stdout) · 사람 줄은 stderr')
|
|
1313
|
-
.action(async (o: { version: string; base?: string; head?: string; remote?: string; local?: boolean; shards: string; shardConcurrency?: string; fixedShardDistribution?: boolean; rehearsalTui?: boolean; json?: boolean }) => {
|
|
1314
|
+
.action(async (o: { version: string; base?: string; head?: string; remote?: string; local?: boolean; shards: string; shardConcurrency?: string; fixedShardDistribution?: boolean; rehearsalTui?: boolean; legacySelfGate?: boolean; json?: boolean }) => {
|
|
1314
1315
|
// The root strips `--local` from argv (remote-bookmark attach) before Commander sees it — same read as `self gate`.
|
|
1315
1316
|
const local = !!o.local || process.argv.slice(2).includes('--local');
|
|
1316
1317
|
await jsonAction(o.json, async (log) => {
|
|
1317
1318
|
if (o.remote !== undefined && local) throw new Error('release light-rc: --remote and --local cannot be combined');
|
|
1318
1319
|
const shards = Number(o.shards);
|
|
1319
|
-
const result = await runLightRc(o.version, { base: o.base, head: o.head, remote: o.remote, local, shards, ...(o.shardConcurrency !== undefined ? { shardConcurrency: Number(o.shardConcurrency) } : {}), ...(o.fixedShardDistribution ? { fixedShardDistribution: true } : {}), rehearsalTui: o.rehearsalTui, ledgerRoot: releaseRunDeps.ledgerRoot, log: (l) => console.error(l) }, lightRcDeps);
|
|
1320
|
+
const result = await runLightRc(o.version, { base: o.base, head: o.head, remote: o.remote, local, shards, ...(o.shardConcurrency !== undefined ? { shardConcurrency: Number(o.shardConcurrency) } : {}), ...(o.fixedShardDistribution ? { fixedShardDistribution: true } : {}), rehearsalTui: o.rehearsalTui, legacySelfGate: o.legacySelfGate, ledgerRoot: releaseRunDeps.ledgerRoot, log: (l) => console.error(l) }, lightRcDeps);
|
|
1320
1321
|
for (const line of formatLightRc(result)) log(line);
|
|
1321
1322
|
return result;
|
|
1322
1323
|
}, (r) => r.ok);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto';
|
|
1
2
|
import { isAbsolute, relative, resolve, sep } from 'node:path';
|
|
2
3
|
import { realpath } from 'node:fs/promises';
|
|
3
4
|
import { startClassicMissionCli } from '../dashboard/mission-cli-consumer.js';
|
|
@@ -7,7 +8,7 @@ import type { QuestionChannel } from '../hitl/question.js';
|
|
|
7
8
|
import { sendOutbound } from '../domains/outbound-alert.js';
|
|
8
9
|
import type { AskUserQuestionRequest, AskUserQuestionResult } from '../ask-user-question/types.js';
|
|
9
10
|
import { PLUGIN_WIZARD_MARKET_QUESTION } from '../graph-wizard/mission-compose.js';
|
|
10
|
-
import type { PluginMaker, PluginWizardDeps } from '../graph-wizard/mission-compose.js';
|
|
11
|
+
import type { PluginMaker, PluginWizardDeps, PluginWizardPairDecomposition } from '../graph-wizard/mission-compose.js';
|
|
11
12
|
|
|
12
13
|
export interface TaskPluginWizardHostResult {
|
|
13
14
|
ok: boolean;
|
|
@@ -16,12 +17,13 @@ export interface TaskPluginWizardHostResult {
|
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
export interface TaskPluginWizardHostPorts {
|
|
20
|
+
wizardId?: string;
|
|
19
21
|
questionChannels?: () => QuestionChannel[];
|
|
20
22
|
sendReport?: (report: string, kind: 'report') => Promise<unknown> | unknown;
|
|
21
23
|
searchMarket?: PluginWizardDeps['searchMarket'];
|
|
22
24
|
missionConsumerDeps?: MissionCliConsumerDeps;
|
|
23
25
|
runMission?: (request: { maker: PluginMaker; prompt: string }) => Promise<TaskPluginWizardHostResult>;
|
|
24
|
-
runMissionPair?: (request: { makers: readonly PluginMaker[]; prompt: string }) => Promise<Partial<Record<PluginMaker, TaskPluginWizardHostResult>>>;
|
|
26
|
+
runMissionPair?: (request: { makers: readonly PluginMaker[]; prompt: string; decomposition: PluginWizardPairDecomposition }) => Promise<Partial<Record<PluginMaker, TaskPluginWizardHostResult>>>;
|
|
25
27
|
onEvent?: PluginWizardDeps['onEvent'];
|
|
26
28
|
}
|
|
27
29
|
|
|
@@ -74,6 +76,8 @@ async function pluginSpec(content: string | undefined, workspace: string): Promi
|
|
|
74
76
|
|
|
75
77
|
/** Wire the plugin wizard onto existing question, outbound, and classic side-tab host abstractions. */
|
|
76
78
|
export function createTaskPluginWizardHostDeps(ports: TaskPluginWizardHostPorts = {}): PluginWizardDeps {
|
|
79
|
+
const wizardLabel = (ports.wizardId ?? 'wizard').replace(/[^a-zA-Z0-9_-]/gu, '_') || 'wizard';
|
|
80
|
+
const wizardScope = `${wizardLabel}-${randomUUID()}`;
|
|
77
81
|
const ask = async (request: AskUserQuestionRequest): Promise<AskUserQuestionResult> => {
|
|
78
82
|
const response = await requestQuestion({ request, channels: ports.questionChannels?.() ?? getDefaultQuestionChannels() });
|
|
79
83
|
return response.result;
|
|
@@ -97,7 +101,22 @@ export function createTaskPluginWizardHostDeps(ports: TaskPluginWizardHostPorts
|
|
|
97
101
|
developPair: async ({ makers, goal, workspace }: { makers: readonly PluginMaker[]; goal: string; workspace: string }) => {
|
|
98
102
|
const prompt = [goal, '', `세션 작업실: ${workspace}`,
|
|
99
103
|
'플러그인을 작업실 안에 만들고, 끝에 PLUGIN_SPEC=<absolute plugin directory> 한 줄을 정확히 출력해 주세요.'].join('\n');
|
|
100
|
-
const
|
|
104
|
+
const codexPath = resolve(workspace, '.plugin-wizard', wizardScope, 'codex-candidate');
|
|
105
|
+
const claudePath = resolve(workspace, '.plugin-wizard', wizardScope, 'claude-candidate');
|
|
106
|
+
const decomposition: PluginWizardPairDecomposition = {
|
|
107
|
+
status: 'ready',
|
|
108
|
+
codex: {
|
|
109
|
+
scope: `독립 플러그인 후보를 ${codexPath} 아래에 만든다.`,
|
|
110
|
+
deliverables: `완성된 Codex 후보 패키지와 PLUGIN_SPEC=${codexPath} 한 줄`,
|
|
111
|
+
dependsOn: '없음 — 부모 골과 필요한 기능만 사용하고 Claude 후보 파일은 수정하지 않는다.',
|
|
112
|
+
},
|
|
113
|
+
claude: {
|
|
114
|
+
scope: `독립 플러그인 후보를 ${claudePath} 아래에 만든다.`,
|
|
115
|
+
deliverables: `완성된 Claude 후보 패키지와 PLUGIN_SPEC=${claudePath} 한 줄`,
|
|
116
|
+
dependsOn: '없음 — 부모 골과 필요한 기능만 사용하고 Codex 후보 파일은 수정하지 않는다.',
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
const results = await ports.runMissionPair!({ makers, prompt, decomposition });
|
|
101
120
|
const specs: Partial<Record<PluginMaker, { spec: string }>> = {};
|
|
102
121
|
for (const maker of makers) {
|
|
103
122
|
const result = results[maker];
|
|
@@ -88,7 +88,10 @@ export function applyIsolatedRoot(dir: string): void {
|
|
|
88
88
|
// 종전 in-memory overlay(buildTestSafeDaemonConfig 를 getUserConfig 에
|
|
89
89
|
// 거는 방식)는 은퇴 — overlay 뷰가 디스크에 박제되는 오염 사건(#4029)과
|
|
90
90
|
// "공유 config write-through" 함정 클래스의 원천 제거.
|
|
91
|
-
|
|
91
|
+
// The explicit test root is the authority for this process and its children.
|
|
92
|
+
// Keeping an inherited stamp here makes child TUI tools fall back to the
|
|
93
|
+
// parent worktree's `.elanous-test` even though this process resolved `dir`.
|
|
94
|
+
process.env.ELANOUS_STATE_DIR = dir;
|
|
92
95
|
try {
|
|
93
96
|
const cfgDir = require('../elanous-config-dir.js') as typeof import('../elanous-config-dir.js');
|
|
94
97
|
const current = cfgDir.getElanousConfigDirOverride();
|
package/src/dashboard/index.ts
CHANGED
|
@@ -979,7 +979,10 @@ import { cancelClassicMissionCli, startClassicMissionCli } from './mission-cli-c
|
|
|
979
979
|
import { enqueueClassicSidetabMissionCompletion, runPreparedClassicSidetabVisibleMission } from './classic-sidetab-mission-job.js';
|
|
980
980
|
import { startClassicSidetabMissionPair } from './classic-sidetab-mission-pair.js';
|
|
981
981
|
import { captureClassicMissionExitObservation, createClassicSidetabMissionTrioVisibleRunner, startClassicSidetabMissionTrio } from './classic-sidetab-mission-trio.js';
|
|
982
|
-
import {
|
|
982
|
+
import { createDashboardPluginWizardRuntimeFromSidetab } from './plugin-wizard-runtime.js';
|
|
983
|
+
|
|
984
|
+
/** Public dashboard composition seam used by the TUI entrypoint and its integration test. */
|
|
985
|
+
export const createDashboardTuiPluginWizard = createDashboardPluginWizardRuntimeFromSidetab;
|
|
983
986
|
import { TUI_PLUGIN_WIZARD_TOOL_NAME } from './plugin-wizard-tool.js';
|
|
984
987
|
import { probeGrokLogin } from '../agent-mission/grok-auth-status.js';
|
|
985
988
|
import { loadSidetabRows } from '../sidetab-core/model.js';
|
|
@@ -14176,26 +14179,8 @@ Mode- and sync-specific instructions are injected per-turn when relevant — do
|
|
|
14176
14179
|
void started.completion;
|
|
14177
14180
|
return started.result;
|
|
14178
14181
|
});
|
|
14179
|
-
const tuiPluginWizard =
|
|
14182
|
+
const tuiPluginWizard = createDashboardTuiPluginWizard(classicSidetabMission, pluginWizardPairCompletions, {
|
|
14180
14183
|
getWorkspace: () => getSessionCwd(),
|
|
14181
|
-
runMissionPair: async ({ runId, prompt, context }) => {
|
|
14182
|
-
const pairCallId = `plugin-wizard:${runId}`;
|
|
14183
|
-
const started = await classicSidetabMission.dispatchTool('RunSidetabMission', {
|
|
14184
|
-
agent: 'codex', mission: prompt, parallelMission: prompt,
|
|
14185
|
-
}, { callId: pairCallId, ...(context?.parentSessionId ? { parentSessionId: context.parentSessionId } : {}) });
|
|
14186
|
-
const completion = pluginWizardPairCompletions.get(pairCallId);
|
|
14187
|
-
if (!completion || started?.status === 'error') {
|
|
14188
|
-
pluginWizardPairCompletions.delete(pairCallId);
|
|
14189
|
-
throw new Error(started?.body ?? 'Codex/Claude pair did not start');
|
|
14190
|
-
}
|
|
14191
|
-
try {
|
|
14192
|
-
const result = await completion;
|
|
14193
|
-
return {
|
|
14194
|
-
codex: { ok: result.codex.ok, ...(result.codex.content ? { content: result.codex.content } : {}), ...(result.codex.error ? { error: result.codex.error } : {}) },
|
|
14195
|
-
claude: { ok: result.claude.ok, ...(result.claude.content ? { content: result.claude.content } : {}), ...(result.claude.error ? { error: result.claude.error } : {}) },
|
|
14196
|
-
};
|
|
14197
|
-
} finally { pluginWizardPairCompletions.delete(pairCallId); }
|
|
14198
|
-
},
|
|
14199
14184
|
});
|
|
14200
14185
|
disposeClassicSigquit = registerClassicSigquitHandler(() => {
|
|
14201
14186
|
classicSidetabRuntime.beginPrefix();
|
|
@@ -4,27 +4,62 @@ import { createTaskPluginWizardHostDeps, type TaskPluginWizardHostResult } from
|
|
|
4
4
|
import { defaultTaskLauncher } from '../cli/tasks-cli.js';
|
|
5
5
|
import { handTask, type HandTaskOptions } from '../task-agent/task-hand.js';
|
|
6
6
|
import { TASK_CARD_PREFIX } from '../task-agent/task-card-prefix.js';
|
|
7
|
-
import type {
|
|
7
|
+
import type { ClassicSidetabMissionIntegration } from './classic-sidetab-mission.js';
|
|
8
|
+
import type { ClassicSidetabMissionPairCompletionResult } from './classic-sidetab-mission-job.js';
|
|
9
|
+
import type { PluginMaker, PluginWizardDeps, PluginWizardPairDecomposition } from '../graph-wizard/mission-compose.js';
|
|
8
10
|
import { createTuiPluginWizardTool, type TuiPluginWizardTool } from './plugin-wizard-tool.js';
|
|
9
11
|
import type { TuiPluginWizardRequest } from './plugin-wizard-tool.js';
|
|
10
12
|
|
|
11
13
|
export interface DashboardPluginWizardRuntimePorts {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}) => Promise<Partial<Record<PluginMaker, TaskPluginWizardHostResult>>>;
|
|
14
|
+
pair: {
|
|
15
|
+
dispatchTool: ClassicSidetabMissionIntegration['dispatchTool'];
|
|
16
|
+
completions: Map<string, Promise<ClassicSidetabMissionPairCompletionResult>>;
|
|
17
|
+
};
|
|
17
18
|
getWorkspace: () => string;
|
|
18
19
|
taskHand?: (options: HandTaskOptions) => Promise<unknown>;
|
|
19
20
|
launcher?: HandTaskOptions['launcher'];
|
|
20
21
|
onEvent?: PluginWizardDeps['onEvent'];
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
type PluginWizardPairRequest = {
|
|
25
|
+
runId: string;
|
|
26
|
+
prompt: string;
|
|
27
|
+
decomposition: PluginWizardPairDecomposition;
|
|
28
|
+
context?: TuiPluginWizardRequest['context'];
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** The production RunSidetabMission adapter used by the dashboard entrypoint. */
|
|
32
|
+
export function createTuiPluginWizardPairRunner(
|
|
33
|
+
dispatchTool: ClassicSidetabMissionIntegration['dispatchTool'],
|
|
34
|
+
completions: Map<string, Promise<ClassicSidetabMissionPairCompletionResult>>,
|
|
35
|
+
): (request: PluginWizardPairRequest) => Promise<Partial<Record<PluginMaker, TaskPluginWizardHostResult>>> {
|
|
36
|
+
return async ({ runId, prompt, decomposition, context }) => {
|
|
37
|
+
const pairCallId = `plugin-wizard:${runId}`;
|
|
38
|
+
const started = await dispatchTool('RunSidetabMission', {
|
|
39
|
+
agent: 'codex', mission: prompt, decomposition,
|
|
40
|
+
}, { callId: pairCallId, ...(context?.parentSessionId ? { parentSessionId: context.parentSessionId } : {}) });
|
|
41
|
+
const completion = completions.get(pairCallId);
|
|
42
|
+
if (!completion || started?.status === 'error') {
|
|
43
|
+
completions.delete(pairCallId);
|
|
44
|
+
throw new Error(started?.body ?? 'Codex/Claude pair did not start');
|
|
45
|
+
}
|
|
46
|
+
try {
|
|
47
|
+
const result = await completion;
|
|
48
|
+
return {
|
|
49
|
+
codex: { ok: result.codex.ok, ...(result.codex.content ? { content: result.codex.content } : {}), ...(result.codex.error ? { error: result.codex.error } : {}) },
|
|
50
|
+
claude: { ok: result.claude.ok, ...(result.claude.content ? { content: result.claude.content } : {}), ...(result.claude.error ? { error: result.claude.error } : {}) },
|
|
51
|
+
};
|
|
52
|
+
} finally { completions.delete(pairCallId); }
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
23
56
|
/** Connect the TUI entry tool to handTask and the existing plugin composer without blocking the ACP turn. */
|
|
24
57
|
export function createDashboardPluginWizardRuntime(ports: DashboardPluginWizardRuntimePorts): TuiPluginWizardTool {
|
|
58
|
+
const runMissionPair = createTuiPluginWizardPairRunner(ports.pair.dispatchTool, ports.pair.completions);
|
|
25
59
|
return createTuiPluginWizardTool(async (request) => {
|
|
26
60
|
const pluginWizardDeps = createTaskPluginWizardHostDeps({
|
|
27
|
-
|
|
61
|
+
wizardId: request.runId,
|
|
62
|
+
runMissionPair: ({ prompt, decomposition }) => runMissionPair({ runId: request.runId, prompt, decomposition, ...(request.context ? { context: request.context } : {}) }),
|
|
28
63
|
onEvent: ports.onEvent ?? ((event) => {
|
|
29
64
|
if (event.step !== 'validate' || !event.detail || typeof event.detail !== 'object') return;
|
|
30
65
|
const winner = (event.detail as { winner?: unknown }).winner;
|
|
@@ -48,3 +83,15 @@ export function createDashboardPluginWizardRuntime(ports: DashboardPluginWizardR
|
|
|
48
83
|
});
|
|
49
84
|
});
|
|
50
85
|
}
|
|
86
|
+
|
|
87
|
+
/** Build the dashboard wizard with the same classic sidetab wiring used by the TUI entrypoint. */
|
|
88
|
+
export function createDashboardPluginWizardRuntimeFromSidetab(
|
|
89
|
+
sidetab: ClassicSidetabMissionIntegration,
|
|
90
|
+
completions: Map<string, Promise<ClassicSidetabMissionPairCompletionResult>>,
|
|
91
|
+
ports: Omit<DashboardPluginWizardRuntimePorts, 'pair'>,
|
|
92
|
+
): TuiPluginWizardTool {
|
|
93
|
+
return createDashboardPluginWizardRuntime({
|
|
94
|
+
...ports,
|
|
95
|
+
pair: { dispatchTool: sidetab.dispatchTool, completions },
|
|
96
|
+
});
|
|
97
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { execFile } from 'node:child_process';
|
|
2
|
+
import { debug } from '../debug/log.js';
|
|
3
|
+
import type { DiscoveredInventoryResource } from './resource-inventory.js';
|
|
4
|
+
|
|
5
|
+
export interface CloudDiscoveryProviderStatus {
|
|
6
|
+
provider: 'aws' | 'gcp';
|
|
7
|
+
status: 'measured' | 'partial' | 'unavailable';
|
|
8
|
+
resources: number;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface CloudDiscoveryResult {
|
|
12
|
+
resources: DiscoveredInventoryResource[];
|
|
13
|
+
providers: CloudDiscoveryProviderStatus[];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface CloudListResult { status: number; stdout: string }
|
|
17
|
+
export type CloudListCommand = (command: string, args: string[]) => CloudListResult | Promise<CloudListResult>;
|
|
18
|
+
|
|
19
|
+
const MAX_OUTPUT_BYTES = 8 * 1024 * 1024;
|
|
20
|
+
|
|
21
|
+
function runCloudListCommand(command: string, args: string[]): Promise<CloudListResult> {
|
|
22
|
+
return new Promise(resolve => {
|
|
23
|
+
execFile(command, args, { encoding: 'utf8', timeout: 20_000, maxBuffer: MAX_OUTPUT_BYTES }, (error, stdout) => {
|
|
24
|
+
resolve({ status: error ? (typeof error.code === 'number' ? error.code : 1) : 0, stdout: stdout ?? '' });
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function parseJson(stdout: string): unknown {
|
|
30
|
+
return JSON.parse(stdout);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function awsRunningInstances(value: unknown): DiscoveredInventoryResource[] {
|
|
34
|
+
if (!value || typeof value !== 'object' || !Array.isArray((value as { Reservations?: unknown }).Reservations))
|
|
35
|
+
throw new Error('invalid aws response');
|
|
36
|
+
const instances = (value as { Reservations: Array<{ Instances?: unknown }> }).Reservations.flatMap(row => Array.isArray(row.Instances) ? row.Instances : []);
|
|
37
|
+
return instances.flatMap(raw => {
|
|
38
|
+
if (!raw || typeof raw !== 'object') return [];
|
|
39
|
+
const row = raw as { InstanceId?: unknown; State?: { Name?: unknown }; Tags?: unknown };
|
|
40
|
+
if (row.State?.Name !== 'running' || typeof row.InstanceId !== 'string' || !row.InstanceId) return [];
|
|
41
|
+
const nameTag = Array.isArray(row.Tags)
|
|
42
|
+
? row.Tags.find(tag => !!tag && typeof tag === 'object' && (tag as { Key?: unknown }).Key === 'Name') as { Value?: unknown } | undefined
|
|
43
|
+
: undefined;
|
|
44
|
+
const name = typeof nameTag?.Value === 'string' ? nameTag.Value : undefined;
|
|
45
|
+
return [{ id: row.InstanceId, machine: 'aws', provider: 'aws', ...(name ? { name } : {}) }];
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
interface ParsedCloudResources { resources: DiscoveredInventoryResource[]; incomplete: boolean }
|
|
50
|
+
|
|
51
|
+
function gcpRunningInstances(value: unknown): ParsedCloudResources {
|
|
52
|
+
if (!Array.isArray(value)) throw new Error('invalid gcp response');
|
|
53
|
+
let incomplete = false;
|
|
54
|
+
const resources = value.flatMap(raw => {
|
|
55
|
+
if (!raw || typeof raw !== 'object') { incomplete = true; return []; }
|
|
56
|
+
const row = raw as { id?: unknown; name?: unknown; status?: unknown; zone?: unknown; selfLink?: unknown };
|
|
57
|
+
if (row.status !== 'RUNNING') return [];
|
|
58
|
+
const id = typeof row.id === 'string' || typeof row.id === 'number' ? String(row.id) : '';
|
|
59
|
+
if (typeof row.name !== 'string' || !row.name || !/^\d+$/.test(id)) { incomplete = true; return []; }
|
|
60
|
+
const zone = typeof row.zone === 'string' ? row.zone.split('/').at(-1) : '';
|
|
61
|
+
const project = typeof row.selfLink === 'string' ? row.selfLink.match(/\/projects\/([^/]+)/)?.[1] : undefined;
|
|
62
|
+
const selfLinkPath = typeof row.selfLink === 'string' ? row.selfLink.match(/compute\/v1\/(projects\/.*)$/)?.[1] : undefined;
|
|
63
|
+
const canonicalPath = selfLinkPath ?? (project && zone ? `projects/${project}/zones/${zone}/instances/${row.name}` : undefined);
|
|
64
|
+
return [{ id, machine: 'gcp', provider: 'gcp', name: row.name,
|
|
65
|
+
aliases: canonicalPath ? [canonicalPath] : [] }];
|
|
66
|
+
});
|
|
67
|
+
return { resources, incomplete };
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/** Read-only current-account discovery. Provider errors are kept as status, never raw stderr (which can contain credentials). */
|
|
71
|
+
export async function discoverCloudResources(run: CloudListCommand = runCloudListCommand): Promise<CloudDiscoveryResult> {
|
|
72
|
+
const queries: Array<{ provider: 'aws' | 'gcp'; command: string; args: string[]; parse: (value: unknown) => ParsedCloudResources }> = [
|
|
73
|
+
{ provider: 'aws', command: 'aws', args: ['ec2', 'describe-instances', '--no-cli-pager', '--output', 'json'], parse: value => ({ resources: awsRunningInstances(value), incomplete: false }) },
|
|
74
|
+
{ provider: 'gcp', command: 'gcloud', args: ['compute', 'instances', 'list', '--format=json'], parse: gcpRunningInstances },
|
|
75
|
+
];
|
|
76
|
+
const outcomes = await Promise.all(queries.map(async query => {
|
|
77
|
+
try {
|
|
78
|
+
const result = await run(query.command, query.args);
|
|
79
|
+
if (result.status !== 0) {
|
|
80
|
+
return { provider: query.provider, status: 'unavailable' as const, resources: [] };
|
|
81
|
+
}
|
|
82
|
+
const parsed = query.parse(parseJson(result.stdout));
|
|
83
|
+
return { provider: query.provider, status: parsed.incomplete ? 'partial' as const : 'measured' as const, resources: parsed.resources };
|
|
84
|
+
} catch {
|
|
85
|
+
return { provider: query.provider, status: 'unavailable' as const, resources: [] };
|
|
86
|
+
}
|
|
87
|
+
}));
|
|
88
|
+
for (const outcome of outcomes) debug.log('fleet.inventory', outcome.status === 'unavailable' ? 'cloud-discovery-unavailable' : 'cloud-discovery-measured', {
|
|
89
|
+
provider: outcome.provider, ...(outcome.status !== 'unavailable' ? { resources: outcome.resources.length, partial: outcome.status === 'partial' } : {}),
|
|
90
|
+
});
|
|
91
|
+
return {
|
|
92
|
+
resources: outcomes.flatMap(outcome => outcome.resources),
|
|
93
|
+
providers: outcomes.map(outcome => ({ provider: outcome.provider, status: outcome.status, resources: outcome.resources.length })),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -8,7 +8,7 @@ export interface InventoryResourceInput {
|
|
|
8
8
|
hourlyCost?: number; startSignedAt: number; firstWorkAt?: number; expiresAt?: number; lastActivityAt?: number;
|
|
9
9
|
state?: Record<string, unknown>; releaseConditions?: { expiresAt?: number; idleMinutes?: number };
|
|
10
10
|
}
|
|
11
|
-
export interface DiscoveredInventoryResource { id: string; machine: string; provider: string; name?: string }
|
|
11
|
+
export interface DiscoveredInventoryResource { id: string; machine: string; provider: string; name?: string; aliases?: readonly string[] }
|
|
12
12
|
export interface InventoryAlert { id: string; reason: 'unregistered' | 'expired' | 'missing-purpose' | 'idle-over-7-days'; message: string }
|
|
13
13
|
export interface InventorySnapshot { resources: ResourceView[]; alerts: InventoryAlert[]; estimatedCostToday: number; estimatedCumulativeCost: number; unpricedResources: number }
|
|
14
14
|
const NEVER_EXPIRES_MS = 100 * 365 * 24 * 60 * 60 * 1000;
|
|
@@ -86,7 +86,7 @@ export function inspectInventory(ledger = new ResourceLedger(), discovered: read
|
|
|
86
86
|
const resources = ledgerRows.filter(row => row.attrs.inventory === true);
|
|
87
87
|
const costRows = ledgerRows.filter(row => row.attrs.inventory === true || row.attrs.inventory === 'archived');
|
|
88
88
|
const unpricedResources = costRows.filter(row => typeof row.attrs.hourlyCost !== 'number' || !Number.isFinite(row.attrs.hourlyCost)).length;
|
|
89
|
-
const registered = new Set(resources.map(row => row.id.slice('fleet:'.length)));
|
|
89
|
+
const registered = new Set(resources.map(row => `${String(row.attrs.provider)}\0${row.id.slice('fleet:'.length)}`));
|
|
90
90
|
const alerts: InventoryAlert[] = [];
|
|
91
91
|
for (const row of resources) {
|
|
92
92
|
const id = row.id.slice('fleet:'.length);
|
|
@@ -95,7 +95,16 @@ export function inspectInventory(ledger = new ResourceLedger(), discovered: read
|
|
|
95
95
|
const lastActivityAt = typeof row.attrs.lastActivityAt === 'number' ? row.attrs.lastActivityAt : row.observedAt;
|
|
96
96
|
if (now - lastActivityAt > 7 * DAY_MS) alerts.push({ id, reason: 'idle-over-7-days', message: id + ' idle for more than 7 days' });
|
|
97
97
|
}
|
|
98
|
-
for (const item of discovered)
|
|
98
|
+
for (const item of discovered) {
|
|
99
|
+
const aliases = item.provider === 'gcp'
|
|
100
|
+
? (item.aliases ?? []).filter(id => /^projects\/[^/]+\/zones\/[^/]+\/instances\/[^/]+$/.test(id))
|
|
101
|
+
: (item.aliases ?? []);
|
|
102
|
+
const identities = item.provider === 'gcp'
|
|
103
|
+
? [...(/^\d+$/.test(item.id) ? [item.id] : []), ...aliases]
|
|
104
|
+
: [item.id, ...aliases];
|
|
105
|
+
if (!identities.some(id => registered.has(`${item.provider}\0${id}`))) alerts.push({ id: item.id, reason: 'unregistered',
|
|
106
|
+
message: item.provider + ' resource ' + (item.name ? item.name + ' (' + item.id + ')' : item.id) + ' is outside the inventory' });
|
|
107
|
+
}
|
|
99
108
|
const estimatedCumulativeCost = costRows.reduce((sum, row) => {
|
|
100
109
|
if (row.attrs.inventory === 'archived') {
|
|
101
110
|
const stoppedAt = Number(row.attrs.stoppedAt) || now;
|
|
@@ -1523,7 +1523,9 @@ export async function runGraph(path: string, options: GraphRunOptions = {}): Pro
|
|
|
1523
1523
|
const nodeEndedAt = new Date(Math.max(Date.now(), Date.parse(nodeStartedAt))).toISOString();
|
|
1524
1524
|
delete state.currentNode;
|
|
1525
1525
|
if (waiving) {
|
|
1526
|
-
|
|
1526
|
+
// Keep the graph contract outcome stable for downstream nodes; the distinct verdict and waiver record carry
|
|
1527
|
+
// the audit meaning. A waived gate is an approved continuation, not a new graph outcome value.
|
|
1528
|
+
output = JSON.stringify(options.releaseWaiver!.ownerWaived ? { outcome: 'ok', verdict: 'owner-waived', summary: `owner waived ${current}`, reason: options.releaseWaiver!.reason, approvedBy: options.releaseWaiver!.approvedBy } : { outcome: 'ok', verdict: 'waived', summary: `waived ${current}`, reason: options.releaseWaiver!.reason });
|
|
1527
1529
|
ok = true;
|
|
1528
1530
|
exit = 0;
|
|
1529
1531
|
}
|
|
@@ -238,6 +238,12 @@ export async function composeMissionGraph(input: MissionComposeInput, deps: Miss
|
|
|
238
238
|
|
|
239
239
|
export type PluginMaker = 'claude' | 'codex';
|
|
240
240
|
|
|
241
|
+
export interface PluginWizardPairDecomposition {
|
|
242
|
+
status: 'ready';
|
|
243
|
+
codex: { scope: string; deliverables: string; dependsOn: string };
|
|
244
|
+
claude: { scope: string; deliverables: string; dependsOn: string };
|
|
245
|
+
}
|
|
246
|
+
|
|
241
247
|
export interface PluginWizardInput {
|
|
242
248
|
/** The one-line mission the sub-assistant is working on. */
|
|
243
249
|
mission: string;
|
|
@@ -303,7 +309,7 @@ export interface PluginWizardDeps {
|
|
|
303
309
|
searchMarket?: (request: { missing: string; mission: string; query: string }) => Promise<PluginMarketSearchResult>;
|
|
304
310
|
/** Side-tab maker contract (Claude Code / Codex): same goal text, same session workroom. */
|
|
305
311
|
develop?: (request: { maker: PluginMaker; goal: string; workspace: string }) => Promise<{ spec: string }>;
|
|
306
|
-
/** Optional classic pair seam:
|
|
312
|
+
/** Optional classic pair seam: dispatches distinct maker briefs and returns both artifacts from the shared workroom. */
|
|
307
313
|
developPair?: (request: { makers: readonly PluginMaker[]; goal: string; workspace: string }) => Promise<Partial<Record<PluginMaker, { spec: string }>>>;
|
|
308
314
|
/** Resolved CLI path per maker; absent means the caller's `develop` owns it. */
|
|
309
315
|
makerCli?: Partial<Record<PluginMaker, string>>;
|