elanous 0.3.10 → 0.3.11
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/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/404/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/404.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/EYSh3cX6PSbWZ9jfAV-ZL/_buildManifest.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/EYSh3cX6PSbWZ9jfAV-ZL/_ssgManifest.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/01d37f32.f1ecc352bfc51dba.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/1205.fe10b7987f8524ef.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/1349.f7811f2ffa218061.js +115 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/1384.1cb410c0f56171eb.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/1428.0e64b175c610d66f.js +217 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/1573.f7798ecec5a0c856.js +62 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/1704.873747d458a61393.js +226 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/1744.be78cf6a0a3a74d6.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/1984-49012b18b68b1cf9.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2148-6f0c9b53f41fe475.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2320.b695c0cf2687a257.js +86 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2361246f.b0c89bf269cf461a.js +18 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2435.f5c7a8ec43bf380d.js +148 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2444-14f479a9f931d064.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2546.54bca8b2efbfc20f.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2548.d44d521b5f8c4430.js +149 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/261-a046190a9a00a2e9.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2797.075b49a780b777f9.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/2869.89f22df850ffcffb.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/293a491b.83fead916f3d4b84.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3061-347b0ea159fbd1ff.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3090.1ce88a5426850ed6.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3092.7ba336afc0ff5129.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3191.8ba727790cf10b35.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3305-72701e4eaf50e6df.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3346.ce452aec61c3b95c.js +66 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3377-ee5f16870d6175ba.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3429.26af58ade120e0f6.js +32 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3441.4826303af0ba2719.js +23 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3476.83efa7b4266c7e51.js +77 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3586.51fa867dadba71b6.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3614-9958a689c070352d.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3694.b629d2f7208eac8f.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3722-ccce3970d69d2872.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3730-21d7ec4ebcc8c568.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3778.7c2878335b916833.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3830.397d404d47d8a062.js +8 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/3b874777.9cb8232267532d67.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4009.77649c720a2856f6.js +27 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4215-b3f308605f4b13a8.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4244.d72a596d89009db0.js +287 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4319.00de505e04749979.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4377.afed39cdcc4a27ac.js +34 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4512-aaced97ea8e990bb.js +25 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4639-33bcab91d6560f78.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4679-58da0c73ea8fd4c0.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4739.eb609076dc7d0ce5.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/474.3358006016a4c378.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4775.4dcbb1305bc9fdc0.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/479-e85749bccf84c3a1.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4861.4f637b319161ac19.js +94 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/4912.bb366634a6b91a57.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5015-9e7cd0f0977b5fca.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5051.8970f4af47f47d8a.js +24 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5063.29502b1640091906.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/514.d0f3de1f9677a072.js +5 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5217-4a8b3b42eb940df6.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5274-170b82d1f713ef4e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/529.7900408e7a632b2a.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5319.e66b9cc59edf68ed.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5481.c7257f98606bca86.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5486.b2f3ef1cc08a5f44.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5493.5ad34e07e4d2e24e.js +38 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5646-4a4067780272d157.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/56667286.ca5125d61802d0fc.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5771-e4339e65e1a8e6e6.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5787.6c56877c23d51f70.js +90 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/586.ff5c84cbb8592a98.js +2 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/5980.ed2554b4e5883ef8.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6037.a946c7b0d3ccbbf2.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6118.194e7e1a958f3f0e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6136.5a9cd50e34193654.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6177.ab44c9a7bfebdff9.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6226-be213570dc2842c5.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/624.4f0dbb8a82bae173.js +79 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6334-5efa5dc3a22e32be.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6602.87ab7eda9e749a9a.js +36 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/669.7dca63fb3b95ddc1.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6779-35afb880061a9ed1.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/684.7ca728c023a5be43.js +9 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/6944.e9ef3404b61b22ce.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/697.044dbc2599425241.js +64 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/7016-71707efce1d33e5f.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/703.22d162ce983376c7.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/7147.fd66f2c11680c3e7.js +104 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/730.d287a7a56dc4215c.js +93 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/7504-69e607e9d2ccb233.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/7647.013fa7f7dd501ed8.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/7747.4f032894f7b78fc8.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/7806.06d650368ecaf19f.js +286 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/7845-409d6e1159d19ed2.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/8047-92020eb3411682d0.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/8066.c20a12b9b6773b64.js +24 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/8279.57d08b9e979bc906.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/83-f25b23c8bea39fe4.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/8415.bcf8d2b3ea589c60.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/8650.c195cacb1e3abfaf.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/8668.b01c159a88f542c0.js +41 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/8998.06aa9e56b8064e1b.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/9032.acf91f7cb1584b78.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/9383.40bd9676ab465b77.js +74 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/9460.65cd2094d0bc9c9c.js +309 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/9482.2b76ee1769f3ec4e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/9673-ba8a3c4683caac32.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/9716.2185e2ff59e8ba1e.js +193 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/a886a261.307a967dd06d12b7.js +66 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/_not-found/page-c775796a00d9389e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/apps/page-7775cfa4c480b4db.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/apps/report/page-6e3a012662c704c6.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/board/page-755cecfc4a9b8ed8.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/chat/page-b616ac17834db5d8.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/credentials/page-8182cf153d7d41f8.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/credentials/register/claim/page-3f539594c23d3f8e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/credentials/register/page-ea4f262cb9aba420.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/design-check/page-8165faf239f6e27e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/editor/page-1cf7bd94569f060b.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/healthz/route-c775796a00d9389e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/layout-444d1c4c8fabdbea.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/live-run/adaptive/page-1f4aee3b56fd22f0.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/live-run/page-29d6b10ace96d7af.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/member/invite/page-02ec6c1f61c37ed7.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/not-found-008e905e8d38bf0b.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/ops/release/page-770c3b6e5356cc91.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/page-c775796a00d9389e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/settings/page-93b362aa4a88d529.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/setup/done/page-1cf98810677499bc.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/setup/layout-c775796a00d9389e.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/setup/page-9698cb2297abfb29.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/share/received/page-3be6f5986ce29402.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/signup/complete/page-c5b4b6795a11f869.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/signup/page-fc2da335d0504034.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/term/page-3f7ee4b011d2ef8b.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/app/vault/page-4c7e6af7c5347116.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/bffd1d00-2d9bdb4c8a5d9104.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/cd29f327-7f91f59b9139237c.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/d110d9e0.f5573b826f27af65.js +160 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/d14cd3a4.6d09bf3f19730f21.js +122 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/db225b10.128c168f4a6546cf.js +62 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/framework-8678a23bfc3bab37.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/main-ad7216630e0b83b8.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/main-app-4572a82b0e60345c.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/pages/_app-9a06989434b6a0f6.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/pages/_error-47654d73dd8821dc.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/chunks/webpack-1e12b19ca7234d95.js +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/css/085673d826b98b62.css +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/css/0963166d1794fcd2.css +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/css/0d7fd8c441e32b99.css +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/css/599369d853c61df7.css +31 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/css/659eccb5db697b76.css +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/media/22a5144ee8d83bca-s.p.woff2 +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/media/9766a7e9e2e0ad5a-s.woff2 +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/media/aa016aab0e6d1295-s.woff2 +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/media/b66cf8e69499582a-s.woff2 +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/_next/static/media/f639721981034f88-s.woff2 +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/apps/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/apps/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/apps/report/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/apps/report/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/board/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/board/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/chat/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/chat/index.txt +30 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/credentials/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/credentials/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/credentials/register/claim/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/credentials/register/claim/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/credentials/register/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/credentials/register/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/design-check/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/design-check/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/editor/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/editor/index.txt +35 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/fonts/JetBrainsMonoNerdFontMono-Bold.ttf +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/fonts/JetBrainsMonoNerdFontMono-BoldItalic.ttf +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/fonts/JetBrainsMonoNerdFontMono-Italic.ttf +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/fonts/JetBrainsMonoNerdFontMono-Regular.ttf +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/healthz +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/icons/elanous-16.png +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/icons/elanous-180.png +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/icons/elanous-192.png +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/icons/elanous-32.png +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/icons/elanous-512.png +0 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/index.txt +30 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/live-run/adaptive/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/live-run/adaptive/index.txt +31 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/live-run/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/live-run/index.txt +35 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/manifest.webmanifest +31 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/member/invite/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/member/invite/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/offline.html +84 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/ops/release/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/ops/release/index.txt +34 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/settings/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/settings/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/setup/done/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/setup/done/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/setup/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/setup/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/share/received/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/share/received/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/signup/complete/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/signup/complete/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/signup/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/signup/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/sw-strategies.js +44 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/sw.js +388 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/term/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/term/index.txt +33 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/vault/index.html +1 -0
- package/apps/pwa/.pwa-generations/1794438971150-31097a5b-df19-4054-81ae-c523427dd7b2/vault/index.txt +33 -0
- package/apps/pwa/README.md +59 -0
- package/apps/pwa/bun.lock +1530 -0
- package/apps/pwa/components.json +25 -0
- package/apps/pwa/next.config.ts +60 -0
- package/apps/pwa/package-lock.json +7538 -0
- package/apps/pwa/package.json +73 -0
- package/apps/pwa/postcss.config.mjs +5 -0
- package/apps/pwa/public/fonts/JetBrainsMonoNerdFontMono-Bold.ttf +0 -0
- package/apps/pwa/public/fonts/JetBrainsMonoNerdFontMono-BoldItalic.ttf +0 -0
- package/apps/pwa/public/fonts/JetBrainsMonoNerdFontMono-Italic.ttf +0 -0
- package/apps/pwa/public/fonts/JetBrainsMonoNerdFontMono-Regular.ttf +0 -0
- package/apps/pwa/public/icons/elanous-16.png +0 -0
- package/apps/pwa/public/icons/elanous-180.png +0 -0
- package/apps/pwa/public/icons/elanous-192.png +0 -0
- package/apps/pwa/public/icons/elanous-32.png +0 -0
- package/apps/pwa/public/icons/elanous-512.png +0 -0
- package/apps/pwa/public/manifest.webmanifest +31 -0
- package/apps/pwa/public/offline.html +84 -0
- package/apps/pwa/public/sw-strategies.js +44 -0
- package/apps/pwa/public/sw.js +388 -0
- package/apps/pwa/scripts/static-entry.ts +54 -0
- package/apps/pwa/scripts/static-generation.ts +190 -0
- package/apps/pwa/src/app/apps/page.tsx +135 -0
- package/apps/pwa/src/app/apps/report/page.tsx +50 -0
- package/apps/pwa/src/app/board/page.tsx +12 -0
- package/apps/pwa/src/app/chat/page.tsx +5 -0
- package/apps/pwa/src/app/credentials/CredentialVaultView.tsx +99 -0
- package/apps/pwa/src/app/credentials/page.tsx +15 -0
- package/apps/pwa/src/app/credentials/register/CredentialRegisterView.tsx +123 -0
- package/apps/pwa/src/app/credentials/register/claim/CredentialClaimView.tsx +88 -0
- package/apps/pwa/src/app/credentials/register/claim/page.tsx +35 -0
- package/apps/pwa/src/app/credentials/register/page.tsx +18 -0
- package/apps/pwa/src/app/design-check/page.tsx +17 -0
- package/apps/pwa/src/app/editor/page.tsx +8 -0
- package/apps/pwa/src/app/globals.css +351 -0
- package/apps/pwa/src/app/healthz/route.ts +12 -0
- package/apps/pwa/src/app/layout.tsx +77 -0
- package/apps/pwa/src/app/live-run/adaptive/page.tsx +6 -0
- package/apps/pwa/src/app/live-run/page.tsx +94 -0
- package/apps/pwa/src/app/member/invite/page.tsx +75 -0
- package/apps/pwa/src/app/not-found.tsx +29 -0
- package/apps/pwa/src/app/ops/release/page.tsx +8 -0
- package/apps/pwa/src/app/page.tsx +5 -0
- package/apps/pwa/src/app/settings/page.tsx +13 -0
- package/apps/pwa/src/app/setup/done/SetupNextSteps.tsx +75 -0
- package/apps/pwa/src/app/setup/done/page.tsx +182 -0
- package/apps/pwa/src/app/setup/done/setup-links.ts +55 -0
- package/apps/pwa/src/app/setup/layout.tsx +33 -0
- package/apps/pwa/src/app/setup/page.tsx +501 -0
- package/apps/pwa/src/app/share/received/page.tsx +86 -0
- package/apps/pwa/src/app/signup/complete/page.tsx +92 -0
- package/apps/pwa/src/app/signup/page.tsx +62 -0
- package/apps/pwa/src/app/term/page.tsx +29 -0
- package/apps/pwa/src/app/term/pty-selection-url.ts +8 -0
- package/apps/pwa/src/app/vault/page.tsx +14 -0
- package/apps/pwa/src/components/agent/CollapsibleCodeBlock.tsx +90 -0
- package/apps/pwa/src/components/apps/AppSimLiveView.tsx +161 -0
- package/apps/pwa/src/components/ask-user-question/AskQuestionSheet.tsx +309 -0
- package/apps/pwa/src/components/ask-user-question/use-ask-question.ts +167 -0
- package/apps/pwa/src/components/chat/BudgetPill.tsx +92 -0
- package/apps/pwa/src/components/chat/ChatApprovalsChip.tsx +74 -0
- package/apps/pwa/src/components/chat/ChatConversationList.tsx +190 -0
- package/apps/pwa/src/components/chat/ChatCurrentProject.tsx +239 -0
- package/apps/pwa/src/components/chat/ChatDecisionsChip.tsx +95 -0
- package/apps/pwa/src/components/chat/ChatDropOverlay.tsx +17 -0
- package/apps/pwa/src/components/chat/ChatHistory.tsx +266 -0
- package/apps/pwa/src/components/chat/ChatInput.tsx +1091 -0
- package/apps/pwa/src/components/chat/ChatLayout.tsx +1594 -0
- package/apps/pwa/src/components/chat/ChatMessage.tsx +380 -0
- package/apps/pwa/src/components/chat/ChatPanel.tsx +96 -0
- package/apps/pwa/src/components/chat/ChatPendingDecision.tsx +76 -0
- package/apps/pwa/src/components/chat/ChatProjectSwitcher.tsx +101 -0
- package/apps/pwa/src/components/chat/ChatQueueChips.tsx +20 -0
- package/apps/pwa/src/components/chat/ContextSourcesCard.tsx +14 -0
- package/apps/pwa/src/components/chat/DeployConfirmCard.tsx +13 -0
- package/apps/pwa/src/components/chat/DeployResultCard.tsx +18 -0
- package/apps/pwa/src/components/chat/ElanousCard.tsx +80 -0
- package/apps/pwa/src/components/chat/ElanousProviderChip.tsx +85 -0
- package/apps/pwa/src/components/chat/HarnessAskCard.tsx +61 -0
- package/apps/pwa/src/components/chat/MemberProposalCard.tsx +75 -0
- package/apps/pwa/src/components/chat/MobileChatStatus.tsx +32 -0
- package/apps/pwa/src/components/chat/NowSpeakButton.tsx +78 -0
- package/apps/pwa/src/components/chat/SeatPicker.tsx +27 -0
- package/apps/pwa/src/components/chat/SeatsNowStrip.tsx +43 -0
- package/apps/pwa/src/components/chat/SessionDeleteConfirm.tsx +91 -0
- package/apps/pwa/src/components/chat/SessionIdChip.tsx +120 -0
- package/apps/pwa/src/components/chat/SessionPill.tsx +276 -0
- package/apps/pwa/src/components/chat/VoiceCostPill.tsx +114 -0
- package/apps/pwa/src/components/chat/VoiceOverlay.tsx +181 -0
- package/apps/pwa/src/components/chat/blocks/ChatHud.tsx +165 -0
- package/apps/pwa/src/components/chat/blocks/ChatHudGaugeBar.tsx +90 -0
- package/apps/pwa/src/components/chat/blocks/DebugTapDrawer.tsx +189 -0
- package/apps/pwa/src/components/chat/blocks/DiffBlock.tsx +114 -0
- package/apps/pwa/src/components/chat/blocks/McpAppBlock.tsx +103 -0
- package/apps/pwa/src/components/chat/blocks/McpAppFrame.tsx +81 -0
- package/apps/pwa/src/components/chat/blocks/PerfTickSparkline.tsx +154 -0
- package/apps/pwa/src/components/chat/blocks/PlanBlock.tsx +70 -0
- package/apps/pwa/src/components/chat/blocks/SearchHitList.tsx +122 -0
- package/apps/pwa/src/components/chat/blocks/StatusChip.tsx +63 -0
- package/apps/pwa/src/components/chat/blocks/ThinkingPill.tsx +63 -0
- package/apps/pwa/src/components/chat/blocks/ToolProgressCard.tsx +106 -0
- package/apps/pwa/src/components/chat/budget-pill-view.ts +22 -0
- package/apps/pwa/src/components/chat/context-sources.ts +88 -0
- package/apps/pwa/src/components/chat/seats-now-line.ts +20 -0
- package/apps/pwa/src/components/chat/session-id-utils.ts +22 -0
- package/apps/pwa/src/components/decisions/DecisionCard.tsx +28 -0
- package/apps/pwa/src/components/design/DesignCheckPanel.tsx +318 -0
- package/apps/pwa/src/components/design/DirectionCards.tsx +178 -0
- package/apps/pwa/src/components/design/MakeMySystem.tsx +177 -0
- package/apps/pwa/src/components/editor/GraphCanvasEditor.tsx +853 -0
- package/apps/pwa/src/components/editor/GraphCanvasRunStatus.tsx +88 -0
- package/apps/pwa/src/components/editor/GraphEditor.tsx +357 -0
- package/apps/pwa/src/components/editor/GraphGroupBox.tsx +47 -0
- package/apps/pwa/src/components/editor/GraphRunControl.tsx +127 -0
- package/apps/pwa/src/components/editor/GraphWizardChat.tsx +292 -0
- package/apps/pwa/src/components/editor/graph-canvas-model.ts +570 -0
- package/apps/pwa/src/components/editor/graph-canvas-save.ts +52 -0
- package/apps/pwa/src/components/editor/graph-editor-mode.ts +41 -0
- package/apps/pwa/src/components/editor/graph-groups.ts +139 -0
- package/apps/pwa/src/components/editor/graph-wizard.ts +154 -0
- package/apps/pwa/src/components/editor/use-wizard-canvas.ts +66 -0
- package/apps/pwa/src/components/exec/ExecApprovals.tsx +77 -0
- package/apps/pwa/src/components/fluent-chain/NextFluentChip.tsx +91 -0
- package/apps/pwa/src/components/idle-nudge/IdleNudgeBadge.tsx +79 -0
- package/apps/pwa/src/components/inside/loop-agents-view.ts +75 -0
- package/apps/pwa/src/components/inside/pty-decisions.ts +72 -0
- package/apps/pwa/src/components/inside/public-text.ts +35 -0
- package/apps/pwa/src/components/install-banner.tsx +192 -0
- package/apps/pwa/src/components/intent-panel/IntentButton.tsx +67 -0
- package/apps/pwa/src/components/intent-panel/IntentPanel.tsx +244 -0
- package/apps/pwa/src/components/intent-panel/intent-panel-storage.ts +140 -0
- package/apps/pwa/src/components/intent-panel/use-intent-prediction.ts +269 -0
- package/apps/pwa/src/components/live-run/AdaptiveGraphReplay.tsx +115 -0
- package/apps/pwa/src/components/live-run/GraphInstanceLiveScreen.tsx +95 -0
- package/apps/pwa/src/components/live-run/GraphInstanceRichView.tsx +124 -0
- package/apps/pwa/src/components/live-run/GraphInstanceSimulationScreen.tsx +34 -0
- package/apps/pwa/src/components/live-run/LiveRunAutoFollowPanel.tsx +70 -0
- package/apps/pwa/src/components/live-run/LiveRunGraph.tsx +621 -0
- package/apps/pwa/src/components/live-run/LiveRunPanel.tsx +96 -0
- package/apps/pwa/src/components/live-run/live-run-stage.css +62 -0
- package/apps/pwa/src/components/loops/loop-status.ts +5 -0
- package/apps/pwa/src/components/member-board/MemberMiniBoardView.tsx +163 -0
- package/apps/pwa/src/components/member-board/member-board-model.ts +113 -0
- package/apps/pwa/src/components/nexus/ChannelBotSetupCard.tsx +103 -0
- package/apps/pwa/src/components/notes/NoteFromImageModal.tsx +477 -0
- package/apps/pwa/src/components/notes/SaveAsNoteButton.tsx +71 -0
- package/apps/pwa/src/components/observatory/subject-list.ts +242 -0
- package/apps/pwa/src/components/ops/GateShards.tsx +87 -0
- package/apps/pwa/src/components/ops/OperatorReleaseRoute.tsx +8 -0
- package/apps/pwa/src/components/ops/ReleaseFlow.tsx +143 -0
- package/apps/pwa/src/components/ops/ReleaseGraphRunView.tsx +89 -0
- package/apps/pwa/src/components/ops/ReleaseRunsView.tsx +227 -0
- package/apps/pwa/src/components/provenance/ProvenanceBadge.tsx +15 -0
- package/apps/pwa/src/components/providers/DaemonProvider.tsx +126 -0
- package/apps/pwa/src/components/providers/NewBuildBanner.tsx +55 -0
- package/apps/pwa/src/components/providers/NexusClientProvider.tsx +69 -0
- package/apps/pwa/src/components/providers/OperatorRoleDefault.tsx +16 -0
- package/apps/pwa/src/components/providers/ServiceWorkerRegister.tsx +32 -0
- package/apps/pwa/src/components/providers/ThemeProvider.tsx +93 -0
- package/apps/pwa/src/components/providers/ToastProvider.tsx +12 -0
- package/apps/pwa/src/components/settings/AdvancedSetupMap.tsx +76 -0
- package/apps/pwa/src/components/settings/AnswerDepthCard.tsx +90 -0
- package/apps/pwa/src/components/settings/BudgetGuardWatcher.tsx +125 -0
- package/apps/pwa/src/components/settings/BudgetThresholdModal.tsx +200 -0
- package/apps/pwa/src/components/settings/BuildInfoCard.tsx +70 -0
- package/apps/pwa/src/components/settings/ChannelBotSetupCard.tsx +107 -0
- package/apps/pwa/src/components/settings/ChatRoutingCard.tsx +67 -0
- package/apps/pwa/src/components/settings/ChildLlmPreferenceCard.tsx +224 -0
- package/apps/pwa/src/components/settings/ConnectTokenCard.tsx +117 -0
- package/apps/pwa/src/components/settings/FastReplyCard.tsx +68 -0
- package/apps/pwa/src/components/settings/IntentPanelSettingsCard.tsx +107 -0
- package/apps/pwa/src/components/settings/LlmCatalogCard.tsx +284 -0
- package/apps/pwa/src/components/settings/LlmHostsCard.tsx +399 -0
- package/apps/pwa/src/components/settings/LlmModelTierCard.tsx +246 -0
- package/apps/pwa/src/components/settings/NotesMetricsCard.tsx +192 -0
- package/apps/pwa/src/components/settings/ObsidianSkillsCard.tsx +125 -0
- package/apps/pwa/src/components/settings/OcrPrefsCard.tsx +106 -0
- package/apps/pwa/src/components/settings/PersonaCard.tsx +353 -0
- package/apps/pwa/src/components/settings/PlatformConnectionsCard.tsx +113 -0
- package/apps/pwa/src/components/settings/PresetCardGrid.tsx +194 -0
- package/apps/pwa/src/components/settings/PushcutSettingsCard.tsx +208 -0
- package/apps/pwa/src/components/settings/QuickSetupCard.tsx +256 -0
- package/apps/pwa/src/components/settings/SettingsPanel.tsx +1184 -0
- package/apps/pwa/src/components/settings/TierChangeConfirmModal.tsx +244 -0
- package/apps/pwa/src/components/settings/TtsModelTierCard.tsx +231 -0
- package/apps/pwa/src/components/settings/TtsVoiceIdPickerCard.tsx +445 -0
- package/apps/pwa/src/components/settings/VoiceModelTierCard.tsx +318 -0
- package/apps/pwa/src/components/settings/VoicePrefsCard.tsx +127 -0
- package/apps/pwa/src/components/settings/WelcomeCard.tsx +126 -0
- package/apps/pwa/src/components/settings/persona-card-edits.ts +21 -0
- package/apps/pwa/src/components/shell/AppShell.tsx +126 -0
- package/apps/pwa/src/components/shell/AuthRequiredBanner.tsx +20 -0
- package/apps/pwa/src/components/shell/CompactTopBar.tsx +90 -0
- package/apps/pwa/src/components/shell/MaturityBanner.tsx +15 -0
- package/apps/pwa/src/components/shell/MobileBottomTabs.tsx +131 -0
- package/apps/pwa/src/components/shell/NavSearchProbe.tsx +13 -0
- package/apps/pwa/src/components/shell/PwaRolePicker.tsx +41 -0
- package/apps/pwa/src/components/shell/ShareCaptureButton.tsx +52 -0
- package/apps/pwa/src/components/shell/SidebarNav.tsx +196 -0
- package/apps/pwa/src/components/shell/SkillProblemsBanner.tsx +75 -0
- package/apps/pwa/src/components/shell/TopBar.tsx +269 -0
- package/apps/pwa/src/components/shell/TopBarActivityIndicator.tsx +51 -0
- package/apps/pwa/src/components/shell/activity-snapshot.ts +98 -0
- package/apps/pwa/src/components/shell/fetch-activity-snapshot.ts +43 -0
- package/apps/pwa/src/components/shell/nav-visibility-prefs.ts +16 -0
- package/apps/pwa/src/components/shell/nav-visit.ts +41 -0
- package/apps/pwa/src/components/shell/sidebar-nav-items.ts +122 -0
- package/apps/pwa/src/components/shell/sidebar-nav-private.ts +4 -0
- package/apps/pwa/src/components/shell/use-nav-visit-log.ts +34 -0
- package/apps/pwa/src/components/shell/use-shell-activity.ts +69 -0
- package/apps/pwa/src/components/showroom/ChainForwardGateModal.tsx +161 -0
- package/apps/pwa/src/components/showroom/CostGateModal.tsx +138 -0
- package/apps/pwa/src/components/showroom/HitlBanner.tsx +107 -0
- package/apps/pwa/src/components/showroom/ShowroomCameraIntake.tsx +263 -0
- package/apps/pwa/src/components/showroom/ShowroomHitlToggle.tsx +63 -0
- package/apps/pwa/src/components/showroom/ShowroomInput.tsx +1105 -0
- package/apps/pwa/src/components/showroom/ShowroomLayout.tsx +2166 -0
- package/apps/pwa/src/components/showroom/ShowroomPanel.tsx +722 -0
- package/apps/pwa/src/components/showroom/ShowroomShortcutHelp.tsx +98 -0
- package/apps/pwa/src/components/showroom/ShowroomVoiceIntake.tsx +271 -0
- package/apps/pwa/src/components/showroom/use-hitl-banner.ts +198 -0
- package/apps/pwa/src/components/terminal/CameraAttachButton.tsx +99 -0
- package/apps/pwa/src/components/terminal/CompactTerminalBar.tsx +54 -0
- package/apps/pwa/src/components/terminal/FileAttachButton.tsx +96 -0
- package/apps/pwa/src/components/terminal/LiveCameraControl.tsx +136 -0
- package/apps/pwa/src/components/terminal/ModifierBar.tsx +263 -0
- package/apps/pwa/src/components/terminal/MultiDeviceIndicator.tsx +117 -0
- package/apps/pwa/src/components/terminal/PtyLiveView.lazy.tsx +31 -0
- package/apps/pwa/src/components/terminal/PtyLiveView.tsx +289 -0
- package/apps/pwa/src/components/terminal/PtyWall.tsx +88 -0
- package/apps/pwa/src/components/terminal/TerminalChatDock.lazy.tsx +7 -0
- package/apps/pwa/src/components/terminal/TerminalChatDock.tsx +649 -0
- package/apps/pwa/src/components/terminal/TerminalControls.tsx +311 -0
- package/apps/pwa/src/components/terminal/TerminalDropZone.tsx +142 -0
- package/apps/pwa/src/components/terminal/TerminalPanel.tsx +936 -0
- package/apps/pwa/src/components/terminal/TerminalTabs.tsx +1108 -0
- package/apps/pwa/src/components/terminal/TuiMirrorView.lazy.tsx +8 -0
- package/apps/pwa/src/components/terminal/TuiMirrorView.tsx +129 -0
- package/apps/pwa/src/components/terminal/XtermView.lazy.tsx +30 -0
- package/apps/pwa/src/components/terminal/XtermView.tsx +658 -0
- package/apps/pwa/src/components/terminal/acp-failure.ts +21 -0
- package/apps/pwa/src/components/terminal/initial-terminal-notice.ts +45 -0
- package/apps/pwa/src/components/terminal/pane-layout.ts +132 -0
- package/apps/pwa/src/components/terminal/pane-plan.ts +73 -0
- package/apps/pwa/src/components/terminal/panel-view-state.ts +35 -0
- package/apps/pwa/src/components/terminal/pty-live-poll.ts +57 -0
- package/apps/pwa/src/components/terminal/pty-mouse-forward.ts +22 -0
- package/apps/pwa/src/components/terminal/pty-terminal-list.ts +470 -0
- package/apps/pwa/src/components/terminal/pty-terminal-row-summary.ts +129 -0
- package/apps/pwa/src/components/terminal/pty-wall.ts +46 -0
- package/apps/pwa/src/components/terminal/rename-outcome.ts +22 -0
- package/apps/pwa/src/components/terminal/tab-close-intent.ts +45 -0
- package/apps/pwa/src/components/terminal/terminal-chip-label.ts +78 -0
- package/apps/pwa/src/components/terminal/terminal-clear.ts +3 -0
- package/apps/pwa/src/components/terminal/terminal-input-registry.ts +87 -0
- package/apps/pwa/src/components/terminal/terminal-input-sender.ts +99 -0
- package/apps/pwa/src/components/terminal/terminal-origin-label.ts +22 -0
- package/apps/pwa/src/components/terminal/touch-scroll.ts +86 -0
- package/apps/pwa/src/components/tool-approval/ToolApprovalSheet.tsx +67 -0
- package/apps/pwa/src/components/tool-approval/use-tool-approval.ts +124 -0
- package/apps/pwa/src/components/ui/api-key-field.tsx +154 -0
- package/apps/pwa/src/components/ui/button.tsx +58 -0
- package/apps/pwa/src/components/ui/dialog.tsx +160 -0
- package/apps/pwa/src/components/ui/input.tsx +20 -0
- package/apps/pwa/src/components/ui/scroll-area.tsx +55 -0
- package/apps/pwa/src/components/ui/sheet.tsx +138 -0
- package/apps/pwa/src/components/ui/sonner.tsx +49 -0
- package/apps/pwa/src/components/ui/tabs.tsx +82 -0
- package/apps/pwa/src/components/ui/tooltip.tsx +66 -0
- package/apps/pwa/src/components/vault/MermaidDiagram.tsx +163 -0
- package/apps/pwa/src/components/vault/NewNoteDialog.tsx +73 -0
- package/apps/pwa/src/components/vault/NoteEditor.tsx +196 -0
- package/apps/pwa/src/components/vault/VaultGraph.tsx +77 -0
- package/apps/pwa/src/components/vault/VaultMarkdown.tsx +112 -0
- package/apps/pwa/src/components/vault/VaultPanel.tsx +216 -0
- package/apps/pwa/src/components/vault/VaultTagsPanel.tsx +47 -0
- package/apps/pwa/src/components/vault/mermaid-theme.ts +42 -0
- package/apps/pwa/src/components/voice/TailscaleSecurityBanner.tsx +108 -0
- package/apps/pwa/src/components/workflows/ApprovalModal.tsx +145 -0
- package/apps/pwa/src/components/workflows/ChatPreviewPanel.tsx +144 -0
- package/apps/pwa/src/components/workflows/ExpressionInput.tsx +212 -0
- package/apps/pwa/src/components/workflows/NodeRunPanel.tsx +134 -0
- package/apps/pwa/src/components/workflows/PluginCredentialsField.tsx +131 -0
- package/apps/pwa/src/components/workflows/RunGraphShowcase.tsx +183 -0
- package/apps/pwa/src/components/workflows/RunGraphView.tsx +343 -0
- package/apps/pwa/src/components/workflows/RunsListPanel.tsx +211 -0
- package/apps/pwa/src/components/workflows/SchemaForm.tsx +119 -0
- package/apps/pwa/src/components/workflows/TidyEdge.tsx +44 -0
- package/apps/pwa/src/components/workflows/WorkflowCreateModal.tsx +260 -0
- package/apps/pwa/src/components/workflows/WorkflowGraph.tsx +1151 -0
- package/apps/pwa/src/components/workflows/WorkflowHistoryPanel.tsx +93 -0
- package/apps/pwa/src/components/workflows/WorkflowNLPrompt.tsx +199 -0
- package/apps/pwa/src/components/workflows/WorkflowNodeEditor.tsx +509 -0
- package/apps/pwa/src/components/workflows/WorkflowPublishPanel.tsx +54 -0
- package/apps/pwa/src/components/workflows/WorkflowSynthPreview.tsx +122 -0
- package/apps/pwa/src/components/workflows/WorkflowsPanel.tsx +1226 -0
- package/apps/pwa/src/components/workflows/expression-completion.ts +43 -0
- package/apps/pwa/src/components/workflows/graph-clipboard.ts +78 -0
- package/apps/pwa/src/components/workflows/graph-drop.ts +56 -0
- package/apps/pwa/src/components/workflows/graph-history.ts +40 -0
- package/apps/pwa/src/components/workflows/graph-notes.ts +47 -0
- package/apps/pwa/src/components/workflows/node-run-result.ts +36 -0
- package/apps/pwa/src/components/workflows/node-status-class.ts +14 -0
- package/apps/pwa/src/components/workflows/node-status.css +152 -0
- package/apps/pwa/src/components/workflows/phone-pane.ts +9 -0
- package/apps/pwa/src/components/workflows/run-status-helpers.ts +126 -0
- package/apps/pwa/src/components/workflows/schema-form.ts +222 -0
- package/apps/pwa/src/components/workflows/triggers/ChatTriggerEditor.tsx +170 -0
- package/apps/pwa/src/components/workflows/triggers/DiscordTriggerEditor.tsx +152 -0
- package/apps/pwa/src/components/workflows/triggers/HttpRequestEditor.tsx +287 -0
- package/apps/pwa/src/components/workflows/triggers/ManualTriggerEditor.tsx +94 -0
- package/apps/pwa/src/components/workflows/triggers/ScheduleTriggerEditor.tsx +235 -0
- package/apps/pwa/src/components/workflows/triggers/TelegramTriggerEditor.tsx +160 -0
- package/apps/pwa/src/components/workflows/triggers/TriggerEditorBase.tsx +78 -0
- package/apps/pwa/src/components/workflows/triggers/WebhookTriggerEditor.tsx +197 -0
- package/apps/pwa/src/components/workflows/triggers/cron-preview.ts +81 -0
- package/apps/pwa/src/components/workflows/triggers/trigger-card-preview.ts +125 -0
- package/apps/pwa/src/components/workflows/use-graph-history.ts +32 -0
- package/apps/pwa/src/components/workflows/useKeyboardShortcuts.ts +81 -0
- package/apps/pwa/src/components/workflows/usePanelLayout.ts +135 -0
- package/apps/pwa/src/components/workflows/validation-helpers.ts +122 -0
- package/apps/pwa/src/components/workflows/workflow-file.ts +38 -0
- package/apps/pwa/src/components/workflows/workflow-graph-layout.ts +526 -0
- package/apps/pwa/src/components/workflows/workflow-graph-mutations.ts +415 -0
- package/apps/pwa/src/components/workflows/workflow-publish.ts +50 -0
- package/apps/pwa/src/components/workflows/workflow-save.ts +60 -0
- package/apps/pwa/src/lib/adaptive-graph-replay.ts +57 -0
- package/apps/pwa/src/lib/attachment-content.ts +140 -0
- package/apps/pwa/src/lib/audio-stt-extract.ts +69 -0
- package/apps/pwa/src/lib/auth-required.ts +30 -0
- package/apps/pwa/src/lib/bot-rounds.ts +129 -0
- package/apps/pwa/src/lib/botlab-wall.ts +64 -0
- package/apps/pwa/src/lib/budget-status.ts +114 -0
- package/apps/pwa/src/lib/camera-intake.ts +140 -0
- package/apps/pwa/src/lib/card-followup-client.ts +149 -0
- package/apps/pwa/src/lib/chat-autoscroll.ts +127 -0
- package/apps/pwa/src/lib/chat-deploy.ts +62 -0
- package/apps/pwa/src/lib/chat-fork.ts +31 -0
- package/apps/pwa/src/lib/chat-harness-ask.ts +24 -0
- package/apps/pwa/src/lib/chat-model-commands.ts +104 -0
- package/apps/pwa/src/lib/chat-paste-drop.ts +55 -0
- package/apps/pwa/src/lib/chat-persona.ts +38 -0
- package/apps/pwa/src/lib/chat-queue.ts +24 -0
- package/apps/pwa/src/lib/chat-routing-storage.ts +67 -0
- package/apps/pwa/src/lib/chat-runtime.ts +1956 -0
- package/apps/pwa/src/lib/chat-session-commands.ts +88 -0
- package/apps/pwa/src/lib/chat-status.ts +78 -0
- package/apps/pwa/src/lib/code-block-preview.ts +66 -0
- package/apps/pwa/src/lib/compact-mode.ts +52 -0
- package/apps/pwa/src/lib/control-signals-api.ts +76 -0
- package/apps/pwa/src/lib/daemon-client.ts +2637 -0
- package/apps/pwa/src/lib/daemon-config.ts +129 -0
- package/apps/pwa/src/lib/daemon-session.ts +51 -0
- package/apps/pwa/src/lib/debug.ts +391 -0
- package/apps/pwa/src/lib/decisions-api.ts +71 -0
- package/apps/pwa/src/lib/devices-api.ts +88 -0
- package/apps/pwa/src/lib/dock-attachment-count.ts +4 -0
- package/apps/pwa/src/lib/dock-history-hydrate.ts +149 -0
- package/apps/pwa/src/lib/drop-overlay.ts +14 -0
- package/apps/pwa/src/lib/elanous-ask-extensions.ts +90 -0
- package/apps/pwa/src/lib/elanous-card.ts +92 -0
- package/apps/pwa/src/lib/elanous-feedback-envelope.ts +40 -0
- package/apps/pwa/src/lib/elanous-term-envelope.ts +115 -0
- package/apps/pwa/src/lib/elevenlabs-voices.ts +115 -0
- package/apps/pwa/src/lib/feedback-block-accumulator.ts +567 -0
- package/apps/pwa/src/lib/feedback-envelope.ts +78 -0
- package/apps/pwa/src/lib/field-pick-limits.ts +30 -0
- package/apps/pwa/src/lib/fluent-chain-api.ts +111 -0
- package/apps/pwa/src/lib/graph-approvals-api.ts +112 -0
- package/apps/pwa/src/lib/graph-edge-route.ts +480 -0
- package/apps/pwa/src/lib/graph-run-api.ts +91 -0
- package/apps/pwa/src/lib/graph-wiring.css +9 -0
- package/apps/pwa/src/lib/hosted-chat-runtime.ts +158 -0
- package/apps/pwa/src/lib/hw-keyboard.ts +30 -0
- package/apps/pwa/src/lib/idle-nudge-api.ts +79 -0
- package/apps/pwa/src/lib/inject-attachment-paths.ts +83 -0
- package/apps/pwa/src/lib/inside-events.ts +219 -0
- package/apps/pwa/src/lib/install-banner-state.ts +106 -0
- package/apps/pwa/src/lib/intake-absorb-status.ts +27 -0
- package/apps/pwa/src/lib/intake-front-door-api.ts +127 -0
- package/apps/pwa/src/lib/intake-pipeline-api.ts +192 -0
- package/apps/pwa/src/lib/intake-run-timeline.ts +31 -0
- package/apps/pwa/src/lib/key-sequences.ts +116 -0
- package/apps/pwa/src/lib/live-gate-decision.ts +139 -0
- package/apps/pwa/src/lib/live-public.ts +92 -0
- package/apps/pwa/src/lib/live-run-metrics.ts +56 -0
- package/apps/pwa/src/lib/live-run-scene.ts +120 -0
- package/apps/pwa/src/lib/live-run-stage.ts +175 -0
- package/apps/pwa/src/lib/live-run-view.ts +89 -0
- package/apps/pwa/src/lib/live-signals.ts +341 -0
- package/apps/pwa/src/lib/live-v5.ts +244 -0
- package/apps/pwa/src/lib/markdown-render.ts +8 -0
- package/apps/pwa/src/lib/mcp-app-bridge-host.ts +102 -0
- package/apps/pwa/src/lib/mcp-app-bridge.ts +474 -0
- package/apps/pwa/src/lib/mcp-app-csp.ts +68 -0
- package/apps/pwa/src/lib/mcp-app-resource.ts +90 -0
- package/apps/pwa/src/lib/member-invite-api.ts +39 -0
- package/apps/pwa/src/lib/member-mini-board-api.ts +75 -0
- package/apps/pwa/src/lib/member-signup-intent.ts +20 -0
- package/apps/pwa/src/lib/merge-approvals-api.ts +94 -0
- package/apps/pwa/src/lib/migrate-base-url.ts +64 -0
- package/apps/pwa/src/lib/model-tier-prefs.ts +115 -0
- package/apps/pwa/src/lib/model-tier-spec.ts +339 -0
- package/apps/pwa/src/lib/model-tier-sync.ts +408 -0
- package/apps/pwa/src/lib/morning-showroom-api.ts +78 -0
- package/apps/pwa/src/lib/new-build.ts +14 -0
- package/apps/pwa/src/lib/notification-target-select.ts +76 -0
- package/apps/pwa/src/lib/ocr-prefs.ts +79 -0
- package/apps/pwa/src/lib/operator-role.ts +40 -0
- package/apps/pwa/src/lib/ops-api.ts +285 -0
- package/apps/pwa/src/lib/outputs-api.ts +20 -0
- package/apps/pwa/src/lib/peer-id.ts +40 -0
- package/apps/pwa/src/lib/preset-catalog.ts +92 -0
- package/apps/pwa/src/lib/projects-api.ts +67 -0
- package/apps/pwa/src/lib/public-app-report.ts +18 -0
- package/apps/pwa/src/lib/public-capture.tsx +19 -0
- package/apps/pwa/src/lib/pushcut-runtime.ts +144 -0
- package/apps/pwa/src/lib/pwa-role.ts +37 -0
- package/apps/pwa/src/lib/quiet-surface.ts +37 -0
- package/apps/pwa/src/lib/register-sw.ts +100 -0
- package/apps/pwa/src/lib/research-fan.ts +93 -0
- package/apps/pwa/src/lib/route-maturity.ts +28 -0
- package/apps/pwa/src/lib/run-graph-flow.ts +144 -0
- package/apps/pwa/src/lib/run-graph-yaml-edit.ts +393 -0
- package/apps/pwa/src/lib/secure-context-guard.ts +112 -0
- package/apps/pwa/src/lib/session-restore.ts +269 -0
- package/apps/pwa/src/lib/sessions-service.ts +294 -0
- package/apps/pwa/src/lib/sessions-store-api.ts +96 -0
- package/apps/pwa/src/lib/setup-link.ts +42 -0
- package/apps/pwa/src/lib/share-capture.ts +119 -0
- package/apps/pwa/src/lib/share-prefill.ts +21 -0
- package/apps/pwa/src/lib/share-scraps.ts +140 -0
- package/apps/pwa/src/lib/share-target-store.ts +234 -0
- package/apps/pwa/src/lib/shared-event-source.ts +158 -0
- package/apps/pwa/src/lib/show-beta.ts +48 -0
- package/apps/pwa/src/lib/showroom/cost-estimator.ts +97 -0
- package/apps/pwa/src/lib/showroom/hitl-toggle.ts +45 -0
- package/apps/pwa/src/lib/showroom/runtime.ts +1386 -0
- package/apps/pwa/src/lib/showroom/storage.ts +260 -0
- package/apps/pwa/src/lib/showroom/types.ts +323 -0
- package/apps/pwa/src/lib/showroom/use-personas.ts +126 -0
- package/apps/pwa/src/lib/showroom/use-resolved-view.ts +179 -0
- package/apps/pwa/src/lib/showroom-keyboard-shortcuts.ts +127 -0
- package/apps/pwa/src/lib/skill-exec-client.ts +54 -0
- package/apps/pwa/src/lib/snapshot.ts +75 -0
- package/apps/pwa/src/lib/swipe-gesture.ts +176 -0
- package/apps/pwa/src/lib/task-api.ts +141 -0
- package/apps/pwa/src/lib/term-focus.ts +52 -0
- package/apps/pwa/src/lib/terminal-stream.ts +38 -0
- package/apps/pwa/src/lib/testing/react-hook-harness.ts +269 -0
- package/apps/pwa/src/lib/tui-observe.ts +130 -0
- package/apps/pwa/src/lib/turn-busy.ts +38 -0
- package/apps/pwa/src/lib/upload-attachment.ts +95 -0
- package/apps/pwa/src/lib/use-focus-trap.ts +121 -0
- package/apps/pwa/src/lib/use-live-announcer.ts +79 -0
- package/apps/pwa/src/lib/use-live-camera.ts +289 -0
- package/apps/pwa/src/lib/use-mission-router.ts +126 -0
- package/apps/pwa/src/lib/use-operator.ts +35 -0
- package/apps/pwa/src/lib/use-pointer-capability.ts +53 -0
- package/apps/pwa/src/lib/use-sessions.ts +47 -0
- package/apps/pwa/src/lib/use-wake-lock.ts +104 -0
- package/apps/pwa/src/lib/user-intent-logger.ts +83 -0
- package/apps/pwa/src/lib/utils.ts +6 -0
- package/apps/pwa/src/lib/vault-api.ts +109 -0
- package/apps/pwa/src/lib/vault-helpers.ts +100 -0
- package/apps/pwa/src/lib/vault-tree.ts +22 -0
- package/apps/pwa/src/lib/video-frame-extract.ts +111 -0
- package/apps/pwa/src/lib/voice-intake.ts +232 -0
- package/apps/pwa/src/lib/voice-prefs.ts +81 -0
- package/apps/pwa/src/lib/web-push.ts +213 -0
- package/apps/pwa/src/lib/xterm-capability-filter.ts +50 -0
- package/apps/pwa/src/lib/xterm-resize-controller.ts +162 -0
- package/apps/pwa/src/nexus/client.ts +1719 -0
- package/apps/pwa/src/nexus/components/detail-views/channel-bot-detail.tsx +53 -0
- package/apps/pwa/src/nexus/components/detail-views/chat-detail.tsx +18 -0
- package/apps/pwa/src/nexus/components/detail-views/daemon-detail.tsx +27 -0
- package/apps/pwa/src/nexus/components/detail-views/index.ts +36 -0
- package/apps/pwa/src/nexus/components/detail-views/pwa-host-detail.tsx +33 -0
- package/apps/pwa/src/nexus/components/detail-views/webterm-detail.tsx +16 -0
- package/apps/pwa/src/nexus/components/log-line.tsx +14 -0
- package/apps/pwa/src/nexus/components/mini-term-dock.tsx +83 -0
- package/apps/pwa/src/nexus/components/nexus-sidebar.tsx +77 -0
- package/apps/pwa/src/nexus/components/sidebar-grouping.ts +50 -0
- package/apps/pwa/src/nexus/components/sidebar-tab-item.tsx +54 -0
- package/apps/pwa/src/nexus/components/status-badge.tsx +56 -0
- package/apps/pwa/src/nexus/components/tab-actions.tsx +82 -0
- package/apps/pwa/src/nexus/components/tab-detail.tsx +32 -0
- package/apps/pwa/src/nexus/components/tab-status-panel.tsx +51 -0
- package/apps/pwa/src/nexus/hooks/index.ts +25 -0
- package/apps/pwa/src/nexus/hooks/query-keys.ts +57 -0
- package/apps/pwa/src/nexus/hooks/use-bindings.ts +75 -0
- package/apps/pwa/src/nexus/hooks/use-config.ts +71 -0
- package/apps/pwa/src/nexus/hooks/use-design-check.ts +190 -0
- package/apps/pwa/src/nexus/hooks/use-events.ts +43 -0
- package/apps/pwa/src/nexus/hooks/use-live-signals.ts +71 -0
- package/apps/pwa/src/nexus/hooks/use-nexus-context.tsx +56 -0
- package/apps/pwa/src/nexus/hooks/use-nexus-state.ts +76 -0
- package/apps/pwa/src/nexus/hooks/use-platforms.ts +22 -0
- package/apps/pwa/src/nexus/hooks/use-tab-actions.ts +82 -0
- package/apps/pwa/src/nexus/hooks/use-tab-logs-stream.ts +89 -0
- package/apps/pwa/src/nexus/hooks/use-templates.ts +34 -0
- package/apps/pwa/src/nexus/hooks/use-workflow-pins.ts +34 -0
- package/apps/pwa/src/nexus/hooks/use-workflow-run-modes.ts +18 -0
- package/apps/pwa/src/nexus/hooks/use-workflows.ts +327 -0
- package/apps/pwa/src/nexus/hooks/use-worktrees.ts +76 -0
- package/apps/pwa/src/nexus/runtime-discovery.ts +66 -0
- package/apps/pwa/src/nexus/types.ts +89 -0
- package/apps/pwa/src/test-devices/graph-design-replay.ts +73 -0
- package/apps/pwa/src/voice/barge-in.ts +235 -0
- package/apps/pwa/src/voice/showroom-voice.ts +64 -0
- package/apps/pwa/src/voice/use-showroom-tts.ts +192 -0
- package/apps/pwa/src/voice/use-voice-controller.ts +291 -0
- package/apps/pwa/src/voice/use-voice-tts.ts +169 -0
- package/apps/pwa/src/voice/voice-capture.ts +182 -0
- package/apps/pwa/src/voice/voice-frame-protocol.ts +73 -0
- package/apps/pwa/src/voice/voice-phase-styles.ts +26 -0
- package/apps/pwa/src/voice/voice-playback.ts +73 -0
- package/apps/pwa/src/voice/voice-websocket.ts +191 -0
- package/apps/pwa/tsconfig.json +23 -0
- package/catalog/models/openrouter/onboarding-picks.json +16 -0
- package/catalog/models/openrouter/solar-mini4.yaml +27 -0
- package/catalog/models/openrouter/solar-pro4.yaml +27 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-CONTRACT-SECRET-ENTROPY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-KILL-SWITCH-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-SCRATCH-BOOTSTRAP-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-UPGRADE-PATH-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ARG-MACRO-CANVAS-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ASIDE-FEEDBACK-LOOP-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-AUTHOR-REVIEWER-PRECHECK-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BACKEND-TIER-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BOOT-DAEMON-TOOLS-PTY-SHELL-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BROWSER-HAND-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BURST-READY-LADDER-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CENSUS-ORACLE-AXIS-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CHAIN-LAND-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CLASSIC-TUI-SEAT-SCENARIOS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CLI-CONFIG-AUDIT-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CODEX-WIRE-CAPTURE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-COMPUTER-USE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DASHBOARD-EVENT-LOOP-STALL-MONITOR-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DELETE-IMPACT-SIM-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DEVICE-CATALOG-SNAPSHOT-FRAGMENTS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DEVICE-FIDELITY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DRAFT-INVENTORY-BUILDER-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EDGE-CREATOR-NIGHTLY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EDGE-CREATOR-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EVENT-MONKEY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ABSORB-INGEST-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ADB-PHONE-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-AGENT-HOOK-HOST-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ANDROID-CLIENT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-AUTH-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DB-BACKUP-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DB-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DRIVE-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-FAILURES-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-HOST-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-REALTIME-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-SOURCE-CONCURRENT-WRITER-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-SOURCE-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-STORAGE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-TRAFFIC-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BIN-ARGS-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BIN-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BROWSER-PAGE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOCK-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOUD-BILLING-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOUD-VM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-DATA-GUARD-BOUNDARY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-DNS-CERT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ELEVENLABS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FEEDS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FETCH-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FLEET-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-GH-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-GOOGLE-DRIVE-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-HERDR-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-HIGGSFIELD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-KUBECTL-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LAND-QUEUE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LINEAR-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LLM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-MEMBER-OIDC-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-MOBILE-TOOLCHAIN-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-NEXUS-BOARD-SERVER-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-PAYMENT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-PS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-RELAY-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-SSH-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-STT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TELEGRAM-OUTBOUND-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TELEGRAM-VIDEO-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TEMP-CLEANUP-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-CRED-EXPIRY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-GLM-NO-CREDENTIAL-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEEDS-HUMAN-REASON-REPAIR-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEXTMOVE-DISPATCH-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEXUS-STALL-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-CHILD-RESULT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-CODEX-503-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-DEATH-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-REUSE-RESIDUE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POOL-CAP-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-SCOPE-ESCAPE-LIFT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-SQLITE-BUSY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-TUI-400-AUTOHEAL-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FIXTURES-GIT-WORKTREE-ACCEL-LINUX-JSON.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FLUTTER-DEPLOY-JOURNEY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-IMAGE-LAYERED-DELTA-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-IMAGE-PREFLIGHT-RUNTIME-IDENTITY-FLOW-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-ROSTER-SECOND-POOL-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-SHARD-HOST-REROUTE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-STEADY-STATE-PROOF-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GCP-ARCHITECT-EXPAND-FAKE-WORLD-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GCP-ARCHITECT-EXPAND-TIERED-DESIGN-TS.json +6 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GIT-PUSH-TIMEOUT-PARTIAL-OUTCOME-REMOTE-VERIFY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GOAL-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GOAL-INTERIM-TRACE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-DIFF-APPLY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-ENGINE-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-EVENT-ENTRY-WORLD-TS.json +5 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-PLACEMENT-LEASE-WORLD-TS.json +5 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUN-LIFECYCLE-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUNTIME-OVERLAY-EVENT-PATH-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUNTIME-OVERLAY-EVENT-PATH-WORKER-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-TRIGGER-HOOK-DEVICE-TS.json +6 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-CHAOS-DRIVER-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-LEDGER-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-READY-TIERS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HEADLESS-TUI-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HEAL-REAUTHOR-MATERIALIZED-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HOTSPOT-FILE-LEASE-WORLD-TS.json +6 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HQ-MOVE-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IN-PROCESS-CLI-539-FILE-ADOPTION-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IN-PROCESS-CLI-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INPUT-HISTORY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INSTALL-CONSENT-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INTERACTION-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IOS-CHAT-EDGE-ADAPTER-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-KAIST-APP-QR-SIM-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-KAIST-CLASSIC-PWA-BROWSER-REPLAY-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-KAIST-CLASSIC-PWA-REPLAY-WORLD-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-LINEAR-SECRETARY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MAPREDUCE-MULTIHOST-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-AUTHORING-FIRST-RUN-CHILD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-AUTHORING-FIRST-RUN-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-DEVICE-REQUESTS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SCENARIO-CATALOG-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-FRAME-CHILD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-FRAME-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-SEQUENCE-CHILD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-SEQUENCE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MULTI-ACTOR-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MULTI-TENANT-RELAY-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NETWORK-SANDBOX-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-CORE-INPUT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-PLUGIN-WIZARD-WORLD-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-ROUTE-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-SEAT-SCENARIOS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NL-SCENARIO-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ONBOARDING-FIRST-RUN-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-OUTBOUND-GUARD-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PLUGIN-RELEASE-OBSERVE-ROUTE-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PLUGIN-YAML-GEN-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-FEDERATION-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-PHASE-PREWARM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-MATCH-BY-KIND-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-SHARED-FAKE-BOUNDARY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PR-LAND-DRIFT-AUTOREPAIR-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PR-LAND-DRIFT-GATE-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PTY-KEY-MODIFIERS-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PUBLIC-AUTH-PROVIDER-CLOUD-VM-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PWA-PROVENANCE-BADGE-WORLD-TS.json +6 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PWA-RETAINED-ROUTES-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-READINESS-COUNTDOWN-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-REAL-TARGET-SANDBOX-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-EVENT-TRACE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-PUBLISH-DEVICES-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SAME-VERSION-RUN-ADOPTION-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SIM-RIG-SEAT-GUARD-CHILD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SIM-RIG-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RENDER-FRAME-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RESEARCH-DECISION-CHAIN-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RESUME-PICKER-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RLA-EVENT-RESPONSE-SCORECARD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RLA-MACROPHAGE-HEAL-TIMEOUT-STALE-OUTPUT-SIM-TS.json +6 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SAFE-PUBLIC-COPY-PUBLISH-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SCENARIO-TARGET-TS.json +6 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SCENARIO-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SECRET-CANARY-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SEMINAR-REHEARSAL-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SERVICE-KEY-SETUP-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SESSION-ID-SEED-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SIM-COVERAGE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SIM-RECEIPT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SKILLS-TOOLS-SHELL-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SLASH-MENU-FRAMES-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SMART-MERGE-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SUBAGENT-TOOLS-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TA-LAND-COUNT-DISPATCHER-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-AGENT-PARENT-HOST-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-AGENT-REJUDGE-ON-HEAD-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-ORCHESTRATOR-SURFACES-SELF-IMPLEMENT-POD-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TEMP-GIT-REMOTE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TEMP-GIT-REPO-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TERM-SLASH-DEVICE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TOOL-ASYNC-FAIL-LOOP-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TOOL-ROUTER-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TRAIN-MANAGER-DECISION-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TRAIN-MANAGER-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TTY-FOREGROUND-STEAL-CHILD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TURN-STATES-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TURN-THROW-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-USER-CONFIG-DEFAULT-SPARSE-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-USER-CONFIG-TUI-DIET-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-POOL-REUSE-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-POOL-REUSE-SWITCH-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-SI-REUSE-SIM-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-CHAOS-RUNTIME-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-HOST-CHAOS-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-REGRESSION-SUITE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-SCHEMA-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-SNAPSHOT-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-STORE-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-TS.json +4 -1
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-WATCH-TS.json +4 -1
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00670--src-ux-sim-kaist-app-qr-sim-ts-a1e7116f.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00680--src-ux-sim-kaist-app-qr-sim-test-ts-2b726ad2.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00670--src-ux-sim-kaist-app-qr-sim-ts-a1e7116f.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00680--src-ux-sim-kaist-app-qr-sim-test-ts-2b726ad2.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00060--fake-llm-4e9d0461.json +4 -2
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00240--world-runtime-d26d02c9.json +2 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00340--fault-injection-60e2a635.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01855--pwa-installed-package-staging.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01870--knowledge-pack-auto-select--598a19aa.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01880--kaist-app-qr-public-isolation-7dff33f1.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01880--kaist-classic-pwa-browser-replay-7ba58169.json +42 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01880--self-edge-byoc-world.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01890--gcp-architect-expand-fake-world-1dc2b194.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01890--kaist-pwa-mobile-approval-extension.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01891--kcb-integrated-pwa-lap.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01892--gcp-architect-tiered-design.json +25 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/02000--delete-impact-sim.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/metadata.json +1 -1
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00670--src-ux-sim-kaist-app-qr-sim-ts-a1e7116f.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00680--src-ux-sim-kaist-app-qr-sim-test-ts-2b726ad2.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/fake-llm--bcb74f41.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gcp-architect-tiered-design--972746e0.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/kaist-classic-pwa-browser-replay--978b5da1.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/kaist-classic-pwa-browser-replay--c8bdb3ba.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/kaist-pwa-mobile-approval-extension--2b700ea3.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/kcb-integrated-pwa-lap--b7be4c21.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-arch-delete-impact-sim--1ba1037a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/tui-interaction--4336bdfe.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00400--kaist-app-qr-live-c4d9f8a9.json +24 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00360--md-ux-sim-fake-llm-ts-df79e477.json +1 -1
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01211--md-ux-sim-scenario-target-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01880--md-ux-sim-kaist-app-qr-sim-ts-a39fa1af.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01880--md-ux-sim-kaist-classic-pwa-browser-replay-ts-e5635fd5.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01880--md-ux-sim-kaist-classic-pwa-replay-world-ts-8dba624f.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01890--md-ux-sim-gcp-architect-expand-fake-world-ts-50a192ca.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01892--md-ux-sim-gcp-architect-expand-tiered-design-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/02000--md-ux-sim-delete-impact-sim-ts.json +8 -0
- package/docs/profiles/solar-only-demo.json +13 -0
- package/graphs/demo/integrated-ticketing.yaml +40 -0
- package/graphs/demo/recipes.yaml +8 -0
- package/graphs/drafts/recipes.yaml +1 -1
- package/graphs/ops/host-reservation-watch.yaml +18 -0
- package/graphs/ops/placement.yaml +45 -0
- package/graphs/ops/recipes.yaml +19 -0
- package/graphs/ops/silence-watch.yaml +24 -0
- package/graphs/release/node-command-bindings.json +27 -0
- package/graphs/release/plugin.json +123 -12
- package/graphs/release/recipes.yaml +11 -0
- package/graphs/release/release-loop-fanout.yaml +1 -0
- package/graphs/release/release-loop.yaml +25 -4
- package/graphs/release/rla/loop.yaml +2 -1
- package/graphs/work/web-app.yaml +21 -0
- package/package.json +10 -1
- package/packs/gcp-architect-expand/content/decision-table.md +6 -1
- package/packs/system-architecture-public/README.md +17 -0
- package/packs/system-architecture-public/content/cqrs-event-sourcing-01.json +6 -0
- package/packs/system-architecture-public/content/cqrs-event-sourcing-02.json +6 -0
- package/packs/system-architecture-public/content/cqrs-event-sourcing-03.json +6 -0
- package/packs/system-architecture-public/content/cqrs-event-sourcing-04.json +6 -0
- package/packs/system-architecture-public/content/data-pipeline-01.json +6 -0
- package/packs/system-architecture-public/content/data-pipeline-02.json +6 -0
- package/packs/system-architecture-public/content/data-pipeline-03.json +6 -0
- package/packs/system-architecture-public/content/data-pipeline-04.json +6 -0
- package/packs/system-architecture-public/content/event-queue-01.json +6 -0
- package/packs/system-architecture-public/content/event-queue-02.json +6 -0
- package/packs/system-architecture-public/content/event-queue-03.json +6 -0
- package/packs/system-architecture-public/content/event-queue-04.json +6 -0
- package/packs/system-architecture-public/content/file-media-01.json +6 -0
- package/packs/system-architecture-public/content/file-media-02.json +6 -0
- package/packs/system-architecture-public/content/file-media-03.json +6 -0
- package/packs/system-architecture-public/content/file-media-04.json +6 -0
- package/packs/system-architecture-public/content/microservices-mesh-01.json +6 -0
- package/packs/system-architecture-public/content/microservices-mesh-02.json +6 -0
- package/packs/system-architecture-public/content/microservices-mesh-03.json +6 -0
- package/packs/system-architecture-public/content/microservices-mesh-04.json +6 -0
- package/packs/system-architecture-public/content/ml-serving-01.json +6 -0
- package/packs/system-architecture-public/content/ml-serving-02.json +6 -0
- package/packs/system-architecture-public/content/ml-serving-03.json +6 -0
- package/packs/system-architecture-public/content/ml-serving-04.json +6 -0
- package/packs/system-architecture-public/content/multi-tenant-saas-01.json +6 -0
- package/packs/system-architecture-public/content/multi-tenant-saas-02.json +6 -0
- package/packs/system-architecture-public/content/multi-tenant-saas-03.json +6 -0
- package/packs/system-architecture-public/content/multi-tenant-saas-04.json +6 -0
- package/packs/system-architecture-public/content/realtime-chat-notify-01.json +6 -0
- package/packs/system-architecture-public/content/realtime-chat-notify-02.json +6 -0
- package/packs/system-architecture-public/content/realtime-chat-notify-03.json +6 -0
- package/packs/system-architecture-public/content/realtime-chat-notify-04.json +6 -0
- package/packs/system-architecture-public/content/search-01.json +6 -0
- package/packs/system-architecture-public/content/search-02.json +6 -0
- package/packs/system-architecture-public/content/search-03.json +6 -0
- package/packs/system-architecture-public/content/search-04.json +6 -0
- package/packs/system-architecture-public/content/serverless-01.json +6 -0
- package/packs/system-architecture-public/content/serverless-02.json +6 -0
- package/packs/system-architecture-public/content/serverless-03.json +6 -0
- package/packs/system-architecture-public/content/serverless-04.json +6 -0
- package/packs/system-architecture-public/content/shared-patterns-01.json +6 -0
- package/packs/system-architecture-public/content/shared-patterns-02.json +6 -0
- package/packs/system-architecture-public/content/shared-patterns-03.json +6 -0
- package/packs/system-architecture-public/content/shared-patterns-04.json +6 -0
- package/packs/system-architecture-public/content/shared-patterns-05.json +6 -0
- package/packs/system-architecture-public/content/shared-patterns-06.json +6 -0
- package/packs/system-architecture-public/content/shared-patterns-07.json +6 -0
- package/packs/system-architecture-public/content/three-tier-01.json +6 -0
- package/packs/system-architecture-public/content/three-tier-02.json +6 -0
- package/packs/system-architecture-public/content/three-tier-03.json +6 -0
- package/packs/system-architecture-public/content/three-tier-04.json +6 -0
- package/packs/system-architecture-public/knowledge-pack.json +219 -0
- package/packs/ticketing-architecture-public/README.md +23 -0
- package/packs/ticketing-architecture-public/content/01-scope.json +6 -0
- package/packs/ticketing-architecture-public/content/02-seat.json +6 -0
- package/packs/ticketing-architecture-public/content/03-unique.json +7 -0
- package/packs/ticketing-architecture-public/content/04-queue.json +6 -0
- package/packs/ticketing-architecture-public/content/05-redis.json +6 -0
- package/packs/ticketing-architecture-public/content/06-payment.json +6 -0
- package/packs/ticketing-architecture-public/content/07-idempotency.json +7 -0
- package/packs/ticketing-architecture-public/content/08-webhook.json +6 -0
- package/packs/ticketing-architecture-public/content/09-outbox.json +12 -0
- package/packs/ticketing-architecture-public/content/10-kafka.json +6 -0
- package/packs/ticketing-architecture-public/content/11-edge.json +6 -0
- package/packs/ticketing-architecture-public/content/12-hpa.json +6 -0
- package/packs/ticketing-architecture-public/content/13-probe.json +6 -0
- package/packs/ticketing-architecture-public/content/14-decisions.json +6 -0
- package/packs/ticketing-architecture-public/content/15-primer.json +6 -0
- package/packs/ticketing-architecture-public/content/16-slo.json +6 -0
- package/packs/ticketing-architecture-public/content/17-aws.json +6 -0
- package/packs/ticketing-architecture-public/content/18-azure.json +6 -0
- package/packs/ticketing-architecture-public/content/19-lease.json +6 -0
- package/packs/ticketing-architecture-public/content/20-twelve-factor.json +6 -0
- package/packs/ticketing-architecture-public/knowledge-pack.json +95 -0
- package/plugins/README.md +7 -0
- package/plugins/absorb/graph/absorb-build.yaml +83 -5
- package/plugins/absorb/handlers/board-approval.ts +4 -2
- package/plugins/absorb/plugin.json +11 -0
- package/plugins/absorb/plugin.yaml +6 -2
- package/plugins/absorb/sims/absorb-demo-world.yaml +3 -1
- package/plugins/absorb/skills/absorb/build/SKILL.md +5 -1
- package/plugins/architecture-deliverables/README.md +47 -0
- package/plugins/architecture-deliverables/examples/input-sample.json +5 -0
- package/plugins/architecture-deliverables/examples/legacy-finished-input.json +5 -0
- package/plugins/architecture-deliverables/examples/structured-general.json +204 -0
- package/plugins/architecture-deliverables/examples/structured-ticketing-gcp.json +210 -0
- package/plugins/architecture-deliverables/graphs/architecture-deliverables.yaml +19 -0
- package/plugins/architecture-deliverables/graphs/recipes.yaml +12 -0
- package/plugins/architecture-deliverables/plugin.json +108 -0
- package/plugins/architecture-deliverables/references/official-gcp-icon-data.json +1 -0
- package/plugins/architecture-deliverables/references/official-gcp-icons.json +193 -0
- package/plugins/architecture-deliverables/references/structured-design.schema.json +375 -0
- package/plugins/architecture-deliverables/references/structured-template.css +1 -0
- package/plugins/demo-brief-to-requirements/README.md +20 -0
- package/plugins/demo-brief-to-requirements/examples/absorb-ticketing-records.json +20 -0
- package/plugins/demo-brief-to-requirements/examples/ticketing-brief.json +20 -0
- package/plugins/demo-brief-to-requirements/graphs/brief-to-requirements.yaml +10 -0
- package/plugins/demo-brief-to-requirements/graphs/recipes.yaml +3 -0
- package/plugins/demo-brief-to-requirements/graphs/scene4-architecture.yaml +15 -0
- package/plugins/demo-brief-to-requirements/plugin.json +31 -0
- package/plugins/demo-brief-to-requirements/references/input-contract.md +5 -0
- package/plugins/gcp-architect-expand/README.md +23 -3
- package/plugins/gcp-architect-expand/demo/BOARD-HANDOFF.md +17 -0
- package/plugins/gcp-architect-expand/demo/KCB-SCENE5-RECORDING-SCRIPT.md +30 -0
- package/plugins/gcp-architect-expand/demo/SOLAR-HANDOFF.md +93 -0
- package/plugins/gcp-architect-expand/demo/brief-3-lines.ko.txt +3 -0
- package/plugins/gcp-architect-expand/demo/classic-pty-live-ab56-receipt.json +52 -0
- package/plugins/gcp-architect-expand/demo/classic-pty-seam-receipt.json +21 -0
- package/plugins/gcp-architect-expand/demo/classic-pty-toolsearch-stack-receipt.json +24 -0
- package/plugins/gcp-architect-expand/demo/fixtures/advanced-requirement.json +19 -0
- package/plugins/gcp-architect-expand/demo/fixtures/pressure.json +8 -0
- package/plugins/gcp-architect-expand/demo/fixtures/ticketing-design.json +21 -0
- package/plugins/gcp-architect-expand/demo/graph-direct-test-world-receipt.json +114 -0
- package/plugins/gcp-architect-expand/demo/scene4-json-bridge-test-receipt.json +119 -0
- package/plugins/gcp-architect-expand/demo/security-defaults.json +6 -0
- package/plugins/gcp-architect-expand/demo/solar-original-retest-receipt.json +182 -0
- package/plugins/gcp-architect-expand/demo/structured-assumption-regression-receipt.json +182 -0
- package/plugins/gcp-architect-expand/graph.yaml +52 -20
- package/plugins/gcp-architect-expand/output-contract.json +31 -0
- package/plugins/gcp-architect-expand/plugin.json +77 -2
- package/plugins/gcp-architect-expand/recipes.yaml +12 -6
- package/plugins/gcp-architect-expand/sim/assets/README.md +12 -0
- package/plugins/gcp-architect-expand/sim/assets/cloud-storage.png +0 -0
- package/plugins/gcp-architect-expand/sim/assets/compute-engine.png +0 -0
- package/plugins/gcp-architect-expand/sim/assets/observability.png +0 -0
- package/plugins/gcp-architect-expand/sim/assets/security-identity.png +0 -0
- package/plugins/gcp-architect-expand/sim/sample-output/architecture-design.html +46 -0
- package/plugins/gcp-architect-expand/sim/sample-output/architecture-design.pdf +0 -0
- package/plugins/gcp-architect-expand/sim/sample-output/architecture.excalidraw +2638 -0
- package/plugins/gcp-architect-expand/sim/sample-output/architecture.png +0 -0
- package/plugins/gcp-architect-expand/sim/sample-output/board-attachments.json +45 -0
- package/plugins/gcp-architect-expand/sim/sample-output/demo-result.json +22 -0
- package/plugins/gcp-architect-expand/sim/sample-output/fake-world.json +46 -0
- package/plugins/gcp-architect-expand/sim/sample-output/icon-provenance.json +14 -0
- package/plugins/gcp-architect-expand/sim/sample-output/proposal.json +97 -0
- package/plugins/gcp-architect-expand/tiered-graph.yaml +39 -0
- package/plugins/graph-instance-view/evidence/pty-resource-screen.txt +31 -0
- package/plugins/graph-instance-view/handlers/http-get.ts +22 -0
- package/plugins/graph-instance-view/handlers/project-ledgers.ts +216 -0
- package/plugins/graph-instance-view/handlers/render-terminal.ts +109 -0
- package/plugins/graph-instance-view/handlers/view-model.ts +49 -0
- package/plugins/graph-instance-view/plugin.yaml +16 -0
- package/plugins/graph-instance-view/skills/read/SKILL.md +6 -0
- package/plugins/invest-arg/recipes/notes-to-pack.yaml +10 -0
- package/plugins/kr-flow-composites/plugin.json +1 -0
- package/plugins/release-win-smoke/graphs/release-win-smoke.yaml +19 -0
- package/plugins/release-win-smoke/plugin.json +46 -0
- package/plugins/release-win-smoke/plugin.yaml +11 -0
- package/plugins/release-win-smoke/sims/release-win-smoke.yaml +9 -0
- package/plugins/release-win-smoke/skills/install/SKILL.md +3 -0
- package/scripts/cycle-fired-judge.ts +8 -7
- package/scripts/gcp-architect-expand/demo/design-result.ts +96 -0
- package/scripts/gcp-architect-expand/demo/export-local-pressure.ts +15 -0
- package/scripts/gcp-architect-expand/demo/pressure-input.ts +37 -0
- package/scripts/gcp-architect-expand/demo/propose.ts +60 -0
- package/scripts/gcp-architect-expand/demo/render-scene5-fallback.py +234 -0
- package/scripts/gcp-architect-expand/demo/run-graph-test-world.ts +141 -0
- package/scripts/gcp-architect-expand/demo/run.py +97 -0
- package/scripts/gcp-architect-expand/demo/tui.py +153 -0
- package/scripts/gcp-architect-expand/sim/build-sample.py +336 -0
- package/scripts/gcp-architect-expand/sim/fake-world.ts +95 -0
- package/scripts/gcp-architect-expand/sim/run-tiered-design.ts +91 -0
- package/scripts/guardian-placement-shadow.ts +23 -0
- package/scripts/heal/run-role.ts +21 -20
- package/scripts/hq/cron-git-credential-audit.ts +200 -0
- package/scripts/hq/hq-runaway-watch.ts +117 -0
- package/scripts/lib/front-route-measurement.ts +1 -4
- package/scripts/llm-cost-ledger.ts +9 -10
- package/scripts/load/members-signup-burst.ts +5 -4
- package/scripts/measure-key-arrival.ts +2 -4
- package/scripts/measure-nl-routing-corpus.ts +1 -1
- package/scripts/next-tui-default-sim.ts +43 -0
- package/scripts/plugin-only-ratchet.ts +39 -14
- package/scripts/release-loop/adaptive-gate-heal-adapter.ts +8 -7
- package/scripts/release-loop/adaptive-gate-heal.ts +13 -7
- package/scripts/release-loop/cloud-elastic-node.ts +454 -0
- package/scripts/release-loop/cloud-lease-deadline.ts +14 -0
- package/scripts/release-loop/cut-branch.ts +6 -0
- package/scripts/release-loop/gate-closure.ts +12 -22
- package/scripts/release-loop/gate-contract-surfaces.json +2 -0
- package/scripts/release-loop/gate-cutover-switch-node.ts +12 -2
- package/scripts/release-loop/gate-file-receipts.ts +10 -2
- package/scripts/release-loop/gate-image-pin.ts +31 -3
- package/scripts/release-loop/gate-node-sim.ts +5 -3
- package/scripts/release-loop/gate-repair-node.ts +24 -0
- package/scripts/release-loop/gate-runtime.ts +62 -14
- package/scripts/release-loop/gate-shard-artifacts.ts +3 -1
- package/scripts/release-loop/gate-shard-dispatch.ts +6 -2
- package/scripts/release-loop/gate-triage-node.ts +1 -0
- package/scripts/release-loop/resume.ts +6 -0
- package/scripts/release-loop/runner-release-node-commands.ts +60 -0
- package/scripts/release-loop/unattended-release.ts +10 -34
- package/scripts/release-loop/version-node.ts +26 -99
- package/scripts/solar-optimize-measure.ts +131 -0
- package/scripts/ux/kcb-phone-rehearsal.ts +90 -0
- package/scripts/ux-sim/openrouter-bare-first-run-no-network.ts +12 -0
- package/scripts/ux-sim/openrouter-bare-first-run-pty.exp +35 -0
- package/scripts/ux-sim/openrouter-first-run-pty.ts +32 -0
- package/skills/diagram-master/references/engines/excalidraw/render_template.html +1 -1
- package/skills/diagram-master/references/uv.lock +11 -8
- package/skills/lecture-note-digitizer/references/convert_to_pdf.py +1 -0
- package/src/agent/autonomous-tools.ts +5 -30
- package/src/agent/self-ambient.ts +2 -2
- package/src/agent-mission/cli-consumer.ts +165 -0
- package/src/agent-substrate/review-cap-policy.ts +78 -0
- package/src/agent-substrate/review-round-design-trigger.ts +89 -0
- package/src/agent-substrate/self-review-cli.ts +158 -43
- package/src/auth/setup-link-tokens.ts +12 -1
- package/src/auto-research/auto-mode/context-keys-bridge.ts +2 -2
- package/src/boot/daemon-prompt-turn.ts +2 -0
- package/src/boot/daemon-tools/index.ts +2 -12
- package/src/boot/daemon-tools/tool-catalog-observability.ts +21 -0
- package/src/cft/andon-context-bridge.ts +2 -2
- package/src/chat/internal-turn-contract.ts +20 -0
- package/src/chat/solar-scene5-context.ts +1 -4
- package/src/cli/agent-cli.ts +3 -1
- package/src/cli/app-cli.ts +24 -2
- package/src/cli/first-run/onboarding-pty-fixture.ts +34 -0
- package/src/cli/first-run/openrouter-key-supply.ts +139 -0
- package/src/cli/first-run/openrouter-picker.ts +19 -0
- package/src/cli/msg-cli.ts +42 -4
- package/src/cli/pr-cli.ts +199 -11
- package/src/cli/release-cli.ts +39 -18
- package/src/cli/release-manual-seat-claim.ts +108 -0
- package/src/cli/resource-ledger-cli.ts +11 -4
- package/src/cli/root-tui-entry.ts +4 -4
- package/src/cli/seat-cli.ts +2 -2
- package/src/cli/self-update.ts +25 -5
- package/src/cli/setup-cli.ts +3 -1
- package/src/cli/setup-keys.ts +68 -5
- package/src/cli/sim-cli.ts +21 -8
- package/src/cli/task-plugin-wizard-host.ts +2 -2
- package/src/context-bus/context-now.ts +28 -15
- package/src/context-bus/long-term-memory.ts +4 -1
- package/src/context-bus/release-tui-status.ts +9 -0
- package/src/conv-substrate/surface-detail.ts +19 -0
- package/src/core-turn/provider-stop-reason.ts +6 -0
- package/src/core-turn/run-core-turn.ts +7 -1
- package/src/core-turn/types.ts +2 -0
- package/src/dashboard/boot-timing.ts +1 -35
- package/src/dashboard/classic-sidetab-mission-job.ts +3 -308
- package/src/dashboard/classic-sidetab-mission-reconcile.ts +3 -212
- package/src/dashboard/classic-sidetab-mission.ts +3 -20
- package/src/dashboard/event-loop-stall-monitor.ts +1 -58
- package/src/dashboard/index.ts +56 -86
- package/src/dashboard/input/chat-main-plain-turn-runtime.ts +15 -0
- package/src/dashboard/input/chat-main-submit-route.ts +0 -17
- package/src/dashboard/input/goal-continue.ts +18 -220
- package/src/dashboard/input/internal-turn.ts +19 -255
- package/src/dashboard/input/turn-typeahead-prompt.ts +7 -31
- package/src/dashboard/mission-cli-consumer.ts +2 -165
- package/src/dashboard/seat-boot-preamble.ts +15 -428
- package/src/dashboard/setup-inline.ts +14 -147
- package/src/dashboard/sidetab-runtime.ts +2 -1
- package/src/dashboard/skill-catalog-preamble.ts +6 -101
- package/src/dashboard/slash-runtime/dashboard-handlers.ts +2 -3
- package/src/dashboard/slash-runtime/registry.ts +1 -160
- package/src/dashboard/term-slash-runtime.ts +1 -277
- package/src/dashboard/terminal/session.ts +7 -35
- package/src/dashboard/tui-400-runtime-adapter.ts +11 -0
- package/src/dashboard/turn-start-segments.ts +16 -222
- package/src/debug/log.ts +20 -4
- package/src/display/dashboard-frame.ts +74 -0
- package/src/display/essential-frame-cursor.ts +26 -0
- package/src/display/events.ts +2 -4
- package/src/esc-abort-gate.ts +1 -13
- package/src/esc-shell-timing.ts +14 -0
- package/src/event-loop-stall-monitor.ts +58 -0
- package/src/exec-requests/planner.ts +10 -6
- package/src/graph-runner/architecture-deliverables.ts +43 -0
- package/src/graph-runner/architecture-output/pdf-body.ts +14 -0
- package/src/graph-runner/architecture-output/run-step.ts +321 -0
- package/src/graph-runner/architecture-output/structured-design.ts +201 -0
- package/src/graph-runner/arg-feedback-consumer.ts +58 -0
- package/src/graph-runner/arg-feedback-lifecycle.ts +312 -0
- package/src/graph-runner/arg-open-proposal.ts +1 -4
- package/src/graph-runner/arg-supervisor.ts +225 -78
- package/src/graph-runner/briefing-requirements/convert.ts +79 -0
- package/src/graph-runner/briefing-requirements/run-step.ts +20 -0
- package/src/graph-runner/capabilities.ts +91 -2
- package/src/graph-runner/capability-providers/architecture-deliverables.ts +51 -0
- package/src/graph-runner/graph-cli.ts +76 -1
- package/src/graph-runner/graph-events.ts +66 -2
- package/src/graph-runner/graph-run-event-ledger.ts +102 -0
- package/src/graph-runner/graph-run-msg-subscriptions.ts +84 -0
- package/src/graph-runner/graph-subscriptions.ts +2 -2
- package/src/graph-runner/in-process-registry.ts +2 -0
- package/src/graph-runner/runner-types.ts +12 -0
- package/src/graph-runner/runner.ts +343 -105
- package/src/graph-runner/scene4-turn-policy.ts +68 -0
- package/src/graph-runner/ticketing-scene4.ts +150 -0
- package/src/graph-v2/input-bindings.ts +81 -0
- package/src/graph-v2/lower.ts +2 -1
- package/src/guardian/placement-shadow.ts +332 -0
- package/src/harness/harness-cli-command.ts +2 -2
- package/src/hq/promote.ts +1 -0
- package/src/index.ts +37 -15
- package/src/input-core/mode-context-bridge.ts +2 -2
- package/src/instance/spawn-elanous.ts +10 -0
- package/src/intelligence-map/budget-context-bridge.ts +2 -2
- package/src/intelligence-map/model-catalog.ts +36 -0
- package/src/intelligence-map/types.ts +1 -0
- package/src/knowledge/notes-to-pack.ts +117 -0
- package/src/knowledge/query.ts +88 -1
- package/src/knowledge/tools/knowledge-query.ts +77 -10
- package/src/llm.ts +99 -20
- package/src/loops/graph-trigger-dispatch.ts +77 -3
- package/src/loops/host-reservation-watch.ts +196 -0
- package/src/loops/loop-scheduler.ts +72 -0
- package/src/loops/loops-table.ts +77 -0
- package/src/loops/msg-address.ts +5 -1
- package/src/loops/msg-wake.ts +8 -2
- package/src/loops/observe.ts +15 -2
- package/src/loops/orchestrator/ready-queue.ts +113 -0
- package/src/loops/orchestrator/tick.ts +31 -4
- package/src/maturity/feature-maturity.ts +2 -2
- package/src/mcp/server.ts +15 -3
- package/src/memory.ts +17 -15
- package/src/model-tier/llm-tier-map.ts +12 -0
- package/src/msg/msg-store.ts +40 -18
- package/src/msg/outbound-guard-world.ts +14 -0
- package/src/mss/logging/record.ts +3 -0
- package/src/native-tool-catalog.ts +15 -32
- package/src/nexus/api/board-api.ts +2 -1
- package/src/nexus/api/graph-run-events.ts +68 -0
- package/src/nexus/api/http-server.ts +34 -2
- package/src/nexus/api/meta-api.ts +2 -0
- package/src/nexus/api/public-routes.ts +8 -0
- package/src/nexus/api/resource-ledger.ts +29 -3
- package/src/nexus/api/setup-child-llm.ts +1 -1
- package/src/nexus/api/setup-credentials.ts +2 -4
- package/src/nexus/api/setup-llm-provider.ts +1 -1
- package/src/nexus/apps/app-api-contract-check.ts +45 -0
- package/src/nexus/apps/app-storage.ts +39 -0
- package/src/nexus/config/secrets/cred-owner.ts +15 -7
- package/src/nexus/index.ts +0 -50
- package/src/nexus/members/kcb-try-deadline.ts +20 -0
- package/src/nexus/members/kcb-try.ts +55 -0
- package/src/nexus/members/member-store.ts +151 -7
- package/src/nexus/members/members-api.ts +69 -5
- package/src/oauth/codex-owner-mirror.ts +49 -16
- package/src/oauth/codex.ts +15 -22
- package/src/onboarding/first-run.ts +64 -7
- package/src/onboarding/non-interactive.ts +1 -0
- package/src/onboarding/openrouter-model-picker.ts +78 -0
- package/src/onboarding.ts +66 -23
- package/src/plan-mode/context-bridge.ts +2 -2
- package/src/plugins/core/declared-handler.ts +38 -0
- package/src/plugins/core/feature-entitlements.ts +24 -0
- package/src/plugins/core/host.ts +51 -3
- package/src/plugins/core/manifest.ts +38 -2
- package/src/plugins/core/plugin-yaml.ts +2 -1
- package/src/plugins/install/plugin-install.ts +340 -13
- package/src/prompt-library/providers/solar.ts +17 -0
- package/src/prompt-library/registry.ts +3 -1
- package/src/provenance/provenance.ts +111 -0
- package/src/pwa/touch-input-mapper.ts +1 -1
- package/src/release-loop/checklist.ts +42 -3
- package/src/release-loop/cloud-elastic.ts +179 -0
- package/src/release-loop/gate-shards.ts +11 -2
- package/src/release-loop/macrophage-safe-cleanup.ts +12 -2
- package/src/release-loop/outbound-guard-world.ts +16 -0
- package/src/release-loop/rehearsal.ts +4 -2
- package/src/release-loop/release-schedule.ts +28 -0
- package/src/repl/index.ts +39 -10
- package/src/resource-ledger/host-readiness.ts +82 -5
- package/src/resource-ledger/resource-ledger.ts +143 -3
- package/src/seat/seat-boot-preamble.ts +428 -0
- package/src/seat-loop/seat-loop.ts +9 -4
- package/src/selector.ts +1 -1
- package/src/self-dev/entrance-registry.ts +1 -2
- package/src/self-dev/shard-run.ts +4 -3
- package/src/self-implement/gate-remote.ts +7 -6
- package/src/self-implement/goal-author.ts +4 -6
- package/src/self-implement/graph-yaml.ts +23 -2
- package/src/session/chat.ts +13 -21
- package/src/session/index.ts +6 -0
- package/src/session-runtime/tier-flip.ts +7 -0
- package/src/setup/provider-options.ts +150 -0
- package/src/shell-runner/terminal-host-facade.ts +1 -1
- package/src/sidetab-core/classic-sidetab-mission-job.ts +308 -0
- package/src/sidetab-core/classic-sidetab-mission-reconcile.ts +212 -0
- package/src/sidetab-core/classic-sidetab-mission-result.ts +20 -0
- package/src/sidetab-core/mission-cli-consumer.ts +2 -0
- package/src/sidetab-core/model.ts +3 -0
- package/src/sidetab-core/workspace-input.ts +135 -0
- package/src/sim-world-device-catalog-history.json +601 -0
- package/src/skills/runner.ts +4 -5
- package/src/skills/skill-catalog-preamble.ts +101 -0
- package/src/skills/tools/acp-session.ts +3 -3
- package/src/skills/tools/agent.ts +34 -12
- package/src/skills/tools/dashboard-state.ts +1 -1
- package/src/skills/tools/dev-harness.ts +1 -1
- package/src/skills/tools/msg-inbox.ts +43 -0
- package/src/skills/tools/schedule-wakeup.ts +8 -2
- package/src/skills/tools/terminal-modal-inject.ts +1 -1
- package/src/skills/tools/terminal-modal.ts +1 -1
- package/src/skills/url-router.ts +19 -2
- package/src/slash/registry.ts +160 -0
- package/src/steward/triage.ts +5 -1
- package/src/supervision/incident-claim.ts +253 -0
- package/src/supervision/silence-watch.ts +221 -0
- package/src/surface/terminal-surface-intent.ts +125 -0
- package/src/telegram-commands.ts +0 -58
- package/src/telegram.ts +0 -39
- package/src/term-slash-runtime.ts +277 -0
- package/src/terminal/coding-agent.ts +1 -0
- package/src/terminal/session-access.ts +31 -0
- package/src/terminal/session-registry.ts +1 -1
- package/src/terminal/tty-required.ts +16 -0
- package/src/tool-hints/gate.ts +1 -0
- package/src/tool-hints/signals.ts +7 -0
- package/src/tool-hints/types.ts +1 -1
- package/src/tool-runtime/dashboard-state-runtime.ts +1 -1
- package/src/tool-runtime/dashboard-state-snapshot.ts +196 -0
- package/src/tool-runtime/index.ts +0 -2
- package/src/tool-runtime/ops-ledger-runtimes.ts +35 -3
- package/src/tool-runtime/types.ts +2 -0
- package/src/tui/boot-timing.ts +35 -0
- package/src/tui/branches/now.ts +50 -9
- package/src/tui/branches/remaining.ts +49 -0
- package/src/tui/branches/sidetab/route.ts +23 -2
- package/src/tui/chat/error-card.ts +10 -0
- package/src/tui/chat/log-view.ts +11 -1
- package/src/tui/chat/status-line.ts +133 -0
- package/src/tui/chat/status-model.ts +16 -0
- package/src/tui/core/agents.ts +33 -5
- package/src/tui/core/entry-render.ts +46 -0
- package/src/tui/core/registry.ts +13 -2
- package/src/tui/core/render.ts +2 -1
- package/src/tui/entry.ts +182 -68
- package/src/tui/input/goal-continue.ts +220 -0
- package/src/tui/input/internal-turn.ts +230 -0
- package/src/tui/input-lag-probe.ts +1 -1
- package/src/tui/persistent-user-memory.ts +11 -4
- package/src/tui/sidetab/attach.ts +28 -5
- package/src/tui/turn-start-segments.ts +222 -0
- package/src/tui-client/fast-repl-child.ts +36 -0
- package/src/tui-client/local-chat-turn.ts +14 -2
- package/src/tui-client/next-dashboard-runtime.ts +3 -3
- package/src/tui-client/next-loop-command.ts +2 -2
- package/src/tui-client/next-wakeup.ts +1 -1
- package/src/tui-client/sidetab-agent-pty.ts +50 -0
- package/src/user-config/read.ts +3 -1
- package/src/user-config/sparse-config.ts +2 -4
- package/src/user-config/write.ts +2 -0
- package/src/user-config.ts +28 -25
- package/src/ux-sim/absorb-v2-runGraph-sim.ts +131 -38
- package/src/ux-sim/architecture-deliverables/run-step.ts +156 -0
- package/src/ux-sim/classic-tui-seat-scenarios.ts +3 -3
- package/src/ux-sim/dashboard-event-loop-stall-monitor-device.ts +1 -1
- package/src/ux-sim/delete-impact-sim.ts +205 -0
- package/src/ux-sim/fake-bin.ts +26 -6
- package/src/ux-sim/fake-cloud-vm.ts +72 -0
- package/src/ux-sim/fake-llm.ts +69 -5
- package/src/ux-sim/fake-member-oidc-world.ts +2 -0
- package/src/ux-sim/fault-pod-codex-503.ts +16 -3
- package/src/ux-sim/fault-tui-400-autoheal.ts +24 -15
- package/src/ux-sim/fixtures/kaist-classic-pty-receipt.json +260 -0
- package/src/ux-sim/fixtures/kcb-ticket-classic-pty-receipt.json +270 -0
- package/src/ux-sim/fixtures/kcb-ticket-requirements-mapping.json +60 -0
- package/src/ux-sim/gcp-architect-expand/architecture-input.ts +45 -0
- package/src/ux-sim/gcp-architect-expand/consumer.ts +18 -0
- package/src/ux-sim/gcp-architect-expand/detect-step.ts +16 -0
- package/src/ux-sim/gcp-architect-expand/local-signals.ts +41 -0
- package/src/ux-sim/gcp-architect-expand/output-contract.ts +100 -0
- package/src/ux-sim/gcp-architect-expand/scene5-fake-provider.ts +191 -0
- package/src/ux-sim/gcp-architect-expand/shared-deliverables.ts +39 -0
- package/src/ux-sim/gcp-architect-expand/tiered-design.ts +211 -0
- package/src/ux-sim/gcp-architect-expand/unimplemented.ts +6 -0
- package/src/ux-sim/gcp-architect-expand/verify-step.ts +8 -0
- package/src/ux-sim/goal-interim-trace.ts +2 -2
- package/src/ux-sim/graph-event-entry-world.ts +28 -20
- package/src/ux-sim/graph-trigger-hook-device.ts +1 -1
- package/src/ux-sim/headless-tui.ts +1 -1
- package/src/ux-sim/kaist-app-qr-sim.ts +53 -0
- package/src/ux-sim/kaist-classic-pwa-browser-replay.ts +568 -0
- package/src/ux-sim/kaist-classic-pwa-replay-world.ts +244 -0
- package/src/ux-sim/kcb-phone-rehearsal.ts +38 -0
- package/src/ux-sim/knowledge-pack-auto-select.ts +144 -0
- package/src/ux-sim/next-tui-seat-scenarios.ts +167 -99
- package/src/ux-sim/onboarding-first-run-device.ts +1 -1
- package/src/ux-sim/outbound-guard-sim.ts +43 -10
- package/src/ux-sim/pty-key-modifiers-device.ts +6 -4
- package/src/ux-sim/release-day-0307-replay.ts +140 -43
- package/src/ux-sim/rla-context-release-status-arrival-event.ts +2 -5
- package/src/ux-sim/scenario-target.ts +143 -0
- package/src/ux-sim/self-edge-byoc-sim.ts +216 -0
- package/src/ux-sim/ta-land-count-dispatcher-sim.ts +5 -5
- package/src/ux-sim/term-slash-device.ts +2 -2
- package/src/ux-sim/tui-400-runtime-contract.ts +8 -0
- package/src/ux-sim/world-regression-suite.ts +2 -0
- package/src/version/packed-revision.json +1 -1
- package/src/voice/intent-router/voice-to-surface-intent.ts +1 -1
- package/src/workflow-runtime/daemon.ts +4 -0
- package/src/workflow-runtime/nodes/bash.ts +6 -1
|
@@ -0,0 +1,1386 @@
|
|
|
1
|
+
/** CV-3 Showroom MVP — pure runtime helpers (logic isolated · testable).
|
|
2
|
+
* ([RFC v4](../../../../../내부 문서 `PLAN-cv-3-showroom-mvp-2026-05-07`)).
|
|
3
|
+
*
|
|
4
|
+
* D10: broadcast = client-side N call dispatcher (각 panel 의 자기
|
|
5
|
+
* sessionId 으로 동시 `runChatTurnAcp` Promise.all). 진짜
|
|
6
|
+
* multi-LLM broadcast (M-A) 직접 구현. daemon 측 multi-LLM
|
|
7
|
+
* dispatch 미지원으로 인한 client-side 패턴.
|
|
8
|
+
* D11: live panel 만 dispatch · mute/freeze 는 skip.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import type { PromptUserContentBlock } from '../daemon-client';
|
|
12
|
+
import type {
|
|
13
|
+
ChainEdge,
|
|
14
|
+
ClipboardContext,
|
|
15
|
+
ShowroomAudioContext,
|
|
16
|
+
ShowroomVideoContext,
|
|
17
|
+
PriorAnswer,
|
|
18
|
+
ShowroomAgentBrand,
|
|
19
|
+
ShowroomPanel,
|
|
20
|
+
ShowroomRoleHint,
|
|
21
|
+
TerminalContext,
|
|
22
|
+
ToolCallState,
|
|
23
|
+
UrlContext,
|
|
24
|
+
} from './types';
|
|
25
|
+
|
|
26
|
+
/** P3 — dispatch options. `userContent` 는 PWA chat 의 multi-part user
|
|
27
|
+
* message 패턴 (image/file attachment ContentBlock[]). agent 측에서는
|
|
28
|
+
* 이 block 이 LLM input 의 multimodal slot 으로 들어감. PromptUserContentBlock
|
|
29
|
+
* 은 daemon-client 의 type 그대로 forward. */
|
|
30
|
+
export interface PanelDispatchOptions {
|
|
31
|
+
userContent?: PromptUserContentBlock[];
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** Panel 의 broadcast handler — 부모 ShowroomLayout 이 input 받아
|
|
35
|
+
* invoke. dispatch 의 결과는 panel 자체 state (messages array) 로
|
|
36
|
+
* 반영되며 promise 는 turn 종료까지 resolve 하지 않음. */
|
|
37
|
+
export type PanelDispatcher = (
|
|
38
|
+
userText: string,
|
|
39
|
+
opts?: PanelDispatchOptions,
|
|
40
|
+
) => Promise<void>;
|
|
41
|
+
|
|
42
|
+
/** Broadcast 의 핵심 — live panel 의 dispatcher 만 동시 invoke.
|
|
43
|
+
*
|
|
44
|
+
* - mute / freeze panel 은 skip (D11)
|
|
45
|
+
* - dispatcher 가 등록 안 된 panel (handshake 진행중 등) 은 skip
|
|
46
|
+
* - Promise.allSettled 로 한 panel 의 실패가 다른 panel 을 막지 않음
|
|
47
|
+
*
|
|
48
|
+
* return 은 settled result array — caller 가 logging 또는 toast 용도. */
|
|
49
|
+
export async function broadcastToPanels(
|
|
50
|
+
panels: readonly ShowroomPanel[],
|
|
51
|
+
dispatchers: ReadonlyMap<string, PanelDispatcher>,
|
|
52
|
+
userText: string,
|
|
53
|
+
opts?: PanelDispatchOptions,
|
|
54
|
+
): Promise<readonly PromiseSettledResult<void>[]> {
|
|
55
|
+
const targets = panels
|
|
56
|
+
.filter((p) => p.state === 'live')
|
|
57
|
+
.map((p) => dispatchers.get(p.id))
|
|
58
|
+
.filter((d): d is PanelDispatcher => typeof d === 'function');
|
|
59
|
+
if (targets.length === 0) return [];
|
|
60
|
+
return Promise.allSettled(targets.map((d) => d(userText, opts)));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** Targeted dispatch — `@name` mention 으로 1 panel 만 invoke (P2).
|
|
64
|
+
* P1 에서는 내부 helper 로만 노출 (UI mention picker 는 P2). */
|
|
65
|
+
export async function dispatchToPanel(
|
|
66
|
+
panelId: string,
|
|
67
|
+
dispatchers: ReadonlyMap<string, PanelDispatcher>,
|
|
68
|
+
userText: string,
|
|
69
|
+
opts?: PanelDispatchOptions,
|
|
70
|
+
): Promise<PromiseSettledResult<void> | null> {
|
|
71
|
+
const dispatcher = dispatchers.get(panelId);
|
|
72
|
+
if (!dispatcher) return null;
|
|
73
|
+
const settled = await Promise.allSettled([dispatcher(userText, opts)]);
|
|
74
|
+
return settled[0] ?? null;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** D12 helper — provider + numeric 자동 generation. 같은 provider 가
|
|
78
|
+
* N>1 일 때만 numeric suffix.
|
|
79
|
+
*
|
|
80
|
+
* P5 D3 — agent kind 의 displayName = `${brand}-cli` (chat 의 brand
|
|
81
|
+
* 과 disambiguation). collision counting 은 kind+brand 조합으로
|
|
82
|
+
* 계산되어 chat 'codex' 와 agent 'codex-cli' 가 namespace 분리. */
|
|
83
|
+
export function panelDisplayName(panel: ShowroomPanel, allPanels: readonly ShowroomPanel[]): string {
|
|
84
|
+
const base = panelDisplayBase(panel);
|
|
85
|
+
const sameKey = allPanels.filter((p) => panelDisplayBase(p) === base);
|
|
86
|
+
if (sameKey.length <= 1) return base;
|
|
87
|
+
const idx = sameKey.findIndex((p) => p.id === panel.id);
|
|
88
|
+
return `${base}-${idx + 1}`;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** P5 — display name base (kind + brand/provider). agent kind 는
|
|
92
|
+
* `${brand}-cli` · chat 은 `provider || 'default'`. */
|
|
93
|
+
function panelDisplayBase(panel: ShowroomPanel): string {
|
|
94
|
+
if (panel.kind === 'agent' && panel.agentBrand) {
|
|
95
|
+
return `${panel.agentBrand}-cli`;
|
|
96
|
+
}
|
|
97
|
+
return panel.provider || 'default';
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
let _idCounter = 0;
|
|
101
|
+
function nextCounter(): string {
|
|
102
|
+
_idCounter = (_idCounter + 1) % 4096;
|
|
103
|
+
return _idCounter.toString(36).padStart(2, '0');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function newPanelId(): string {
|
|
107
|
+
return `p-${Date.now().toString(36)}-${nextCounter()}`;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function newShowroomId(): string {
|
|
111
|
+
return `sr-${Date.now().toString(36)}-${nextCounter()}`;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/** Showroom offline fallback provider pool.
|
|
115
|
+
*
|
|
116
|
+
* RFC #2161 Phase 3 (2026-05-11) — the authoritative provider list
|
|
117
|
+
* now comes from `useResolvedView()` (registry catalog). This array
|
|
118
|
+
* stays as the offline / pre-fetch fallback so the dropdown is never
|
|
119
|
+
* empty during initial paint or when the daemon is unreachable.
|
|
120
|
+
* Phase 8 cleanup will retire this constant once every consumer
|
|
121
|
+
* threads through the hook (or the daemon ships its own bootstrap
|
|
122
|
+
* payload). */
|
|
123
|
+
export const SHOWROOM_PROVIDERS: readonly string[] = ['', 'claude', 'gemini', 'grok', 'codex'];
|
|
124
|
+
|
|
125
|
+
/** P5 — agent CLI brand 풀 (D1 P5 RFC). */
|
|
126
|
+
export const SHOWROOM_AGENT_BRANDS: readonly ShowroomAgentBrand[] = [
|
|
127
|
+
'codex',
|
|
128
|
+
'claude',
|
|
129
|
+
'gemini',
|
|
130
|
+
];
|
|
131
|
+
|
|
132
|
+
/** P5 — agent brand → provider mapping (D2 P5 RFC · provider lock).
|
|
133
|
+
* 현재 P5 PR 에서는 brand === provider (동일 LLM API path 사용 ·
|
|
134
|
+
* P5.x 에서 sub-process spawn 으로 evolve). */
|
|
135
|
+
export function agentBrandToProvider(brand: ShowroomAgentBrand): string {
|
|
136
|
+
return brand;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** P5.x — agent brand → daemon ACP backend id (real CLI sub-process
|
|
140
|
+
* spawn · #1959). Mirrors `nexus/chat/backend-mapping.ts` canonical
|
|
141
|
+
* mapping (NEXUS chat label → AcpBackendId). codex CLI uses the
|
|
142
|
+
* app-server transport · claude/gemini use plain ACP stdio. */
|
|
143
|
+
export function agentBrandToBackend(
|
|
144
|
+
brand: ShowroomAgentBrand,
|
|
145
|
+
): 'codex-app-server' | 'claude' | 'gemini' {
|
|
146
|
+
switch (brand) {
|
|
147
|
+
case 'codex':
|
|
148
|
+
return 'codex-app-server';
|
|
149
|
+
case 'claude':
|
|
150
|
+
return 'claude';
|
|
151
|
+
case 'gemini':
|
|
152
|
+
return 'gemini';
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/** P1 default — 2 panel · 둘다 daemon default provider · live. 사용자가
|
|
157
|
+
* add panel + provider 변경하여 multi-LLM 비교 시작. */
|
|
158
|
+
export function createDefaultPanels(): ShowroomPanel[] {
|
|
159
|
+
return [
|
|
160
|
+
{ id: newPanelId(), kind: 'chat', provider: '', sessionId: null, state: 'live' },
|
|
161
|
+
{ id: newPanelId(), kind: 'chat', provider: '', sessionId: null, state: 'live' },
|
|
162
|
+
];
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/** P5 — agent panel factory. brand 가 provider lock + kind 가 agent.
|
|
166
|
+
* immutable kind/brand (D6 P5 RFC) — 한번 만들어진 agent panel 의
|
|
167
|
+
* brand 변경 불가 (close + new 만 가능). */
|
|
168
|
+
export function newAgentPanel(brand: ShowroomAgentBrand): ShowroomPanel {
|
|
169
|
+
return {
|
|
170
|
+
id: newPanelId(),
|
|
171
|
+
kind: 'agent',
|
|
172
|
+
provider: agentBrandToProvider(brand),
|
|
173
|
+
agentBrand: brand,
|
|
174
|
+
sessionId: null,
|
|
175
|
+
state: 'live',
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** P5 — chat panel factory (Add Chat UI 용). createDefaultPanels 가
|
|
180
|
+
* inline 으로 만들던 것을 헬퍼로 추출 — P5 의 Add Chat 분리 후 재사용. */
|
|
181
|
+
export function newChatPanel(provider: string = ''): ShowroomPanel {
|
|
182
|
+
return {
|
|
183
|
+
id: newPanelId(),
|
|
184
|
+
kind: 'chat',
|
|
185
|
+
provider,
|
|
186
|
+
sessionId: null,
|
|
187
|
+
state: 'live',
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/** P2 — mention parser. input text 에서 `@displayName` 토큰 추출 +
|
|
192
|
+
* 매칭되는 panel 목록 + remainder text. broadcast vs targeted 결정에
|
|
193
|
+
* 사용.
|
|
194
|
+
*
|
|
195
|
+
* - mention 매치 안 되면 broadcast (모든 live panel · D11)
|
|
196
|
+
* - 1 개 이상 매치 → targeted (해당 panel 들만 · live 상태 무관)
|
|
197
|
+
* - `@all` 은 explicit broadcast (mute/freeze 무시 · live 만)
|
|
198
|
+
* - 동일 displayName 의 mention 중복 시 unique panel 만
|
|
199
|
+
*
|
|
200
|
+
* mention regex: `@` 뒤에 영숫자/dash · word boundary 까지. `@codex-2`
|
|
201
|
+
* `@chat-1` 같이 D12 의 numeric suffix 도 매치.
|
|
202
|
+
*/
|
|
203
|
+
const MENTION_RE = /@([a-zA-Z][a-zA-Z0-9-]{0,31})/g;
|
|
204
|
+
|
|
205
|
+
export interface MentionParseResult {
|
|
206
|
+
/** `@name` 매치된 panel 목록 (unique · 등장 순서 보존). */
|
|
207
|
+
targets: ShowroomPanel[];
|
|
208
|
+
/** `@all` 명시 여부 (broadcast 등가). */
|
|
209
|
+
broadcastAll: boolean;
|
|
210
|
+
/** 입력 text 에서 매치된 mention 토큰 그대로 (display 용). */
|
|
211
|
+
mentions: readonly string[];
|
|
212
|
+
/** mention 매치 실패 (panel 에 없는 이름). 잘못된 mention 은
|
|
213
|
+
* silent 하게 무시하지만, UI 가 hint 로 surface 가능. */
|
|
214
|
+
unknown: readonly string[];
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export function parseMentions(
|
|
218
|
+
text: string,
|
|
219
|
+
panels: readonly ShowroomPanel[],
|
|
220
|
+
): MentionParseResult {
|
|
221
|
+
const targets: ShowroomPanel[] = [];
|
|
222
|
+
const seen = new Set<string>();
|
|
223
|
+
const mentions: string[] = [];
|
|
224
|
+
const unknown: string[] = [];
|
|
225
|
+
let broadcastAll = false;
|
|
226
|
+
for (const match of text.matchAll(MENTION_RE)) {
|
|
227
|
+
const token = match[1];
|
|
228
|
+
if (!token) continue;
|
|
229
|
+
const lower = token.toLowerCase();
|
|
230
|
+
if (lower === 'all') {
|
|
231
|
+
broadcastAll = true;
|
|
232
|
+
mentions.push('@all');
|
|
233
|
+
continue;
|
|
234
|
+
}
|
|
235
|
+
// panel match — case-insensitive · displayName 또는 raw provider
|
|
236
|
+
const matchedPanel = panels.find((p) => {
|
|
237
|
+
const dn = panelDisplayName(p, panels).toLowerCase();
|
|
238
|
+
return dn === lower;
|
|
239
|
+
});
|
|
240
|
+
if (matchedPanel) {
|
|
241
|
+
if (!seen.has(matchedPanel.id)) {
|
|
242
|
+
seen.add(matchedPanel.id);
|
|
243
|
+
targets.push(matchedPanel);
|
|
244
|
+
}
|
|
245
|
+
mentions.push(`@${token}`);
|
|
246
|
+
} else {
|
|
247
|
+
unknown.push(token);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
return { targets, broadcastAll, mentions, unknown };
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/** P2 — dispatch decision. mention 있으면 targeted (active state 무관) ·
|
|
254
|
+
* 없으면 broadcast (live panel only · D11). `@all` 은 explicit
|
|
255
|
+
* broadcast 도 같은 path.
|
|
256
|
+
*
|
|
257
|
+
* §6.1 (auto-route field) — mode 'targeted' 가 mention 0 + role
|
|
258
|
+
* classifier hit 으로 auto 설정된 경우 surface. UI 가 indicator 로
|
|
259
|
+
* 사용자에게 보여줄 수 있게 routedBy 명시. */
|
|
260
|
+
export interface DispatchPlan {
|
|
261
|
+
/** dispatch 받을 panel 목록 (필터 적용 후). */
|
|
262
|
+
targets: ShowroomPanel[];
|
|
263
|
+
/** broadcast (모든 live panel) vs targeted (mention 매치만). */
|
|
264
|
+
mode: 'broadcast' | 'targeted';
|
|
265
|
+
/** §6.1 — targeted 의 결정 근거. 'mention' = 사용자 @ · 'role-classify'
|
|
266
|
+
* = mention 0 + classifyPromptRole hit + matching panel · undefined
|
|
267
|
+
* = broadcast. mention 이 항상 우선 (사용자 명시 override). */
|
|
268
|
+
routedBy?: 'mention' | 'role-classify';
|
|
269
|
+
/** §6.1 — role-classify 시 적중한 role. surface 용 (UI hint). */
|
|
270
|
+
classifiedRole?: ShowroomRoleHint;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export interface PlanDispatchOpts {
|
|
274
|
+
/** R6 Task 5 · §6.1 LLM-judge — caller (typically the async
|
|
275
|
+
* augment in `planDispatchWithLlmJudge`) supplies a role hint to
|
|
276
|
+
* bypass the synchronous `classifyPromptRole` keyword pass. The
|
|
277
|
+
* hint is honoured only when no `@mention` is present. */
|
|
278
|
+
roleHint?: ShowroomRoleHint;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export function planDispatch(
|
|
282
|
+
text: string,
|
|
283
|
+
panels: readonly ShowroomPanel[],
|
|
284
|
+
opts: PlanDispatchOpts = {},
|
|
285
|
+
): DispatchPlan {
|
|
286
|
+
const { targets: mentioned, broadcastAll } = parseMentions(text, panels);
|
|
287
|
+
if (broadcastAll) {
|
|
288
|
+
// explicit @all → broadcast (mention list 무관).
|
|
289
|
+
return {
|
|
290
|
+
targets: panels.filter((p) => p.state === 'live'),
|
|
291
|
+
mode: 'broadcast',
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
if (mentioned.length > 0) {
|
|
295
|
+
return { targets: mentioned, mode: 'targeted', routedBy: 'mention' };
|
|
296
|
+
}
|
|
297
|
+
// §6.1 — mention 없으면 role classifier 시도. matching panel 1 개 일
|
|
298
|
+
// 때만 auto-target (다수 매치 시 broadcast 가 자연스러움 · race
|
|
299
|
+
// 회피). live · mute 무관 (targeted 는 state 무관 dispatch).
|
|
300
|
+
const role = opts.roleHint ?? classifyPromptRole(text);
|
|
301
|
+
if (role) {
|
|
302
|
+
const matched = panels.filter((p) => p.roleHint === role);
|
|
303
|
+
if (matched.length === 1) {
|
|
304
|
+
return {
|
|
305
|
+
targets: matched,
|
|
306
|
+
mode: 'targeted',
|
|
307
|
+
routedBy: 'role-classify',
|
|
308
|
+
classifiedRole: role,
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
return {
|
|
313
|
+
targets: panels.filter((p) => p.state === 'live'),
|
|
314
|
+
mode: 'broadcast',
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/** §6.1 — role 별 keyword 사전 (Korean + English).
|
|
319
|
+
*
|
|
320
|
+
* matching 방식:
|
|
321
|
+
* - 한국어 keyword (CJK 포함) → substring (word boundary 불필요).
|
|
322
|
+
* - 영문 keyword → word boundary regex (case-insensitive). "spec" 이
|
|
323
|
+
* "retrospective" 안에서 부분 매치하지 않게 방지.
|
|
324
|
+
*
|
|
325
|
+
* ROLE_PRIORITY 는 ambiguity resolve 의 tie-breaker. review · reflect
|
|
326
|
+
* · plan 같은 "meta-task" verb 는 broad 한 exec keyword (code/write/
|
|
327
|
+
* build) 보다 우선 — "Review the code" 는 review 의도가 명확. plan 은
|
|
328
|
+
* exec 보다 우선 — "구현 계획 짜줘" 는 계획 의도. */
|
|
329
|
+
const ROLE_PRIORITY: readonly ShowroomRoleHint[] = [
|
|
330
|
+
'review', 'reflect', 'plan', 'exec',
|
|
331
|
+
];
|
|
332
|
+
|
|
333
|
+
const ROLE_KEYWORDS: Record<ShowroomRoleHint, readonly string[]> = {
|
|
334
|
+
plan: [
|
|
335
|
+
'계획', '기획', '설계', '구상', '아키텍처', '디자인',
|
|
336
|
+
'plan', 'design', 'architect', 'spec', 'roadmap',
|
|
337
|
+
],
|
|
338
|
+
exec: [
|
|
339
|
+
'구현', '코드', '작성', '만들어', '수정', '구축', '코딩',
|
|
340
|
+
'implement', 'code', 'write', 'build', 'create', 'fix',
|
|
341
|
+
],
|
|
342
|
+
review: [
|
|
343
|
+
'리뷰', '검토', '평가', '점검', '검사', '비판',
|
|
344
|
+
'review', 'critique', 'evaluate', 'check', 'audit',
|
|
345
|
+
],
|
|
346
|
+
reflect: [
|
|
347
|
+
'회고', '반성', '돌아보', '성찰', '교훈', '되짚',
|
|
348
|
+
'reflect', 'retrospective', 'lesson', 'postmortem',
|
|
349
|
+
],
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
/** §6.1 — Korean (CJK) detector. */
|
|
353
|
+
const CJK_RE = /[ㄱ-ㆎ가-힣]/;
|
|
354
|
+
|
|
355
|
+
/** §6.1 — keyword regex cache (English only · word boundary case-i). */
|
|
356
|
+
const KEYWORD_RE_CACHE = new Map<string, RegExp>();
|
|
357
|
+
|
|
358
|
+
function keywordMatches(text: string, lower: string, keyword: string): boolean {
|
|
359
|
+
if (CJK_RE.test(keyword)) {
|
|
360
|
+
// Korean: substring on raw text (Korean has no case folding).
|
|
361
|
+
return text.includes(keyword);
|
|
362
|
+
}
|
|
363
|
+
let re = KEYWORD_RE_CACHE.get(keyword);
|
|
364
|
+
if (!re) {
|
|
365
|
+
re = new RegExp(`\\b${keyword.toLowerCase()}\\b`);
|
|
366
|
+
KEYWORD_RE_CACHE.set(keyword, re);
|
|
367
|
+
}
|
|
368
|
+
return re.test(lower);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/** §6.1 — classify prompt → role hint. keyword sufficient signal · LLM
|
|
372
|
+
* 필요 없는 가벼운 heuristic. 우선순위 ROLE_PRIORITY 로 ambiguity
|
|
373
|
+
* resolve. 매치 없으면 null (호출자가 broadcast fallback).
|
|
374
|
+
*
|
|
375
|
+
* - 한국어 keyword: substring · case 없음 (Korean has no fold).
|
|
376
|
+
* - 영문 keyword: word boundary case-insensitive — "spec" 이
|
|
377
|
+
* "retrospective" 부분 매치 안 됨 · "Implementing" 은 \bimplement\b
|
|
378
|
+
* 로는 매치 안 됨 (root form 만 노린 의도).
|
|
379
|
+
*
|
|
380
|
+
* 주의: 매우 단순 heuristic — 정확도 향상은 P2+ 에서 LLM judge 또는
|
|
381
|
+
* fine-tuned classifier 로 evolve 가능. */
|
|
382
|
+
export function classifyPromptRole(text: string): ShowroomRoleHint | null {
|
|
383
|
+
const lower = text.toLowerCase();
|
|
384
|
+
for (const role of ROLE_PRIORITY) {
|
|
385
|
+
const keywords = ROLE_KEYWORDS[role];
|
|
386
|
+
if (keywords.some((k) => keywordMatches(text, lower, k))) {
|
|
387
|
+
return role;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
return null;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/** §6.1 — exposed for tests. */
|
|
394
|
+
export function roleKeywordsFor(role: ShowroomRoleHint): readonly string[] {
|
|
395
|
+
return ROLE_KEYWORDS[role];
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/** R6 FU.5 (2026-05-09) — localStorage helpers for the PWA backend
|
|
399
|
+
* toggle. Storage keys mirror the daemon env shape:
|
|
400
|
+
* elanous.showroom.roleJudgeBackend = 'keyword' | 'local-llm'
|
|
401
|
+
* elanous.showroom.roleJudgeModel = '<model id>' (optional)
|
|
402
|
+
* Defaults to 'keyword' (opt-in safe). */
|
|
403
|
+
export type ShowroomRoleJudgeBackend = 'keyword' | 'local-llm';
|
|
404
|
+
|
|
405
|
+
const ROLE_JUDGE_BACKEND_KEY = 'elanous.showroom.roleJudgeBackend';
|
|
406
|
+
const ROLE_JUDGE_MODEL_KEY = 'elanous.showroom.roleJudgeModel';
|
|
407
|
+
|
|
408
|
+
export function readRoleJudgeBackendFromStorage(): ShowroomRoleJudgeBackend {
|
|
409
|
+
if (typeof window === 'undefined') return 'keyword';
|
|
410
|
+
try {
|
|
411
|
+
const v = window.localStorage.getItem(ROLE_JUDGE_BACKEND_KEY);
|
|
412
|
+
return v === 'local-llm' ? 'local-llm' : 'keyword';
|
|
413
|
+
} catch { return 'keyword'; }
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export function writeRoleJudgeBackendToStorage(value: ShowroomRoleJudgeBackend): void {
|
|
417
|
+
if (typeof window === 'undefined') return;
|
|
418
|
+
try { window.localStorage.setItem(ROLE_JUDGE_BACKEND_KEY, value); }
|
|
419
|
+
catch { /* swallow */ }
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export function readRoleJudgeModelFromStorage(): string {
|
|
423
|
+
if (typeof window === 'undefined') return '';
|
|
424
|
+
try { return window.localStorage.getItem(ROLE_JUDGE_MODEL_KEY) ?? ''; }
|
|
425
|
+
catch { return ''; }
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export function writeRoleJudgeModelToStorage(value: string): void {
|
|
429
|
+
if (typeof window === 'undefined') return;
|
|
430
|
+
try {
|
|
431
|
+
if (value && value.length > 0) window.localStorage.setItem(ROLE_JUDGE_MODEL_KEY, value);
|
|
432
|
+
else window.localStorage.removeItem(ROLE_JUDGE_MODEL_KEY);
|
|
433
|
+
} catch { /* swallow */ }
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/** R6 Task 5 · §6.1 — async LLM-judge augment for `planDispatch`.
|
|
437
|
+
*
|
|
438
|
+
* Composes:
|
|
439
|
+
* 1. The synchronous `planDispatch` (mention parse + keyword classify).
|
|
440
|
+
* 2. If the keyword classifier produced no role AND the layout
|
|
441
|
+
* enabled the LLM-judge backend, call the daemon's
|
|
442
|
+
* `/v1/showroom/role-judge` endpoint (hybrid composer wraps the
|
|
443
|
+
* keyword + local-llm tiers).
|
|
444
|
+
*
|
|
445
|
+
* The synchronous result is returned immediately when it already
|
|
446
|
+
* has a non-null role — we never overwrite a confident keyword
|
|
447
|
+
* match. A null role + judge enabled triggers the network call;
|
|
448
|
+
* the response is bounded by the daemon's own 200ms timeout, so
|
|
449
|
+
* callers that await this still feel snappy.
|
|
450
|
+
*
|
|
451
|
+
* When the judge endpoint is unavailable / times out, the function
|
|
452
|
+
* returns the raw keyword-tier `planDispatch` answer (broadcast
|
|
453
|
+
* fallback intact). */
|
|
454
|
+
export async function planDispatchWithLlmJudge(
|
|
455
|
+
text: string,
|
|
456
|
+
panels: readonly ShowroomPanel[],
|
|
457
|
+
judge: ((prompt: string) => Promise<{
|
|
458
|
+
role: ShowroomRoleHint | null;
|
|
459
|
+
source: 'keyword' | 'local-llm' | 'fallback';
|
|
460
|
+
}>) | null,
|
|
461
|
+
): Promise<DispatchPlan> {
|
|
462
|
+
const sync = planDispatch(text, panels);
|
|
463
|
+
// Mention paths + keyword-classified paths short-circuit — only
|
|
464
|
+
// pure-broadcast (no signal at all) paths consult the LLM judge.
|
|
465
|
+
if (sync.mode !== 'broadcast' || sync.classifiedRole) return sync;
|
|
466
|
+
if (!judge) return sync;
|
|
467
|
+
try {
|
|
468
|
+
const judgeOut = await judge(text);
|
|
469
|
+
if (judgeOut.role === null) return sync;
|
|
470
|
+
// Re-run planDispatch with a `roleHint` taken from the judge.
|
|
471
|
+
return planDispatch(text, panels, { roleHint: judgeOut.role });
|
|
472
|
+
} catch {
|
|
473
|
+
return sync;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/** P2.5 — typeahead match. textarea 의 cursor pos 기준 직전 `@<partial>`
|
|
478
|
+
* 토큰 검출 후 매칭되는 panel 목록 + token range 반환. UI 가 dropdown
|
|
479
|
+
* 표시 / hide 결정에 사용.
|
|
480
|
+
*
|
|
481
|
+
* - `@` 직후 알파벳/digit/dash 가 0+ characters 인 cursor 위치만 trigger
|
|
482
|
+
* - 매치되는 panel display name (D12) prefix 검색 · case-insensitive
|
|
483
|
+
* - `@` 토큰의 시작 / 끝 offset 도 반환 (insertMention 시 토큰 replace)
|
|
484
|
+
* - 매치 없으면 null (UI dropdown hide)
|
|
485
|
+
*/
|
|
486
|
+
export interface MentionTypeaheadMatch {
|
|
487
|
+
/** `@` 의 시작 offset (이 인덱스의 character 가 `@`). */
|
|
488
|
+
tokenStart: number;
|
|
489
|
+
/** `@` 토큰의 끝 offset (exclusive · cursor pos 또는 이후 word). */
|
|
490
|
+
tokenEnd: number;
|
|
491
|
+
/** `@` 직후 사용자가 입력한 partial (소문자화 안 됨 · UI 표시용). */
|
|
492
|
+
partial: string;
|
|
493
|
+
/** matching panel 목록 (display name prefix · `@all` 도 후보). */
|
|
494
|
+
matches: ShowroomPanel[];
|
|
495
|
+
/** `@all` 매치 여부 (panel 외에 별도 후보 — chip 형태). */
|
|
496
|
+
allMatches: boolean;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
const MENTION_TYPEAHEAD_RE = /(^|\s)@([a-zA-Z0-9-]*)$/;
|
|
500
|
+
|
|
501
|
+
export function matchMentionTypeahead(
|
|
502
|
+
text: string,
|
|
503
|
+
cursorPos: number,
|
|
504
|
+
panels: readonly ShowroomPanel[],
|
|
505
|
+
): MentionTypeaheadMatch | null {
|
|
506
|
+
const head = text.slice(0, cursorPos);
|
|
507
|
+
const m = MENTION_TYPEAHEAD_RE.exec(head);
|
|
508
|
+
if (!m) return null;
|
|
509
|
+
const partial = m[2] ?? '';
|
|
510
|
+
// `@` 의 시작 offset = match end - partial.length - 1 ('@' 1 chr)
|
|
511
|
+
const tokenStart = head.length - partial.length - 1;
|
|
512
|
+
const tokenEnd = cursorPos;
|
|
513
|
+
const partialLower = partial.toLowerCase();
|
|
514
|
+
const matches = panels.filter((p) => {
|
|
515
|
+
const dn = panelDisplayName(p, panels).toLowerCase();
|
|
516
|
+
return dn.startsWith(partialLower);
|
|
517
|
+
});
|
|
518
|
+
const allMatches = 'all'.startsWith(partialLower);
|
|
519
|
+
return { tokenStart, tokenEnd, partial, matches, allMatches };
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/** P2.5 — auto-unmute. targeted mention 으로 받는 panel 이 mute 인 경우
|
|
523
|
+
* 자동으로 live 으로 전환. 사용자가 명시적으로 mute 한 panel 도 mention
|
|
524
|
+
* 하면 의도가 "이 turn 만은 받음" — UX 자연스러움.
|
|
525
|
+
*
|
|
526
|
+
* freeze 는 그대로 (사용자가 명시 frozen 한 panel 의 결과 보존 의도).
|
|
527
|
+
* return = 새 panels array (panel.state 변경 적용 · immutable update). */
|
|
528
|
+
export function autoUnmuteForDispatch(
|
|
529
|
+
panels: readonly ShowroomPanel[],
|
|
530
|
+
mentionedTargetIds: readonly string[],
|
|
531
|
+
): ShowroomPanel[] {
|
|
532
|
+
if (mentionedTargetIds.length === 0) return panels.slice();
|
|
533
|
+
const mentioned = new Set(mentionedTargetIds);
|
|
534
|
+
let changed = false;
|
|
535
|
+
const next = panels.map((p) => {
|
|
536
|
+
if (mentioned.has(p.id) && p.state === 'mute') {
|
|
537
|
+
changed = true;
|
|
538
|
+
return { ...p, state: 'live' as const };
|
|
539
|
+
}
|
|
540
|
+
return p;
|
|
541
|
+
});
|
|
542
|
+
return changed ? next : panels.slice();
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/** P2 — input text 에서 mention 토큰 제거. agent prompt 로 보내는
|
|
546
|
+
* text 에서 `@codex` 같은 mention 을 제거하면 LLM 이 dispatch 의도를
|
|
547
|
+
* context 로 잘못 해석하지 않음. (현재 P2 minimum 은 mention 보존 — UI
|
|
548
|
+
* intent surface 용 · LLM 도 mention 을 명시적으로 인지 가능. P2.5 에서
|
|
549
|
+
* toggle 가능.) */
|
|
550
|
+
export function stripMentions(text: string): string {
|
|
551
|
+
return text.replace(MENTION_RE, '').replace(/\s+/g, ' ').trim();
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/** P4 — terminal context 를 prompt prefix 로 직렬화.
|
|
555
|
+
*
|
|
556
|
+
* Format (각 pin 마다 1 block · 순서 보존):
|
|
557
|
+
* ```
|
|
558
|
+
* <terminal_context label="...">
|
|
559
|
+
* <text>
|
|
560
|
+
* </terminal_context>
|
|
561
|
+
* ```
|
|
562
|
+
*
|
|
563
|
+
* N>0 pin 시 prefix + "\n\n" + userText. 0 pin 시 빈 문자열.
|
|
564
|
+
* agent 가 `<terminal_context>` tag 를 자동 파싱하지 않더라도 LLM
|
|
565
|
+
* 가 자연어로 인지 가능 (Markdown fenced code 와 유사 패턴).
|
|
566
|
+
*
|
|
567
|
+
* P4.1 (현재) = 단순 string concat. P4.2 (daemon API) 에서는 같은
|
|
568
|
+
* format 을 daemon-side 에서 fill 가능.
|
|
569
|
+
*/
|
|
570
|
+
export function formatTerminalContextPrefix(
|
|
571
|
+
contexts: readonly TerminalContext[],
|
|
572
|
+
): string {
|
|
573
|
+
if (contexts.length === 0) return '';
|
|
574
|
+
const blocks = contexts.map((ctx) => {
|
|
575
|
+
const safeLabel = ctx.label.replace(/[<>"]/g, '_');
|
|
576
|
+
return `<terminal_context label="${safeLabel}">\n${ctx.text}\n</terminal_context>`;
|
|
577
|
+
});
|
|
578
|
+
return `${blocks.join('\n\n')}\n\n`;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/** P4 — terminal context id generator. */
|
|
582
|
+
export function newTerminalContextId(): string {
|
|
583
|
+
return `tc-${Date.now().toString(36)}-${nextCounter()}`;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/** P4 — default label 자동 generation (사용자가 명시 안 했을 때).
|
|
587
|
+
* format: "terminal · N lines · HH:MM" */
|
|
588
|
+
export function defaultTerminalContextLabel(text: string, now: number = Date.now()): string {
|
|
589
|
+
const lines = text.split('\n').length;
|
|
590
|
+
const d = new Date(now);
|
|
591
|
+
const hh = String(d.getHours()).padStart(2, '0');
|
|
592
|
+
const mm = String(d.getMinutes()).padStart(2, '0');
|
|
593
|
+
return `terminal · ${lines} lines · ${hh}:${mm}`;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/** DM-3 — prior-answer prompt prefix 직렬화 (RFC v4 §6.2 진짜 가치).
|
|
597
|
+
*
|
|
598
|
+
* Format (각 promotion 마다 1 block · 순서 보존 · terminal_context
|
|
599
|
+
* 패턴 미러):
|
|
600
|
+
* ```
|
|
601
|
+
* <prior_answer source="@codex" provider="codex">
|
|
602
|
+
* <text>
|
|
603
|
+
* </prior_answer>
|
|
604
|
+
* ```
|
|
605
|
+
*
|
|
606
|
+
* N>0 promotion 시 prefix + "\n\n" + userText (terminal_context
|
|
607
|
+
* prefix 다음에 옴 · §dispatchText 의 ordering: terminal → prior →
|
|
608
|
+
* user). agent 가 `<prior_answer>` tag 자동 인식 안 해도 LLM 가
|
|
609
|
+
* 자연어 이해 가능. */
|
|
610
|
+
export function formatPriorAnswerPrefix(
|
|
611
|
+
priors: readonly PriorAnswer[],
|
|
612
|
+
): string {
|
|
613
|
+
// §3.4 (BACKLOG-showroom-cv-3-post-dm-stage-4-2026-05-09): only chips
|
|
614
|
+
// with `enabled !== false` participate in the broadcast. Disabled
|
|
615
|
+
// chips remain visible in the UI for selective promotion later.
|
|
616
|
+
const active = priors.filter((p) => p.enabled !== false);
|
|
617
|
+
if (active.length === 0) return '';
|
|
618
|
+
const blocks = active.map((p) => {
|
|
619
|
+
const safeLabel = p.label.replace(/[<>"]/g, '_');
|
|
620
|
+
const safeProvider = p.sourceProvider.replace(/[<>"]/g, '_');
|
|
621
|
+
return `<prior_answer source="${safeLabel}" provider="${safeProvider}">\n${p.text}\n</prior_answer>`;
|
|
622
|
+
});
|
|
623
|
+
return `${blocks.join('\n\n')}\n\n`;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export function newPriorAnswerId(): string {
|
|
627
|
+
return `pa-${Date.now().toString(36)}-${nextCounter()}`;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/** DM-3 — default label (사용자가 명시 안 했을 때).
|
|
631
|
+
* format (§3.4): "T{n} @<displayName> · HH:MM" — turn 번호 prominent
|
|
632
|
+
* · displayName 은 D12 의 numeric suffix 가능 (`@codex-2` 같은) ·
|
|
633
|
+
* turnNumber 0 (or undefined for legacy callers) 면 prefix 생략. */
|
|
634
|
+
export function defaultPriorAnswerLabel(
|
|
635
|
+
panel: ShowroomPanel,
|
|
636
|
+
allPanels: readonly ShowroomPanel[],
|
|
637
|
+
now: number = Date.now(),
|
|
638
|
+
turnNumber: number = 0,
|
|
639
|
+
): string {
|
|
640
|
+
const dn = panelDisplayName(panel, allPanels);
|
|
641
|
+
const d = new Date(now);
|
|
642
|
+
const hh = String(d.getHours()).padStart(2, '0');
|
|
643
|
+
const mm = String(d.getMinutes()).padStart(2, '0');
|
|
644
|
+
const turn = turnNumber > 0 ? `T${turnNumber} ` : '';
|
|
645
|
+
return `${turn}@${dn} · ${hh}:${mm}`;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/** §6.3 — URL context prompt prefix.
|
|
649
|
+
*
|
|
650
|
+
* Format (각 pin 마다 1 block · 순서 보존):
|
|
651
|
+
* ```
|
|
652
|
+
* <url_context url="..." title="...">
|
|
653
|
+
* <text>
|
|
654
|
+
* </url_context>
|
|
655
|
+
* ```
|
|
656
|
+
*
|
|
657
|
+
* N>0 pin 시 prefix + "\n\n" + 다음 단계. 0 pin 시 빈 문자열. */
|
|
658
|
+
export function formatUrlContextPrefix(
|
|
659
|
+
contexts: readonly UrlContext[],
|
|
660
|
+
): string {
|
|
661
|
+
if (contexts.length === 0) return '';
|
|
662
|
+
const blocks = contexts.map((ctx) => {
|
|
663
|
+
const safeUrl = ctx.url.replace(/[<>"]/g, '_');
|
|
664
|
+
const safeLabel = ctx.label.replace(/[<>"]/g, '_');
|
|
665
|
+
return `<url_context url="${safeUrl}" title="${safeLabel}">\n${ctx.text}\n</url_context>`;
|
|
666
|
+
});
|
|
667
|
+
return `${blocks.join('\n\n')}\n\n`;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export function newUrlContextId(): string {
|
|
671
|
+
return `uc-${Date.now().toString(36)}-${nextCounter()}`;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/** §6.3 — default URL label · prefer page title-ish (caller passes ·
|
|
675
|
+
* fallback host extraction). */
|
|
676
|
+
export function defaultUrlContextLabel(url: string, fallback?: string): string {
|
|
677
|
+
if (fallback && fallback.trim().length > 0) return fallback.trim();
|
|
678
|
+
try {
|
|
679
|
+
const u = new URL(url);
|
|
680
|
+
return u.hostname || url;
|
|
681
|
+
} catch {
|
|
682
|
+
return url;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
/** §6.3 — Clipboard context prompt prefix.
|
|
687
|
+
*
|
|
688
|
+
* Format:
|
|
689
|
+
* ```
|
|
690
|
+
* <clipboard_context label="...">
|
|
691
|
+
* <text>
|
|
692
|
+
* </clipboard_context>
|
|
693
|
+
* ```
|
|
694
|
+
*
|
|
695
|
+
* N>0 pin 시 prefix + "\n\n". 0 pin 시 빈 문자열. */
|
|
696
|
+
export function formatClipboardContextPrefix(
|
|
697
|
+
contexts: readonly ClipboardContext[],
|
|
698
|
+
): string {
|
|
699
|
+
if (contexts.length === 0) return '';
|
|
700
|
+
const blocks = contexts.map((ctx) => {
|
|
701
|
+
const safeLabel = ctx.label.replace(/[<>"]/g, '_');
|
|
702
|
+
return `<clipboard_context label="${safeLabel}">\n${ctx.text}\n</clipboard_context>`;
|
|
703
|
+
});
|
|
704
|
+
return `${blocks.join('\n\n')}\n\n`;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
export function newClipboardContextId(): string {
|
|
708
|
+
return `cc-${Date.now().toString(36)}-${nextCounter()}`;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/** §6.3 — default clipboard label · "clipboard · N chars · HH:MM". */
|
|
712
|
+
export function defaultClipboardContextLabel(
|
|
713
|
+
text: string,
|
|
714
|
+
now: number = Date.now(),
|
|
715
|
+
): string {
|
|
716
|
+
const d = new Date(now);
|
|
717
|
+
const hh = String(d.getHours()).padStart(2, '0');
|
|
718
|
+
const mm = String(d.getMinutes()).padStart(2, '0');
|
|
719
|
+
return `clipboard · ${text.length} chars · ${hh}:${mm}`;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/** R6 Task 4 · §6.3 — Video context prompt prefix.
|
|
723
|
+
*
|
|
724
|
+
* Format (each pin · order preserved):
|
|
725
|
+
* ```
|
|
726
|
+
* <video_context label="..." filename="..." mime="..."
|
|
727
|
+
* duration="MM:SS" dimensions="WxH">
|
|
728
|
+
* <frame data="data:image/png;base64,..." />
|
|
729
|
+
* </video_context>
|
|
730
|
+
* ```
|
|
731
|
+
*
|
|
732
|
+
* N>0 pin → prefix + "\n\n". 0 pin → empty string. */
|
|
733
|
+
export function formatVideoContextPrefix(
|
|
734
|
+
contexts: readonly ShowroomVideoContext[],
|
|
735
|
+
): string {
|
|
736
|
+
if (contexts.length === 0) return '';
|
|
737
|
+
const blocks = contexts.map((ctx) => {
|
|
738
|
+
const sLabel = ctx.label.replace(/[<>"]/g, '_');
|
|
739
|
+
const sName = ctx.filename.replace(/[<>"]/g, '_');
|
|
740
|
+
const sMime = ctx.mimeType.replace(/[<>"]/g, '_');
|
|
741
|
+
const dur = formatDurationMmSs(ctx.durationSec);
|
|
742
|
+
const dims = `${ctx.widthPx}x${ctx.heightPx}`;
|
|
743
|
+
return `<video_context label="${sLabel}" filename="${sName}" mime="${sMime}" duration="${dur}" dimensions="${dims}">\n<frame data="${ctx.frameDataUrl}" />\n</video_context>`;
|
|
744
|
+
});
|
|
745
|
+
return `${blocks.join('\n\n')}\n\n`;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export function newVideoContextId(): string {
|
|
749
|
+
return `vc-${Date.now().toString(36)}-${nextCounter()}`;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/** R6 Task 4 · §6.3 — default video label · "video · MM:SS · WxH · YYYY-MM-DD". */
|
|
753
|
+
export function defaultVideoContextLabel(
|
|
754
|
+
durationSec: number,
|
|
755
|
+
widthPx: number,
|
|
756
|
+
heightPx: number,
|
|
757
|
+
now: number = Date.now(),
|
|
758
|
+
): string {
|
|
759
|
+
const dur = formatDurationMmSs(durationSec);
|
|
760
|
+
const dims = `${widthPx}x${heightPx}`;
|
|
761
|
+
const d = new Date(now);
|
|
762
|
+
const yyyy = d.getFullYear();
|
|
763
|
+
const mm = String(d.getMonth() + 1).padStart(2, '0');
|
|
764
|
+
const dd = String(d.getDate()).padStart(2, '0');
|
|
765
|
+
return `video · ${dur} · ${dims} · ${yyyy}-${mm}-${dd}`;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/** R6 Task 4 · §6.3 — Audio context prompt prefix.
|
|
769
|
+
*
|
|
770
|
+
* Format (each pin):
|
|
771
|
+
* ```
|
|
772
|
+
* <audio_context label="..." filename="..." mime="..."
|
|
773
|
+
* duration="MM:SS" size="N bytes">
|
|
774
|
+
* <transcript>...</transcript>
|
|
775
|
+
* </audio_context>
|
|
776
|
+
* ```
|
|
777
|
+
*
|
|
778
|
+
* Transcript element is omitted when empty so non-STT consumers
|
|
779
|
+
* know to ignore the slot. N>0 pin → prefix + "\n\n". */
|
|
780
|
+
export function formatAudioContextPrefix(
|
|
781
|
+
contexts: readonly ShowroomAudioContext[],
|
|
782
|
+
): string {
|
|
783
|
+
if (contexts.length === 0) return '';
|
|
784
|
+
const blocks = contexts.map((ctx) => {
|
|
785
|
+
const sLabel = ctx.label.replace(/[<>"]/g, '_');
|
|
786
|
+
const sName = ctx.filename.replace(/[<>"]/g, '_');
|
|
787
|
+
const sMime = ctx.mimeType.replace(/[<>"]/g, '_');
|
|
788
|
+
const dur = formatDurationMmSs(ctx.durationSec);
|
|
789
|
+
const head = `<audio_context label="${sLabel}" filename="${sName}" mime="${sMime}" duration="${dur}" size="${ctx.sizeBytes} bytes">`;
|
|
790
|
+
const body = ctx.transcript.trim().length > 0
|
|
791
|
+
? `\n<transcript>${ctx.transcript}</transcript>\n`
|
|
792
|
+
: '\n';
|
|
793
|
+
return `${head}${body}</audio_context>`;
|
|
794
|
+
});
|
|
795
|
+
return `${blocks.join('\n\n')}\n\n`;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
export function newAudioContextId(): string {
|
|
799
|
+
return `ac-${Date.now().toString(36)}-${nextCounter()}`;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
/** R6 Task 4 · §6.3 — default audio label · "audio · MM:SS · YYYY-MM-DD". */
|
|
803
|
+
export function defaultAudioContextLabel(
|
|
804
|
+
durationSec: number,
|
|
805
|
+
now: number = Date.now(),
|
|
806
|
+
): string {
|
|
807
|
+
const dur = formatDurationMmSs(durationSec);
|
|
808
|
+
const d = new Date(now);
|
|
809
|
+
const yyyy = d.getFullYear();
|
|
810
|
+
const mm = String(d.getMonth() + 1).padStart(2, '0');
|
|
811
|
+
const dd = String(d.getDate()).padStart(2, '0');
|
|
812
|
+
return `audio · ${dur} · ${yyyy}-${mm}-${dd}`;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/** Pure helper — format a non-negative second count into "M:SS" (or
|
|
816
|
+
* "MM:SS"). Negative / NaN clamps to "0:00". Exported for tests. */
|
|
817
|
+
export function formatDurationMmSs(sec: number): string {
|
|
818
|
+
const safe = Number.isFinite(sec) && sec >= 0 ? Math.floor(sec) : 0;
|
|
819
|
+
const m = Math.floor(safe / 60);
|
|
820
|
+
const s = safe % 60;
|
|
821
|
+
return `${m}:${String(s).padStart(2, '0')}`;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/** §6.7 — default route prompt when wrap='prior' edge 의 routePrompt
|
|
825
|
+
* 가 비어있을 때 사용. 한국어 default · LLM 이 자연어로 review 의도
|
|
826
|
+
* 파악. */
|
|
827
|
+
export const DEFAULT_ROUTE_PROMPT = '위의 답변을 검토해주세요.';
|
|
828
|
+
|
|
829
|
+
export function newChainEdgeId(): string {
|
|
830
|
+
return `ce-${Date.now().toString(36)}-${nextCounter()}`;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export type AddChainEdgeFailure = 'self-route' | 'cycle' | 'duplicate';
|
|
834
|
+
|
|
835
|
+
export interface AddChainEdgeOk {
|
|
836
|
+
ok: true;
|
|
837
|
+
edge: ChainEdge;
|
|
838
|
+
edges: ChainEdge[];
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
export interface AddChainEdgeFail {
|
|
842
|
+
ok: false;
|
|
843
|
+
reason: AddChainEdgeFailure;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export interface AddChainEdgeOpts {
|
|
847
|
+
wrapMode?: 'plain' | 'prior';
|
|
848
|
+
routePrompt?: string;
|
|
849
|
+
enabled?: boolean;
|
|
850
|
+
/** D3 (2026-05-11) — when true, the resulting edge ships with
|
|
851
|
+
* `hitl: true` so its forward trigger pauses for a user confirm
|
|
852
|
+
* modal in ShowroomLayout instead of firing immediately. */
|
|
853
|
+
hitl?: boolean;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/** §6.7 — directed cycle detect. adding edge `from → to` creates cycle
|
|
857
|
+
* iff `to` can already reach `from` via existing edges. BFS from `to`
|
|
858
|
+
* looking for `from`. self-route (from === to) 도 cycle 로 취급. */
|
|
859
|
+
export function wouldCreateCycle(
|
|
860
|
+
edges: readonly ChainEdge[],
|
|
861
|
+
fromPanelId: string,
|
|
862
|
+
toPanelId: string,
|
|
863
|
+
): boolean {
|
|
864
|
+
if (fromPanelId === toPanelId) return true;
|
|
865
|
+
const adjacency = new Map<string, string[]>();
|
|
866
|
+
for (const e of edges) {
|
|
867
|
+
const list = adjacency.get(e.fromPanelId) ?? [];
|
|
868
|
+
list.push(e.toPanelId);
|
|
869
|
+
adjacency.set(e.fromPanelId, list);
|
|
870
|
+
}
|
|
871
|
+
const visited = new Set<string>();
|
|
872
|
+
const queue: string[] = [toPanelId];
|
|
873
|
+
while (queue.length > 0) {
|
|
874
|
+
const node = queue.shift()!;
|
|
875
|
+
if (node === fromPanelId) return true;
|
|
876
|
+
if (visited.has(node)) continue;
|
|
877
|
+
visited.add(node);
|
|
878
|
+
const next = adjacency.get(node);
|
|
879
|
+
if (next) queue.push(...next);
|
|
880
|
+
}
|
|
881
|
+
return false;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/** §6.7 — add chain edge with safety checks (self-route · duplicate ·
|
|
885
|
+
* cycle). 각 reject 는 reason 으로 surface (UI hint 용). */
|
|
886
|
+
export function addChainEdge(
|
|
887
|
+
edges: readonly ChainEdge[],
|
|
888
|
+
fromPanelId: string,
|
|
889
|
+
toPanelId: string,
|
|
890
|
+
opts: AddChainEdgeOpts = {},
|
|
891
|
+
): AddChainEdgeOk | AddChainEdgeFail {
|
|
892
|
+
if (fromPanelId === toPanelId) {
|
|
893
|
+
return { ok: false, reason: 'self-route' };
|
|
894
|
+
}
|
|
895
|
+
if (edges.some((e) => e.fromPanelId === fromPanelId && e.toPanelId === toPanelId)) {
|
|
896
|
+
return { ok: false, reason: 'duplicate' };
|
|
897
|
+
}
|
|
898
|
+
if (wouldCreateCycle(edges, fromPanelId, toPanelId)) {
|
|
899
|
+
return { ok: false, reason: 'cycle' };
|
|
900
|
+
}
|
|
901
|
+
const trimmedPrompt = opts.routePrompt?.trim();
|
|
902
|
+
const edge: ChainEdge = {
|
|
903
|
+
id: newChainEdgeId(),
|
|
904
|
+
fromPanelId,
|
|
905
|
+
toPanelId,
|
|
906
|
+
wrapMode: opts.wrapMode ?? 'prior',
|
|
907
|
+
...(trimmedPrompt ? { routePrompt: trimmedPrompt } : {}),
|
|
908
|
+
enabled: opts.enabled ?? true,
|
|
909
|
+
...(opts.hitl ? { hitl: true } : {}),
|
|
910
|
+
createdAt: Date.now(),
|
|
911
|
+
};
|
|
912
|
+
return { ok: true, edge, edges: [...edges, edge] };
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
/** §6.7 — remove edge by id. unknown id = no-op (returns same-content
|
|
916
|
+
* array). */
|
|
917
|
+
export function removeChainEdge(
|
|
918
|
+
edges: readonly ChainEdge[],
|
|
919
|
+
edgeId: string,
|
|
920
|
+
): ChainEdge[] {
|
|
921
|
+
return edges.filter((e) => e.id !== edgeId);
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/** §6.7 — outgoing edges from `panelId` (enabled 무관 · 호출자가 필터). */
|
|
925
|
+
export function findEdgesFrom(
|
|
926
|
+
edges: readonly ChainEdge[],
|
|
927
|
+
panelId: string,
|
|
928
|
+
): ChainEdge[] {
|
|
929
|
+
return edges.filter((e) => e.fromPanelId === panelId);
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/** §6.7 — panel close 시 호출. 해당 panel 이 endpoint 인 모든 edge 제거.
|
|
933
|
+
* 변경 없으면 same-reference 보존 (caller 의 useEffect 안정). */
|
|
934
|
+
export function pruneEdgesForPanel(
|
|
935
|
+
edges: readonly ChainEdge[],
|
|
936
|
+
panelId: string,
|
|
937
|
+
): ChainEdge[] {
|
|
938
|
+
const filtered = edges.filter(
|
|
939
|
+
(e) => e.fromPanelId !== panelId && e.toPanelId !== panelId,
|
|
940
|
+
);
|
|
941
|
+
return filtered.length === edges.length ? edges.slice() : filtered;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
/** §6.7 — compose forward text. wrap='plain' = sourceText 그대로 ·
|
|
945
|
+
* wrap='prior' = `<prior_answer>` block + routePrompt (default 한국어).
|
|
946
|
+
*
|
|
947
|
+
* format ('prior' mode):
|
|
948
|
+
* ```
|
|
949
|
+
* <prior_answer source="@codex" provider="codex">
|
|
950
|
+
* <sourceText>
|
|
951
|
+
* </prior_answer>
|
|
952
|
+
*
|
|
953
|
+
* <routePrompt>
|
|
954
|
+
* ```
|
|
955
|
+
*
|
|
956
|
+
* agent 가 `<prior_answer>` tag 인식 안 해도 LLM 자연어 이해 가능 ·
|
|
957
|
+
* formatPriorAnswerPrefix 와 동일 패턴 (DM-3 §6.2 mirror). */
|
|
958
|
+
export function composeForwardText(
|
|
959
|
+
edge: ChainEdge,
|
|
960
|
+
sourceText: string,
|
|
961
|
+
sourceProvider: string,
|
|
962
|
+
sourceLabel: string,
|
|
963
|
+
): string {
|
|
964
|
+
if (edge.wrapMode === 'plain') {
|
|
965
|
+
return sourceText;
|
|
966
|
+
}
|
|
967
|
+
const safeLabel = sourceLabel.replace(/[<>"]/g, '_');
|
|
968
|
+
const safeProvider = sourceProvider.replace(/[<>"]/g, '_');
|
|
969
|
+
const block = `<prior_answer source="${safeLabel}" provider="${safeProvider}">\n${sourceText}\n</prior_answer>`;
|
|
970
|
+
const prompt = edge.routePrompt?.trim() || DEFAULT_ROUTE_PROMPT;
|
|
971
|
+
return `${block}\n\n${prompt}`;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/** DM stage 3 (#1956 → #1983 → 본 PR) — daemon multi-LLM mode is now
|
|
975
|
+
* default ON. The legacy P1-P4 panel-local ACP path was removed; DM
|
|
976
|
+
* stage 1 (chat) + stage 2 (agent · daemon dual-role manager) handle
|
|
977
|
+
* all multi-LLM dispatch. The storage key is retained as an explicit
|
|
978
|
+
* OFF override (legacy fallback safety hatch · also lets existing
|
|
979
|
+
* `'true'` values keep working). Read returns `true` unless the key
|
|
980
|
+
* is explicitly stored as `'false'`. */
|
|
981
|
+
export const DM_MODE_LOCALSTORAGE_KEY = 'elanous.showroom.dmMode';
|
|
982
|
+
|
|
983
|
+
export function readDmModeFromStorage(): boolean {
|
|
984
|
+
if (typeof window === 'undefined' || !window.localStorage) return true;
|
|
985
|
+
try {
|
|
986
|
+
return window.localStorage.getItem(DM_MODE_LOCALSTORAGE_KEY) !== 'false';
|
|
987
|
+
} catch {
|
|
988
|
+
return true;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export function writeDmModeToStorage(enabled: boolean): void {
|
|
993
|
+
if (typeof window === 'undefined' || !window.localStorage) return;
|
|
994
|
+
try {
|
|
995
|
+
if (enabled) window.localStorage.removeItem(DM_MODE_LOCALSTORAGE_KEY);
|
|
996
|
+
else window.localStorage.setItem(DM_MODE_LOCALSTORAGE_KEY, 'false');
|
|
997
|
+
} catch {
|
|
998
|
+
/* swallow quota / SecurityError */
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/** DM-2 — daemon multi-LLM hint (server-side `_meta.elanous.multiLlm`
|
|
1003
|
+
* shape mirror). client-side helpers build this from the live panel
|
|
1004
|
+
* state so daemon's `bridgeMultiLlmCoreTurnsToAcp` fans out into N
|
|
1005
|
+
* parallel `runCoreTurn`s.
|
|
1006
|
+
*
|
|
1007
|
+
* See: src/acp/multi-llm-bridge.ts (daemon side · DM-1 · #1933) ·
|
|
1008
|
+
* 내부 문서 `PLAN-cv-3-daemon-multi-llm-2026-05-08` (RFC v2 · 13 D). */
|
|
1009
|
+
export interface MultiLlmTargetWire {
|
|
1010
|
+
id: string;
|
|
1011
|
+
provider: string;
|
|
1012
|
+
model?: string;
|
|
1013
|
+
/** DM-2 wire seam (DM-3 mixed mode 가 활성 시 채워짐) — daemon 이
|
|
1014
|
+
* per-target seed messages 로 그대로 사용. P1-P4 기간엔 항상
|
|
1015
|
+
* undefined. */
|
|
1016
|
+
messages?: unknown[];
|
|
1017
|
+
/** DM stage 2 (#1982 follow-up) — when the panel is an agent CLI
|
|
1018
|
+
* panel, the client opt-in adds these so daemon's multi-LLM bridge
|
|
1019
|
+
* routes via globalDualRoleManager (real codex/claude/gemini sub-
|
|
1020
|
+
* process) instead of the LLM API. Chat panels MUST omit. */
|
|
1021
|
+
kind?: 'agent';
|
|
1022
|
+
backend?: 'codex-app-server' | 'claude' | 'gemini';
|
|
1023
|
+
/** §6.4 — persona binding (PersonaProfile.personaId). daemon resolves
|
|
1024
|
+
* via global PersonaRegistry + assemblePersonaPrompt. unknown id =
|
|
1025
|
+
* no-op fallback (base systemPrompt only). */
|
|
1026
|
+
personaId?: string;
|
|
1027
|
+
/** DM stage 4 (2026-05-09 night) — panel's last assistant turn,
|
|
1028
|
+
* shipped when historyMode === 'mixed' so the daemon can prepend
|
|
1029
|
+
* sibling lastAssistant blocks (`<prior_answer model=X>`) to each
|
|
1030
|
+
* target's user prompt for cross-model deliberation automation.
|
|
1031
|
+
* Caller fills via `extractLastAssistantText(panelMessages)`. */
|
|
1032
|
+
lastAssistant?: string;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
export interface MultiLlmHintWire {
|
|
1036
|
+
targets: readonly MultiLlmTargetWire[];
|
|
1037
|
+
historyMode?: 'isolated' | 'mixed';
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
/** Build the `_meta.elanous.multiLlm` blob from active panel state.
|
|
1041
|
+
* Targets only `live` panels (mute / freeze 는 dispatch 제외 · D11).
|
|
1042
|
+
*
|
|
1043
|
+
* DM stage 2 (FU · #1976) — `includeAgent` opts 으로 agent panel 도
|
|
1044
|
+
* hint targets 에 포함 가능. daemon-side multi-backend dispatch 는
|
|
1045
|
+
* P5.x.+ BACKLOG (현재 DM-1 bridge 는 direct LLM API 만 supports) ·
|
|
1046
|
+
* client-side wire seam 만 land. caller (ShowroomLayout) 가 명시
|
|
1047
|
+
* 활성화 한 경우만 동작.
|
|
1048
|
+
*
|
|
1049
|
+
* DM stage 4 (2026-05-09 night) — `lastAssistantByPanelId` opt 로
|
|
1050
|
+
* panel 별 lastAssistant text 전달. historyMode === 'mixed' 일 때
|
|
1051
|
+
* daemon 이 sibling 의 lastAssistant 를 `<prior_answer model=X>`
|
|
1052
|
+
* block 으로 묶어 user prompt 에 prepend. */
|
|
1053
|
+
export function buildMultiLlmHint(
|
|
1054
|
+
panels: readonly ShowroomPanel[],
|
|
1055
|
+
opts: {
|
|
1056
|
+
historyMode?: 'isolated' | 'mixed';
|
|
1057
|
+
includeAgent?: boolean;
|
|
1058
|
+
lastAssistantByPanelId?: Readonly<Record<string, string | undefined>>;
|
|
1059
|
+
} = {},
|
|
1060
|
+
): MultiLlmHintWire | null {
|
|
1061
|
+
const targets: MultiLlmTargetWire[] = panels
|
|
1062
|
+
.filter((p) => p.state === 'live' && (p.kind === 'chat' || (opts.includeAgent && p.kind === 'agent')))
|
|
1063
|
+
.map((p) => {
|
|
1064
|
+
const t: MultiLlmTargetWire = { id: p.id, provider: p.provider };
|
|
1065
|
+
// DM stage 2 — agent panel marks itself + carries backend so the
|
|
1066
|
+
// daemon multi-LLM bridge routes via dual-role-manager.
|
|
1067
|
+
if (p.kind === 'agent' && p.agentBrand) {
|
|
1068
|
+
t.kind = 'agent';
|
|
1069
|
+
t.backend = agentBrandToBackend(p.agentBrand);
|
|
1070
|
+
}
|
|
1071
|
+
// §6.4 — forward personaId to daemon (multi-llm-bridge resolves
|
|
1072
|
+
// via PersonaRegistry + assemblePersonaPrompt). undefined here =
|
|
1073
|
+
// no-op (base systemPrompt only).
|
|
1074
|
+
if (p.personaId) t.personaId = p.personaId;
|
|
1075
|
+
// DM stage 4 — fold the panel's last assistant text into the
|
|
1076
|
+
// wire when caller supplied the map. The daemon ignores this
|
|
1077
|
+
// unless historyMode === 'mixed' so it's safe to always attach
|
|
1078
|
+
// (extra payload bytes only when the panel actually has a
|
|
1079
|
+
// prior reply).
|
|
1080
|
+
if (opts.lastAssistantByPanelId) {
|
|
1081
|
+
const last = opts.lastAssistantByPanelId[p.id];
|
|
1082
|
+
if (typeof last === 'string' && last.length > 0) {
|
|
1083
|
+
t.lastAssistant = last;
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
return t;
|
|
1087
|
+
});
|
|
1088
|
+
if (targets.length === 0) return null;
|
|
1089
|
+
const hint: MultiLlmHintWire = { targets };
|
|
1090
|
+
if (opts.historyMode) hint.historyMode = opts.historyMode;
|
|
1091
|
+
return hint;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
/** DM stage 4 — extract the last assistant text from a panel's
|
|
1095
|
+
* ChatMessage[] history. Used by ShowroomLayout to build the
|
|
1096
|
+
* `lastAssistantByPanelId` map at broadcast time. Returns
|
|
1097
|
+
* undefined when the panel has no assistant turn yet (first
|
|
1098
|
+
* broadcast). Empty-text assistant placeholders (mid-stream) are
|
|
1099
|
+
* also rejected. */
|
|
1100
|
+
export function extractLastAssistantText(
|
|
1101
|
+
messages: ReadonlyArray<{ role?: string; text?: string }> | null | undefined,
|
|
1102
|
+
): string | undefined {
|
|
1103
|
+
if (!messages) return undefined;
|
|
1104
|
+
for (let i = messages.length - 1; i >= 0; i--) {
|
|
1105
|
+
const m = messages[i];
|
|
1106
|
+
if (m?.role === 'assistant' && typeof m.text === 'string' && m.text.length > 0) {
|
|
1107
|
+
return m.text;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
return undefined;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/** DM stage 4 — historyMode persistence (localStorage). Default
|
|
1114
|
+
* 'mixed' (opt-out) since 2026-05-11 (BACKLOG §3.7 flip) — Cost gate
|
|
1115
|
+
* modal (PR #2192) ships first so unexpected token spend is gated by
|
|
1116
|
+
* user confirm. Users who prefer panel isolation opt out via the
|
|
1117
|
+
* Showroom header pill, which writes 'isolated' to storage. */
|
|
1118
|
+
const HISTORY_MODE_KEY = 'elanous.showroom.historyMode';
|
|
1119
|
+
|
|
1120
|
+
export function readHistoryModeFromStorage(): 'isolated' | 'mixed' {
|
|
1121
|
+
if (typeof window === 'undefined') return 'mixed';
|
|
1122
|
+
try {
|
|
1123
|
+
const v = window.localStorage.getItem(HISTORY_MODE_KEY);
|
|
1124
|
+
return v === 'isolated' ? 'isolated' : 'mixed';
|
|
1125
|
+
} catch {
|
|
1126
|
+
return 'mixed';
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
export function writeHistoryModeToStorage(mode: 'isolated' | 'mixed'): void {
|
|
1131
|
+
if (typeof window === 'undefined') return;
|
|
1132
|
+
try {
|
|
1133
|
+
if (mode === 'isolated') window.localStorage.setItem(HISTORY_MODE_KEY, 'isolated');
|
|
1134
|
+
else window.localStorage.removeItem(HISTORY_MODE_KEY);
|
|
1135
|
+
} catch {
|
|
1136
|
+
// swallow — storage may be disabled (private browsing)
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
/** Wrap the hint inside the `_meta.elanous.multiLlm` envelope so
|
|
1141
|
+
* callers ship it verbatim as `prompt._meta`. */
|
|
1142
|
+
export function wrapMultiLlmMeta(hint: MultiLlmHintWire): {
|
|
1143
|
+
elanous: { multiLlm: MultiLlmHintWire };
|
|
1144
|
+
} {
|
|
1145
|
+
return { elanous: { multiLlm: hint } };
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/** DM-2 — parse `update._meta.elanous` to extract per-panel routing
|
|
1149
|
+
* info. Returns null when the update is the legacy single-LLM
|
|
1150
|
+
* shape (no `modelId`). */
|
|
1151
|
+
export interface MultiLlmUpdateMeta {
|
|
1152
|
+
modelId: string;
|
|
1153
|
+
provider?: string;
|
|
1154
|
+
stopReason?: 'end_turn' | 'cancelled' | 'error';
|
|
1155
|
+
error?: string;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
/** DM stage 3 FU (HANDOFF §3.2) — extract a `tool_call` /
|
|
1159
|
+
* `tool_call_update` SessionUpdate's payload. Returns null when the
|
|
1160
|
+
* update isn't a tool call event or when it's missing required
|
|
1161
|
+
* fields. The Showroom client uses this to drive a per-panel
|
|
1162
|
+
* `Record<id, ToolCallState>` that powers the activity pill +
|
|
1163
|
+
* expandable list (re-add of #1985's panel-local viz, removed when
|
|
1164
|
+
* DM stage 3 routing replaced the panel-local ACP path).
|
|
1165
|
+
*
|
|
1166
|
+
* Wire shape mirrors `apps/pwa/src/lib/chat-runtime.ts:606+` plus the
|
|
1167
|
+
* daemon-side `pushToolCall` / `pushToolResult` (server.ts:929+):
|
|
1168
|
+
* - `tool_call` → kind='call' · status='pending' default
|
|
1169
|
+
* - `tool_call_update` → kind='update' · status echoed verbatim
|
|
1170
|
+
*/
|
|
1171
|
+
export interface ShowroomToolCallEvent {
|
|
1172
|
+
kind: 'call' | 'update';
|
|
1173
|
+
id: string;
|
|
1174
|
+
/** ACP `title` field — tool name (`read_file`, `bash`, …). May be
|
|
1175
|
+
* empty for tool_call_update when only status flips. */
|
|
1176
|
+
name: string;
|
|
1177
|
+
status: ToolCallState['status'];
|
|
1178
|
+
input?: Readonly<Record<string, unknown>>;
|
|
1179
|
+
/** Compact stringified preview of the tool result (when terminal). */
|
|
1180
|
+
output?: string;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
function normalizeStatus(raw: unknown, kind: 'call' | 'update'): ToolCallState['status'] {
|
|
1184
|
+
if (raw === 'pending' || raw === 'in_progress' || raw === 'completed' || raw === 'failed') {
|
|
1185
|
+
return raw;
|
|
1186
|
+
}
|
|
1187
|
+
// Fallbacks matching chat-runtime's pragmatic mapping (line 620):
|
|
1188
|
+
// explicit-but-unknown statuses are treated as 'failed' on update,
|
|
1189
|
+
// and a fresh tool_call without status defaults to 'pending'.
|
|
1190
|
+
return kind === 'call' ? 'pending' : 'failed';
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
function stringifyOutput(raw: unknown): string | undefined {
|
|
1194
|
+
if (raw === undefined || raw === null) return undefined;
|
|
1195
|
+
if (typeof raw === 'string') return raw.length > 240 ? `${raw.slice(0, 240)}…` : raw;
|
|
1196
|
+
try {
|
|
1197
|
+
const json = JSON.stringify(raw);
|
|
1198
|
+
if (!json) return undefined;
|
|
1199
|
+
return json.length > 240 ? `${json.slice(0, 240)}…` : json;
|
|
1200
|
+
} catch {
|
|
1201
|
+
return undefined;
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export function parseShowroomToolCallEvent(
|
|
1206
|
+
update: unknown,
|
|
1207
|
+
): ShowroomToolCallEvent | null {
|
|
1208
|
+
if (!update || typeof update !== 'object') return null;
|
|
1209
|
+
const u = update as {
|
|
1210
|
+
sessionUpdate?: unknown;
|
|
1211
|
+
toolCallId?: unknown;
|
|
1212
|
+
title?: unknown;
|
|
1213
|
+
status?: unknown;
|
|
1214
|
+
rawInput?: unknown;
|
|
1215
|
+
rawOutput?: unknown;
|
|
1216
|
+
};
|
|
1217
|
+
const isCall = u.sessionUpdate === 'tool_call';
|
|
1218
|
+
const isUpdate = u.sessionUpdate === 'tool_call_update';
|
|
1219
|
+
if (!isCall && !isUpdate) return null;
|
|
1220
|
+
if (typeof u.toolCallId !== 'string' || u.toolCallId.length === 0) return null;
|
|
1221
|
+
const kind: 'call' | 'update' = isCall ? 'call' : 'update';
|
|
1222
|
+
const ev: ShowroomToolCallEvent = {
|
|
1223
|
+
kind,
|
|
1224
|
+
id: u.toolCallId,
|
|
1225
|
+
name: typeof u.title === 'string' ? u.title : '',
|
|
1226
|
+
status: normalizeStatus(u.status, kind),
|
|
1227
|
+
};
|
|
1228
|
+
if (u.rawInput && typeof u.rawInput === 'object') {
|
|
1229
|
+
ev.input = u.rawInput as Readonly<Record<string, unknown>>;
|
|
1230
|
+
}
|
|
1231
|
+
const out = stringifyOutput(u.rawOutput);
|
|
1232
|
+
if (out !== undefined) ev.output = out;
|
|
1233
|
+
return ev;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/** Apply a decoded ShowroomToolCallEvent to a per-panel ToolCallState
|
|
1237
|
+
* map (Record<id, ToolCallState>). Pure · returns a new map (never
|
|
1238
|
+
* mutates input). Strategy:
|
|
1239
|
+
*
|
|
1240
|
+
* - `kind === 'call'`: insert (or refresh if id reused — agent CLI
|
|
1241
|
+
* sometimes re-emits a tool_call for retry; treat as restart).
|
|
1242
|
+
* - `kind === 'update'`: merge into existing entry. If no entry
|
|
1243
|
+
* exists yet (out-of-order arrival), create one with the update's
|
|
1244
|
+
* fields filled best-effort.
|
|
1245
|
+
*
|
|
1246
|
+
* Caller passes `now` so tests can pin timestamps. */
|
|
1247
|
+
export function applyToolCallEvent(
|
|
1248
|
+
prev: Readonly<Record<string, ToolCallState>>,
|
|
1249
|
+
event: ShowroomToolCallEvent,
|
|
1250
|
+
now: number,
|
|
1251
|
+
): Record<string, ToolCallState> {
|
|
1252
|
+
const next: Record<string, ToolCallState> = { ...prev };
|
|
1253
|
+
const existing = next[event.id];
|
|
1254
|
+
if (event.kind === 'call' || !existing) {
|
|
1255
|
+
const seed: ToolCallState = {
|
|
1256
|
+
id: event.id,
|
|
1257
|
+
name: event.name || existing?.name || '',
|
|
1258
|
+
status: event.status,
|
|
1259
|
+
startedAt: existing?.startedAt ?? now,
|
|
1260
|
+
updatedAt: now,
|
|
1261
|
+
};
|
|
1262
|
+
if (event.input) seed.input = event.input;
|
|
1263
|
+
else if (existing?.input) seed.input = existing.input;
|
|
1264
|
+
if (event.output !== undefined) seed.output = event.output;
|
|
1265
|
+
else if (existing?.output !== undefined) seed.output = existing.output;
|
|
1266
|
+
next[event.id] = seed;
|
|
1267
|
+
return next;
|
|
1268
|
+
}
|
|
1269
|
+
// kind === 'update' & existing — merge.
|
|
1270
|
+
const merged: ToolCallState = {
|
|
1271
|
+
...existing,
|
|
1272
|
+
status: event.status,
|
|
1273
|
+
updatedAt: now,
|
|
1274
|
+
};
|
|
1275
|
+
if (event.name) merged.name = event.name;
|
|
1276
|
+
if (event.input) merged.input = event.input;
|
|
1277
|
+
if (event.output !== undefined) merged.output = event.output;
|
|
1278
|
+
next[event.id] = merged;
|
|
1279
|
+
return next;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
/** DM stage 3 FU display polish (BACKLOG #5 · 2026-05-09) — derive
|
|
1283
|
+
* the (name, meta) pair the ShowroomPanel tool list row should
|
|
1284
|
+
* render for a single ToolCallState. Two display problems we hit
|
|
1285
|
+
* during dogfood:
|
|
1286
|
+
*
|
|
1287
|
+
* 1. Codex CLI sets `update.title` to the *entire bash command*
|
|
1288
|
+
* (e.g., `/bin/zsh -lc "rg -n \"foo\" src/x.ts && ..."`) —
|
|
1289
|
+
* 300+ chars in the row, no usable identifier.
|
|
1290
|
+
* 2. The same bash command is also surfaced as `input.command`
|
|
1291
|
+
* (the LLM-side tool argument), so the row repeats itself.
|
|
1292
|
+
*
|
|
1293
|
+
* Approach (intentionally dumb):
|
|
1294
|
+
*
|
|
1295
|
+
* - Truncate name to NAME_MAX with ellipsis.
|
|
1296
|
+
* - Pick the first input entry (or output as fallback) as meta.
|
|
1297
|
+
* Truncate to META_MAX.
|
|
1298
|
+
* - Suppress meta when name and meta are effectively redundant
|
|
1299
|
+
* (one contains the other after lowercasing + trimming the
|
|
1300
|
+
* truncation ellipsis). This catches the codex CLI bash case
|
|
1301
|
+
* without per-CLI heuristics.
|
|
1302
|
+
*
|
|
1303
|
+
* Pure function — exported for unit testing without a render. */
|
|
1304
|
+
export interface ToolListEntryDisplay {
|
|
1305
|
+
/** Up to NAME_MAX chars, ellipsis suffix when truncated. */
|
|
1306
|
+
name: string;
|
|
1307
|
+
/** First-input or output preview · null when redundant with name
|
|
1308
|
+
* or unavailable. Up to META_MAX chars, ellipsis suffix when
|
|
1309
|
+
* truncated. */
|
|
1310
|
+
meta: string | null;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
const TOOL_LIST_NAME_MAX = 56;
|
|
1314
|
+
const TOOL_LIST_META_MAX = 96;
|
|
1315
|
+
|
|
1316
|
+
function clamp(s: string, max: number): string {
|
|
1317
|
+
if (s.length <= max) return s;
|
|
1318
|
+
return `${s.slice(0, max - 1)}…`;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
function looksRedundant(name: string, meta: string): boolean {
|
|
1322
|
+
const norm = (s: string) =>
|
|
1323
|
+
s.replace(/…$/, '').replace(/^command=/, '').trim().toLowerCase();
|
|
1324
|
+
const a = norm(name);
|
|
1325
|
+
const b = norm(meta);
|
|
1326
|
+
if (!a || !b) return false;
|
|
1327
|
+
if (a === b) return true;
|
|
1328
|
+
// Meta usually has a `key=value` shape; strip the key and re-check
|
|
1329
|
+
// against name (so `command=/bin/zsh ...` vs name `/bin/zsh ...`).
|
|
1330
|
+
const eq = b.indexOf('=');
|
|
1331
|
+
const bValue = eq >= 0 ? b.slice(eq + 1).trim() : b;
|
|
1332
|
+
if (bValue && (a.startsWith(bValue) || bValue.startsWith(a))) return true;
|
|
1333
|
+
return false;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
export function formatToolListEntry(
|
|
1337
|
+
tc: { name: string; input?: Readonly<Record<string, unknown>>; output?: string },
|
|
1338
|
+
): ToolListEntryDisplay {
|
|
1339
|
+
const rawName = tc.name && tc.name.length > 0 ? tc.name : '(unnamed)';
|
|
1340
|
+
const name = clamp(rawName, TOOL_LIST_NAME_MAX);
|
|
1341
|
+
|
|
1342
|
+
let metaSource: string | null = null;
|
|
1343
|
+
if (tc.input) {
|
|
1344
|
+
const entries = Object.entries(tc.input);
|
|
1345
|
+
if (entries.length > 0) {
|
|
1346
|
+
const [k, v] = entries[0]!;
|
|
1347
|
+
const vStr =
|
|
1348
|
+
typeof v === 'string' ? v
|
|
1349
|
+
: v === null ? 'null'
|
|
1350
|
+
: v === undefined ? 'undefined'
|
|
1351
|
+
: JSON.stringify(v);
|
|
1352
|
+
metaSource = `${k}=${vStr}`;
|
|
1353
|
+
}
|
|
1354
|
+
} else if (tc.output && tc.output.length > 0) {
|
|
1355
|
+
metaSource = tc.output;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
if (metaSource === null) return { name, meta: null };
|
|
1359
|
+
|
|
1360
|
+
const meta = clamp(metaSource, TOOL_LIST_META_MAX);
|
|
1361
|
+
if (looksRedundant(rawName, metaSource)) return { name, meta: null };
|
|
1362
|
+
return { name, meta };
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
export function parseMultiLlmUpdateMeta(
|
|
1366
|
+
update: unknown,
|
|
1367
|
+
): MultiLlmUpdateMeta | null {
|
|
1368
|
+
if (!update || typeof update !== 'object') return null;
|
|
1369
|
+
const meta = (update as { _meta?: unknown })._meta;
|
|
1370
|
+
if (!meta || typeof meta !== 'object') return null;
|
|
1371
|
+
const elanous = (meta as { elanous?: unknown }).elanous;
|
|
1372
|
+
if (!elanous || typeof elanous !== 'object') return null;
|
|
1373
|
+
const m = elanous as Record<string, unknown>;
|
|
1374
|
+
if (typeof m.modelId !== 'string' || m.modelId.length === 0) return null;
|
|
1375
|
+
const out: MultiLlmUpdateMeta = { modelId: m.modelId };
|
|
1376
|
+
if (typeof m.provider === 'string') out.provider = m.provider;
|
|
1377
|
+
if (
|
|
1378
|
+
m.stopReason === 'end_turn'
|
|
1379
|
+
|| m.stopReason === 'cancelled'
|
|
1380
|
+
|| m.stopReason === 'error'
|
|
1381
|
+
) {
|
|
1382
|
+
out.stopReason = m.stopReason;
|
|
1383
|
+
}
|
|
1384
|
+
if (typeof m.error === 'string') out.error = m.error;
|
|
1385
|
+
return out;
|
|
1386
|
+
}
|