elanous 0.3.1 → 0.3.3
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 → K-ckEB9hu9tXQ6iqnl27L}/_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-53fe7ab5dbd19607.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-7aa498ded308ea17.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-c9e997416c86c8dd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/autopilot/{page-e4f014aa82483cae.js → page-4e24912975188223.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-b117b7ee316afe86.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/botlab/{page-dbc30fbf2e8933d9.js → page-a447a17fd887c68e.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-2b3e0df385eba76f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-409ed1d2f2c5f706.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/chat/page-1e90543da0a66b63.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/consult/page-f68c84b50dee9796.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/control/page-afefb7fac0047855.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-79f9d6ae042c07b4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-9726864cd21303a2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/editor/page-ab0febcc6695f4e4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/exec/page-6f6b157c52869db0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/field/page-78aef36734ddd588.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-ffca50fc1f13759c.js → page-6a634383e6247c6b.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-66f0dc569bce5230.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/layout-fda2f39e4d21744c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live/page-a6fd7cb710d80092.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-2a7c714e7f65229d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/loops/page-a71ad5f5b075be8d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/market/page-df7f2d252ff836b5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-7f38deb0998488bf.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/morning/page-7e80f3b354be205e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/not-found-5ea0e042882e87de.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-f3df76408c930b99.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-88996ccc31edf06c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-d95db9df4a907fe1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-5a518950f4136aad.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-d9e070e009e1a521.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-167c44a8ff378706.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/page-4763cf1b0e52e28b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-a5bcd883385064d4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-f9ef43f59ba98937.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-43c5d7004582f888.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/{page-decfacd2237da403.js → page-20dfe2b5bca855eb.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-7c022f7edf3203d5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-adc6daed842128e6.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-683c175da53e9ec3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/share/page-a91d9cbaf50cc8b4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-376f3a03f4d31706.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-256d83e84ed55191.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/term/page-5e1fb7a8e0927cf6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/today/page-95994b2b507ee120.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/trace/page-486b1d3605dbd5f3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/vault/page-0159591688c45cae.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-e640489e459c2789.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-89c00bebfb27b5d5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-edf90eaa6d354fee.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-2f2bd38085305ef0.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/graphs/natural-language-research.yaml +38 -0
- package/package.json +1 -1
- package/personas/botlab-4.yaml +8 -0
- 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/auto-research/research-turn.ts +120 -5
- 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/intake-source-cli.ts +9 -4
- package/src/cli/release-cli.ts +11 -5
- package/src/cli/setup-cli.ts +2 -2
- package/src/cli/setup-keys.ts +8 -5
- package/src/cli/task-plugin-wizard-host.ts +22 -3
- package/src/cli/test-state-dir-flag.ts +4 -1
- package/src/core-turn/run-core-turn.ts +93 -14
- package/src/dashboard/first-screen-band.ts +2 -6
- package/src/dashboard/index.ts +45 -32
- package/src/dashboard/plugin-wizard-runtime.ts +68 -7
- package/src/dashboard/plugin-wizard-tool.ts +16 -2
- package/src/dashboard/turn-preamble.ts +8 -0
- 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/index.ts +26 -0
- package/src/intake-plane/actions.ts +20 -12
- package/src/intake-plane/intake-sources.ts +32 -11
- package/src/intake-plane/items.ts +1 -1
- package/src/llm.ts +4 -0
- package/src/loops/budget.ts +20 -0
- package/src/mcp/server.ts +7 -2
- package/src/native-tool-catalog.ts +3 -0
- package/src/nexus/api/harness-traversal.ts +3 -3
- package/src/nexus/api/meta-api.ts +3 -1
- package/src/nexus/api/research-run-observer.ts +59 -0
- package/src/onboarding/first-chat-gate.ts +4 -1
- package/src/onboarding/first-run-doctor-test-control.ts +42 -0
- package/src/onboarding/first-run-doctor.ts +1 -0
- package/src/onboarding/first-run.ts +8 -1
- package/src/onboarding.ts +5 -1
- package/src/pr-tool/census.ts +42 -5
- package/src/prompt-library/session-guidance.ts +7 -6
- 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/self-implement/run-ledger.ts +1 -1
- package/src/self-implement/run-step-projection.ts +10 -2
- package/src/session/chat.ts +2 -0
- package/src/session-runtime/index.ts +47 -5
- package/src/setup/service-key-catalog.ts +4 -2
- package/src/setup/service-keys.ts +34 -10
- package/src/sidetab-core/model.ts +64 -6
- package/src/task-orchestrator/surfaces/pod-source-receive.ts +10 -1
- package/src/terminal/coding-agent.ts +12 -1
- package/src/tool-hints/gate.ts +7 -3
- package/src/tool-hints/signals.ts +43 -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/tui.ts +97 -4
- package/src/ux-sim/classic-tui-seat-scenarios.ts +54 -4
- package/src/ux-sim/mock-scenario-catalog.json +8 -3
- 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/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/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/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 → K-ckEB9hu9tXQ6iqnl27L}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { resolveInstanceName } from '../instance-identity.js';
|
|
2
|
+
import type { HarnessSpaceKind } from '../harness/harness-space.js';
|
|
2
3
|
import type { LLMToolSpec } from '../llm.js';
|
|
3
4
|
import { listPtyManifestRows, type PtyManifestRow } from '../pty-shell/pty-manifest.js';
|
|
4
5
|
import { describePtyRunState } from '../pty-shell/tui-run-state.js';
|
|
@@ -34,6 +35,8 @@ export interface SidetabRow {
|
|
|
34
35
|
readonly currentProcess?: boolean;
|
|
35
36
|
readonly controlState?: SidetabControlState;
|
|
36
37
|
readonly runId?: string;
|
|
38
|
+
readonly spaceId?: string;
|
|
39
|
+
readonly spaceKind?: HarnessSpaceKind | '';
|
|
37
40
|
readonly virtual?: boolean;
|
|
38
41
|
readonly attention?: boolean;
|
|
39
42
|
readonly status?: string;
|
|
@@ -52,7 +55,7 @@ export interface SidetabState {
|
|
|
52
55
|
|
|
53
56
|
export interface SidetabScope {
|
|
54
57
|
/** `all` is retained for existing callers; `mode` is the three-scope contract. */
|
|
55
|
-
readonly mode?: 'mine' | 'runs' | 'all';
|
|
58
|
+
readonly mode?: 'mine' | 'runs' | 'all' | 'workspaces';
|
|
56
59
|
readonly all?: boolean;
|
|
57
60
|
readonly currentPtyId?: string;
|
|
58
61
|
readonly currentPid?: number;
|
|
@@ -62,6 +65,7 @@ export interface SidetabScope {
|
|
|
62
65
|
readonly filters?: readonly string[];
|
|
63
66
|
readonly crossInstanceParent?: readonly string[];
|
|
64
67
|
readonly expandedRunIds?: readonly string[];
|
|
68
|
+
readonly expandedWorkspaceIds?: readonly string[];
|
|
65
69
|
readonly podRows?: readonly SidetabPodRow[];
|
|
66
70
|
readonly harnessRuns?: readonly SidetabHarnessRun[];
|
|
67
71
|
readonly maxTabs?: number;
|
|
@@ -69,6 +73,8 @@ export interface SidetabScope {
|
|
|
69
73
|
|
|
70
74
|
export interface SidetabHarnessRun {
|
|
71
75
|
readonly runId: string;
|
|
76
|
+
readonly spaceId?: string;
|
|
77
|
+
readonly spaceKind?: HarnessSpaceKind | '';
|
|
72
78
|
readonly label?: string;
|
|
73
79
|
readonly instance?: string;
|
|
74
80
|
readonly parentPtyId?: string;
|
|
@@ -208,6 +214,8 @@ export function sidetabRowsFromManifest(
|
|
|
208
214
|
: {}),
|
|
209
215
|
...(sessionId ? { sessionId } : classicTerminalSessionId ? { sessionId: classicTerminalSessionId } : {}),
|
|
210
216
|
...(row.runId ? { runId: row.runId } : {}),
|
|
217
|
+
...(row.spaceId ? { spaceId: row.spaceId } : {}),
|
|
218
|
+
...(row.spaceKind ? { spaceKind: row.spaceKind } : {}),
|
|
211
219
|
};
|
|
212
220
|
});
|
|
213
221
|
if (!scope) return basicRows;
|
|
@@ -222,6 +230,7 @@ export function sidetabRowsFromManifest(
|
|
|
222
230
|
|| scope.podRows !== undefined
|
|
223
231
|
|| scope.filters !== undefined
|
|
224
232
|
|| scope.expandedRunIds !== undefined
|
|
233
|
+
|| scope.expandedWorkspaceIds !== undefined
|
|
225
234
|
|| scope.maxTabs !== undefined;
|
|
226
235
|
if (!scopedRunView) return basicRows;
|
|
227
236
|
|
|
@@ -251,6 +260,8 @@ export function sidetabRowsFromManifest(
|
|
|
251
260
|
const key = raw.slice(0, colon); const values = raw.slice(colon + 1).split('|').map((value) => value.trim().toLowerCase()).filter(Boolean);
|
|
252
261
|
if (values.length === 0) return true;
|
|
253
262
|
if (key === 'status') return values.some((value) => row.status?.toLowerCase() === value || row.badge === value);
|
|
263
|
+
if (key === 'label' || key === 'name') return values.some((value) => row.label.toLowerCase().includes(value));
|
|
264
|
+
if (key === 'id') return values.some((value) => row.id.toLowerCase().includes(value));
|
|
254
265
|
if (key === 'seat') return values.includes(row.seat?.toLowerCase() ?? '');
|
|
255
266
|
if (key === 'host') return values.includes(row.host?.toLowerCase() ?? '');
|
|
256
267
|
if (key === 'card') return values.includes(row.cardId?.toLowerCase() ?? '');
|
|
@@ -258,7 +269,46 @@ export function sidetabRowsFromManifest(
|
|
|
258
269
|
return true;
|
|
259
270
|
}));
|
|
260
271
|
let output: SidetabRow[];
|
|
261
|
-
|
|
272
|
+
let workspaceMembersForExpansion = new Map<string, SidetabRow[]>();
|
|
273
|
+
if (mode === 'workspaces') {
|
|
274
|
+
const workspaceMembers = new Map<string, { members: SidetabRow[]; spaceKinds: Set<HarnessSpaceKind>; attention: boolean }>();
|
|
275
|
+
const addWorkspaceMember = (spaceId: string, member?: SidetabRow, spaceKind?: HarnessSpaceKind | '') => {
|
|
276
|
+
const workspace = workspaceMembers.get(spaceId) ?? { members: [], spaceKinds: new Set<HarnessSpaceKind>(), attention: false };
|
|
277
|
+
if (member) workspace.members.push(member);
|
|
278
|
+
if (spaceKind) workspace.spaceKinds.add(spaceKind);
|
|
279
|
+
workspaceMembers.set(spaceId, workspace);
|
|
280
|
+
};
|
|
281
|
+
for (const row of basicRows) {
|
|
282
|
+
if (row.spaceId) addWorkspaceMember(row.spaceId, row, row.spaceKind);
|
|
283
|
+
}
|
|
284
|
+
for (const run of scope.harnessRuns ?? []) {
|
|
285
|
+
if (run.spaceId) {
|
|
286
|
+
addWorkspaceMember(run.spaceId, undefined, run.spaceKind);
|
|
287
|
+
if (run.attention) workspaceMembers.get(run.spaceId)!.attention = true;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
workspaceMembersForExpansion = new Map([...workspaceMembers].map(([spaceId, workspace]) => [
|
|
291
|
+
spaceId,
|
|
292
|
+
filterRows(workspace.members),
|
|
293
|
+
]));
|
|
294
|
+
const workspaceRows: SidetabRow[] = [...workspaceMembers].map(([spaceId, workspace]) => {
|
|
295
|
+
const spaceKind = workspace.spaceKinds.size === 1 ? [...workspace.spaceKinds][0] : undefined;
|
|
296
|
+
const label = spaceKind === 'solve-mission' ? '미션' : spaceKind ? '하니스 런' : '워크스페이스';
|
|
297
|
+
const matchingMembers = workspaceMembersForExpansion.get(spaceId) ?? [];
|
|
298
|
+
const attention = workspace.attention || workspace.members.some((row) => row.attention || row.badge === 'stale');
|
|
299
|
+
const badge: SidetabRow['badge'] = attention ? 'stale' : workspace.members.some((row) => row.badge === 'busy') ? 'busy' : 'unknown';
|
|
300
|
+
return {
|
|
301
|
+
id: `workspace:${spaceId}`, spaceId,
|
|
302
|
+
label: `${label} · ${spaceId}`,
|
|
303
|
+
kind: 'workspace', badge,
|
|
304
|
+
...(attention ? { attention: true } : {}),
|
|
305
|
+
status: label === '미션' ? 'mission-workspace' : label === '하니스 런' ? 'harness-workspace' : 'workspace-unclassified',
|
|
306
|
+
sessionId: `${workspace.members.length} 항목`, nestDepth: 0,
|
|
307
|
+
};
|
|
308
|
+
}).filter((row) => (workspaceMembersForExpansion.get(row.spaceId!)?.length ?? 0) > 0
|
|
309
|
+
|| filterRows([row]).length > 0);
|
|
310
|
+
output = workspaceRows.sort((a, b) => a.label.localeCompare(b.label));
|
|
311
|
+
} else if (mode === 'runs' || mode === 'all') {
|
|
262
312
|
const orderedRuns = runs.sort((a, b) => Number(Boolean(b.attention)) - Number(Boolean(a.attention)) || a.label.localeCompare(b.label));
|
|
263
313
|
output = mode === 'runs' ? orderedRuns : [...orderedRuns, ...basicRows.filter((row) => !row.runId)];
|
|
264
314
|
} else {
|
|
@@ -273,11 +323,18 @@ export function sidetabRowsFromManifest(
|
|
|
273
323
|
...runs,
|
|
274
324
|
];
|
|
275
325
|
}
|
|
276
|
-
output = filterRows(output);
|
|
326
|
+
if (mode !== 'workspaces') output = filterRows(output);
|
|
277
327
|
const expanded = new Set(scope.expandedRunIds ?? []);
|
|
328
|
+
const expandedWorkspaces = new Set(scope.expandedWorkspaceIds ?? []);
|
|
278
329
|
const expandedRows: SidetabRow[] = [];
|
|
279
330
|
for (const row of output) {
|
|
280
331
|
expandedRows.push(row);
|
|
332
|
+
if (row.kind === 'workspace' && (scope.expandedWorkspaceIds === undefined || expandedWorkspaces.has(row.id))) {
|
|
333
|
+
const spaceId = row.id.slice('workspace:'.length);
|
|
334
|
+
expandedRows.push(...(workspaceMembersForExpansion.get(spaceId) ?? basicRows.filter((child) => child.spaceId === spaceId))
|
|
335
|
+
.map((child) => ({ ...child, nestDepth: 1 })));
|
|
336
|
+
continue;
|
|
337
|
+
}
|
|
281
338
|
if (row.kind !== 'harness-run' || !expanded.has(row.runId!)) continue;
|
|
282
339
|
expandedRows.push(...filterRows(basicRows.filter((child) => child.runId === row.runId)).map((child) => ({ ...child, nestDepth: 1 })));
|
|
283
340
|
expandedRows.push(...filterRows((scope.podRows ?? []).filter((pod) => pod.runId === row.runId).map((pod) => ({
|
|
@@ -287,7 +344,7 @@ export function sidetabRowsFromManifest(
|
|
|
287
344
|
}))));
|
|
288
345
|
}
|
|
289
346
|
const maxTabs = Math.max(1, scope.maxTabs ?? 8);
|
|
290
|
-
if (expandedRows.length > maxTabs) {
|
|
347
|
+
if (mode !== 'workspaces' && expandedRows.length > maxTabs) {
|
|
291
348
|
const visible = expandedRows.slice(0, Math.max(0, maxTabs - 1));
|
|
292
349
|
visible.push({ id: 'more:tabs', label: `+${expandedRows.length - visible.length} 더`, kind: 'overflow', badge: 'unknown' });
|
|
293
350
|
return visible;
|
|
@@ -336,7 +393,7 @@ export function formatSidetabLines(
|
|
|
336
393
|
return result + ' '.repeat(Math.max(0, width - used));
|
|
337
394
|
};
|
|
338
395
|
const selectedControl = mode === 'list' ? rows[selected]?.controlState : undefined;
|
|
339
|
-
const titleLine = fit(selectedControl?.title || ' 세션 · PTY');
|
|
396
|
+
const titleLine = fit(selectedControl?.title || (rows.some((row) => row.kind === 'workspace') ? ' 워크스페이스 · PTY' : ' 세션 · PTY'));
|
|
340
397
|
const emphasizedTitle = selectedControl?.emphasized ? `\u001b[1;36m${titleLine}\u001b[0m` : titleLine;
|
|
341
398
|
const lines = mode === 'new'
|
|
342
399
|
? [fit(' 새 PTY'), fit(' s shell · e elanous'), fit(' c codex · l claude · Esc')]
|
|
@@ -356,7 +413,8 @@ export function formatSidetabLines(
|
|
|
356
413
|
// classic PTY label truncate after adding the control badge. Keep the
|
|
357
414
|
// known control actor and the complete selectable label visible.
|
|
358
415
|
const runBadge = row.controlState && row.badge === 'unknown' ? '' : `${row.badge} `;
|
|
359
|
-
const
|
|
416
|
+
const attentionBadge = row.attention ? '⚠ ' : '';
|
|
417
|
+
const rowLine = fit(` ${marker} ${attentionBadge}${controlBadge}${runBadge}${row.label}`);
|
|
360
418
|
lines.push(row.controlState?.emphasized && index === selected ? `\u001b[1;36m${rowLine}\u001b[0m` : rowLine);
|
|
361
419
|
}
|
|
362
420
|
if (mode === 'list' && lines.length < Math.floor(height)) lines.push(fit(' + new · /side new'));
|
|
@@ -7,7 +7,7 @@ import { decidePodReuseCleanup } from './pod-reuse-cleanup.js';
|
|
|
7
7
|
|
|
8
8
|
export type PodSource =
|
|
9
9
|
| { kind: 'default'; base?: string; baseSha?: string }
|
|
10
|
-
| { kind: 'commit'; sha: string }
|
|
10
|
+
| { kind: 'commit'; sha: string; baseSha?: string }
|
|
11
11
|
| { kind: 'pr'; number: number }
|
|
12
12
|
| { kind: 'bundle'; bundlePath: string; sha256: string; sizeBytes: number; headCommit: string }
|
|
13
13
|
/** POD-REUSE-MIN-SYNC — 웜 Pod 재사용: 이미 있는 체크아웃을 지우지 않고 «이전 head → 새 base» 차이만 맞춘다.
|
|
@@ -289,11 +289,20 @@ export function podSourceScript(source: PodSource, repoUrl: string, mirrorPath =
|
|
|
289
289
|
}
|
|
290
290
|
if (source.kind === 'commit') {
|
|
291
291
|
const sha = assertSha(source.sha, 'sha');
|
|
292
|
+
const baseSha = source.baseSha ? assertSha(source.baseSha, 'base sha') : undefined;
|
|
292
293
|
return [
|
|
293
294
|
...ioStart,
|
|
294
295
|
...start,
|
|
295
296
|
`if ! git cat-file -e '${sha}^{commit}' 2>/dev/null; then pod_source_io_origin_calls=$((pod_source_io_origin_calls + 1)); git fetch --depth 1 origin ${sha} || exit 5; fi`,
|
|
296
297
|
`git checkout --detach ${sha} || exit 5`,
|
|
298
|
+
...(baseSha ? [
|
|
299
|
+
`if ! git cat-file -e '${baseSha}^{commit}' 2>/dev/null; then pod_source_io_origin_calls=$((pod_source_io_origin_calls + 1)); git fetch --depth 1 origin '${baseSha}' || exit 5; fi`,
|
|
300
|
+
`if ! git merge-base --is-ancestor '${baseSha}' HEAD; then`,
|
|
301
|
+
` if [ "$(git rev-parse --is-shallow-repository)" = true ]; then pod_source_io_origin_calls=$((pod_source_io_origin_calls + 1)); git fetch --unshallow origin '${sha}' || exit 5; fi`,
|
|
302
|
+
` git merge-base --is-ancestor '${baseSha}' HEAD || { printf 'ELANOUS_POD_SOURCE_BASE_ANCESTRY_MISSING base=%s head=%s\\n' '${baseSha}' '${sha}'; exit 5; }`,
|
|
303
|
+
'fi',
|
|
304
|
+
`printf 'ELANOUS_POD_SOURCE_BASE_ANCESTOR %s %s\\n' '${baseSha}' '${sha}'`,
|
|
305
|
+
] : []),
|
|
297
306
|
'head=$(git rev-parse HEAD)',
|
|
298
307
|
'pod_source_io_measure',
|
|
299
308
|
"printf 'ELANOUS_POD_SOURCE commit %s\\n' \"$head\"",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
// not found"
|
|
15
15
|
|
|
16
16
|
import { spawnSync } from 'node:child_process';
|
|
17
|
+
import { resolve } from 'node:path';
|
|
17
18
|
import type { CodingAgentBrand, TerminalSession, TerminalSessionRegistry } from './session-registry.js';
|
|
18
19
|
import { wrapCommandForKeychainUnlock } from './keychain-unlock.js';
|
|
19
20
|
import { buildPtyEnv } from '../agent/identity-env.js';
|
|
@@ -76,7 +77,12 @@ export function spawnCodingAgent(
|
|
|
76
77
|
|
|
77
78
|
const cwdName = basenameSafe(opts.cwd);
|
|
78
79
|
const title = opts.title ?? `${opts.brand} [${cwdName}]`;
|
|
79
|
-
const extraArgs = opts.extraArgs ?? (opts.brand === 'grok' ? ['--always-approve'] :
|
|
80
|
+
const extraArgs = [...(opts.extraArgs ?? (opts.brand === 'grok' ? ['--always-approve'] : []))];
|
|
81
|
+
// Codex asks for workspace trust in a fresh worktree before it reads the mission.
|
|
82
|
+
// Scope trust to this absolute path via a CLI override; never mutate ~/.codex/config.toml.
|
|
83
|
+
if (opts.brand === 'codex') {
|
|
84
|
+
extraArgs.unshift('-c', shellQuote(`projects.${JSON.stringify(resolve(opts.cwd))}.trust_level="trusted"`));
|
|
85
|
+
}
|
|
80
86
|
const rawCommand = extraArgs && extraArgs.length > 0
|
|
81
87
|
? `${binary} ${extraArgs.join(' ')}`
|
|
82
88
|
: binary;
|
|
@@ -164,3 +170,8 @@ function basenameSafe(p: string): string {
|
|
|
164
170
|
const parts = p.split('/').filter(Boolean);
|
|
165
171
|
return parts[parts.length - 1] ?? p;
|
|
166
172
|
}
|
|
173
|
+
|
|
174
|
+
/** Quote one generated argument for the interactive shell command. */
|
|
175
|
+
function shellQuote(value: string): string {
|
|
176
|
+
return `'${value.replace(/'/g, `'\\''`)}'`;
|
|
177
|
+
}
|
package/src/tool-hints/gate.ts
CHANGED
|
@@ -199,14 +199,18 @@ export function evaluateGate(
|
|
|
199
199
|
const requiredResearchTools = signals.intentResearch
|
|
200
200
|
? ['web_search', 'web_fetch'].filter(id => enabled.has(id))
|
|
201
201
|
: [];
|
|
202
|
-
const
|
|
202
|
+
const requiredLinearTools = signals.intentLinearIssue && enabled.has('elanous_linear_issue')
|
|
203
|
+
? ['elanous_linear_issue']
|
|
204
|
+
: [];
|
|
205
|
+
const requiredTools = [...requiredResearchTools, ...requiredLinearTools];
|
|
206
|
+
const required = new Set(requiredTools);
|
|
203
207
|
const ranked = keep
|
|
204
208
|
.filter(id => !required.has(id))
|
|
205
209
|
.map(id => ({ id, score: boost.get(id) ?? 0 }))
|
|
206
210
|
.sort((a, b) => b.score - a.score || a.id.localeCompare(b.id))
|
|
207
|
-
.slice(0, Math.max(0, cap -
|
|
211
|
+
.slice(0, Math.max(0, cap - requiredTools.length))
|
|
208
212
|
.map(x => x.id);
|
|
209
|
-
keep = [...
|
|
213
|
+
keep = [...requiredTools, ...ranked];
|
|
210
214
|
const selectedBeforeStableSort = new Set(keep);
|
|
211
215
|
for (const id of enabled) {
|
|
212
216
|
if (!selectedBeforeStableSort.has(id)) excludedReasons.set(id, 'model-family-cap');
|
|
@@ -43,6 +43,8 @@ export interface SignalSnapshot {
|
|
|
43
43
|
/** Arc H follow-up — remote/fleet management intent (acp · agent
|
|
44
44
|
* room · iphone · budget · policy · llm nodes · team · hitl). */
|
|
45
45
|
intentOpsFleet: boolean;
|
|
46
|
+
/** Explicit Linear issue action; keeps the native issue tool in capped pools. */
|
|
47
|
+
intentLinearIssue?: boolean;
|
|
46
48
|
/** Arc H follow-up — local dashboard UI intent (windows · panes ·
|
|
47
49
|
* terminal matrix/modal · context inspector · layout · vw ·
|
|
48
50
|
* widget · scenario). */
|
|
@@ -146,6 +148,43 @@ export function isResearchAgentIntent(text: string | undefined): boolean {
|
|
|
146
148
|
return RESEARCH_SKILL_RE.test(text)
|
|
147
149
|
|| (RESEARCH_EXPLANATION_RE.test(text) && RESEARCH_TOPIC_RE.test(text));
|
|
148
150
|
}
|
|
151
|
+
|
|
152
|
+
const ORDERED_WORKFLOW_STEP_RE = /(?:\bfirst\b|\bthen\b|\bfinally\b|먼저|그\s*다음|다음으로|마지막(?:에|으로)?)/i;
|
|
153
|
+
const ORDERED_WORKFLOW_SPLIT_RE = /\b(?:first|then|finally|and)\b|먼저|그\s*다음|다음으로|마지막(?:에|으로)?|그리고|및/i;
|
|
154
|
+
const RESEARCH_STEP_RE = /\b(?:research|investigate|search)\b|리서치|조사|검색/i;
|
|
155
|
+
const NON_RESEARCH_STEP_ACTIONS = [
|
|
156
|
+
/\b(?:send|email|message)\s+(?:(?:an?|the)\s+)?(?:e-?mail|message|issue|ticket|report|post)\b/i,
|
|
157
|
+
/\b(?:deploy|restart|reboot|start|stop|install|launch|publish|register|schedule|book|submit|delete|remove|update|change|modify)\b/i,
|
|
158
|
+
/\b(?:capture|screenshot|take)\s+(?:(?:an?|the)\s+)?(?:screenshot|aside|browser|page|screen)\b/i,
|
|
159
|
+
/\b(?:aside|browser|page|screen)\b.{0,20}\b(?:capture|screenshot)\b/i,
|
|
160
|
+
/\b(?:create|open|file|submit|update|close)\s+(?:(?:an?|the)\s+)?(?:linear\s+)?(?:issue|ticket)\b/i,
|
|
161
|
+
/(?:리니어|linear).{0,18}(?:이슈|issue|ticket).{0,12}(?:만들|생성|열|등록|추가)|(?:만들|생성|열|등록|추가).{0,12}(?:리니어|linear).{0,18}(?:이슈|issue|ticket)/i,
|
|
162
|
+
/(?:이메일|메일).{0,12}(?:보내|발송)|(?:보내|발송).{0,12}(?:이메일|메일)/,
|
|
163
|
+
/(?:캡처|촬영).{0,12}(?:aside|화면|브라우저|페이지)|(?:aside|브라우저|페이지).{0,12}(?:캡처|촬영)/i,
|
|
164
|
+
/(?:배포|재시작|다시\s*시작|중지|설치|실행|등록)/,
|
|
165
|
+
];
|
|
166
|
+
const LINEAR_ISSUE_ASCII_RE = /\b(?:linear|linear\.app)\b.{0,48}(?:\b(?:issue|ticket)\b|이슈|티켓).{0,32}(?:\b(?:create|open|file|make)\b|만들|생성|작성|등록|열어)|\b(?:create|open|file|make)\b.{0,32}\b(?:a\s+)?linear\s+(?:issue|ticket)\b/i;
|
|
167
|
+
const LINEAR_ISSUE_KO_RE = /리니어.{0,24}(?:이슈|티켓).{0,16}(?:만들|생성|작성|등록|열어)/;
|
|
168
|
+
|
|
169
|
+
/** Keep ordered operational workflows on the normal tool pool even when they mention research. */
|
|
170
|
+
export function isOrderedNonResearchWorkflow(text: string | undefined): boolean {
|
|
171
|
+
if (!text || !ORDERED_WORKFLOW_STEP_RE.test(text)) return false;
|
|
172
|
+
return text.split(ORDERED_WORKFLOW_SPLIT_RE)
|
|
173
|
+
.some((step) => !RESEARCH_STEP_RE.test(step) && NON_RESEARCH_STEP_ACTIONS.some((pattern) => pattern.test(step)));
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/** An ordered Linear action needs its native tool before any later stage. */
|
|
177
|
+
export function isOrderedLinearIssueStep(text: string | undefined): boolean {
|
|
178
|
+
if (!text || !ORDERED_WORKFLOW_STEP_RE.test(text)) return false;
|
|
179
|
+
return /(?:\blinear\b|리니어)/i.test(text)
|
|
180
|
+
&& /(?:\bissue\b|\bticket\b|이슈|티켓)/i.test(text)
|
|
181
|
+
&& /(?:\bcreate\b|\bopen\b|\bfile\b|\bmake\b|만들|생성|작성|등록|열어)/i.test(text);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** Mixed ordered issue-creation plus research must keep both native and research routes. */
|
|
185
|
+
export function isOrderedLinearResearchWorkflow(text: string | undefined): boolean {
|
|
186
|
+
return isOrderedLinearIssueStep(text) && isResearchAgentIntent(text);
|
|
187
|
+
}
|
|
149
188
|
const DIAGRAM_ASCII_RE = /\b(diagrams?|flowcharts?|sequence|mermaid|graphs?|charts?|visuali[sz]e|architecture)\b/i;
|
|
150
189
|
const DIAGRAM_KO_RE = /(시퀀스|플로우|다이어그램|도식|그래프|시각화|아키텍처|구조도)/;
|
|
151
190
|
|
|
@@ -254,7 +293,9 @@ export function collectSignals(ctx: SignalContext = {}): SignalSnapshot {
|
|
|
254
293
|
&& (CODING_ASCII_RE.test(ctx.recentUserText) || koCodingIntent(ctx.recentUserText)),
|
|
255
294
|
intentViz: matchesIntent(ctx.recentUserText, VIZ_ASCII_RE, VIZ_KO_RE),
|
|
256
295
|
intentCapture: matchesIntent(ctx.recentUserText, CAPTURE_ASCII_RE, CAPTURE_KO_RE),
|
|
257
|
-
intentOpsFleet: matchesIntent(ctx.recentUserText, OPS_FLEET_ASCII_RE, OPS_FLEET_KO_RE)
|
|
296
|
+
intentOpsFleet: matchesIntent(ctx.recentUserText, OPS_FLEET_ASCII_RE, OPS_FLEET_KO_RE)
|
|
297
|
+
|| matchesIntent(ctx.recentUserText, LINEAR_ISSUE_ASCII_RE, LINEAR_ISSUE_KO_RE),
|
|
298
|
+
intentLinearIssue: matchesIntent(ctx.recentUserText, LINEAR_ISSUE_ASCII_RE, LINEAR_ISSUE_KO_RE),
|
|
258
299
|
intentOpsUi: matchesIntent(ctx.recentUserText, OPS_UI_ASCII_RE, OPS_UI_KO_RE),
|
|
259
300
|
|
|
260
301
|
modelFamily: ctx.modelFamily,
|
|
@@ -330,6 +371,7 @@ function fingerprintOf(s: SignalSnapshot): string {
|
|
|
330
371
|
s.intentViz ? 'viz' : '-',
|
|
331
372
|
s.intentCapture ? 'capture' : '-',
|
|
332
373
|
s.intentOpsFleet ? 'ops-fleet' : '-',
|
|
374
|
+
s.intentLinearIssue ? 'linear-issue' : '-',
|
|
333
375
|
s.intentOpsUi ? 'ops-ui' : '-',
|
|
334
376
|
].join('|');
|
|
335
377
|
return createHash('sha1').update(pieces).digest('hex').slice(0, 12);
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { LLMToolSpec } from '../llm.js';
|
|
2
|
+
import { stripScreenAnsi } from '../harness/harness-screen.js';
|
|
3
|
+
import { dispatchToolByName } from './registry.js';
|
|
4
|
+
import type { ToolRuntime, ToolRuntimeContext } from './types.js';
|
|
5
|
+
|
|
6
|
+
const SELECTION_MARKER = 'ELANOUS_CURRENT_SELECTION:';
|
|
7
|
+
const MAX_SELECTION_LENGTH = 10_000;
|
|
8
|
+
|
|
9
|
+
export interface AsideSelection {
|
|
10
|
+
text: string;
|
|
11
|
+
url: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface AsideSelectionResult extends Record<string, unknown> {
|
|
15
|
+
output: string;
|
|
16
|
+
selection: AsideSelection;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export type AsideToolDispatcher = (
|
|
20
|
+
name: string,
|
|
21
|
+
args: Record<string, unknown>,
|
|
22
|
+
ctx: ToolRuntimeContext,
|
|
23
|
+
) => Promise<unknown>;
|
|
24
|
+
|
|
25
|
+
export const ASIDE_SELECTION_TOOL_SPEC: LLMToolSpec = {
|
|
26
|
+
name: 'elanous_aside_selection',
|
|
27
|
+
description: 'Read the text the person currently selected in the connected Aside browser and return it into this TUI turn with its source URL. Use when the person says “이것도 메모에” or asks to include the selected browser passage. Read-only; does not write a note.',
|
|
28
|
+
parameters: { type: 'object', properties: {}, additionalProperties: false },
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
function outputText(value: unknown): string {
|
|
32
|
+
if (value && typeof value === 'object' && typeof (value as { output?: unknown }).output === 'string') {
|
|
33
|
+
return (value as { output: string }).output;
|
|
34
|
+
}
|
|
35
|
+
if (value && typeof value === 'object' && Array.isArray((value as { content?: unknown }).content)) {
|
|
36
|
+
return (value as { content: unknown[] }).content
|
|
37
|
+
.map(block => block && typeof block === 'object' && typeof (block as { text?: unknown }).text === 'string'
|
|
38
|
+
? (block as { text: string }).text : '')
|
|
39
|
+
.filter(Boolean).join('\n');
|
|
40
|
+
}
|
|
41
|
+
return '';
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function parseAsideSelectionOutput(output: string): AsideSelection {
|
|
45
|
+
const cleanOutput = stripScreenAnsi(output);
|
|
46
|
+
const markerAt = cleanOutput.indexOf(SELECTION_MARKER);
|
|
47
|
+
if (markerAt < 0) throw new Error('Aside did not return a selected passage');
|
|
48
|
+
const json = cleanOutput.slice(markerAt + SELECTION_MARKER.length).split(/\r?\n/, 1)[0]?.trim() ?? '';
|
|
49
|
+
let value: unknown;
|
|
50
|
+
try { value = JSON.parse(json); } catch { throw new Error('Aside returned an invalid selection payload'); }
|
|
51
|
+
if (!value || typeof value !== 'object' ||
|
|
52
|
+
typeof (value as { text?: unknown }).text !== 'string' ||
|
|
53
|
+
typeof (value as { url?: unknown }).url !== 'string') {
|
|
54
|
+
throw new Error('Aside returned an invalid selection payload');
|
|
55
|
+
}
|
|
56
|
+
const selection = value as AsideSelection;
|
|
57
|
+
if (!selection.text.trim()) throw new Error('Aside has no selected text');
|
|
58
|
+
if (selection.text.length > MAX_SELECTION_LENGTH) throw new Error('Aside selection is too long');
|
|
59
|
+
let url: URL;
|
|
60
|
+
try { url = new URL(selection.url); } catch { throw new Error('Aside selection source URL is invalid'); }
|
|
61
|
+
if (url.protocol !== 'http:' && url.protocol !== 'https:') throw new Error('Aside selection source URL is invalid');
|
|
62
|
+
return { text: selection.text, url: url.toString() };
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function createAsideSelectionRuntime(
|
|
66
|
+
dispatch: AsideToolDispatcher = dispatchToolByName,
|
|
67
|
+
): ToolRuntime<Record<string, never>, AsideSelectionResult> {
|
|
68
|
+
return {
|
|
69
|
+
id: 'elanous_aside_selection',
|
|
70
|
+
spec: ASIDE_SELECTION_TOOL_SPEC,
|
|
71
|
+
surfaces: ['tui'],
|
|
72
|
+
async run(_args, ctx) {
|
|
73
|
+
const result = await dispatch('aside.repl', {
|
|
74
|
+
title: 'Return the current page selection to the TUI turn',
|
|
75
|
+
code: `await (async () => { const text = window.getSelection()?.toString() ?? ''; const url = location.href; console.log('${SELECTION_MARKER}' + JSON.stringify({ text, url })); })();`,
|
|
76
|
+
}, ctx);
|
|
77
|
+
if (result && typeof result === 'object' && (result as { isError?: unknown }).isError === true) {
|
|
78
|
+
throw new Error('Aside could not read the selected passage');
|
|
79
|
+
}
|
|
80
|
+
const selection = parseAsideSelectionOutput(outputText(result));
|
|
81
|
+
return {
|
|
82
|
+
selection,
|
|
83
|
+
output: `현재 TUI 요청에 사용할 브라우저 선택 문장입니다:\n> ${selection.text}\n출처: ${selection.url}`,
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export const asideSelectionRuntime = createAsideSelectionRuntime();
|
|
@@ -70,6 +70,7 @@ import { elanousFsReadRuntime } from './elanous-fs-read-runtime.js';
|
|
|
70
70
|
import { elanousShowroomBroadcastRuntime } from './elanous-showroom-broadcast-runtime.js';
|
|
71
71
|
import { elanousAutopilotLaunchRuntime } from './elanous-autopilot-launch-runtime.js';
|
|
72
72
|
import { elanousTaskSubmitRuntime } from './elanous-task-submit-runtime.js';
|
|
73
|
+
import { asideSelectionRuntime } from './aside-selection-runtime.js';
|
|
73
74
|
import { GRAPH_MCP_RUNTIMES } from './graph-mcp-runtimes.js';
|
|
74
75
|
import { persistentGroundingRuntime } from './persistent-grounding-runtime.js';
|
|
75
76
|
import { goalAuthorRuntime } from './goal-author-runtime.js';
|
|
@@ -179,6 +180,7 @@ export function registerAllDefaultToolRuntimes(opts: RegisterAllDefaultToolRunti
|
|
|
179
180
|
registerToolRuntime(elanousShowroomBroadcastRuntime);
|
|
180
181
|
registerToolRuntime(elanousAutopilotLaunchRuntime);
|
|
181
182
|
registerToolRuntime(elanousTaskSubmitRuntime);
|
|
183
|
+
registerToolRuntime(asideSelectionRuntime);
|
|
182
184
|
for (const rt of GRAPH_MCP_RUNTIMES) registerToolRuntime(rt);
|
|
183
185
|
for (const rt of SELF_COGNITION_RUNTIMES) registerToolRuntime(rt);
|
|
184
186
|
for (const rt of ELANOUS_CONTROL_RUNTIMES) registerToolRuntime(rt);
|
package/src/tui/entry.ts
CHANGED
|
@@ -57,6 +57,27 @@ interface AtPickerQuery {
|
|
|
57
57
|
readonly end: number;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
export function atPickerHeaderLines(
|
|
61
|
+
candidates: readonly AtPickerCandidate[],
|
|
62
|
+
selected: number,
|
|
63
|
+
availableRows: number,
|
|
64
|
+
fit: (text: string) => string,
|
|
65
|
+
): string[] {
|
|
66
|
+
if (availableRows <= 0) return [];
|
|
67
|
+
const safeSelected = Math.max(0, Math.min(selected, candidates.length - 1));
|
|
68
|
+
if (availableRows === 1) {
|
|
69
|
+
const candidate = candidates[safeSelected];
|
|
70
|
+
return [fit(candidate ? `@ ${safeSelected + 1}/${candidates.length} · ${candidate.label}` : '@ 파일 후보 없음')];
|
|
71
|
+
}
|
|
72
|
+
const limit = Math.max(1, Math.min(6, availableRows - 1));
|
|
73
|
+
const start = Math.max(0, Math.min(safeSelected - limit + 1, candidates.length - limit));
|
|
74
|
+
const visible = candidates.slice(start, start + limit);
|
|
75
|
+
return [
|
|
76
|
+
fit(visible.length ? '@ 파일 첨부 · ↑↓ 선택 · Enter 추가 · Esc 닫기' : '@ 파일 후보 없음'),
|
|
77
|
+
...visible.map((candidate, offset) => fit((start + offset === safeSelected ? '▸' : ' ') + ' ' + candidate.label)),
|
|
78
|
+
];
|
|
79
|
+
}
|
|
80
|
+
|
|
60
81
|
/** Local chat entry: history and input are TUI-owned; turn execution stays shared. */
|
|
61
82
|
export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
62
83
|
if (!process.stdin.isTTY) throw new Error('elanous --tui next requires stdin TTY');
|
|
@@ -90,7 +111,8 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
90
111
|
let maxScroll = 0;
|
|
91
112
|
let focus: 'input' | 'log' = 'input';
|
|
92
113
|
let sidetabEnabled = options.sidetabMode !== 'off';
|
|
93
|
-
let
|
|
114
|
+
let sidetabViewMode: 'current' | 'all' | 'workspaces' = 'current';
|
|
115
|
+
const expandedWorkspaceIds = new Set<string>();
|
|
94
116
|
let sidetabOpen = sidetabEnabled && (session?.meta.uiState?.sidetabOpen ?? sidetabOpenBySession.get(id!) ?? options.sidetabMode === 'open');
|
|
95
117
|
let sidetabSelected = 0;
|
|
96
118
|
let sidetabMode: 'list' | 'new' = 'list';
|
|
@@ -105,6 +127,10 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
105
127
|
let herdrSidetabRefreshPending = false;
|
|
106
128
|
let herdrSidetabPortal: import('./sidetab/herdr-portal.js').HerdrSidetabPortal | null = null;
|
|
107
129
|
let sidetabApi: typeof import('./sidetab/list.js') | null = null;
|
|
130
|
+
const getSidetabViewMode = (): 'current' | 'all' | 'workspaces' => sidetabViewMode;
|
|
131
|
+
const sidetabScope = () => getSidetabViewMode() === 'workspaces'
|
|
132
|
+
? { mode: 'workspaces' as const, expandedWorkspaceIds: [...expandedWorkspaceIds] }
|
|
133
|
+
: undefined;
|
|
108
134
|
// ⚠️ `as` 단언은 «null 로 좁혀지는» 흐름 분석을 푸는 것 — 값은 클로저(ensureSidetabAttachments) 안에서만 바뀐다.
|
|
109
135
|
let sidetabAttachments: import('./sidetab/attach.js').SidetabAttachmentController | null = null as import('./sidetab/attach.js').SidetabAttachmentController | null;
|
|
110
136
|
let pendingSidetabSwitch: string | null = null;
|
|
@@ -330,13 +356,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
330
356
|
// Reserve the prompt, footer, and picker heading before assigning candidate rows.
|
|
331
357
|
const pickerRows = rows - header.length - footer.length - 1;
|
|
332
358
|
if (pickerRows > 0) {
|
|
333
|
-
|
|
334
|
-
const start = Math.max(0, Math.min(atPicker.selected - limit + 1, atPicker.candidates.length - limit));
|
|
335
|
-
const visible = atPicker.candidates.slice(start, start + limit);
|
|
336
|
-
header.push(fitLogLine(visible.length ? '@ 파일 첨부 · ↑↓ 선택 · Enter 추가 · Esc 닫기' : '@ 파일 후보 없음', chatColumns));
|
|
337
|
-
for (const [offset, candidate] of visible.entries()) {
|
|
338
|
-
header.push(fitLogLine((start + offset === atPicker.selected ? '▸' : ' ') + ' ' + candidate.label, chatColumns));
|
|
339
|
-
}
|
|
359
|
+
header.push(...atPickerHeaderLines(atPicker.candidates, atPicker.selected, pickerRows, (line) => fitLogLine(line, chatColumns)));
|
|
340
360
|
}
|
|
341
361
|
}
|
|
342
362
|
const history = [
|
|
@@ -412,7 +432,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
412
432
|
return;
|
|
413
433
|
}
|
|
414
434
|
if (!sidetabApi) sidetabApi = await import('./sidetab/list.js');
|
|
415
|
-
sidetabRows = sidetabApi.loadSidetabRows(
|
|
435
|
+
sidetabRows = sidetabApi.loadSidetabRows(getSidetabViewMode() === 'all', undefined, sidetabScope());
|
|
416
436
|
const current = sidetabRows.findIndex((row) => row.sessionId === id);
|
|
417
437
|
const next = sidetabApi.applySidetabKey({ open: sidetabOpen, selected: current >= 0 ? current : sidetabSelected }, 'toggle', sidetabRows.length);
|
|
418
438
|
sidetabOpen = next.open;
|
|
@@ -439,12 +459,20 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
439
459
|
const refreshSidetabRows = (): void => {
|
|
440
460
|
if (!sidetabApi) return;
|
|
441
461
|
const selectedId = sidetabRows[sidetabSelected]?.id;
|
|
442
|
-
sidetabRows = [...sidetabApi.loadSidetabRows(
|
|
462
|
+
sidetabRows = [...sidetabApi.loadSidetabRows(getSidetabViewMode() === 'all', undefined, sidetabScope()), ...herdrSidetabRows, ...remoteSidetabRows];
|
|
443
463
|
const preservedIndex = selectedId ? sidetabRows.findIndex((row) => row.id === selectedId) : -1;
|
|
444
464
|
sidetabSelected = preservedIndex >= 0
|
|
445
465
|
? preservedIndex
|
|
446
466
|
: Math.min(sidetabSelected, Math.max(0, sidetabRows.length - 1));
|
|
447
467
|
};
|
|
468
|
+
const toggleWorkspaceRow = (row: { id: string; kind: string }): boolean => {
|
|
469
|
+
if (sidetabViewMode !== 'workspaces' || row.kind !== 'workspace') return false;
|
|
470
|
+
if (expandedWorkspaceIds.has(row.id)) expandedWorkspaceIds.delete(row.id);
|
|
471
|
+
else expandedWorkspaceIds.add(row.id);
|
|
472
|
+
refreshSidetabRows();
|
|
473
|
+
return true;
|
|
474
|
+
};
|
|
475
|
+
|
|
448
476
|
const refreshHerdrSidetabRows = async (): Promise<void> => {
|
|
449
477
|
if (herdrSidetabRefreshPending) return;
|
|
450
478
|
herdrSidetabRefreshPending = true;
|
|
@@ -480,10 +508,14 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
480
508
|
} catch { /* Remote sidetab is opt-in; local rows remain available. */ }
|
|
481
509
|
finally { remoteSidetabRefreshPending = false; }
|
|
482
510
|
};
|
|
483
|
-
const switchSidetabSession = async (requestedSessionId?: string): Promise<void> => {
|
|
511
|
+
const switchSidetabSession = async (requestedSessionId?: string, sourcePtyId?: string): Promise<void> => {
|
|
484
512
|
const selected = sidetabRows[sidetabSelected];
|
|
485
513
|
const targetId = requestedSessionId ?? (selected?.kind === 'tui' ? selected.sessionId : undefined);
|
|
486
514
|
if (!targetId || targetId === id) return;
|
|
515
|
+
if (sourcePtyId && !sidetabRows.some((row) => row.ptyId === sourcePtyId && row.sessionId === targetId)) {
|
|
516
|
+
status = '세션 목록이 갱신되어 전환을 취소했습니다';
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
487
519
|
if (busy) {
|
|
488
520
|
status = '응답 중에는 세션을 전환할 수 없습니다';
|
|
489
521
|
return;
|
|
@@ -538,7 +570,8 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
538
570
|
}
|
|
539
571
|
sidetabSelected = index;
|
|
540
572
|
const selected = sidetabRows[index]!;
|
|
541
|
-
if (selected
|
|
573
|
+
if (toggleWorkspaceRow(selected)) render();
|
|
574
|
+
else if (selected.kind === 'tui') await switchSidetabSession(selected.sessionId, selected.ptyId);
|
|
542
575
|
else {
|
|
543
576
|
await ensureSidetabAttachments();
|
|
544
577
|
sidetabAttachments?.select(selected);
|
|
@@ -756,7 +789,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
756
789
|
|
|
757
790
|
if (sidetabOpen) {
|
|
758
791
|
sidetabApi = await import('./sidetab/list.js');
|
|
759
|
-
sidetabRows = sidetabApi.loadSidetabRows(
|
|
792
|
+
sidetabRows = sidetabApi.loadSidetabRows(getSidetabViewMode() === 'all', undefined, sidetabScope());
|
|
760
793
|
void refreshHerdrSidetabRows();
|
|
761
794
|
sidetabRefreshTimer = setInterval(() => {
|
|
762
795
|
if (!sidetabApi || !sidetabOpen) return;
|
|
@@ -806,6 +839,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
806
839
|
rows: async () => { if (!sidetabApi) sidetabApi = await import('./sidetab/list.js'); refreshSidetabRows(); return sidetabRows; },
|
|
807
840
|
selected: () => sidetabSelected,
|
|
808
841
|
switchSession: async (row) => {
|
|
842
|
+
if (toggleWorkspaceRow(row)) { render(); return { ok: true, action: 'expand', target: row.id }; }
|
|
809
843
|
if (!row.sessionId) return { error: '전환할 TUI 세션 id가 없습니다' };
|
|
810
844
|
const index = sidetabRows.findIndex((item) => item.id === row.id);
|
|
811
845
|
if (index < 0) return { error: '세션 목록이 갱신되어 전환을 취소했습니다' };
|
|
@@ -815,11 +849,17 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
815
849
|
return { ok: true, action: 'switch', target: row.id, scheduled: 'after-turn' };
|
|
816
850
|
}
|
|
817
851
|
sidetabSelected = index;
|
|
818
|
-
await switchSidetabSession(row.sessionId);
|
|
852
|
+
await switchSidetabSession(row.sessionId, row.ptyId);
|
|
819
853
|
render();
|
|
820
854
|
return { ok: true, action: 'switch', target: row.id };
|
|
821
855
|
},
|
|
822
|
-
attach: async (row) => {
|
|
856
|
+
attach: async (row) => {
|
|
857
|
+
if (toggleWorkspaceRow(row)) { render(); return { ok: true, action: 'expand', target: row.id }; }
|
|
858
|
+
await ensureSidetabAttachments();
|
|
859
|
+
const ok = sidetabAttachments!.select(row);
|
|
860
|
+
render();
|
|
861
|
+
return { ok, action: 'attach', target: row.id };
|
|
862
|
+
},
|
|
823
863
|
detach: () => { if (sidetabAttachments?.hasRemoteView()) sidetabAttachments.showMain(); else if (sidetabAttachments?.hasModal()) { sidetabAttachments.handleKey({ name: '\\', ctrl: true, shift: false, raw: '' }); sidetabAttachments.handleKey({ name: 'd', ctrl: false, shift: false, raw: 'd' }); } render(); return { ok: true, action: 'detach' }; },
|
|
824
864
|
spawn: async (character) => { await ensureSidetabAttachments(); const ok = sidetabAttachments!.spawn(character); refreshSidetabRows(); render(); return { ok, action: 'new', character }; },
|
|
825
865
|
runMission: async (agent, mission) => { await ensureSidetabAttachments(); const result = await sidetabAttachments!.runMission(agent, mission); refreshSidetabRows(); render(); return result; },
|
|
@@ -910,7 +950,9 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
910
950
|
if (sidetabRows.length > 0) {
|
|
911
951
|
const delta = key.name === 'up' ? -1 : 1;
|
|
912
952
|
sidetabSelected = (sidetabSelected + delta + sidetabRows.length) % sidetabRows.length;
|
|
913
|
-
if (sidetabRows[sidetabSelected]!.kind === '
|
|
953
|
+
if (sidetabRows[sidetabSelected]!.kind === 'workspace') {
|
|
954
|
+
// Workspace parents are toggled with Enter; arrow selection never routes them to PTY attach.
|
|
955
|
+
} else if (sidetabRows[sidetabSelected]!.kind === 'tui') await switchSidetabSession(sidetabRows[sidetabSelected]!.sessionId, sidetabRows[sidetabSelected]!.ptyId);
|
|
914
956
|
else {
|
|
915
957
|
await ensureSidetabAttachments();
|
|
916
958
|
sidetabAttachments?.select(sidetabRows[sidetabSelected]!);
|
|
@@ -1033,7 +1075,8 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
1033
1075
|
const next = sidetabApi!.applySidetabKey({ open: sidetabOpen, selected: sidetabSelected }, key.name, sidetabRows.length);
|
|
1034
1076
|
sidetabSelected = next.selected;
|
|
1035
1077
|
if (sidetabRows[sidetabSelected]) {
|
|
1036
|
-
if (sidetabRows[sidetabSelected]!.kind === '
|
|
1078
|
+
if (sidetabRows[sidetabSelected]!.kind === 'workspace') { /* Workspace parents have no PTY target. */ }
|
|
1079
|
+
else if (sidetabRows[sidetabSelected]!.kind === 'tui') await switchSidetabSession(sidetabRows[sidetabSelected]!.sessionId, sidetabRows[sidetabSelected]!.ptyId);
|
|
1037
1080
|
else {
|
|
1038
1081
|
await ensureSidetabAttachments();
|
|
1039
1082
|
sidetabAttachments?.select(sidetabRows[sidetabSelected]!);
|
|
@@ -1045,7 +1088,9 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
1045
1088
|
if (sidetabOpen && editor.text.length === 0 && key.name === 'enter') {
|
|
1046
1089
|
const selected = sidetabRows[sidetabSelected];
|
|
1047
1090
|
if (selected) {
|
|
1048
|
-
if (selected
|
|
1091
|
+
if (toggleWorkspaceRow(selected)) {
|
|
1092
|
+
// The workspace parent has no PTY target; refresh to show or hide its member rows.
|
|
1093
|
+
} else if (selected.kind === 'tui') await switchSidetabSession(selected.sessionId, selected.ptyId);
|
|
1049
1094
|
else {
|
|
1050
1095
|
await ensureSidetabAttachments();
|
|
1051
1096
|
sidetabAttachments?.select(selected);
|
|
@@ -1380,7 +1425,7 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
1380
1425
|
const args = submitted.slice(1).trim().split(/\s+/);
|
|
1381
1426
|
const action = args[1]?.toLowerCase();
|
|
1382
1427
|
if (action === 'help') {
|
|
1383
|
-
activity.push('/side [open|close|off|on|all|new|kill|help] · /sidetab 별칭', 'Ctrl+\\ 후 s=사이드탭 · p=부모 · 1–9=선택 · Esc=입력 · 목록 클릭=전환');
|
|
1428
|
+
activity.push('/side [open|close|off|on|all|workspaces|new|kill|help] · /sidetab 별칭', 'Ctrl+\\ 후 s=사이드탭 · p=부모 · 1–9=선택 · Esc=입력 · 목록 클릭=전환');
|
|
1384
1429
|
status = 'Enter 전송';
|
|
1385
1430
|
} else if (action === 'off') {
|
|
1386
1431
|
const restoreOpen = sidetabOpen;
|
|
@@ -1401,11 +1446,20 @@ export async function showNextTui(options: NextTuiOptions = {}): Promise<void> {
|
|
|
1401
1446
|
} else if (action === 'close') {
|
|
1402
1447
|
if (sidetabOpen) await toggleSidetab();
|
|
1403
1448
|
} else if (action === 'all') {
|
|
1404
|
-
|
|
1449
|
+
expandedWorkspaceIds.clear();
|
|
1450
|
+
const nextViewMode: 'current' | 'all' = sidetabViewMode === 'all' ? 'current' : 'all';
|
|
1451
|
+
sidetabViewMode = nextViewMode;
|
|
1452
|
+
sidetabEnabled = true;
|
|
1453
|
+
if (!sidetabOpen) await toggleSidetab();
|
|
1454
|
+
else refreshSidetabRows();
|
|
1455
|
+
status = nextViewMode === 'all' ? '사이드탭 전체 목록' : '사이드탭 현재 세션 목록';
|
|
1456
|
+
} else if (action === 'workspaces') {
|
|
1457
|
+
expandedWorkspaceIds.clear();
|
|
1458
|
+
sidetabViewMode = sidetabViewMode === 'workspaces' ? 'current' : 'workspaces';
|
|
1405
1459
|
sidetabEnabled = true;
|
|
1406
1460
|
if (!sidetabOpen) await toggleSidetab();
|
|
1407
1461
|
else refreshSidetabRows();
|
|
1408
|
-
status =
|
|
1462
|
+
status = sidetabViewMode === 'workspaces' ? '사이드탭 미션·하니스 워크스페이스' : '사이드탭 현재 세션 목록';
|
|
1409
1463
|
} else if (action === 'kill') {
|
|
1410
1464
|
if (!sidetabApi) sidetabApi = await import('./sidetab/list.js');
|
|
1411
1465
|
refreshSidetabRows();
|