elanous 0.3.9 → 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/publish-static-generation.ts +80 -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/mini-board-projection.ts +129 -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/provenance-badge.ts +26 -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/task-card-model.ts +73 -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 +16 -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/scenarios/dashboard-default.yaml +53 -0
- package/scenarios/heap-graph.yaml +46 -0
- package/scenarios/iul-timeline-viewer.yaml +46 -0
- package/scenarios/ux-sim/app-demo-1114.yaml +22 -0
- package/scenarios/ux-sim/arg-macro-canvas.yaml +78 -0
- package/scenarios/ux-sim/author-reviewer-precheck-applied.yaml +27 -0
- package/scenarios/ux-sim/author-reviewer-precheck-rejected-unprovable.yaml +27 -0
- package/scenarios/ux-sim/burst-ready-ladder.yaml +47 -0
- package/scenarios/ux-sim/demo1104-research-arg-graph.yaml +32 -0
- package/scenarios/ux-sim/draft-inventory-200.yaml +44 -0
- package/scenarios/ux-sim/fixtures/phone-pwa-selfheal-broken.html +19 -0
- package/scenarios/ux-sim/fixtures/release-cut-0306-shards.json +7023 -0
- package/scenarios/ux-sim/gate-deps-root-bake.yaml +17 -0
- package/scenarios/ux-sim/gate-receipt-carry-any-run.yaml +31 -0
- package/scenarios/ux-sim/gate-roster-second-pool-world.yaml +9 -0
- package/scenarios/ux-sim/gate-roster-second-pool.yaml +26 -0
- package/scenarios/ux-sim/gate-shard-receipt-payload-corrupt.yaml +14 -0
- package/scenarios/ux-sim/google-drive-files-list-readonly.yaml +21 -0
- package/scenarios/ux-sim/graph-runtime-overlay-event-stream.yaml +27 -0
- package/scenarios/ux-sim/kaist-lecture-scrap-app.yaml +14 -0
- package/scenarios/ux-sim/kaist-selfheal-stage.yaml +14 -0
- package/scenarios/ux-sim/knowhow-pack-release-heal-1107.md +39 -0
- package/scenarios/ux-sim/macro-chain-e2e.yaml +14 -0
- package/scenarios/ux-sim/macrophage-attribution-integration-1107.yaml +86 -0
- package/scenarios/ux-sim/n30-old-graph-measured-waiver.yaml +15 -0
- package/scenarios/ux-sim/night-train-dead-pid-lock.yaml +19 -0
- package/scenarios/ux-sim/night-train-world.yaml +13 -0
- package/scenarios/ux-sim/novice-versioning-scenario.ts +150 -0
- package/scenarios/ux-sim/novice-versioning-world.yaml +6 -0
- package/scenarios/ux-sim/phone-pwa-selfheal-trace.json +30 -0
- package/scenarios/ux-sim/provider-4xx-no-provider.yaml +26 -0
- package/scenarios/ux-sim/pwa-formal-update-world.yaml +5 -0
- package/scenarios/ux-sim/pwa-formal-update.yaml +8 -0
- package/scenarios/ux-sim/rehearsal-hard-2h-mandatory.yaml +37 -0
- package/scenarios/ux-sim/release-cut-preflight-regressions.yaml +31 -0
- package/scenarios/ux-sim/release-day-0307-replay.yaml +138 -0
- package/scenarios/ux-sim/release-gate-fanout.yaml +48 -0
- package/scenarios/ux-sim/release-heal-macrophage-bus.yaml +37 -0
- package/scenarios/ux-sim/release-incident-events-execution.yaml +114 -0
- package/scenarios/ux-sim/release-incident-events.yaml +98 -0
- package/scenarios/ux-sim/release-introduced-repair.yaml +40 -0
- package/scenarios/ux-sim/release-receipt-inheritance.yaml +24 -0
- package/scenarios/ux-sim/release-sim-chain-remaining.yaml +46 -0
- package/scenarios/ux-sim/release-sim-rig.yaml +266 -0
- package/scenarios/ux-sim/rla-arg-adaptive-heal.yaml +45 -0
- package/scenarios/ux-sim/rla-incident-policy-host-lost.yaml +17 -0
- package/scenarios/ux-sim/rla-postland-recovery-hitl.yaml +17 -0
- package/scenarios/ux-sim/rla-rehearsal-cloud-resume-sim.yaml +36 -0
- package/scenarios/ux-sim/rla-rehearsal-incident-sim-b.yaml +29 -0
- package/scenarios/ux-sim/sim-hq-move-world.yaml +9 -0
- package/scenarios/ux-sim/sim-hq-move.yaml +14 -0
- package/scenarios/ux-sim/tui-selfimplement-retry-loop.yaml +29 -0
- package/scenarios/ux-sim/warm-pool-reuse-world.yaml +117 -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
- package/test/helpers/dashboard-source.ts +110 -0
|
@@ -0,0 +1,1719 @@
|
|
|
1
|
+
// PWA · Nexus HTTP + SSE client (Phase N-4 PR ν)
|
|
2
|
+
//
|
|
3
|
+
// Pure (no React import) so unit tests can exercise the wire layer
|
|
4
|
+
// without a DOM. React hooks (use-nexus-state etc.) wrap this client
|
|
5
|
+
// in PR ξ.
|
|
6
|
+
//
|
|
7
|
+
// HTTP API:
|
|
8
|
+
// - getHealth() / getNexus() / getTabs() / getTab(id)
|
|
9
|
+
// - createTab() / deleteTab() / patchTab() / startTab() / stopTab() / restartTab()
|
|
10
|
+
// - getTemplates() / getTemplate(name) / saveTemplate()
|
|
11
|
+
// - getConfig() / getSwitches() / putSwitch() / postSecret() / deleteSecret()
|
|
12
|
+
//
|
|
13
|
+
// SSE: subscribeEvents({topics, onEvent}) returns an Unsubscribe function.
|
|
14
|
+
|
|
15
|
+
import { reportAuthRequired } from '../lib/auth-required';
|
|
16
|
+
import { debugLog } from '../lib/debug';
|
|
17
|
+
import type {
|
|
18
|
+
NexusHealth,
|
|
19
|
+
NexusSnapshot,
|
|
20
|
+
NexusTabKind,
|
|
21
|
+
NexusTabState,
|
|
22
|
+
NexusEvent,
|
|
23
|
+
} from './types';
|
|
24
|
+
|
|
25
|
+
const TASK_CARDS_PATH = '/v1/task-cards';
|
|
26
|
+
|
|
27
|
+
export interface CredentialSlotWire {
|
|
28
|
+
id: string;
|
|
29
|
+
label: string;
|
|
30
|
+
present: boolean;
|
|
31
|
+
lastCheckedAt: string | null;
|
|
32
|
+
registerable?: boolean;
|
|
33
|
+
registrationPath?: string | null;
|
|
34
|
+
healthStatus?: 'missing' | 'valid' | 'expiring' | 'expired' | 'insufficient-permission' | 'unmeasured';
|
|
35
|
+
healthLabel?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class NexusApiError extends Error {
|
|
39
|
+
constructor(
|
|
40
|
+
public readonly status: number,
|
|
41
|
+
public readonly path: string,
|
|
42
|
+
public readonly body: unknown,
|
|
43
|
+
) {
|
|
44
|
+
super(`nexus ${status} on ${path}: ${stringify(body)}`);
|
|
45
|
+
this.name = 'NexusApiError';
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export class MissingUpstreamError extends NexusApiError {
|
|
50
|
+
readonly nodes: string[];
|
|
51
|
+
|
|
52
|
+
constructor(path: string, body: { error: 'missing-upstream'; nodes: string[] }) {
|
|
53
|
+
super(400, path, body);
|
|
54
|
+
this.name = 'MissingUpstreamError';
|
|
55
|
+
this.nodes = body.nodes;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export class NexusTimeoutError extends Error {
|
|
60
|
+
constructor(public readonly path: string, public readonly timeoutMs: number) {
|
|
61
|
+
super(`NEXUS 가 ${timeoutMs / 1000}초 안에 답하지 않았습니다 (${path}) — 방금 켰다면 잠시 뒤 다시 시도하세요.`);
|
|
62
|
+
this.name = 'NexusTimeoutError';
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function stringify(body: unknown): string {
|
|
67
|
+
try { return JSON.stringify(body); } catch { return String(body); }
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// ── M1-2b · friction-free model selection wire types ─────────────────
|
|
71
|
+
//
|
|
72
|
+
// Mirror of `src/model-tier/types.ts` shaped for the PWA so we don't
|
|
73
|
+
// import across the package boundary (apps/pwa tsconfig doesn't see
|
|
74
|
+
// parent src/). Drift kept in sync by `model-tier-spec.ts` mirror
|
|
75
|
+
// tests.
|
|
76
|
+
|
|
77
|
+
export type ModelTierWire = 'budget' | 'balanced' | 'better' | 'best' | 'loaded';
|
|
78
|
+
|
|
79
|
+
export interface ModelTierUserConfigWire {
|
|
80
|
+
profile?: 'casual' | 'power' | 'custom';
|
|
81
|
+
preset?: string;
|
|
82
|
+
voice?: { stt?: ModelTierWire; tts?: ModelTierWire };
|
|
83
|
+
llm?: ModelTierWire;
|
|
84
|
+
embedding?: ModelTierWire;
|
|
85
|
+
vision?: ModelTierWire;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface BudgetUserConfigWire {
|
|
89
|
+
monthlyUsdCap?: number;
|
|
90
|
+
dailyUsdCap?: number;
|
|
91
|
+
fallbackTier?: ModelTierWire;
|
|
92
|
+
notifyAtPct?: number;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface SmartDefaultsUserConfigWire {
|
|
96
|
+
autoSuggest?: boolean;
|
|
97
|
+
suppressPatternHints?: boolean;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface ModelTierPutWire {
|
|
101
|
+
modelTier?: ModelTierUserConfigWire | null;
|
|
102
|
+
budget?: BudgetUserConfigWire | null;
|
|
103
|
+
smartDefaults?: SmartDefaultsUserConfigWire | null;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface WishPlacementWire {
|
|
107
|
+
cellId: string;
|
|
108
|
+
cellTitle: string;
|
|
109
|
+
version: string;
|
|
110
|
+
status: 'green' | 'yellow' | 'red' | 'done';
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface TaskCardWire {
|
|
114
|
+
id: string;
|
|
115
|
+
goalId: string;
|
|
116
|
+
title: string;
|
|
117
|
+
status: 'open' | 'closed';
|
|
118
|
+
closedReason?: string;
|
|
119
|
+
createdAt: string;
|
|
120
|
+
sections: Array<{ key: string; owner: string; content: string; createdAt: string }>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface NexusClientOpts {
|
|
124
|
+
baseUrl: string;
|
|
125
|
+
/** Test seam — defaults to globalThis.fetch. */
|
|
126
|
+
fetchImpl?: typeof fetch;
|
|
127
|
+
/** Bearer credential sent on every request when present. */
|
|
128
|
+
token?: string;
|
|
129
|
+
/** Default request timeout (ms). 0 = no timeout. Default 8000. */
|
|
130
|
+
timeoutMs?: number;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export interface NexusClient {
|
|
134
|
+
readonly baseUrl: string;
|
|
135
|
+
// ---- read ----
|
|
136
|
+
getHealth(): Promise<NexusHealth>;
|
|
137
|
+
getCredentialSlots(): Promise<{ credentials: CredentialSlotWire[] }>;
|
|
138
|
+
startOpenRouterOAuth(): Promise<{ authorizationUrl: string }>;
|
|
139
|
+
listOpenRouterImportCandidates(): Promise<{ candidates: Array<{ id: string; name: string; source: string; lastFour: string }> }>;
|
|
140
|
+
importOpenRouterCandidate(id: string): Promise<{ saved: true; verification: 'verified'; lastFour: string }>;
|
|
141
|
+
createCredentialRegistrationLink(slot: string): Promise<{ slot: string; url: string; expiresAt: number }>;
|
|
142
|
+
revokeCredentialRegistrationLink(token: string): Promise<{ revoked: true }>;
|
|
143
|
+
claimCredentialRegistrationLink(token: string): Promise<{ slot: string; label: string; setupUrl: string; bearer: string; expiresAt: number }>;
|
|
144
|
+
submitCredentialRegistration(slot: string, bearer: string, value: string): Promise<{ saved: true; slot: string; verification: 'verified' }>;
|
|
145
|
+
registerCredentialSlot(slot: string, value: string): Promise<{ saved: true; slot: string; verification: 'verified' }>;
|
|
146
|
+
getNexus(): Promise<NexusSnapshot>;
|
|
147
|
+
getTabs(opts?: { kind?: NexusTabKind }): Promise<{ tabs: NexusTabState[] }>;
|
|
148
|
+
getTab(id: string): Promise<{ tab: NexusTabState; recentEvents: NexusEvent[] }>;
|
|
149
|
+
getTaskCards(): Promise<{ cards: TaskCardWire[] }>;
|
|
150
|
+
getTaskCard(id: string): Promise<{ card: TaskCardWire; placements?: WishPlacementWire[] }>;
|
|
151
|
+
closeTaskCard(id: string, reason: string): Promise<{ card: TaskCardWire }>;
|
|
152
|
+
/** PWA mirror PR 1 — chat-backend Quick Setup snapshot. PR 2's
|
|
153
|
+
* QuickSetupCard component consumes this to mirror the TUI Settings
|
|
154
|
+
* card on mobile / iOS / remote PWA users. Cache-free; the PWA's
|
|
155
|
+
* refresh button fires this fresh each time. */
|
|
156
|
+
getChatBackendDetection(): Promise<ChatBackendDetection>;
|
|
157
|
+
/** T4.D — mint a copy-friendly bearer token for paste-on-other-device. */
|
|
158
|
+
mintConnectToken(): Promise<MintConnectToken>;
|
|
159
|
+
// ---- mutation: tabs ----
|
|
160
|
+
createTab(body: CreateTabBody): Promise<{ tab: NexusTabState; started: boolean }>;
|
|
161
|
+
deleteTab(id: string): Promise<{ deleted: true; id: string }>;
|
|
162
|
+
patchTab(id: string, body: { label?: string }): Promise<{ tab: NexusTabState }>;
|
|
163
|
+
startTab(id: string): Promise<{ tab: NexusTabState; started: boolean }>;
|
|
164
|
+
stopTab(id: string, opts?: { graceMs?: number }): Promise<{ tab: NexusTabState; stopped: true }>;
|
|
165
|
+
restartTab(id: string, opts?: { graceMs?: number }): Promise<{ tab: NexusTabState; restarted: true; started: boolean }>;
|
|
166
|
+
// ---- templates ----
|
|
167
|
+
getTemplates(): Promise<{ templates: TemplateSummary[] }>;
|
|
168
|
+
getTemplate(name: string): Promise<{ template: NexusTemplate }>;
|
|
169
|
+
saveTemplate(body: SaveTemplateBody): Promise<{ saved: true; name: string; path?: string }>;
|
|
170
|
+
// ---- plugins market (daemon-verified reads and owner-only mutations) ----
|
|
171
|
+
getPluginsIndex(): Promise<MarketIndexResponse>;
|
|
172
|
+
getInstalledPlugins(): Promise<InstalledPluginWire[]>;
|
|
173
|
+
getWizardPlugins(): Promise<{ plugins: WizardPluginWire[] }>;
|
|
174
|
+
saveWizardPlugin(body: { name: string; draft: WizardDraftWire; regenerate?: boolean }): Promise<{ name: string; saved: true }>;
|
|
175
|
+
refreshPluginMarket(name: string): Promise<{ ok: boolean; plugins?: MarketPluginWire[]; reason?: string }>;
|
|
176
|
+
installMarketPlugin(spec: string, acceptedCapabilities: string[], onLine: (line: string) => void): Promise<void>;
|
|
177
|
+
removeMarketPlugin(name: string): Promise<{ removed: number }>;
|
|
178
|
+
getPluginCredentials(name: string): Promise<PluginCredentialsStatus>;
|
|
179
|
+
putPluginCredentials(name: string, fields: Record<string, string | null>): Promise<{ set: string[] }>;
|
|
180
|
+
// ---- harness execution graphs (core read-only · mine editable) ----
|
|
181
|
+
getRunGraphs(): Promise<{ graphs: RunGraphSummary[] }>;
|
|
182
|
+
getRunGraph(id: string): Promise<RunGraphDetail>;
|
|
183
|
+
/** Server-flattened read-only view of graph unit calls. Keeps `/yaml` as editable source. */
|
|
184
|
+
getRunGraphFlat?(id: string): Promise<RunGraphDetail>;
|
|
185
|
+
getRunGraphYaml(id: string): Promise<{ id: string; source: 'core' | 'mine'; editable: boolean; yaml: string; steps?: GraphWizardSteps }>;
|
|
186
|
+
getRunGraphAccess(id: string): Promise<{ grants: Array<{ recipient: string; permission: 'view' | 'edit' }> }>;
|
|
187
|
+
putRunGraphAccess(id: string, recipient: string, permission: 'view' | 'edit'): Promise<{ recipient: string; permission: 'view' | 'edit' }>;
|
|
188
|
+
/** `steps` (GRAPH-WIZARD-SAVE-RECIPES) — the wizard's node → library step map; the server validates it and builds the run commands itself. */
|
|
189
|
+
putRunGraphYaml(id: string, yaml: string, steps?: GraphWizardSteps): Promise<{ id: string; source: 'mine'; editable: true; saved: true; version?: number; previous?: number | null }>;
|
|
190
|
+
/** Create a «mine» run graph: 409 when the id exists, 403 for a core id, 400/422 for a bad id or an invalid graph. */
|
|
191
|
+
createRunGraph(id: string, yaml: string, steps?: GraphWizardSteps): Promise<{ id: string; source?: 'mine'; editable?: true; version?: number; previous?: number | null }>;
|
|
192
|
+
/** CGE-RUN — operator-only demo run of a «mine» graph (repository recipes only). */
|
|
193
|
+
startRunGraphRun(id: string): Promise<{ id: string; runId: string; demo?: boolean }>;
|
|
194
|
+
getRunGraphRun(id: string, runId: string): Promise<unknown>;
|
|
195
|
+
/** W9c — owner-only: approve the exact peer-edited version a run refusal named (409 when a newer peer save exists). */
|
|
196
|
+
approveRunGraph(id: string, version: string): Promise<{ id: string; approved: true; version: string }>;
|
|
197
|
+
cloneRunGraph(id: string, newId: string): Promise<{ id: string; source: 'mine'; editable: true; clonedFrom: string }>;
|
|
198
|
+
getGraphKinds(graph: 'workflow' | 'harness'): Promise<{ kinds: GraphKindEntry[] }>;
|
|
199
|
+
validateGraph(graph: 'workflow' | 'harness', yaml: string): Promise<GraphValidationResponse>;
|
|
200
|
+
/** GRAPH-WIZARD — «말로 만들기»: prompt (+ current canvas YAML and recent turns) → a validated graph draft.
|
|
201
|
+
* A 422 draft (ok:false) is returned, not thrown, so the canvas can still show it with its issues.
|
|
202
|
+
* Optional on the interface so hand-rolled test clients need not stub it; `createNexusClient` always has it. */
|
|
203
|
+
graphWizard?(body: GraphWizardRequest, opts?: { signal?: AbortSignal }): Promise<GraphWizardResponse>;
|
|
204
|
+
getGraphWizardPacks?(): Promise<{ packs: Array<{ id: string; title: string }> }>;
|
|
205
|
+
// ---- workflows (Archon-port T2.3) ----
|
|
206
|
+
getWorkflows(): Promise<{ workflows: WorkflowSummary[] }>;
|
|
207
|
+
getWorkflow(name: string): Promise<WorkflowDetail>;
|
|
208
|
+
getWorkflowHistory(name: string): Promise<WorkflowHistoryResponse>;
|
|
209
|
+
getWorkflowHistoryVersion(name: string, id: string): Promise<WorkflowHistoryVersionResponse>;
|
|
210
|
+
getWorkflowPins(name: string): Promise<WorkflowPinsResponse>;
|
|
211
|
+
putWorkflowPin(name: string, nodeId: string, value: unknown, note?: string): Promise<WorkflowPinResponse>;
|
|
212
|
+
deleteWorkflowPin(name: string, nodeId: string): Promise<{ workflow: string; removed: number }>;
|
|
213
|
+
saveWorkflow(name: string, body: SaveWorkflowBody): Promise<{ ok: true; path: string; scope: string }>;
|
|
214
|
+
deleteWorkflow(name: string, opts?: { scope?: 'project' | 'global' }): Promise<{ ok: true; path: string; scope: string }>;
|
|
215
|
+
validateWorkflow(yaml: string, opts?: { signal?: AbortSignal }): Promise<ValidateWorkflowResponse>;
|
|
216
|
+
/** ROADMAP Tier 1 W1 — natural-language → workflow YAML. */
|
|
217
|
+
generateWorkflow(body: GenerateWorkflowBody, opts?: { signal?: AbortSignal }): Promise<GenerateWorkflowResponse>;
|
|
218
|
+
/** Surface-unification §C1 (2026-05-11) — natural-language → workflow
|
|
219
|
+
* YAML + trigger via the R3 native skill (`workflow.synth_from_intent`).
|
|
220
|
+
* Richer than `generateWorkflow`: includes triggerSummary + name +
|
|
221
|
+
* preview/register modes + self-repair. */
|
|
222
|
+
synthesizeWorkflow(body: SynthesizeWorkflowBody, opts?: { signal?: AbortSignal }): Promise<SynthesizeWorkflowResponse>;
|
|
223
|
+
/** Surface-unification §E1 (2026-05-11) — flat inventory of every
|
|
224
|
+
* trigger node across the discovered workflows. Drives the PWA
|
|
225
|
+
* Active-triggers panel (E2). */
|
|
226
|
+
getTriggersSnapshot(opts?: { signal?: AbortSignal }): Promise<TriggerSnapshot>;
|
|
227
|
+
/** Surface-unification §F2 (2026-05-11) — starter workflow templates
|
|
228
|
+
* (raw YAML + parsed metadata) for the "+ New" picker. */
|
|
229
|
+
getWorkflowTemplates(opts?: { signal?: AbortSignal }): Promise<WorkflowTemplateList>;
|
|
230
|
+
runWorkflow(name: string, args: string, opts?: { dryRun?: boolean; onlyNode?: string; fromNode?: string; fromRunId?: string }): Promise<WorkflowRunStartResponse>;
|
|
231
|
+
getWorkflowRun(runId: string): Promise<WorkflowRunDetail>;
|
|
232
|
+
getWorkflowRuns(): Promise<{ runs: WorkflowRunSummary[] }>;
|
|
233
|
+
/** D4 · §6.4 SSE — URL for the workflow yaml fs.watch event stream.
|
|
234
|
+
* Used by `useWorkflows` to invalidate the cached list within
|
|
235
|
+
* <500ms of a disk yaml change (was 30s polling). Null when the
|
|
236
|
+
* client wasn't built with a base URL. */
|
|
237
|
+
workflowsEventsUrl(): string | null;
|
|
238
|
+
// §5.1 — approval surface
|
|
239
|
+
getPendingApprovals(): Promise<{ pending: PendingApproval[] }>;
|
|
240
|
+
approveRun(runId: string, body?: { response?: string }): Promise<{ ok: true; runId: string; decision: 'approved' }>;
|
|
241
|
+
rejectRun(runId: string, body?: { reason?: string }): Promise<{ ok: true; runId: string; decision: 'rejected' }>;
|
|
242
|
+
// ---- config + secrets ----
|
|
243
|
+
getConfig(): Promise<{ config: unknown }>;
|
|
244
|
+
getChatFastPath(): Promise<{ enabled: boolean }>;
|
|
245
|
+
getSwitches(): Promise<{ switches: SwitchWire[] }>;
|
|
246
|
+
getSwitch(id: string): Promise<{ switch: SwitchWire }>;
|
|
247
|
+
putSwitch(id: string, body: { value: unknown }): Promise<PutSwitchResult>;
|
|
248
|
+
postSecret(body: { id: string; value: string }): Promise<{ stored: true; id: string; ref: string }>;
|
|
249
|
+
deleteSecret(id: string): Promise<{ deleted: true; id: string }>;
|
|
250
|
+
getSecrets(): Promise<{ secrets: { id: string }[] }>;
|
|
251
|
+
/** M1-2b — friction-free model selection sub-trees (modelTier · budget ·
|
|
252
|
+
* smartDefaults). Returns each only when set; the PWA slider hydrates
|
|
253
|
+
* from this on mount to stay cross-device consistent. */
|
|
254
|
+
getModelTier(): Promise<{
|
|
255
|
+
modelTier?: ModelTierUserConfigWire;
|
|
256
|
+
budget?: BudgetUserConfigWire;
|
|
257
|
+
smartDefaults?: SmartDefaultsUserConfigWire;
|
|
258
|
+
}>;
|
|
259
|
+
/** M1-2b — partial PUT. Supplied sub-trees replace; omitted preserve;
|
|
260
|
+
* `null` clears. Echoes back the post-merge state from disk. */
|
|
261
|
+
putModelTier(body: ModelTierPutWire): Promise<{
|
|
262
|
+
modelTier?: ModelTierUserConfigWire;
|
|
263
|
+
budget?: BudgetUserConfigWire;
|
|
264
|
+
smartDefaults?: SmartDefaultsUserConfigWire;
|
|
265
|
+
}>;
|
|
266
|
+
/** BACKLOG #2 — connected/not-configured per integration channel. */
|
|
267
|
+
getPlatforms(): Promise<{ platforms: PlatformEntry[] }>;
|
|
268
|
+
// ---- /setup wizard (Phase 1 · 2026-05-19) ----
|
|
269
|
+
/** PWA `/setup` Phase 1 — LLM provider catalog for the first-boot
|
|
270
|
+
* picker. Server-authoritative (mirrors DASHBOARD_PROVIDER_SETUP_OPTIONS).
|
|
271
|
+
* `hasSavedKey` lets the UI render "already configured" hint without
|
|
272
|
+
* echoing the secret. */
|
|
273
|
+
getLlmProviders(): Promise<LlmProvidersResponse>;
|
|
274
|
+
/** PWA `/setup` Phase 1 — apply provider + apiKey. apiKey-flow + auto-
|
|
275
|
+
* flow only · codex / local surface 422 with TUI hint (Phase 1b). */
|
|
276
|
+
setLlmProvider(body: SetLlmProviderBody): Promise<SetLlmProviderResponse>;
|
|
277
|
+
getObsidianSkills(): Promise<ObsidianSkillsState>;
|
|
278
|
+
setObsidian(body: { vault: string }): Promise<{ ok: true; obsidian: { vault: string }; warning?: string }>;
|
|
279
|
+
setSkills(body: { activeSet: string } | { dirs: string[] }): Promise<{ ok: true; skills: { activeSet: string; dirs: string[] } }>;
|
|
280
|
+
getChannelBots(): Promise<ChannelBotsResponse>;
|
|
281
|
+
setChannelBot(body: ChannelBotSetBody): Promise<ChannelBotSetResponse>;
|
|
282
|
+
getChildLlmPreference(): Promise<ChildLlmPreferenceResponse>;
|
|
283
|
+
setChildLlmPreference(body: ChildLlmPreferenceBody): Promise<{ resolved: ChildLlmResolved }>;
|
|
284
|
+
getAnswerPriority(): Promise<AnswerPriorityResponse>;
|
|
285
|
+
setAnswerPriority(value: AnswerPriorityValue): Promise<{ value: AnswerPriorityValue }>;
|
|
286
|
+
// ---- /settings PersonaCard (Phase 3 · 2026-05-19) ----
|
|
287
|
+
/** §6.4 (existing) — list loaded personas + descriptions. */
|
|
288
|
+
getPersonas(): Promise<PersonasListResponse>;
|
|
289
|
+
getPersonaPresets(): Promise<PersonaPresetsResponse>;
|
|
290
|
+
createPersona(body: CreatePersonaBody): Promise<PersonaPatchResponse>;
|
|
291
|
+
patchPersona(id: string, edits: PersonaEdits): Promise<PersonaPatchResponse>;
|
|
292
|
+
/** Phase 3 — update description for a single persona. Surgical yaml
|
|
293
|
+
* edit (comments/custom keys preserved). Empty string clears. */
|
|
294
|
+
patchPersonaDescription(
|
|
295
|
+
personaId: string,
|
|
296
|
+
description: string,
|
|
297
|
+
): Promise<PersonaPatchResponse>;
|
|
298
|
+
/** RFC #2161 Phase 3 — Layer A static catalog snapshot. Used by the
|
|
299
|
+
* Showroom dropdown + future LlmCatalogCard. Phase 5 sibling
|
|
300
|
+
* `getResolvedView()` will add live state on top. */
|
|
301
|
+
getRegistryCatalog(): Promise<RegistryCatalogResponse>;
|
|
302
|
+
/** BACKLOG #5 — active worktree visualization. */
|
|
303
|
+
getWorktrees(): Promise<WorktreesResponse>;
|
|
304
|
+
/** B4 — craft-rulebook verdict for the daemon's active repository. */
|
|
305
|
+
getDesignCheck(): Promise<DesignCheckResponse>;
|
|
306
|
+
/** Live 탭 — 런 원장. */
|
|
307
|
+
getHarnessRuns(): Promise<HarnessRunsResponse>;
|
|
308
|
+
/** HARNESS-RUN-LIVE-GRAPH — 도는 런 ⊕ `sinceMs` 이후 끝난 런(고르개). */
|
|
309
|
+
getHarnessRunsSince(sinceMs: number, options?: { includeLanded?: boolean }): Promise<HarnessRunsSinceResponse>;
|
|
310
|
+
/** HARNESS-RUN-LIVE-GRAPH — 런 하나의 노드 순서·결과·시각 ⊕ 여정 띠. */
|
|
311
|
+
getHarnessRunTraversal(runId: string): Promise<HarnessRunTraversal>;
|
|
312
|
+
/** R-SURFACE JSON v1: read-only plugin projection for graph, harness, release, or resources. */
|
|
313
|
+
getGraphInstanceView(query: { source: 'harness' | 'graph' | 'release' | 'resource'; runId?: string; graphId?: string }): Promise<unknown>;
|
|
314
|
+
/** Live 탭 — 로그 조회(최신순). `store` 는 다른 인스턴스 읽기 전용. */
|
|
315
|
+
getLogs(query: LogsQuery): Promise<LogsResponse>;
|
|
316
|
+
/** Live 탭 — 로그 저장소가 있는 인스턴스 목록. */
|
|
317
|
+
getLogInstances(): Promise<LogInstancesResponse>;
|
|
318
|
+
/** Live 탭 MAX — 하니스 상세 계측 스위치(🅢 #21452 · 소유자 토큰). */
|
|
319
|
+
getLiveDetail(): Promise<LiveDetailState>;
|
|
320
|
+
/** Live 탭 SHIPPED — GitHub 병합 PR 수(🅢 09-28 ① · 우주와 무관). 못 셌으면 `merged: null` ⊕ 이유. */
|
|
321
|
+
getLiveShipped(since: string): Promise<LiveShippedResponse>;
|
|
322
|
+
/** Trace 탭 — 판단 사슬(🅣 #21590 `GET /v1/trace`). 서버가 여러 우주를 모아 사슬·사실(PR·커밋·화면)을 붙여 준다. */
|
|
323
|
+
getTrace(query: TraceQuery): Promise<TraceResponse>;
|
|
324
|
+
/** Trace L4 — 로그 한 줄 원문(비밀 가림 · `ref = log:<우주>:<id>`). */
|
|
325
|
+
getTraceEvidence(ref: string): Promise<TraceEvidenceResponse>;
|
|
326
|
+
/** Live 탭 런 서랍 — 그 런의 화면 끝부분(`self screen --run` 과 같은 해석). */
|
|
327
|
+
getRunScreen(runId: string, lines?: number): Promise<RunScreenResponse>;
|
|
328
|
+
/** 하니스 런 멈춤(부드러운 멈춤 · 화면 키 = spaceId). */
|
|
329
|
+
stopHarness(spaceId: string): Promise<{ stopped?: string; error?: string }>;
|
|
330
|
+
setLiveDetail(body: { scope: string; ttlMin: number; by?: string }): Promise<LiveDetailState>;
|
|
331
|
+
/** RFC design loop §B — write the chosen direction into the same repository
|
|
332
|
+
* the design check reads (owner auth; same function as the CLI `--set`). */
|
|
333
|
+
setDesignDirection(id: string): Promise<SetDesignDirectionResponse>;
|
|
334
|
+
/** POST /v1/design-system — make a library system from a URL or a palette. */
|
|
335
|
+
createDesignSystem(body: CreateDesignSystemBody): Promise<CreateDesignSystemResponse>;
|
|
336
|
+
/** RFC design loop §A2 — HTML previews under the design-check repository. */
|
|
337
|
+
listDesignPreviews(): Promise<DesignPreviewsResponse>;
|
|
338
|
+
getDesignPreview(system: string): Promise<DesignPreviewDocument>;
|
|
339
|
+
/** HANDOFF §4.2 — GUI cleanup for worktrees + orphan sessions.
|
|
340
|
+
* Posts the path of a non-main worktree (or an orphaned session's
|
|
341
|
+
* worktreePath) to remove it. `force` runs `git worktree remove
|
|
342
|
+
* --force` for dirty checkouts. */
|
|
343
|
+
disposeWorktree(body: DisposeWorktreeBody): Promise<DisposeWorktreeResponse>;
|
|
344
|
+
// ---- log streaming ----
|
|
345
|
+
getLogsTail(id: string, opts?: { lines?: number }): Promise<LogsTailResult>;
|
|
346
|
+
// ---- SSE ----
|
|
347
|
+
subscribeEvents(opts: SubscribeOpts): Unsubscribe;
|
|
348
|
+
subscribeLogs(id: string, opts: SubscribeLogsOpts): Unsubscribe;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
// ---- request bodies ----
|
|
352
|
+
export interface CreateTabBody {
|
|
353
|
+
kind: NexusTabKind;
|
|
354
|
+
id?: string;
|
|
355
|
+
label?: string;
|
|
356
|
+
kindOpts?: Record<string, unknown>;
|
|
357
|
+
start?: boolean;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export interface TemplateSummary {
|
|
361
|
+
name: string;
|
|
362
|
+
description: string;
|
|
363
|
+
source: 'builtin' | 'user';
|
|
364
|
+
tabCount: number;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export interface NexusTemplate {
|
|
368
|
+
version: number;
|
|
369
|
+
name: string;
|
|
370
|
+
description: string;
|
|
371
|
+
tabs: { kind: NexusTabKind; id?: string; label?: string; kindOpts?: Record<string, unknown>; start?: boolean }[];
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export interface SaveTemplateBody {
|
|
375
|
+
name: string;
|
|
376
|
+
description?: string;
|
|
377
|
+
fromRegistry?: boolean;
|
|
378
|
+
tabs?: NexusTemplate['tabs'];
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export interface GraphKindEntry {
|
|
382
|
+
graph: 'workflow' | 'harness';
|
|
383
|
+
kind: string;
|
|
384
|
+
plugin?: string | null;
|
|
385
|
+
description: string;
|
|
386
|
+
schema?: Record<string, unknown>;
|
|
387
|
+
core: boolean;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/** Node id → the wizard's library step (label · step · arg · retries). */
|
|
391
|
+
export type GraphWizardSteps = Record<string, { label?: string; step?: string; arg?: string; retries?: number }>;
|
|
392
|
+
|
|
393
|
+
export interface GraphWizardRequest {
|
|
394
|
+
prompt: string;
|
|
395
|
+
kind?: 'harness' | 'workflow';
|
|
396
|
+
/** The canvas as it stands — the wizard edits it instead of starting over. */
|
|
397
|
+
currentYaml?: string;
|
|
398
|
+
history?: Array<{ role: 'user' | 'assistant'; text: string }>;
|
|
399
|
+
packId?: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export interface GraphWizardResponse {
|
|
403
|
+
ok: boolean;
|
|
404
|
+
id?: string;
|
|
405
|
+
yaml?: string;
|
|
406
|
+
base?: string;
|
|
407
|
+
issues?: Array<string | { message: string; path?: string; nodeId?: string }>;
|
|
408
|
+
attempts?: number;
|
|
409
|
+
/** One line on what changed («노드 2개 추가 …»). */
|
|
410
|
+
summary?: string;
|
|
411
|
+
/** v2 (#24977) — Korean display names per node id («뉴스 수집»). Absent on older daemons. */
|
|
412
|
+
labels?: Record<string, string>;
|
|
413
|
+
/** v2 — why `base` was picked. */
|
|
414
|
+
baseReason?: string;
|
|
415
|
+
/** v2 — runnable steps / recipes.yaml text / dry-run walk (shown elsewhere; carried for completeness). */
|
|
416
|
+
steps?: GraphWizardSteps;
|
|
417
|
+
recipes?: string;
|
|
418
|
+
dryRun?: { status: string; path: string[] };
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
export interface GraphValidationResponse {
|
|
422
|
+
ok: boolean;
|
|
423
|
+
errors: Array<{ message: string; path?: string }>;
|
|
424
|
+
ignoredKeys: string[];
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
export interface WizardDraftWire {
|
|
428
|
+
description: string;
|
|
429
|
+
connectors?: Array<{ id: string; credentials?: Array<{ name: string }> }>;
|
|
430
|
+
skill?: { description: string; instructions: string; requires?: string[] };
|
|
431
|
+
}
|
|
432
|
+
export interface WizardPluginWire { name: string; description: string; draft: WizardDraftWire }
|
|
433
|
+
|
|
434
|
+
export interface MarketPluginWire {
|
|
435
|
+
name: string;
|
|
436
|
+
version: string;
|
|
437
|
+
description?: string;
|
|
438
|
+
category?: string;
|
|
439
|
+
capabilities: string[];
|
|
440
|
+
connectors: Array<{ id: string; kind: string; userConfig: Array<{ key: string; label: string; secret: boolean }> }>;
|
|
441
|
+
graphs?: string[];
|
|
442
|
+
pricing: { model: 'free' | 'one-time' | 'subscription'; amount?: number; currency?: string; period?: string };
|
|
443
|
+
sha256: string;
|
|
444
|
+
}
|
|
445
|
+
export interface MarketIndexResponse {
|
|
446
|
+
markets: Array<{ name: string; signature: 'ok' | 'missing' | 'unknown-key' | 'malformed' | 'stale'; detail?: string; plugins: MarketPluginWire[] }>;
|
|
447
|
+
}
|
|
448
|
+
export interface InstalledPluginWire { name: string; version: string; market: string; path: string; sha256: string | null; installedAt?: string }
|
|
449
|
+
export interface PluginCredentialsStatus { fields: Array<{ name: string; env: string; set: boolean }> }
|
|
450
|
+
|
|
451
|
+
// F-M1 — server-authoritative core graph snapshot; no mutation endpoints.
|
|
452
|
+
export interface RunGraphSummary {
|
|
453
|
+
id: string;
|
|
454
|
+
source: 'core' | 'mine';
|
|
455
|
+
editable: boolean;
|
|
456
|
+
nodeCount: number;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
export interface RunGraphDetail {
|
|
460
|
+
id: string;
|
|
461
|
+
source: 'core' | 'mine';
|
|
462
|
+
editable: boolean;
|
|
463
|
+
graph_hash?: string;
|
|
464
|
+
entry_node: string;
|
|
465
|
+
terminal_nodes: string[];
|
|
466
|
+
nodes: Array<{ node_id: string; kind: string; recipe: string; max_visits: number; provenance?: { source?: string; type?: string; scene?: string; reason?: string; mock?: boolean } }>;
|
|
467
|
+
edges: Array<{
|
|
468
|
+
from: string;
|
|
469
|
+
to?: string;
|
|
470
|
+
on?: string;
|
|
471
|
+
map?: Record<string, string>;
|
|
472
|
+
fallback?: Array<{ node: string; requires: string[]; observed?: number }>;
|
|
473
|
+
}>;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
// Archon-port T2.3 wire format — PWA `/workflows` (T2A) consumes these.
|
|
477
|
+
export interface WorkflowSummary {
|
|
478
|
+
name: string;
|
|
479
|
+
description: string;
|
|
480
|
+
source: 'project' | 'global' | 'builtin';
|
|
481
|
+
path: string;
|
|
482
|
+
nodeCount: number;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export interface WorkflowDetail {
|
|
486
|
+
name: string;
|
|
487
|
+
source: 'project' | 'global' | 'builtin';
|
|
488
|
+
path: string;
|
|
489
|
+
/** Raw YAML text — feed this back into PUT to round-trip. */
|
|
490
|
+
yaml: string;
|
|
491
|
+
/** Parsed schema (for validation badges, node-count display, etc.). */
|
|
492
|
+
definition: {
|
|
493
|
+
name: string;
|
|
494
|
+
description: string;
|
|
495
|
+
nodes: Array<{ id: string; depends_on?: string[]; [variantKey: string]: unknown }>;
|
|
496
|
+
[topKey: string]: unknown;
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export interface WorkflowHistoryVersion {
|
|
501
|
+
id: string;
|
|
502
|
+
createdAt: string;
|
|
503
|
+
size: number;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export interface WorkflowHistoryResponse {
|
|
507
|
+
versions: WorkflowHistoryVersion[];
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export interface WorkflowHistoryVersionResponse {
|
|
511
|
+
yaml: string;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export interface WorkflowPinEntry {
|
|
515
|
+
nodeId: string;
|
|
516
|
+
value: unknown;
|
|
517
|
+
updatedAt: string;
|
|
518
|
+
note?: string;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export interface WorkflowPinsResponse {
|
|
522
|
+
workflow: string;
|
|
523
|
+
pins: Record<string, WorkflowPinEntry>;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export interface WorkflowPinResponse {
|
|
527
|
+
workflow: string;
|
|
528
|
+
pin: WorkflowPinEntry;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export interface SaveWorkflowBody {
|
|
532
|
+
yaml: string;
|
|
533
|
+
scope?: 'project' | 'global';
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export interface ValidateWorkflowResponse {
|
|
537
|
+
validation: {
|
|
538
|
+
ok: boolean;
|
|
539
|
+
issues: Array<{ path: string; message: string }>;
|
|
540
|
+
workflow?: WorkflowDetail['definition'];
|
|
541
|
+
/** M4-2 (2026-05-12) — non-fatal deterministic warnings. */
|
|
542
|
+
warnings: Array<{
|
|
543
|
+
code: string;
|
|
544
|
+
severity: 'high' | 'medium' | 'low';
|
|
545
|
+
message: string;
|
|
546
|
+
nodeId?: string;
|
|
547
|
+
path?: string;
|
|
548
|
+
suggestion?: string;
|
|
549
|
+
}>;
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/** ROADMAP Tier 1 W1 — POST /v1/workflows/generate request body. */
|
|
554
|
+
export interface GenerateWorkflowBody {
|
|
555
|
+
prompt: string;
|
|
556
|
+
model?: string;
|
|
557
|
+
provider?: string;
|
|
558
|
+
/** Optional skill-name vocabulary the LLM should restrict skill nodes to. */
|
|
559
|
+
skills?: string[];
|
|
560
|
+
/** Optional existing YAML to refine instead of generating from scratch. */
|
|
561
|
+
currentYaml?: string;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/** ROADMAP Tier 1 W1 — POST /v1/workflows/generate response. Mirrors
|
|
565
|
+
* src/workflow/nl-generator.ts `GenerateWorkflowResponse`. */
|
|
566
|
+
export interface GenerateWorkflowResponse {
|
|
567
|
+
yaml: string;
|
|
568
|
+
warnings: string[];
|
|
569
|
+
raw: string;
|
|
570
|
+
definition?: WorkflowDetail['definition'];
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/** Surface-unification §C1 (2026-05-11) — POST /v1/workflows/synth body.
|
|
574
|
+
* Mirrors `WorkflowSynthOpts` from src/workflow-synth/index.ts. */
|
|
575
|
+
export interface SynthesizeWorkflowBody {
|
|
576
|
+
intent: string;
|
|
577
|
+
context?: string;
|
|
578
|
+
/** When true (default), returns the YAML without persisting it so the
|
|
579
|
+
* PWA can render a preview/confirm modal (C2). */
|
|
580
|
+
preview?: boolean;
|
|
581
|
+
scope?: 'project' | 'global';
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/** Surface-unification §C1 — POST /v1/workflows/synth response. Mirrors
|
|
585
|
+
* `WorkflowSynthResult` from src/workflow-synth/index.ts. */
|
|
586
|
+
export interface SynthesizeWorkflowResponse {
|
|
587
|
+
ok: boolean;
|
|
588
|
+
yaml?: string;
|
|
589
|
+
workflowName?: string;
|
|
590
|
+
triggerSummary?: string;
|
|
591
|
+
registered: boolean;
|
|
592
|
+
registeredPath?: string;
|
|
593
|
+
repaired?: boolean;
|
|
594
|
+
error?: string;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/** Surface-unification §E1 (2026-05-11) — flat trigger inventory.
|
|
598
|
+
* Each entry corresponds to one trigger node in one workflow. */
|
|
599
|
+
export interface TriggerSnapshotEntry {
|
|
600
|
+
workflowName: string;
|
|
601
|
+
nodeId: string;
|
|
602
|
+
variant: 'schedule' | 'webhook' | 'discord' | 'telegram' | 'manual' | 'chat';
|
|
603
|
+
payload: Record<string, unknown>;
|
|
604
|
+
}
|
|
605
|
+
export interface TriggerSnapshot {
|
|
606
|
+
triggers: TriggerSnapshotEntry[];
|
|
607
|
+
workflowsScanned: number;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/** Surface-unification §F2 (2026-05-11) — workflow template metadata. */
|
|
611
|
+
export interface WorkflowTemplateEntry {
|
|
612
|
+
id: string;
|
|
613
|
+
title: string;
|
|
614
|
+
description: string;
|
|
615
|
+
tags: string[];
|
|
616
|
+
yaml: string;
|
|
617
|
+
}
|
|
618
|
+
export interface WorkflowTemplateList {
|
|
619
|
+
templates: WorkflowTemplateEntry[];
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export interface WorkflowRunStartResponse {
|
|
623
|
+
ok: true;
|
|
624
|
+
runId: string;
|
|
625
|
+
/** Server (#23131): 'only' = onlyNode · 'from' = fromNode⊕fromRunId · 'full' = the whole workflow. */
|
|
626
|
+
mode?: 'only' | 'from' | 'full';
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export interface WorkflowRunEvent {
|
|
630
|
+
type: string;
|
|
631
|
+
nodeId?: string;
|
|
632
|
+
nodeType?: string;
|
|
633
|
+
reason?: string;
|
|
634
|
+
result?: { ok: boolean; output: unknown; error?: string; durationMs: number };
|
|
635
|
+
outputs?: Record<string, { ok: boolean; output: unknown; durationMs: number }>;
|
|
636
|
+
error?: string;
|
|
637
|
+
partial?: Record<string, unknown>;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export interface WorkflowRunDetail {
|
|
641
|
+
runId: string;
|
|
642
|
+
workflowName: string;
|
|
643
|
+
/** Server (#23131): 'only' = a single-node test run (not a valid «retry from» source) · 'from' · 'full'. */
|
|
644
|
+
mode?: 'only' | 'from' | 'full';
|
|
645
|
+
startedAt: number;
|
|
646
|
+
ok: boolean | undefined;
|
|
647
|
+
events: WorkflowRunEvent[];
|
|
648
|
+
outputs: Record<string, unknown>;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/** Disk-backed run summary returned by `GET /v1/workflows/runs`.
|
|
652
|
+
* Shape mirrors `DiskRunSummary` in src/nexus/api/workflows.ts. The
|
|
653
|
+
* `orphaned` status is derived: running runs older than 30 min are
|
|
654
|
+
* surfaced as orphaned to the listing only — the on-disk run.json
|
|
655
|
+
* stays at `running` so a long-tail completion can still finalize. */
|
|
656
|
+
export interface WorkflowRunSummary {
|
|
657
|
+
runId: string;
|
|
658
|
+
workflowName: string;
|
|
659
|
+
startedAt: number;
|
|
660
|
+
completedAt?: number;
|
|
661
|
+
ok?: boolean;
|
|
662
|
+
status: 'running' | 'orphaned' | 'done' | 'failed' | 'unknown';
|
|
663
|
+
arguments?: string;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/** §5.1 — pending approval entry returned by GET /v1/workflows/runs/
|
|
667
|
+
* pending. The executor is parked on a deferred Promise here; the
|
|
668
|
+
* client unblocks it via POST /approve or /reject. */
|
|
669
|
+
export interface PendingApproval {
|
|
670
|
+
runId: string;
|
|
671
|
+
message: string;
|
|
672
|
+
requestedAt: number;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
// /setup wizard (Phase 1 · 2026-05-19) — LLM provider picker wire types.
|
|
676
|
+
// Mirror of `src/nexus/api/setup-llm-provider.ts` LlmProviderWire +
|
|
677
|
+
// LlmProvidersResponse. Drift kept in sync by `setup-llm-provider.test.ts`
|
|
678
|
+
// asserting the catalog shape end-to-end.
|
|
679
|
+
export interface LlmProviderEntry {
|
|
680
|
+
provider: string;
|
|
681
|
+
label: string;
|
|
682
|
+
description: string;
|
|
683
|
+
apiKeyLabel: string;
|
|
684
|
+
flow: 'apiKey' | 'codex' | 'local' | 'auto';
|
|
685
|
+
recommended: boolean;
|
|
686
|
+
hasSavedKey: boolean;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export interface LlmProvidersResponse {
|
|
690
|
+
providers: LlmProviderEntry[];
|
|
691
|
+
activeProvider: string;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export interface SetLlmProviderBody {
|
|
695
|
+
provider: string;
|
|
696
|
+
apiKey?: string;
|
|
697
|
+
baseUrl?: string;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export interface SetLlmProviderResponse {
|
|
701
|
+
ok: true;
|
|
702
|
+
active: {
|
|
703
|
+
provider: string;
|
|
704
|
+
model: string;
|
|
705
|
+
};
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
export type AnswerPriorityValue = 'cost' | 'balanced' | 'quality' | 'exhaustive';
|
|
709
|
+
export interface AnswerPriorityResponse {
|
|
710
|
+
value: AnswerPriorityValue | null;
|
|
711
|
+
effective: AnswerPriorityValue;
|
|
712
|
+
choices: Array<{ value: AnswerPriorityValue; label: string; description: string }>;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export type ChildLlmMode = 'pinned' | 'auto';
|
|
716
|
+
export type ChildLlmOnShortfall = 'decompose' | 'wait-reset' | 'next-provider' | 'proceed';
|
|
717
|
+
|
|
718
|
+
export interface ChildLlmChainEntry {
|
|
719
|
+
provider: string;
|
|
720
|
+
model?: string;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export interface ChildLlmResolved {
|
|
724
|
+
mode: ChildLlmMode;
|
|
725
|
+
chain: ChildLlmChainEntry[];
|
|
726
|
+
budgetGate: {
|
|
727
|
+
minHeadroomPercent: number;
|
|
728
|
+
onShortfall: ChildLlmOnShortfall;
|
|
729
|
+
};
|
|
730
|
+
source: { mode: 'explicit' | 'inferred'; chain: 'config' | 'pinned' | 'fallbackChain' };
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export interface ChildLlmPreferenceResponse {
|
|
734
|
+
resolved: ChildLlmResolved;
|
|
735
|
+
providers: string[];
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
export interface ChildLlmPreferenceBody {
|
|
739
|
+
mode?: ChildLlmMode;
|
|
740
|
+
chain?: ChildLlmChainEntry[];
|
|
741
|
+
budgetGate?: { minHeadroomPercent?: number; onShortfall?: ChildLlmOnShortfall };
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
export interface ObsidianSkillsState {
|
|
745
|
+
obsidian: { vault: string; exists: boolean; looksLikeVault: boolean };
|
|
746
|
+
skills: {
|
|
747
|
+
activeSet: string;
|
|
748
|
+
dirs: string[];
|
|
749
|
+
presets: Array<{ key: string; label: string; dir: string | null; exists: boolean }>;
|
|
750
|
+
};
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
// /settings PersonaCard (Phase 3 · 2026-05-19) — wire types for persona
|
|
754
|
+
// list + description PATCH. Mirror of `src/nexus/api/personas.ts`
|
|
755
|
+
// `PersonaWire` (subset of `PersonaProfile`).
|
|
756
|
+
export interface PersonaWireEntry {
|
|
757
|
+
personaId: string;
|
|
758
|
+
displayName: string;
|
|
759
|
+
description?: string;
|
|
760
|
+
brand?: string;
|
|
761
|
+
primaryModel?: string;
|
|
762
|
+
systemPrompt?: string;
|
|
763
|
+
avatarUrl?: string;
|
|
764
|
+
brandColor?: string;
|
|
765
|
+
mentionPatterns?: readonly string[];
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
export interface PersonasListResponse {
|
|
769
|
+
personas: PersonaWireEntry[];
|
|
770
|
+
count: number;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
export interface PersonaPatchResponse {
|
|
774
|
+
persona: PersonaWireEntry;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export interface PersonaPresetEntry {
|
|
778
|
+
personaId: string;
|
|
779
|
+
displayName: string;
|
|
780
|
+
names: string[];
|
|
781
|
+
role: string;
|
|
782
|
+
title?: string | null;
|
|
783
|
+
oneLine: string;
|
|
784
|
+
voice: { rule: string; examples: string[] };
|
|
785
|
+
tasks: Array<{ when: string; what: string }>;
|
|
786
|
+
tools: Array<{ name: string; from: string; optional?: boolean }>;
|
|
787
|
+
firstQuestions: string[];
|
|
788
|
+
askBefore?: string[];
|
|
789
|
+
doesNot: string[];
|
|
790
|
+
forWhom: string;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export interface PersonaPresetsResponse { presets: PersonaPresetEntry[] }
|
|
794
|
+
export interface CreatePersonaBody { preset: string; name: string }
|
|
795
|
+
export interface PersonaEdits { displayName?: string; description?: string; systemPrompt?: string }
|
|
796
|
+
|
|
797
|
+
// BACKLOG #2 — GET /v1/platforms wire format. Mirrors
|
|
798
|
+
// `src/nexus/api/platforms.ts:PlatformEntry`. Server never returns
|
|
799
|
+
// secret values; `detail` and `hint` are human-readable strings.
|
|
800
|
+
export type ChannelBotPlatform = 'telegram' | 'discord';
|
|
801
|
+
export interface ChannelBotState {
|
|
802
|
+
platform: ChannelBotPlatform;
|
|
803
|
+
configured: boolean;
|
|
804
|
+
source: 'tokenRef' | 'env' | 'plaintext' | null;
|
|
805
|
+
allowedUsers: string[];
|
|
806
|
+
}
|
|
807
|
+
export interface ChannelBotsResponse { platforms: ChannelBotState[] }
|
|
808
|
+
export interface ChannelBotSetBody { platform: ChannelBotPlatform; token?: string; allowedUsers?: string[] }
|
|
809
|
+
export interface ChannelBotSetResponse { ok: true; botName?: string; restartNeeded: true }
|
|
810
|
+
|
|
811
|
+
export type PlatformId = 'discord' | 'telegram' | 'pushcut' | 'acp' | 'tailscale';
|
|
812
|
+
export type PlatformStatus = 'connected' | 'not-configured';
|
|
813
|
+
export interface PlatformEntry {
|
|
814
|
+
id: PlatformId;
|
|
815
|
+
label: string;
|
|
816
|
+
status: PlatformStatus;
|
|
817
|
+
detail: string;
|
|
818
|
+
hint?: string;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
// BACKLOG #1 types retired 2026-05-11 — `/v1/providers` endpoint
|
|
822
|
+
// removed alongside ProviderCapabilityCard (#2198 FU A4). The matrix
|
|
823
|
+
// view is now served by `/v1/registry/catalog` + LlmCatalogCard.
|
|
824
|
+
|
|
825
|
+
// RFC #2161 Phase 3 — GET /v1/registry/catalog wire format. Mirrors
|
|
826
|
+
// `src/nexus/api/registry-catalog.ts:CatalogResponse`. The PWA client
|
|
827
|
+
// keeps a structural-only mirror so we don't pull the daemon's runtime
|
|
828
|
+
// types into the bundle. Capability + reasoning vocabularies stay
|
|
829
|
+
// in-sync via the workflow yaml validator (server-authoritative).
|
|
830
|
+
export type RegistryCapabilityKey =
|
|
831
|
+
| 'sessionResume'
|
|
832
|
+
| 'mcp'
|
|
833
|
+
| 'hooks'
|
|
834
|
+
| 'skills'
|
|
835
|
+
| 'agents'
|
|
836
|
+
| 'toolRestrictions'
|
|
837
|
+
| 'structuredOutput'
|
|
838
|
+
| 'envInjection'
|
|
839
|
+
| 'costControl'
|
|
840
|
+
| 'effortControl'
|
|
841
|
+
| 'thinkingControl'
|
|
842
|
+
| 'fallbackModel'
|
|
843
|
+
| 'sandbox'
|
|
844
|
+
| 'multiHostFanout';
|
|
845
|
+
|
|
846
|
+
export type RegistryProviderCapabilities = Record<RegistryCapabilityKey, boolean>;
|
|
847
|
+
|
|
848
|
+
export interface RegistryProviderEntry {
|
|
849
|
+
id: string;
|
|
850
|
+
displayName: string;
|
|
851
|
+
aliases: string[];
|
|
852
|
+
modelPrefixes: string[];
|
|
853
|
+
apiKeyEnv: string;
|
|
854
|
+
endpointPattern: string;
|
|
855
|
+
defaultStreaming: 'sse' | 'ws' | 'polling';
|
|
856
|
+
toolCallingFormat:
|
|
857
|
+
| 'native-anthropic'
|
|
858
|
+
| 'native-openai'
|
|
859
|
+
| 'native-gemini'
|
|
860
|
+
| 'none';
|
|
861
|
+
capabilities: RegistryProviderCapabilities;
|
|
862
|
+
builtIn: boolean;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
export interface RegistryModelEntry {
|
|
866
|
+
id: string;
|
|
867
|
+
provider: string;
|
|
868
|
+
displayName: string;
|
|
869
|
+
family?: string;
|
|
870
|
+
familyShortcut?: string;
|
|
871
|
+
contextSize?: number;
|
|
872
|
+
outputMaxTokens?: number;
|
|
873
|
+
vision?: 'images' | 'video' | 'pdf' | null;
|
|
874
|
+
audio?: { input: boolean; output: boolean };
|
|
875
|
+
reasoning?: 'off' | 'low' | 'medium' | 'high' | null;
|
|
876
|
+
toolCalling?:
|
|
877
|
+
| 'native-anthropic'
|
|
878
|
+
| 'native-openai'
|
|
879
|
+
| 'native-gemini'
|
|
880
|
+
| 'none';
|
|
881
|
+
pricing?: {
|
|
882
|
+
inputPerMTok: number;
|
|
883
|
+
outputPerMTok: number;
|
|
884
|
+
cachedInputPerMTok?: number;
|
|
885
|
+
};
|
|
886
|
+
rateLimits?: { rpm?: number; tpm?: number };
|
|
887
|
+
deprecated?: string | null;
|
|
888
|
+
releaseDate?: string;
|
|
889
|
+
tokenizer?: string;
|
|
890
|
+
kind?: 'chat' | 'embedding' | 'image' | 'audio';
|
|
891
|
+
capabilities?: Partial<RegistryProviderCapabilities>;
|
|
892
|
+
discoveryMeta?: {
|
|
893
|
+
source: string;
|
|
894
|
+
lastSeen: string;
|
|
895
|
+
autoFilled: boolean;
|
|
896
|
+
confidence?: 'high' | 'medium' | 'low';
|
|
897
|
+
};
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
export interface RegistryCatalogResponse {
|
|
901
|
+
catalogVersion: number;
|
|
902
|
+
providers: RegistryProviderEntry[];
|
|
903
|
+
models: RegistryModelEntry[];
|
|
904
|
+
patterns: Array<{
|
|
905
|
+
provider: string;
|
|
906
|
+
prefixes: Array<{ prefix: string; fallback: Partial<RegistryModelEntry> }>;
|
|
907
|
+
}>;
|
|
908
|
+
manifest: {
|
|
909
|
+
builtinSource: string;
|
|
910
|
+
globalSource: string;
|
|
911
|
+
fileCount: number;
|
|
912
|
+
loadedAt: string;
|
|
913
|
+
};
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
// BACKLOG #5 — GET /v1/worktrees wire format. Mirrors
|
|
917
|
+
// `src/nexus/api/worktrees.ts:WorktreesResponse`.
|
|
918
|
+
export interface WorktreeViewSession {
|
|
919
|
+
sessionId: string;
|
|
920
|
+
enteredAt: number;
|
|
921
|
+
previousCwd: string;
|
|
922
|
+
alive: boolean;
|
|
923
|
+
}
|
|
924
|
+
export interface WorktreeView {
|
|
925
|
+
path: string;
|
|
926
|
+
branch: string | null;
|
|
927
|
+
sha: string;
|
|
928
|
+
isMain: boolean;
|
|
929
|
+
isLocked: boolean;
|
|
930
|
+
isDetached: boolean;
|
|
931
|
+
session: WorktreeViewSession | null;
|
|
932
|
+
orphan: boolean;
|
|
933
|
+
}
|
|
934
|
+
export interface OrphanedSessionView {
|
|
935
|
+
sessionId: string;
|
|
936
|
+
worktreePath: string;
|
|
937
|
+
branch: string;
|
|
938
|
+
enteredAt: number;
|
|
939
|
+
alive: boolean;
|
|
940
|
+
}
|
|
941
|
+
export interface WorktreesResponse {
|
|
942
|
+
repoRoot: string | null;
|
|
943
|
+
worktrees: WorktreeView[];
|
|
944
|
+
orphanedSessions: OrphanedSessionView[];
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
// B4 — GET /v1/design-check wire format. Mirrors
|
|
948
|
+
// `src/nexus/api/design-check.ts:buildDesignCheckView`.
|
|
949
|
+
//
|
|
950
|
+
// ⛔ Modelled as a DISCRIMINATED UNION on `ok`, not as one object with
|
|
951
|
+
// optional fields. The daemon's whole reason for sending `blockedOn` is
|
|
952
|
+
// that "nothing is missing" and "I could not read the directory" must not
|
|
953
|
+
// look alike; collapsing them back into `rulebooks?: string[]` here would
|
|
954
|
+
// undo that at the last step.
|
|
955
|
+
export interface DesignCheckOk {
|
|
956
|
+
ok: true;
|
|
957
|
+
repoRoot: string;
|
|
958
|
+
/** Where the daemon found the repository: `harness.defaultRepo` or its own cwd. */
|
|
959
|
+
repoSource?: 'config' | 'cwd' | null;
|
|
960
|
+
documentPath: string;
|
|
961
|
+
craftDirectory: string;
|
|
962
|
+
/** Every rulebook elanous ships — lets the panel show "available but not
|
|
963
|
+
* declared" without a second round trip. */
|
|
964
|
+
availableRulebooks: string[];
|
|
965
|
+
declaredRulebooks: string[];
|
|
966
|
+
/** Declared names with no matching file. Non-empty ⇒ exitCode 1. */
|
|
967
|
+
unavailableRulebooks: string[];
|
|
968
|
+
exitCode: 0 | 1;
|
|
969
|
+
/** B5 — visual direction declared by the same DESIGN.md.
|
|
970
|
+
* ⛔ Deliberately NOT folded into `exitCode`: a rulebook that cannot be
|
|
971
|
+
* found is a broken contract, an undeclared direction is just a choice
|
|
972
|
+
* nobody has made yet. Collapsing them would make a healthy new project
|
|
973
|
+
* render as failing. */
|
|
974
|
+
/** ⚠️ Optional for the same gate reason documented on `AgentToolResult.cid`
|
|
975
|
+
* (`src/skills/tools/agent.ts`): a new REQUIRED field on an exported type
|
|
976
|
+
* escalates `ci-typecheck-changed.ts` to a whole-repository check, and that
|
|
977
|
+
* scope carries 74 pre-existing non-exempt errors owned by other tracks.
|
|
978
|
+
* The daemon populates it on every `ok: true` response; the panel still
|
|
979
|
+
* guards for absence so an older daemon degrades to "no direction section"
|
|
980
|
+
* instead of crashing. */
|
|
981
|
+
directions?: {
|
|
982
|
+
declared: string | null;
|
|
983
|
+
unavailable: string | null;
|
|
984
|
+
available: DesignDirectionView[];
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
export interface DesignDirectionView {
|
|
988
|
+
id: string;
|
|
989
|
+
mood: string;
|
|
990
|
+
isDark: boolean;
|
|
991
|
+
isPastel: boolean;
|
|
992
|
+
swatch: { text: string; accent: string; muted: string; bg?: string; fg?: string };
|
|
993
|
+
/** RFC design loop §B — optional so an older daemon still parses. */
|
|
994
|
+
label?: string;
|
|
995
|
+
source?: 'theme' | 'document' | 'design-system';
|
|
996
|
+
typography?: { display: string | null; body: string | null } | null;
|
|
997
|
+
category?: string | null;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
// Live 탭(2026-09-28 · 내부 문서 `PLAN-live-signals-tab-teaser-and-web-2026-09-28`) — 기존 끝점만 모은다.
|
|
1001
|
+
// GET /v1/harness/runs · GET /v1/logs · GET /v1/logs/instances. 새 필드는 전부 선택적(옛 데몬 호환).
|
|
1002
|
+
export interface HarnessRunEntry {
|
|
1003
|
+
runId: string;
|
|
1004
|
+
status: string;
|
|
1005
|
+
lifecycle?: string;
|
|
1006
|
+
lastActivityTimestamp?: string | null;
|
|
1007
|
+
lastPhase?: string | null;
|
|
1008
|
+
}
|
|
1009
|
+
export interface HarnessRunsResponse {
|
|
1010
|
+
entries: HarnessRunEntry[];
|
|
1011
|
+
counts?: Record<string, number>;
|
|
1012
|
+
total?: number;
|
|
1013
|
+
}
|
|
1014
|
+
// HARNESS-RUN-LIVE-GRAPH — GET /v1/harness/runs?finishedSince= · GET /v1/harness/run-traversal?runId=
|
|
1015
|
+
export interface HarnessFinishedRunWire { runId: string; status: string; endedAt: string; stage?: string; objective?: string; prUrl?: string; merged?: boolean; mergeDecision?: string }
|
|
1016
|
+
export interface HarnessRunsSinceResponse extends HarnessRunsResponse {
|
|
1017
|
+
entries: Array<HarnessRunEntry & { objective?: string }>;
|
|
1018
|
+
finished?: HarnessFinishedRunWire[];
|
|
1019
|
+
}
|
|
1020
|
+
export interface HarnessTraversalStepWire {
|
|
1021
|
+
node: string; round: number | null; outcome: string | null; at: string; durationMs: number | null;
|
|
1022
|
+
visit: number; maxVisits: number | null; detail: string | null;
|
|
1023
|
+
/** Shared per-run ledger order; absent for legacy runs. */
|
|
1024
|
+
sourceSeq?: number;
|
|
1025
|
+
/** Resource identifiers projected from this node's run-ledger interval. */
|
|
1026
|
+
resources?: { host?: string; pod?: string; models?: string[]; plugins?: string[] };
|
|
1027
|
+
}
|
|
1028
|
+
export type HarnessGraphEventWire =
|
|
1029
|
+
| { seq: number; ts: string; type: 'node-added'; node: string; kind: string; decider: string; reason: string; source?: string; injected?: boolean; scene?: string; demo1104Scene?: string; mockOutcome?: string; who?: string; what?: string; missionId?: string; trigger?: unknown; undo?: unknown }
|
|
1030
|
+
| { seq: number; ts: string; type: 'edge-rerouted'; from: string; outcome: string; to: string; was: string; decider: string; reason: string; source?: string; injected?: boolean; scene?: string; demo1104Scene?: string; mockOutcome?: string }
|
|
1031
|
+
| { seq: number; ts: string; type: 'priority-changed'; node: string; from: number; to: number; decider: string; reason: string }
|
|
1032
|
+
| { seq: number; ts: string; type: 'unit-expanded'; node: string; unit: string; childRunId: string; resolution: number; decider: string; reason: string }
|
|
1033
|
+
| { seq: number; ts: string; type: 'unit-collapsed'; node: string; resolution: number; decider: string; reason: string };
|
|
1034
|
+
export interface HarnessRunTraversal {
|
|
1035
|
+
runId: string; graphId: string | null; title: string | null; status: string; stage: string | null;
|
|
1036
|
+
startedAt: string | null; endedAt: string | null; prNumber: number | null; substrate: string | null;
|
|
1037
|
+
steps: HarnessTraversalStepWire[]; ledgerEvents: number;
|
|
1038
|
+
/** Structural graph events ordered on the same per-run sequence as step sourceSeq. */
|
|
1039
|
+
graphEvents?: HarnessGraphEventWire[];
|
|
1040
|
+
/** Outcome edges read from graph.path ledger rows, preserving injected fixture provenance. */
|
|
1041
|
+
journeyEdges?: Array<{ seq?: number; from: string; label: string; taken: string; source: 'graph' | 'code-default'; injected?: boolean; mockOutcome?: string; scene?: string; demo1104Scene?: string }>;
|
|
1042
|
+
}
|
|
1043
|
+
export interface LogRow {
|
|
1044
|
+
id?: number;
|
|
1045
|
+
ts: string;
|
|
1046
|
+
level?: string;
|
|
1047
|
+
instance?: string;
|
|
1048
|
+
surface?: string;
|
|
1049
|
+
category: string;
|
|
1050
|
+
event: string;
|
|
1051
|
+
data?: Record<string, unknown> | null;
|
|
1052
|
+
}
|
|
1053
|
+
export interface LogsResponse { ok: boolean; logs: LogRow[]; count: number; ts?: string; stores?: string[]; failedStores?: Array<{ name: string; reason: string }>; registeredStores?: number }
|
|
1054
|
+
export interface LogInstance { name: string; alive?: boolean; dbExists?: boolean; current?: boolean }
|
|
1055
|
+
export interface LogInstancesResponse { ok: boolean; self?: string; instances: LogInstance[] }
|
|
1056
|
+
export interface TraceQuery { level: 'L0' | 'L1' | 'L2' | 'L3'; runId?: string; store?: string; limit?: number; kind?: string; q?: string; from?: number }
|
|
1057
|
+
export interface TraceEventWire {
|
|
1058
|
+
id: string; ts: string; universe: string; runId?: string; parentRunId?: string; phase?: string; kind: string;
|
|
1059
|
+
what: string; why?: string; purpose?: string; target?: string; paths?: number | string[];
|
|
1060
|
+
refs: { pr?: string | number; commit?: string; logId: string; screen?: string; llmRequestId?: string };
|
|
1061
|
+
}
|
|
1062
|
+
export interface TraceNodeWire { id: string; level: string; label: string; count: number; universe?: string; runId?: string; firstTs?: string; lastTs?: string }
|
|
1063
|
+
export interface TraceResponse { ok: boolean; nodes?: TraceNodeWire[]; edges?: Array<{ source: string; target: string; kind: string }>; events: TraceEventWire[]; truncated: boolean; stores?: string[]; failedStores?: Array<{ name: string; reason: string }> }
|
|
1064
|
+
export interface TraceEvidenceResponse { ok: boolean; ref: string; evidence?: { ts: string; instance: string; category: string; event: string; data: unknown } }
|
|
1065
|
+
export interface LiveShippedResponse { merged: number | null; since: string; repo?: string; source?: string; reason?: string; cached?: boolean }
|
|
1066
|
+
export interface RunScreenResponse { runId: string; screenKey: string | null; text: string | null; stoppable: boolean; outcome?: 'complete' | 'incomplete' | null; reason?: string; lastEvent?: { category: string; event: string; timestamp: string } | null }
|
|
1067
|
+
export interface LiveDetailState { on: boolean; scope?: string | null; since?: string | null; until?: string | null; remainingMs?: number | null }
|
|
1068
|
+
export interface LogsQuery { category?: string; since?: string; limit?: number; store?: string; event?: string }
|
|
1069
|
+
|
|
1070
|
+
// RFC design loop §B — POST /v1/design-direction wire format. Mirrors
|
|
1071
|
+
// `src/nexus/api/design-check.ts:handleDesignDirectionPost`. A refusal comes
|
|
1072
|
+
// back as a NexusApiError whose body carries `reason`.
|
|
1073
|
+
export type SetDesignDirectionResponse = {
|
|
1074
|
+
ok: true;
|
|
1075
|
+
documentPath: string;
|
|
1076
|
+
direction: string;
|
|
1077
|
+
repoRoot?: string;
|
|
1078
|
+
repoSource?: 'config' | 'cwd' | null;
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
/** POST /v1/design-system. Mirrors `handleDesignSystemCreate`. */
|
|
1082
|
+
export type CreateDesignSystemBody =
|
|
1083
|
+
| { kind: 'url'; url: string; id?: string; name?: string; base?: string }
|
|
1084
|
+
| { kind: 'palette'; colors: string[]; id: string; name?: string; base?: string };
|
|
1085
|
+
|
|
1086
|
+
export interface CreatedDesignSystemToken {
|
|
1087
|
+
token: string;
|
|
1088
|
+
value: string;
|
|
1089
|
+
from: string;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
export interface CreateDesignSystemResponse {
|
|
1093
|
+
ok: true;
|
|
1094
|
+
id: string;
|
|
1095
|
+
dir: string;
|
|
1096
|
+
tokens: CreatedDesignSystemToken[];
|
|
1097
|
+
unread: number;
|
|
1098
|
+
warnings: string[];
|
|
1099
|
+
extractDir?: string;
|
|
1100
|
+
}
|
|
1101
|
+
export interface DesignCheckBlocked {
|
|
1102
|
+
ok: false;
|
|
1103
|
+
repoRoot: string | null;
|
|
1104
|
+
/** Which read failed. `no-repository` means the daemon is not inside a
|
|
1105
|
+
* git checkout at all — a deployment fact, not a missing file. */
|
|
1106
|
+
blockedOn: 'no-repository' | 'craft-directory' | 'design-document';
|
|
1107
|
+
path: string | null;
|
|
1108
|
+
exitCode: 1;
|
|
1109
|
+
}
|
|
1110
|
+
export type DesignCheckResponse = DesignCheckOk | DesignCheckBlocked;
|
|
1111
|
+
|
|
1112
|
+
/** GET /v1/design-previews. New fields stay optional so an older daemon still parses. */
|
|
1113
|
+
export interface DesignPreviewEntry {
|
|
1114
|
+
system: string;
|
|
1115
|
+
bytes?: number;
|
|
1116
|
+
modifiedAt?: string;
|
|
1117
|
+
}
|
|
1118
|
+
export interface DesignPreviewsResponse {
|
|
1119
|
+
repoRoot?: string | null;
|
|
1120
|
+
repoSource?: 'config' | 'cwd' | null;
|
|
1121
|
+
previews: DesignPreviewEntry[];
|
|
1122
|
+
}
|
|
1123
|
+
/** GET /v1/design-previews/<system>. */
|
|
1124
|
+
export interface DesignPreviewDocument {
|
|
1125
|
+
system: string;
|
|
1126
|
+
html: string;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
// HANDOFF §4.2 — POST /v1/worktrees/dispose wire format. Mirrors
|
|
1130
|
+
// `src/nexus/api/worktrees.ts:DisposeWorktreeRequest/Response`.
|
|
1131
|
+
export interface DisposeWorktreeBody {
|
|
1132
|
+
path: string;
|
|
1133
|
+
force?: boolean;
|
|
1134
|
+
}
|
|
1135
|
+
export interface DisposeWorktreeResponse {
|
|
1136
|
+
ok: boolean;
|
|
1137
|
+
action: 'git-worktree-remove' | 'orphan-session-cleanup' | null;
|
|
1138
|
+
cleanedSession?: string;
|
|
1139
|
+
error?: string;
|
|
1140
|
+
detail?: string;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
// T4.D — POST /v1/nexus/connect-info/mint-token wire format.
|
|
1144
|
+
export interface MintConnectToken {
|
|
1145
|
+
token: string;
|
|
1146
|
+
/** ms-since-epoch · null = no expiry (raw bearer · v1 simple mode). */
|
|
1147
|
+
expiresAt: number | null;
|
|
1148
|
+
hint: string;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
// PWA mirror PR 1 — chat-backend Quick Setup snapshot wire format
|
|
1152
|
+
// (response of GET /v1/nexus/chat-backend-detection). The TUI's
|
|
1153
|
+
// `buildQuickSetupSnapshot()` produces the same shape; PR 2's React
|
|
1154
|
+
// card component renders these entries with ✓ / ◯ glyphs.
|
|
1155
|
+
export type ChatBackendKind = 'codex' | 'claude-code' | 'gemini' | 'none';
|
|
1156
|
+
|
|
1157
|
+
export interface ChatBackendDetection {
|
|
1158
|
+
detection: { backend: ChatBackendKind; source: string };
|
|
1159
|
+
entries: ChatBackendEntry[];
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
export interface ChatBackendEntry {
|
|
1163
|
+
provider: 'codex' | 'claude-code' | 'gemini';
|
|
1164
|
+
label: string;
|
|
1165
|
+
paths: ChatBackendPath[];
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export interface ChatBackendPath {
|
|
1169
|
+
/** Short tag — 'OAuth' / 'OPENAI_API_KEY' / etc. */
|
|
1170
|
+
tag: string;
|
|
1171
|
+
/** User-facing setup command / hint. Plain text; the card may
|
|
1172
|
+
* wrap inline-code spans on its own. */
|
|
1173
|
+
hint: string;
|
|
1174
|
+
/** True when the credential is present in env / token store.
|
|
1175
|
+
* Env / token VALUES are never echoed (security policy). */
|
|
1176
|
+
detected: boolean;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
export interface SwitchWire {
|
|
1180
|
+
id: string;
|
|
1181
|
+
scope: 'global' | 'tab' | 'session';
|
|
1182
|
+
kind: 'bool' | 'enum' | 'string' | 'number' | 'secret-ref' | 'multiline' | 'path';
|
|
1183
|
+
label: string;
|
|
1184
|
+
description: string;
|
|
1185
|
+
default: unknown;
|
|
1186
|
+
enumValues?: { value: string; label: string; description?: string }[];
|
|
1187
|
+
hotApplicable: boolean;
|
|
1188
|
+
pwaPreferred?: boolean;
|
|
1189
|
+
redactInLogs?: boolean;
|
|
1190
|
+
envName?: string;
|
|
1191
|
+
legacyEnvName?: string;
|
|
1192
|
+
appliesToTabIds?: string[];
|
|
1193
|
+
value?: unknown;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
export type PutSwitchResult =
|
|
1197
|
+
| { outcome: 'hot'; switchId: string }
|
|
1198
|
+
| { outcome: 'restart'; switchId: string; restartedTabs: string[] }
|
|
1199
|
+
| { outcome: 'no-op'; switchId: string };
|
|
1200
|
+
|
|
1201
|
+
export interface LogsTailResult {
|
|
1202
|
+
id: string;
|
|
1203
|
+
lines: number;
|
|
1204
|
+
stdout: { path: string; tail: string[]; size: number; mtime?: number };
|
|
1205
|
+
stderr: { path: string; tail: string[]; size: number; mtime?: number };
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
// ---- SSE ----
|
|
1209
|
+
export type Unsubscribe = () => void;
|
|
1210
|
+
|
|
1211
|
+
export interface SubscribeOpts {
|
|
1212
|
+
/** Topic prefixes to filter (e.g., ['tab.', 'nexus.']). Empty = all. */
|
|
1213
|
+
topics?: string[];
|
|
1214
|
+
onEvent: (ev: NexusEvent) => void;
|
|
1215
|
+
onError?: (err: Error) => void;
|
|
1216
|
+
/** Optional EventSource constructor override (tests). */
|
|
1217
|
+
EventSourceImpl?: typeof EventSource;
|
|
1218
|
+
/** Forward-compat — register named listeners for additional kinds
|
|
1219
|
+
* not in the built-in `KNOWN_KINDS` list. Use when a server adds a
|
|
1220
|
+
* new event kind before the client knows about it. */
|
|
1221
|
+
kinds?: string[];
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
export interface SubscribeLogsOpts {
|
|
1225
|
+
onLine: (line: { stream: 'stdout' | 'stderr'; line: string }) => void;
|
|
1226
|
+
onError?: (err: Error) => void;
|
|
1227
|
+
EventSourceImpl?: typeof EventSource;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
// ---------------------------------------------------------------------------
|
|
1231
|
+
// createNexusClient
|
|
1232
|
+
// ---------------------------------------------------------------------------
|
|
1233
|
+
|
|
1234
|
+
export function createNexusClient(opts: NexusClientOpts): NexusClient {
|
|
1235
|
+
const baseUrl = opts.baseUrl.replace(/\/$/, '');
|
|
1236
|
+
const fetchImpl = opts.fetchImpl ?? fetch;
|
|
1237
|
+
const defaultTimeoutMs = opts.timeoutMs ?? 8000;
|
|
1238
|
+
const optsToken = opts.token;
|
|
1239
|
+
|
|
1240
|
+
function validateRegistrationLink(link: { slot: string; url: string; expiresAt: number }, slot: string): string {
|
|
1241
|
+
try {
|
|
1242
|
+
const currentUrl = typeof window === 'undefined' ? undefined : window.location.href;
|
|
1243
|
+
const baseOrigin = new URL(baseUrl, currentUrl).origin;
|
|
1244
|
+
const target = new URL(link.url, currentUrl ?? baseUrl);
|
|
1245
|
+
const token = target.origin === baseOrigin && target.pathname === '/app/credentials/register/claim/'
|
|
1246
|
+
? new URLSearchParams(target.hash.slice(1)).get('t') : null;
|
|
1247
|
+
if (link.slot !== slot || !Number.isFinite(link.expiresAt) || !token) throw new Error('invalid link');
|
|
1248
|
+
return token;
|
|
1249
|
+
} catch { throw new Error('자격 등록 링크를 확인할 수 없습니다.'); }
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
async function request<T>(
|
|
1253
|
+
method: string,
|
|
1254
|
+
path: string,
|
|
1255
|
+
body?: unknown,
|
|
1256
|
+
opts?: { signal?: AbortSignal; timeoutMs?: number; tokenOverride?: string },
|
|
1257
|
+
): Promise<T> {
|
|
1258
|
+
const url = `${baseUrl}${path}`;
|
|
1259
|
+
const timeoutMs = opts?.timeoutMs ?? defaultTimeoutMs;
|
|
1260
|
+
for (let attempt = 0; ; attempt++) {
|
|
1261
|
+
// Each attempt owns its timer and abort bridge; a timed-out signal cannot
|
|
1262
|
+
// leak into the retry, and caller cancellation always wins if it fires first.
|
|
1263
|
+
const ctrl = timeoutMs > 0 || opts?.signal ? new AbortController() : null;
|
|
1264
|
+
let timedOut = false;
|
|
1265
|
+
let cleanupExternalAbort: (() => void) | null = null;
|
|
1266
|
+
if (ctrl && opts?.signal) {
|
|
1267
|
+
const ext = opts.signal;
|
|
1268
|
+
if (ext.aborted) {
|
|
1269
|
+
ctrl.abort();
|
|
1270
|
+
} else {
|
|
1271
|
+
const onAbort = () => ctrl.abort();
|
|
1272
|
+
ext.addEventListener('abort', onAbort);
|
|
1273
|
+
cleanupExternalAbort = () => ext.removeEventListener('abort', onAbort);
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
const timer = ctrl && timeoutMs > 0
|
|
1277
|
+
? setTimeout(() => {
|
|
1278
|
+
if (!ctrl.signal.aborted) {
|
|
1279
|
+
timedOut = true;
|
|
1280
|
+
ctrl.abort();
|
|
1281
|
+
}
|
|
1282
|
+
}, timeoutMs)
|
|
1283
|
+
: null;
|
|
1284
|
+
try {
|
|
1285
|
+
const res = await fetchImpl(url, {
|
|
1286
|
+
method,
|
|
1287
|
+
...(ctrl ? { signal: ctrl.signal } : {}),
|
|
1288
|
+
...((body !== undefined || opts?.tokenOverride || optsToken) ? {
|
|
1289
|
+
headers: {
|
|
1290
|
+
...(body !== undefined ? { 'content-type': 'application/json' } : {}),
|
|
1291
|
+
...((opts?.tokenOverride ?? optsToken) ? { authorization: `Bearer ${opts?.tokenOverride ?? optsToken}` } : {}),
|
|
1292
|
+
},
|
|
1293
|
+
} : {}),
|
|
1294
|
+
...(body !== undefined ? { body: JSON.stringify(body) } : {}),
|
|
1295
|
+
});
|
|
1296
|
+
if (res.status === 401) reportAuthRequired(path);
|
|
1297
|
+
let parsed: unknown = null;
|
|
1298
|
+
try {
|
|
1299
|
+
parsed = await res.json();
|
|
1300
|
+
} catch (err) {
|
|
1301
|
+
// Only malformed JSON keeps the old null body; an interrupted read
|
|
1302
|
+
// reaches the outer timeout/caller-cancellation handler.
|
|
1303
|
+
if (!(err instanceof SyntaxError)) throw err;
|
|
1304
|
+
}
|
|
1305
|
+
if (!res.ok) {
|
|
1306
|
+
if (res.status === 400 && path.startsWith('/v1/workflows/') && path.endsWith('/run')
|
|
1307
|
+
&& parsed && typeof parsed === 'object' && 'error' in parsed && parsed.error === 'missing-upstream'
|
|
1308
|
+
&& 'nodes' in parsed && Array.isArray(parsed.nodes) && parsed.nodes.every((node) => typeof node === 'string')) {
|
|
1309
|
+
throw new MissingUpstreamError(path, parsed as { error: 'missing-upstream'; nodes: string[] });
|
|
1310
|
+
}
|
|
1311
|
+
throw new NexusApiError(res.status, path, parsed);
|
|
1312
|
+
}
|
|
1313
|
+
return parsed as T;
|
|
1314
|
+
} catch (err) {
|
|
1315
|
+
if (!timedOut || !(err instanceof Error) || err.name !== 'AbortError') throw err;
|
|
1316
|
+
if (method !== 'GET' || attempt > 0) throw new NexusTimeoutError(path, timeoutMs);
|
|
1317
|
+
} finally {
|
|
1318
|
+
if (timer != null) clearTimeout(timer);
|
|
1319
|
+
cleanupExternalAbort?.();
|
|
1320
|
+
}
|
|
1321
|
+
await new Promise<void>((resolve, reject) => {
|
|
1322
|
+
const ext = opts?.signal;
|
|
1323
|
+
if (ext?.aborted) {
|
|
1324
|
+
reject(new DOMException('aborted', 'AbortError'));
|
|
1325
|
+
return;
|
|
1326
|
+
}
|
|
1327
|
+
const onAbort = () => {
|
|
1328
|
+
clearTimeout(delay);
|
|
1329
|
+
ext?.removeEventListener('abort', onAbort);
|
|
1330
|
+
reject(new DOMException('aborted', 'AbortError'));
|
|
1331
|
+
};
|
|
1332
|
+
const delay = setTimeout(() => {
|
|
1333
|
+
ext?.removeEventListener('abort', onAbort);
|
|
1334
|
+
resolve();
|
|
1335
|
+
}, 100);
|
|
1336
|
+
ext?.addEventListener('abort', onAbort, { once: true });
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
async function installMarketPlugin(spec: string, acceptedCapabilities: string[], onLine: (line: string) => void): Promise<void> {
|
|
1342
|
+
const path = '/v1/plugins/install';
|
|
1343
|
+
const res = await fetchImpl(`${baseUrl}${path}`, {
|
|
1344
|
+
method: 'POST', headers: { 'content-type': 'application/json', ...(optsToken ? { authorization: `Bearer ${optsToken}` } : {}) },
|
|
1345
|
+
body: JSON.stringify({ spec, acceptedCapabilities }),
|
|
1346
|
+
});
|
|
1347
|
+
if (res.status === 401) reportAuthRequired(path);
|
|
1348
|
+
if (!res.ok) throw new NexusApiError(res.status, path, await res.json());
|
|
1349
|
+
if (!res.body) throw new Error('설치 진행 정보를 읽을 수 없습니다.');
|
|
1350
|
+
const reader = res.body.getReader();
|
|
1351
|
+
const decoder = new TextDecoder();
|
|
1352
|
+
let pending = '';
|
|
1353
|
+
try {
|
|
1354
|
+
while (true) {
|
|
1355
|
+
const { done, value } = await reader.read();
|
|
1356
|
+
if (done) break;
|
|
1357
|
+
pending += decoder.decode(value, { stream: true });
|
|
1358
|
+
let end: number;
|
|
1359
|
+
while ((end = pending.indexOf('\n')) !== -1) {
|
|
1360
|
+
const line = pending.slice(0, end).trim();
|
|
1361
|
+
pending = pending.slice(end + 1);
|
|
1362
|
+
if (line) onLine(line);
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
pending += decoder.decode();
|
|
1366
|
+
if (pending.trim()) onLine(pending.trim());
|
|
1367
|
+
} finally { reader.releaseLock(); }
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
return {
|
|
1371
|
+
baseUrl,
|
|
1372
|
+
// ---- read ----
|
|
1373
|
+
getHealth: () => request<NexusHealth>('GET', '/v1/health'),
|
|
1374
|
+
getCredentialSlots: () => request('GET', '/v1/credentials/slots'),
|
|
1375
|
+
startOpenRouterOAuth: async () => {
|
|
1376
|
+
const result = await request<{ authorizationUrl: string }>('POST', '/v1/credentials/openrouter/oauth/start', {});
|
|
1377
|
+
const authorizationUrl = new URL(result.authorizationUrl);
|
|
1378
|
+
if (authorizationUrl.origin !== 'https://openrouter.ai' || authorizationUrl.pathname !== '/auth') throw new Error('OpenRouter 연결 주소가 올바르지 않습니다.');
|
|
1379
|
+
return { authorizationUrl: authorizationUrl.toString() };
|
|
1380
|
+
},
|
|
1381
|
+
listOpenRouterImportCandidates: () => request<{ candidates: Array<{ id: string; name: string; source: string; lastFour: string }> }>('GET', '/v1/credentials/openrouter/import'),
|
|
1382
|
+
importOpenRouterCandidate: async (id) => {
|
|
1383
|
+
if (!id) throw new Error('OpenRouter 키 후보를 확인할 수 없습니다.');
|
|
1384
|
+
const result = await request<{ saved: true; verification: 'verified'; lastFour: string }>('POST', '/v1/credentials/openrouter/import', { id });
|
|
1385
|
+
if (result.saved !== true || result.verification !== 'verified') throw new Error('OpenRouter 키 저장 결과를 확인할 수 없습니다.');
|
|
1386
|
+
return result;
|
|
1387
|
+
},
|
|
1388
|
+
createCredentialRegistrationLink: async (slot) => {
|
|
1389
|
+
const link = await request<{ slot: string; url: string; expiresAt: number }>('POST', '/v1/credentials/registration-links', { slot });
|
|
1390
|
+
validateRegistrationLink(link, slot);
|
|
1391
|
+
return link;
|
|
1392
|
+
},
|
|
1393
|
+
revokeCredentialRegistrationLink: async (token) => {
|
|
1394
|
+
if (!token) throw new Error('자격 등록 링크를 확인할 수 없습니다.');
|
|
1395
|
+
const result = await request<{ revoked: true }>('POST', '/v1/credentials/registration-links/revoke', { t: token });
|
|
1396
|
+
if (result.revoked !== true) throw new Error('자격 등록 링크 폐기 결과를 확인할 수 없습니다.');
|
|
1397
|
+
return { revoked: true };
|
|
1398
|
+
},
|
|
1399
|
+
claimCredentialRegistrationLink: async (token) => {
|
|
1400
|
+
if (!token) throw new Error('자격 등록 링크를 확인할 수 없습니다.');
|
|
1401
|
+
const claimed = await request<{ slot: string; label: string; setupUrl: string; bearer: string; expiresAt: number }>(
|
|
1402
|
+
'POST', '/v1/setup/credential-claim', { t: token }, { tokenOverride: '' });
|
|
1403
|
+
if (!claimed.slot || !claimed.bearer || !Number.isFinite(claimed.expiresAt)) throw new Error('자격 등록 권한을 확인할 수 없습니다.');
|
|
1404
|
+
return claimed;
|
|
1405
|
+
},
|
|
1406
|
+
submitCredentialRegistration: async (slot, bearer, value) => {
|
|
1407
|
+
const saved = await request<{ saved: true; slot: string; verification: 'verified' }>(
|
|
1408
|
+
'POST', '/v1/setup/credential-register', { slot, value }, { tokenOverride: bearer });
|
|
1409
|
+
if (saved.saved !== true || saved.slot !== slot || saved.verification !== 'verified') throw new Error('자격 저장 결과를 확인할 수 없습니다.');
|
|
1410
|
+
return { saved: true, slot, verification: 'verified' };
|
|
1411
|
+
},
|
|
1412
|
+
registerCredentialSlot: async (slot, value) => {
|
|
1413
|
+
const link = await request<{ slot: string; url: string; expiresAt: number }>('POST', '/v1/credentials/registration-links', { slot });
|
|
1414
|
+
const token = validateRegistrationLink(link, slot);
|
|
1415
|
+
const claimed = await request<{ slot: string; bearer: string }>('POST', '/v1/setup/credential-claim', { t: token }, { tokenOverride: '' });
|
|
1416
|
+
if (claimed.slot !== slot || !claimed.bearer) throw new Error('자격 등록 권한을 확인할 수 없습니다.');
|
|
1417
|
+
const saved = await request<{ saved: true; slot: string; verification: 'verified' }>('POST', '/v1/setup/credential-register',
|
|
1418
|
+
{ slot, value }, { tokenOverride: claimed.bearer });
|
|
1419
|
+
if (saved.saved !== true || saved.slot !== slot || saved.verification !== 'verified') throw new Error('자격 저장 결과를 확인할 수 없습니다.');
|
|
1420
|
+
return { saved: true, slot, verification: 'verified' };
|
|
1421
|
+
},
|
|
1422
|
+
getNexus: () => request<NexusSnapshot>('GET', '/v1/nexus'),
|
|
1423
|
+
getTabs: (qopts) => {
|
|
1424
|
+
const q = qopts?.kind ? `?kind=${encodeURIComponent(qopts.kind)}` : '';
|
|
1425
|
+
return request<{ tabs: NexusTabState[] }>('GET', `/v1/nexus/tabs${q}`);
|
|
1426
|
+
},
|
|
1427
|
+
getTab: (id) => request('GET', `/v1/nexus/tabs/${encodeURIComponent(id)}`),
|
|
1428
|
+
getTaskCards: () => request('GET', TASK_CARDS_PATH),
|
|
1429
|
+
getTaskCard: (id) => request('GET', `${TASK_CARDS_PATH}/${encodeURIComponent(id)}`),
|
|
1430
|
+
closeTaskCard: (id, reason) => request('POST', `${TASK_CARDS_PATH}/${encodeURIComponent(id)}/close`, { reason }),
|
|
1431
|
+
getChatBackendDetection: () => request<ChatBackendDetection>('GET', '/v1/nexus/chat-backend-detection'),
|
|
1432
|
+
mintConnectToken: () => request<MintConnectToken>('POST', '/v1/nexus/connect-info/mint-token', {}),
|
|
1433
|
+
// ---- tabs mutation ----
|
|
1434
|
+
createTab: (body) => request('POST', '/v1/nexus/tabs', body),
|
|
1435
|
+
deleteTab: (id) => request('DELETE', `/v1/nexus/tabs/${encodeURIComponent(id)}`),
|
|
1436
|
+
patchTab: (id, body) => request('PATCH', `/v1/nexus/tabs/${encodeURIComponent(id)}`, body),
|
|
1437
|
+
startTab: (id) => request('POST', `/v1/nexus/tabs/${encodeURIComponent(id)}/start`),
|
|
1438
|
+
stopTab: (id, sopts) => {
|
|
1439
|
+
const q = sopts?.graceMs !== undefined ? `?graceMs=${sopts.graceMs}` : '';
|
|
1440
|
+
return request('POST', `/v1/nexus/tabs/${encodeURIComponent(id)}/stop${q}`);
|
|
1441
|
+
},
|
|
1442
|
+
restartTab: (id, sopts) => {
|
|
1443
|
+
const q = sopts?.graceMs !== undefined ? `?graceMs=${sopts.graceMs}` : '';
|
|
1444
|
+
return request('POST', `/v1/nexus/tabs/${encodeURIComponent(id)}/restart${q}`);
|
|
1445
|
+
},
|
|
1446
|
+
// ---- templates ----
|
|
1447
|
+
getTemplates: () => request('GET', '/v1/nexus/templates'),
|
|
1448
|
+
getTemplate: (name) => request('GET', `/v1/nexus/templates/${encodeURIComponent(name)}`),
|
|
1449
|
+
saveTemplate: (body) => request('POST', '/v1/nexus/templates', body),
|
|
1450
|
+
getPluginsIndex: () => request('GET', '/v1/plugins/index'),
|
|
1451
|
+
getInstalledPlugins: () => request('GET', '/v1/plugins'),
|
|
1452
|
+
getWizardPlugins: () => request('GET', '/v1/plugins/wizard'),
|
|
1453
|
+
saveWizardPlugin: (body) => request('POST', '/v1/plugins/wizard', body),
|
|
1454
|
+
refreshPluginMarket: (name) => request('POST', `/v1/plugins/markets/${encodeURIComponent(name)}/refresh`, {}),
|
|
1455
|
+
installMarketPlugin,
|
|
1456
|
+
removeMarketPlugin: (name) => request('DELETE', `/v1/plugins/${encodeURIComponent(name)}`),
|
|
1457
|
+
getPluginCredentials: (name) => request('GET', `/v1/plugins/${encodeURIComponent(name)}/credentials`),
|
|
1458
|
+
putPluginCredentials: (name, fields) => request('PUT', `/v1/plugins/${encodeURIComponent(name)}/credentials`, { fields }),
|
|
1459
|
+
getRunGraphs: () => request('GET', '/v1/graphs'),
|
|
1460
|
+
getRunGraph: (id) => request('GET', `/v1/graphs/${encodeURIComponent(id)}`),
|
|
1461
|
+
getRunGraphYaml: (id) => request('GET', `/v1/graphs/${encodeURIComponent(id)}/yaml`),
|
|
1462
|
+
getRunGraphFlat: (id) => request('GET', `/v1/graphs/${encodeURIComponent(id)}/flat`),
|
|
1463
|
+
getRunGraphAccess: (id) => request('GET', `/v1/graphs/${encodeURIComponent(id)}/access`),
|
|
1464
|
+
putRunGraphAccess: (id, recipient, permission) => request('PUT', `/v1/graphs/${encodeURIComponent(id)}/access`, { recipient, permission }),
|
|
1465
|
+
putRunGraphYaml: (id, yaml, steps) => request('PUT', `/v1/graphs/${encodeURIComponent(id)}/yaml`, { yaml, ...(steps && Object.keys(steps).length ? { steps } : {}) }),
|
|
1466
|
+
cloneRunGraph: (id, newId) => request('POST', `/v1/graphs/${encodeURIComponent(id)}/clone`, { newId }),
|
|
1467
|
+
createRunGraph: (id, yaml, steps) => request('POST', '/v1/graphs', { id, yaml, ...(steps && Object.keys(steps).length ? { steps } : {}) }),
|
|
1468
|
+
startRunGraphRun: (id) => request('POST', `/v1/graphs/${encodeURIComponent(id)}/run`),
|
|
1469
|
+
approveRunGraph: (id, version) => request('POST', `/v1/graphs/${encodeURIComponent(id)}/approve`, { version }),
|
|
1470
|
+
getRunGraphRun: (id, runId) => request('GET', `/v1/graphs/${encodeURIComponent(id)}/runs/${encodeURIComponent(runId)}`),
|
|
1471
|
+
getGraphKinds: (graph) => request('GET', `/v1/graph/kinds?graph=${graph}`),
|
|
1472
|
+
getGraphWizardPacks: () => request('GET', '/v1/graphs/wizard/packs'),
|
|
1473
|
+
graphWizard: async (body, opts) => {
|
|
1474
|
+
try {
|
|
1475
|
+
// The wizard drafts and validates with an LLM (20–60 s) — the 8 s default would cut it off.
|
|
1476
|
+
return await request<GraphWizardResponse>('POST', '/v1/graphs/wizard', body, { ...(opts?.signal ? { signal: opts.signal } : {}), timeoutMs: 180_000 });
|
|
1477
|
+
} catch (error) {
|
|
1478
|
+
if (error instanceof NexusApiError && error.status === 422 && error.body && typeof error.body === 'object' && 'ok' in error.body) {
|
|
1479
|
+
return error.body as GraphWizardResponse;
|
|
1480
|
+
}
|
|
1481
|
+
throw error;
|
|
1482
|
+
}
|
|
1483
|
+
},
|
|
1484
|
+
validateGraph: async (graph, yaml) => {
|
|
1485
|
+
try {
|
|
1486
|
+
return await request<GraphValidationResponse>('POST', '/v1/graphs/validate', { graph, yaml });
|
|
1487
|
+
} catch (error) {
|
|
1488
|
+
if (error instanceof NexusApiError && error.status === 422 && error.body && typeof error.body === 'object' && 'ok' in error.body) {
|
|
1489
|
+
return error.body as GraphValidationResponse;
|
|
1490
|
+
}
|
|
1491
|
+
throw error;
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
// ---- workflows (Archon-port T2.3) ----
|
|
1495
|
+
getWorkflows: () => request('GET', '/v1/workflows'),
|
|
1496
|
+
getWorkflow: (name) => request('GET', `/v1/workflows/${encodeURIComponent(name)}`),
|
|
1497
|
+
getWorkflowHistory: (name) => request<WorkflowHistoryResponse>('GET', `/v1/workflows/${encodeURIComponent(name)}/history`),
|
|
1498
|
+
getWorkflowHistoryVersion: (name, id) => request<WorkflowHistoryVersionResponse>('GET', `/v1/workflows/${encodeURIComponent(name)}/history/${encodeURIComponent(id)}`),
|
|
1499
|
+
getWorkflowPins: (name) => request('GET', `/v1/workflows/${encodeURIComponent(name)}/pins`),
|
|
1500
|
+
putWorkflowPin: (name, nodeId, value, note) => request('PUT', `/v1/workflows/${encodeURIComponent(name)}/pins/${encodeURIComponent(nodeId)}`, {
|
|
1501
|
+
value,
|
|
1502
|
+
...(note !== undefined ? { note } : {}),
|
|
1503
|
+
}),
|
|
1504
|
+
deleteWorkflowPin: (name, nodeId) => request('DELETE', `/v1/workflows/${encodeURIComponent(name)}/pins/${encodeURIComponent(nodeId)}`),
|
|
1505
|
+
saveWorkflow: (name, body) => request('PUT', `/v1/workflows/${encodeURIComponent(name)}`, body),
|
|
1506
|
+
deleteWorkflow: (name, dopts) => {
|
|
1507
|
+
const q = dopts?.scope ? `?scope=${encodeURIComponent(dopts.scope)}` : '';
|
|
1508
|
+
return request('DELETE', `/v1/workflows/${encodeURIComponent(name)}${q}`);
|
|
1509
|
+
},
|
|
1510
|
+
validateWorkflow: (yaml, opts) => request('POST', '/v1/workflows/validate', { yaml }, opts),
|
|
1511
|
+
generateWorkflow: (body, opts) => request('POST', '/v1/workflows/generate', body, opts),
|
|
1512
|
+
synthesizeWorkflow: (body, opts) => request('POST', '/v1/workflows/synth', body, opts),
|
|
1513
|
+
getTriggersSnapshot: (opts) => request('GET', '/v1/triggers', undefined, opts),
|
|
1514
|
+
getWorkflowTemplates: (opts) => request('GET', '/v1/workflows/templates', undefined, opts),
|
|
1515
|
+
runWorkflow: (name, args, runOpts) =>
|
|
1516
|
+
request('POST', `/v1/workflows/${encodeURIComponent(name)}/run`, {
|
|
1517
|
+
arguments: args,
|
|
1518
|
+
...(runOpts?.dryRun ? { dryRun: true } : {}),
|
|
1519
|
+
...(runOpts?.onlyNode !== undefined ? { onlyNode: runOpts.onlyNode } : {}),
|
|
1520
|
+
...(runOpts?.fromNode !== undefined ? { fromNode: runOpts.fromNode } : {}),
|
|
1521
|
+
...(runOpts?.fromRunId !== undefined ? { fromRunId: runOpts.fromRunId } : {}),
|
|
1522
|
+
}),
|
|
1523
|
+
getWorkflowRun: (runId) => request('GET', `/v1/workflows/runs/${encodeURIComponent(runId)}`),
|
|
1524
|
+
getWorkflowRuns: () => request('GET', '/v1/workflows/runs'),
|
|
1525
|
+
workflowsEventsUrl: () => (baseUrl ? `${baseUrl}/v1/workflows/events` : null),
|
|
1526
|
+
getPendingApprovals: () => request('GET', '/v1/workflows/runs/pending'),
|
|
1527
|
+
approveRun: (runId, body) =>
|
|
1528
|
+
request('POST', `/v1/workflows/runs/${encodeURIComponent(runId)}/approve`, body ?? {}),
|
|
1529
|
+
rejectRun: (runId, body) =>
|
|
1530
|
+
request('POST', `/v1/workflows/runs/${encodeURIComponent(runId)}/reject`, body ?? {}),
|
|
1531
|
+
// ---- config + secrets ----
|
|
1532
|
+
getConfig: () => request('GET', '/v1/config'),
|
|
1533
|
+
getChatFastPath: () => request('GET', '/v1/config/chat-fast-path'),
|
|
1534
|
+
getSwitches: () => request('GET', '/v1/config/switches'),
|
|
1535
|
+
getSwitch: (id) => request('GET', `/v1/config/switches/${encodeURIComponent(id)}`),
|
|
1536
|
+
putSwitch: (id, body) => request('PUT', `/v1/config/switches/${encodeURIComponent(id)}`, body),
|
|
1537
|
+
postSecret: (body) => request('POST', '/v1/config/secrets', body),
|
|
1538
|
+
deleteSecret: (id) => request('DELETE', `/v1/config/secrets/${encodeURIComponent(id)}`),
|
|
1539
|
+
getSecrets: () => request('GET', '/v1/config/secrets'),
|
|
1540
|
+
// M1-2b — friction-free model selection sub-tree round-trip.
|
|
1541
|
+
getModelTier: () => request('GET', '/v1/config/model-tier'),
|
|
1542
|
+
putModelTier: (body) => request('PUT', '/v1/config/model-tier', body),
|
|
1543
|
+
getPlatforms: () => request('GET', '/v1/platforms'),
|
|
1544
|
+
// ---- /setup wizard (Phase 1 · 2026-05-19) ----
|
|
1545
|
+
getLlmProviders: () => request<LlmProvidersResponse>('GET', '/v1/setup/llm-providers'),
|
|
1546
|
+
setLlmProvider: (body) => request<SetLlmProviderResponse>('POST', '/v1/setup/llm-provider', body),
|
|
1547
|
+
getObsidianSkills: () => request<ObsidianSkillsState>('GET', '/v1/setup/obsidian-skills'),
|
|
1548
|
+
setObsidian: (body) => request('POST', '/v1/setup/obsidian', body),
|
|
1549
|
+
setSkills: (body) => request('POST', '/v1/setup/skills', body),
|
|
1550
|
+
getChannelBots: () => request<ChannelBotsResponse>('GET', '/v1/setup/channel-bots'),
|
|
1551
|
+
setChannelBot: (body) => request<ChannelBotSetResponse>('POST', '/v1/setup/channel-bot', body),
|
|
1552
|
+
getChildLlmPreference: () => request<ChildLlmPreferenceResponse>('GET', '/v1/setup/child-llm'),
|
|
1553
|
+
setChildLlmPreference: (body) => request<{ resolved: ChildLlmResolved }>('POST', '/v1/setup/child-llm', body),
|
|
1554
|
+
getAnswerPriority: () => request<AnswerPriorityResponse>('GET', '/v1/setup/answer-priority'),
|
|
1555
|
+
setAnswerPriority: (value) => request<{ value: AnswerPriorityValue }>('POST', '/v1/setup/answer-priority', { value }),
|
|
1556
|
+
// ---- /settings PersonaCard (Phase 3 · 2026-05-19) ----
|
|
1557
|
+
getPersonas: () => request<PersonasListResponse>('GET', '/v1/personas'),
|
|
1558
|
+
getPersonaPresets: () => request<PersonaPresetsResponse>('GET', '/v1/persona-presets'),
|
|
1559
|
+
createPersona: (body) => request<PersonaPatchResponse>('POST', '/v1/personas', body),
|
|
1560
|
+
patchPersona: (id, edits) => request<PersonaPatchResponse>('PATCH', `/v1/personas/${encodeURIComponent(id)}`, edits),
|
|
1561
|
+
patchPersonaDescription: (personaId, description) =>
|
|
1562
|
+
request<PersonaPatchResponse>(
|
|
1563
|
+
'PATCH',
|
|
1564
|
+
`/v1/personas/${encodeURIComponent(personaId)}`,
|
|
1565
|
+
{ description },
|
|
1566
|
+
),
|
|
1567
|
+
getRegistryCatalog: () => request<RegistryCatalogResponse>('GET', '/v1/registry/catalog'),
|
|
1568
|
+
getWorktrees: () => request('GET', '/v1/worktrees'),
|
|
1569
|
+
getDesignCheck: () => request('GET', '/v1/design-check'),
|
|
1570
|
+
getHarnessRuns: () => request('GET', '/v1/harness/runs'),
|
|
1571
|
+
getHarnessRunsSince: (sinceMs, options) => request('GET', `/v1/harness/runs?finishedSince=${Math.max(0, Math.floor(sinceMs))}${options?.includeLanded === false ? '&includeLanded=0' : ''}`),
|
|
1572
|
+
getHarnessRunTraversal: (runId) => request('GET', `/v1/harness/run-traversal?runId=${encodeURIComponent(runId)}`),
|
|
1573
|
+
getGraphInstanceView: (query) => {
|
|
1574
|
+
const params = new URLSearchParams({ source: query.source });
|
|
1575
|
+
if (query.source !== 'resource' && query.runId) params.set('runId', query.runId);
|
|
1576
|
+
if (query.source !== 'resource' && query.graphId) params.set('graphId', query.graphId);
|
|
1577
|
+
return request('GET', `/v1/graph-instance-view?${params}`);
|
|
1578
|
+
},
|
|
1579
|
+
getLogs: (query) => {
|
|
1580
|
+
const q = new URLSearchParams();
|
|
1581
|
+
for (const [k, v] of Object.entries(query)) if (v !== undefined && v !== '') q.set(k, String(v));
|
|
1582
|
+
return request('GET', `/v1/logs?${q.toString()}`);
|
|
1583
|
+
},
|
|
1584
|
+
getLogInstances: () => request('GET', '/v1/logs/instances'),
|
|
1585
|
+
getLiveDetail: () => request('GET', '/v1/live/detail'),
|
|
1586
|
+
getTrace: (q) => {
|
|
1587
|
+
const p = new URLSearchParams({ level: q.level });
|
|
1588
|
+
if (q.runId) p.set('runId', q.runId);
|
|
1589
|
+
if (q.store) p.set('store', q.store);
|
|
1590
|
+
if (q.limit) p.set('limit', String(q.limit));
|
|
1591
|
+
if (q.kind) p.set('kind', q.kind);
|
|
1592
|
+
if (q.q) p.set('q', q.q);
|
|
1593
|
+
if (q.from) p.set('from', new Date(q.from).toISOString());
|
|
1594
|
+
return request('GET', `/v1/trace?${p}`);
|
|
1595
|
+
},
|
|
1596
|
+
// ⛔ ref 를 다시 인코딩하지 않는다 — 서버가 우주 이름을 이미 인코딩해 실었고, 라우트는 날 pathname 을 `^log:` 로 읽는다.
|
|
1597
|
+
getTraceEvidence: (ref) => request('GET', `/v1/trace/evidence/${ref}`),
|
|
1598
|
+
getLiveShipped: (since) => request('GET', `/v1/live/shipped?since=${encodeURIComponent(since)}`),
|
|
1599
|
+
getRunScreen: (runId, lines = 60) => request('GET', `/v1/harness/run-screen?runId=${encodeURIComponent(runId)}&lines=${lines}`),
|
|
1600
|
+
stopHarness: (spaceId) => request('POST', '/v1/harness/stop', { spaceId }),
|
|
1601
|
+
setLiveDetail: (body) => request('POST', '/v1/live/detail', body),
|
|
1602
|
+
setDesignDirection: (id) => request('POST', '/v1/design-direction', { id }),
|
|
1603
|
+
createDesignSystem: (body) => request('POST', '/v1/design-system', body),
|
|
1604
|
+
listDesignPreviews: () => request('GET', '/v1/design-previews'),
|
|
1605
|
+
getDesignPreview: (system) => request('GET', `/v1/design-previews/${encodeURIComponent(system)}`),
|
|
1606
|
+
disposeWorktree: (body) => request('POST', '/v1/worktrees/dispose', body),
|
|
1607
|
+
// ---- log streaming ----
|
|
1608
|
+
getLogsTail: (id, lopts) => {
|
|
1609
|
+
const q = lopts?.lines !== undefined ? `?lines=${lopts.lines}` : '';
|
|
1610
|
+
return request('GET', `/v1/nexus/tabs/${encodeURIComponent(id)}/logs${q}`);
|
|
1611
|
+
},
|
|
1612
|
+
// ---- SSE ----
|
|
1613
|
+
subscribeEvents: (subOpts) => {
|
|
1614
|
+
const ESImpl = subOpts.EventSourceImpl ?? (globalThis as { EventSource?: typeof EventSource }).EventSource;
|
|
1615
|
+
if (!ESImpl) {
|
|
1616
|
+
throw new Error('EventSource not available · pass EventSourceImpl');
|
|
1617
|
+
}
|
|
1618
|
+
const topics = (subOpts.topics ?? []).join(',');
|
|
1619
|
+
const url = `${baseUrl}/v1/events${topics ? `?topics=${encodeURIComponent(topics)}` : ''}`;
|
|
1620
|
+
const es = new ESImpl(url);
|
|
1621
|
+
const handler = (e: MessageEvent): void => {
|
|
1622
|
+
try {
|
|
1623
|
+
const ev = JSON.parse(e.data) as NexusEvent;
|
|
1624
|
+
subOpts.onEvent(ev);
|
|
1625
|
+
} catch (err) {
|
|
1626
|
+
subOpts.onError?.(err as Error);
|
|
1627
|
+
}
|
|
1628
|
+
};
|
|
1629
|
+
// The server (`src/nexus/api/events.ts`) emits each frame as
|
|
1630
|
+
// `event: <kind>\ndata: <json>\n\n`. Per the EventSource spec a
|
|
1631
|
+
// frame with an explicit `event:` field dispatches to a named
|
|
1632
|
+
// listener — `addEventListener('message', ...)` ALONE will miss
|
|
1633
|
+
// every frame that has the field. So we attach the same handler
|
|
1634
|
+
// to each known kind explicitly. Kinds list mirrors
|
|
1635
|
+
// `NexusEvent.kind` in `src/nexus/state/state.ts`.
|
|
1636
|
+
//
|
|
1637
|
+
// Caller can also pass `kinds` to extend (forward-compat — when
|
|
1638
|
+
// the server adds a kind the union will fail typecheck, but the
|
|
1639
|
+
// wire still flows because callers can pre-register).
|
|
1640
|
+
const KNOWN_KINDS: readonly string[] = [
|
|
1641
|
+
'nexus.boot',
|
|
1642
|
+
'nexus.shutdown',
|
|
1643
|
+
'tab.created',
|
|
1644
|
+
'tab.up',
|
|
1645
|
+
'tab.down',
|
|
1646
|
+
'tab.unhealthy',
|
|
1647
|
+
'tab.restart',
|
|
1648
|
+
'tab.halt',
|
|
1649
|
+
'config.changed',
|
|
1650
|
+
'workflow.approval.pending',
|
|
1651
|
+
'workflow.approval.resolved',
|
|
1652
|
+
'workflow.run.started',
|
|
1653
|
+
'workflow.run.node-started',
|
|
1654
|
+
'workflow.run.node-skipped',
|
|
1655
|
+
'workflow.run.node-done',
|
|
1656
|
+
'workflow.run.completed',
|
|
1657
|
+
'workflow.run.failed',
|
|
1658
|
+
// β-1a · in-app HITL banner
|
|
1659
|
+
'hitl.banner.show',
|
|
1660
|
+
'hitl.banner.cancel',
|
|
1661
|
+
// 2026-05-09 dogfood fix — IntentPanel ranker fan-out via
|
|
1662
|
+
// global event bus. The container subscribes with
|
|
1663
|
+
// `kinds: ['intent-prediction.ranking']` but `subscribeEvents`
|
|
1664
|
+
// only attaches named-event listeners for kinds in this
|
|
1665
|
+
// KNOWN_KINDS array (or what `subOpts.kinds` adds — see the
|
|
1666
|
+
// merge below). We bake the kind in here so callers don't
|
|
1667
|
+
// need to pass it.
|
|
1668
|
+
'intent-prediction.ranking',
|
|
1669
|
+
];
|
|
1670
|
+
const allKinds = subOpts.kinds
|
|
1671
|
+
? [...new Set([...KNOWN_KINDS, ...subOpts.kinds])]
|
|
1672
|
+
: KNOWN_KINDS;
|
|
1673
|
+
es.addEventListener('message', handler as EventListener);
|
|
1674
|
+
for (const k of allKinds) {
|
|
1675
|
+
es.addEventListener(k, handler as EventListener);
|
|
1676
|
+
}
|
|
1677
|
+
es.addEventListener('error', () => {
|
|
1678
|
+
try {
|
|
1679
|
+
debugLog('nexus.sse.error', {
|
|
1680
|
+
url,
|
|
1681
|
+
readyState: es.readyState,
|
|
1682
|
+
connectionState: es.readyState === 0 ? 'reconnecting' : es.readyState === 2 ? 'closed' : 'open',
|
|
1683
|
+
});
|
|
1684
|
+
} catch { /* observability must not disrupt SSE error handling */ }
|
|
1685
|
+
subOpts.onError?.(new Error('SSE error'));
|
|
1686
|
+
});
|
|
1687
|
+
return () => { try { es.close(); } catch { /* idempotent */ } };
|
|
1688
|
+
},
|
|
1689
|
+
subscribeLogs: (id, subOpts) => {
|
|
1690
|
+
const ESImpl = subOpts.EventSourceImpl ?? (globalThis as { EventSource?: typeof EventSource }).EventSource;
|
|
1691
|
+
if (!ESImpl) {
|
|
1692
|
+
throw new Error('EventSource not available · pass EventSourceImpl');
|
|
1693
|
+
}
|
|
1694
|
+
const url = `${baseUrl}/v1/nexus/tabs/${encodeURIComponent(id)}/logs?stream=1`;
|
|
1695
|
+
const es = new ESImpl(url);
|
|
1696
|
+
const handler = (e: MessageEvent): void => {
|
|
1697
|
+
try {
|
|
1698
|
+
const parsed = JSON.parse(e.data) as { stream: 'stdout' | 'stderr'; line: string };
|
|
1699
|
+
subOpts.onLine(parsed);
|
|
1700
|
+
} catch (err) {
|
|
1701
|
+
subOpts.onError?.(err as Error);
|
|
1702
|
+
}
|
|
1703
|
+
};
|
|
1704
|
+
es.addEventListener('message', handler as EventListener);
|
|
1705
|
+
es.addEventListener('log', handler as EventListener);
|
|
1706
|
+
es.addEventListener('error', () => {
|
|
1707
|
+
try {
|
|
1708
|
+
debugLog('nexus.sse.error', {
|
|
1709
|
+
url,
|
|
1710
|
+
readyState: es.readyState,
|
|
1711
|
+
connectionState: es.readyState === 0 ? 'reconnecting' : es.readyState === 2 ? 'closed' : 'open',
|
|
1712
|
+
});
|
|
1713
|
+
} catch { /* observability must not disrupt SSE error handling */ }
|
|
1714
|
+
subOpts.onError?.(new Error('SSE error'));
|
|
1715
|
+
});
|
|
1716
|
+
return () => { try { es.close(); } catch { /* idempotent */ } };
|
|
1717
|
+
},
|
|
1718
|
+
};
|
|
1719
|
+
}
|