@kabmo-labs/kabmo 0.36.0 → 0.38.0
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/dist/client/index.html +1 -1
- package/dist/client/index.js +547 -528
- package/dist/client/static/js/{CsvGrid-1h3bcak7.js → CsvGrid-90zfbn7f.js} +2 -2
- package/dist/client/static/js/{DocxView-ndca8jch.js → DocxView-vwq2rf16.js} +2 -2
- package/dist/client/static/js/{DrawioView-kpzd6y0b.js → DrawioView-bvx7eqcz.js} +2 -2
- package/dist/client/static/js/{ImageView-79prn3dg.js → ImageView-q6xfmbrq.js} +1 -1
- package/dist/client/static/js/{LayoutWrapper-v2wn2sb2.js → LayoutWrapper-qatdaw3n.js} +2 -2
- package/dist/client/static/js/{Modal-99j0zz3z.js → Modal-6jx1fvfb.js} +15 -15
- package/dist/client/static/js/{PdfView-2rjd87ay.js → PdfView-tkv2d2zs.js} +1 -1
- package/dist/client/static/js/{SessionsView-t7f3s71b.js → SessionsView-rbnecykz.js} +1 -1
- package/dist/client/static/js/{SheetView-ehb976st.js → SheetView-t08g8kdr.js} +4 -4
- package/dist/client/static/js/{SvgPreview-de2bbba6.js → SvgPreview-9vh6mdcp.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-nx9jzn7m.js → abnfDiagram-O67JEVCF-bxcn33e1.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-r8sz34h3.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-170v67rr.js → architectureDiagram-NJMV4G6O-40ggw6e8.js} +2 -2
- package/dist/client/static/js/{astro-80bs6hvg.js → astro-p3f5p9p2.js} +1 -1
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-16q285n1.js → blockDiagram-BEXU5L5S-k41cvjrd.js} +6 -6
- package/dist/client/static/js/c-jkdstn33.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-rn3qt45h.js → c4Diagram-YGBWAQC7-rdcmn6ac.js} +2 -2
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-r26wg74e.js → classDiagram-v2-NBCMYWYE-txbmbkxv.js} +5 -5
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-82kwe7ha.js → cose-bilkent-JH36ORCC-bxzh3qj1.js} +1 -1
- package/dist/client/static/js/cpp-9d3xdpe3.js +1 -0
- package/dist/client/static/js/css-r3wja1ze.js +1 -0
- package/dist/client/static/js/css-sebxkh5f.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-w2f2vev7.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-tcxdn6pa.js → cynefinDiagram-VND7K2PF-abx5343b.js} +1 -1
- package/dist/client/static/js/{dagre-6A5THRUB-g833ata3.js → dagre-6A5THRUB-baj278kt.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-f1fq8xec.js → diagram-22UHCM2B-vqvhdc5m.js} +7 -7
- package/dist/client/static/js/{diagram-3UASUU5V-6j2w016f.js → diagram-3UASUU5V-w328rfx0.js} +2 -2
- package/dist/client/static/js/{diagram-ATOU4E4O-6t2qxsk4.js → diagram-ATOU4E4O-zzcmwnm8.js} +2 -2
- package/dist/client/static/js/{diagram-CDSNMT55-7abar8s7.js → diagram-CDSNMT55-8yw39mmj.js} +1 -1
- package/dist/client/static/js/{diagram-MLGK6HIB-s68rgy16.js → diagram-MLGK6HIB-zgc386pv.js} +1 -1
- package/dist/client/static/js/{diagram-MPIPVDR6-azgkm6w8.js → diagram-MPIPVDR6-efmvvscm.js} +1 -1
- package/dist/client/static/js/{dockerfile-47e33kqa.js → dockerfile-bp5dre33.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-esrjz750.js → ebnfDiagram-ZINNZB2B-p66h0dzq.js} +1 -1
- package/dist/client/static/js/{elixir-rpa1g4gy.js → elixir-jwphgp8j.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-fhr4b4jj.js → elk-276RUBZZ-g0jjxcqd.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-5r3fmdnz.js → erDiagram-OPXOYQCR-39gat96z.js} +4 -4
- package/dist/client/static/js/{erlang-bh5cbm8m.js → erlang-6m6tpt72.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-k5n61zzh.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-f6jpcqyq.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-j4pf6rdn.js → ganttDiagram-FUAMR5RP-nsjv1zt4.js} +2 -2
- package/dist/client/static/js/gitGraph-4MIJSDKK-2gf053bx.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-x5epk0gr.js → gitGraphDiagram-X574FWY7-r4vnkcy3.js} +2 -2
- package/dist/client/static/js/graphql-p4cskvad.js +1 -0
- package/dist/client/static/js/html-f26r6vv5.js +1 -0
- package/dist/client/static/js/{index-c1j0xb0w.js → index-0kxqzafy.js} +1 -1
- package/dist/client/static/js/{index-3kgrcaq1.js → index-11bdd235.js} +1 -1
- package/dist/client/static/js/{index-b48p8d1j.js → index-1qszrvzk.js} +2 -2
- package/dist/client/static/js/{index-3vdmwpbh.js → index-24yyj78e.js} +2 -2
- package/dist/client/static/js/{index-63c6t75t.js → index-2drjp9ks.js} +1 -1
- package/dist/client/static/js/{index-d2km9egp.js → index-2ndq1ngv.js} +4 -4
- package/dist/client/static/js/{index-0j518hqm.js → index-3az1w5f8.js} +2 -2
- package/dist/client/static/js/{index-ye450a7z.js → index-50z4ek83.js} +1 -1
- package/dist/client/static/js/{index-60ceydzn.js → index-5ebhb94w.js} +1 -1
- package/dist/client/static/js/{index-ctgefatv.js → index-5y0bvq4q.js} +34 -34
- package/dist/client/static/js/{index-40ve7zzv.js → index-6ax2z70w.js} +1 -1
- package/dist/client/static/js/{index-9t82sx0w.js → index-6k3e5dph.js} +2 -2
- package/dist/client/static/js/{index-6xzfta4b.js → index-73jwm4d5.js} +1 -1
- package/dist/client/static/js/{index-8cy3x2y8.js → index-7fdp9c7m.js} +2 -2
- package/dist/client/static/js/{index-zvfvqvn9.js → index-9wd9y6m0.js} +2 -2
- package/dist/client/static/js/{index-q5t4sy22.js → index-9wtg6ywn.js} +4 -4
- package/dist/client/static/js/{index-nws03exw.js → index-a74k07z2.js} +2 -2
- package/dist/client/static/js/{index-982jyfsb.js → index-ashpbfqv.js} +2 -2
- package/dist/client/static/js/{index-zp73zexp.js → index-b9b2nwdd.js} +2 -2
- package/dist/client/static/js/{index-h1e1abpt.js → index-c15r8jd3.js} +2 -2
- package/dist/client/static/js/{index-5rzk1226.js → index-da10qpns.js} +2 -2
- package/dist/client/static/js/{index-ky0prc71.js → index-dfgdn3fj.js} +9 -9
- package/dist/client/static/js/{index-c09a5s1n.js → index-dkseg29t.js} +9 -9
- package/dist/client/static/js/{index-w3n97x4b.js → index-dt7e1328.js} +2 -2
- package/dist/client/static/js/{index-sar2ggde.js → index-e1pr3k50.js} +2 -2
- package/dist/client/static/js/{index-0b1kwsam.js → index-fghst0kd.js} +32 -32
- package/dist/client/static/js/{index-af24nes6.js → index-gbfg0anm.js} +2 -2
- package/dist/client/static/js/{index-vtbbfwx0.js → index-gr6jng0x.js} +2 -2
- package/dist/client/static/js/{index-44qrckd2.js → index-gwhx66f4.js} +1 -1
- package/dist/client/static/js/{index-55pqvh82.js → index-h7pn9qw6.js} +2 -2
- package/dist/client/static/js/{index-97t3mv1v.js → index-h8h5c2r8.js} +1 -1
- package/dist/client/static/js/{index-v5t761a1.js → index-ha75kff0.js} +2 -2
- package/dist/client/static/js/{index-ydvfc9td.js → index-hzx81cjq.js} +4 -4
- package/dist/client/static/js/{index-be6gevq8.js → index-k9xsvab3.js} +1 -1
- package/dist/client/static/js/{index-v8qd8ypc.js → index-nd4p98mc.js} +2 -2
- package/dist/client/static/js/{index-dmgawfhw.js → index-qkscve6n.js} +2 -2
- package/dist/client/static/js/{index-w7xbfv44.js → index-qn4pkjfh.js} +2 -2
- package/dist/client/static/js/{index-zdtsvnpq.js → index-r83kr4s5.js} +2 -2
- package/dist/client/static/js/{index-htt8qxm3.js → index-ra38ggke.js} +1 -1
- package/dist/client/static/js/{index-skm6k5w2.js → index-rf0p3v7q.js} +5 -5
- package/dist/client/static/js/{index-7r1hw2gd.js → index-rgp69pa8.js} +1 -1
- package/dist/client/static/js/{index-8e15fzax.js → index-rqrcw8nj.js} +2 -2
- package/dist/client/static/js/{index-63jbb4kf.js → index-sa9cp6km.js} +2 -2
- package/dist/client/static/js/{index-75haaj8g.js → index-st202rjv.js} +184 -184
- package/dist/client/static/js/{index-mm1rf116.js → index-t5t71dhp.js} +2 -2
- package/dist/client/static/js/{index-ktvbsj6w.js → index-tfsaj5d1.js} +2 -2
- package/dist/client/static/js/{index-k1xt92h4.js → index-tv61v3t3.js} +1 -1
- package/dist/client/static/js/index-tzm90bsz.js +1 -0
- package/dist/client/static/js/{index-z6g74h7g.js → index-vb6t44dw.js} +2 -2
- package/dist/client/static/js/{index-pyx8n25s.js → index-vnn7m9yp.js} +3 -3
- package/dist/client/static/js/{index-5kjpacvd.js → index-vxd4gykh.js} +2 -2
- package/dist/client/static/js/{index-r8pckaqe.js → index-xya34x4v.js} +2 -2
- package/dist/client/static/js/{index-a293pdg7.js → index-y3hdv561.js} +2 -2
- package/dist/client/static/js/{index-9gf8b73w.js → index-z0cpp5bc.js} +2 -2
- package/dist/client/static/js/info-A6RAGUB7-3tr0y3s6.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-ktc8nb8g.js → infoDiagram-VRGFBTTK-e39pvm4j.js} +1 -1
- package/dist/client/static/js/ini-cg0a5wm3.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-n3dk6227.js → ishikawaDiagram-OU5B5YK6-rqhszgvp.js} +2 -2
- package/dist/client/static/js/java-vcck089n.js +1 -0
- package/dist/client/static/js/javascript-nyf39d5r.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-f0p1h8qn.js → journeyDiagram-ZHPQQLJL-wgy5qrsv.js} +3 -3
- package/dist/client/static/js/jsx-ht9zyzwa.js +1 -0
- package/dist/client/static/js/{julia-73zjh2w6.js → julia-237yk557.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-7jdt7dv1.js → kanban-definition-PNTS6WVX-b8bxn0h1.js} +3 -3
- package/dist/client/static/js/lua-86fjqj8v.js +1 -0
- package/dist/client/static/js/markdown-gwmsh53r.js +1 -0
- package/dist/client/static/js/{mermaid.core-e8rzrjt9.js → mermaid.core-vb5ehtre.js} +6 -6
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-7shv6ge0.js → mindmap-definition-NLK3R4M7-t4p38s38.js} +3 -3
- package/dist/client/static/js/one-dark-pro-dhybn1ff.js +1 -0
- package/dist/client/static/js/one-light-bqg77ay0.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-xbsyjzrh.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-17ak2zx3.js → pegDiagram-GJSIUBJH-3gp4madx.js} +1 -1
- package/dist/client/static/js/{perl-8z46dmze.js → perl-dvz4y1tb.js} +1 -1
- package/dist/client/static/js/{php-6qvnp2t6.js → php-n6y7dzhm.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-j2tpz0cs.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-at4x1g4q.js → pieDiagram-5QR66LMP-0cbm773h.js} +2 -2
- package/dist/client/static/js/properties-mzvvbqg5.js +1 -0
- package/dist/client/static/js/python-3w64wsyd.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-apzhwrn4.js → quadrantDiagram-O4NWA36T-jwg7fc9f.js} +1 -1
- package/dist/client/static/js/r-32re2zwb.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-m3tsyfv0.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-5p202a4q.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-hj0y9tgn.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-8c5dct8f.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-3tx8z65q.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-rw8cj5f3.js → railroadDiagram-XR7U4H2S-38xh691s.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-qyrse7mb.js → requirementDiagram-PLB6GJNP-gpddawxh.js} +4 -4
- package/dist/client/static/js/{ruby-qy8mhstq.js → ruby-7zye3g0e.js} +1 -1
- package/dist/client/static/js/{rust-fpshqnk0.js → rust-bx3ecv4n.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-254qr59q.js → sankeyDiagram-IPEJSGJF-s6t6bbhk.js} +1 -1
- package/dist/client/static/js/{sass-kbwea482.js → sass-m0h9yzfb.js} +1 -1
- package/dist/client/static/js/{scss-zphrqp25.js → scss-2pwwfkvn.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-y9xjxfc5.js → sequenceDiagram-PO4LG4MO-wkq51pmb.js} +3 -3
- package/dist/client/static/js/{sizeCapture-INFHLROL-sc5e60t3.js → sizeCapture-INFHLROL-xtwexf8k.js} +1 -1
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-r134s4xr.js → stateDiagram-v2-GCMORJYK-jnwsqa7y.js} +3 -3
- package/dist/client/static/js/{svelte-mwtx07d9.js → svelte-x8f8c8hq.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-xc7rbawt.js → swimlanes-2SLR337P-mnkkqcbx.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-6xmrz03n.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-cgjd8shk.js → timeline-definition-EJHVYXUP-rxq6heqh.js} +2 -2
- package/dist/client/static/js/treeView-Q6P3EWNA-mf0rb2yv.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-0x5gf06b.js +1 -0
- package/dist/client/static/js/typescript-5nmrzgkj.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-9qsmjhm6.js → usecaseDiagram-POWQR4AR-dz94f57t.js} +13 -13
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-4grw9awx.js → vennDiagram-UO4OBE2U-5mmvkhsq.js} +1 -1
- package/dist/client/static/js/{vue-j8vb9d7r.js → vue-myjjd0gd.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-x7ej8dms.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-8gxy0wat.js → wardleyDiagram-VNRHLVJA-dctdntpa.js} +1 -1
- package/dist/client/static/js/xml-3dd1pter.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-5sh7tdrx.js → xychartDiagram-PMCCYNJV-njyfrqkv.js} +2 -2
- package/dist/client/static/js/yaml-yssayv8a.js +1 -0
- package/package.json +1 -1
- package/src/client/components/common/ComposerPicker.tsx +24 -12
- package/src/client/components/common/ComposerTextarea.tsx +1 -0
- package/src/client/components/layout/session-sidebar/scheduler-modal/ModelFields.tsx +1 -1
- package/src/client/components/settings/apply-side-effects.test.ts +5 -4
- package/src/client/components/workspace/chat-timeline/chat-input/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/index.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.test.tsx +210 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.tsx +342 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/LooseFieldAsk.tsx +44 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.test.tsx +44 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/OrphanAsks.tsx +10 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/PluginPendingInteractions.test.ts +1 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/drafts.ts +19 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/form-picks.ts +52 -0
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.test.ts +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/index.tsx +53 -4
- package/src/client/components/workspace/model-dropdown/index.tsx +1 -1
- package/src/client/components/workspace/model-dropdown/use-catalog.ts +3 -32
- package/src/client/data/settings/omp-schema.json +55 -1
- package/src/client/hooks/chat/composer/harness-model-picker.ts +84 -0
- package/src/client/hooks/chat/composer/index.ts +26 -6
- package/src/client/hooks/chat/timeline/ask-frames.test.ts +80 -7
- package/src/client/hooks/chat/timeline/ask-frames.ts +95 -21
- package/src/client/hooks/models/use-harnesses.ts +15 -2
- package/src/client/hooks/ui/icon-style.ts +7 -4
- package/src/client/hooks/ui/style-attributes.test.ts +11 -11
- package/src/client/hooks/ui/surface-style.ts +8 -5
- package/src/server/lib/assets/shell-attributes.server.ts +12 -9
- package/src/server/lib/assets/shell-attributes.test.ts +18 -13
- package/src/server/lib/auth/agent-gate.server.ts +64 -0
- package/src/server/lib/auth/agent-tree-gate.test.ts +121 -0
- package/src/server/lib/auth/guard.test.ts +18 -18
- package/src/server/lib/auth/guard.ts +15 -11
- package/src/server/lib/auth/handover-guard.test.ts +1 -1
- package/src/server/lib/changes/attach.server.ts +57 -0
- package/src/server/lib/changes/attach.test.ts +94 -0
- package/src/server/lib/changes/blobs.server.ts +52 -0
- package/src/server/lib/changes/capture-bash.server.ts +106 -0
- package/src/server/lib/changes/capture-fs.server.ts +64 -0
- package/src/server/lib/changes/capture-runs.test.ts +136 -0
- package/src/server/lib/changes/capture-test-util.ts +46 -0
- package/src/server/lib/changes/capture-types.ts +62 -0
- package/src/server/lib/changes/capture.server.ts +333 -0
- package/src/server/lib/changes/capture.test.ts +245 -0
- package/src/server/lib/changes/classify-command.test.ts +172 -0
- package/src/server/lib/changes/classify-command.ts +272 -0
- package/src/server/lib/changes/classify-git.ts +88 -0
- package/src/server/lib/changes/classify-paths.ts +112 -0
- package/src/server/lib/changes/classify-tokenize.ts +185 -0
- package/src/server/lib/changes/journal.server.ts +183 -0
- package/src/server/lib/changes/journal.test.ts +125 -0
- package/src/server/lib/changes/merge.test.ts +137 -0
- package/src/server/lib/changes/paths.server.ts +37 -0
- package/src/server/lib/changes/purge.server.ts +32 -0
- package/src/server/lib/changes/reader.server.ts +322 -0
- package/src/server/lib/changes/reader.test.ts +137 -0
- package/src/server/lib/changes/records.ts +120 -0
- package/src/server/lib/changes/scan.server.ts +89 -0
- package/src/server/lib/harness/register.server.ts +3 -0
- package/src/server/lib/omp/rpc/event-fanout.test.ts +58 -0
- package/src/server/lib/omp/rpc/event-fanout.ts +19 -0
- package/src/server/lib/omp/rpc/manager.ts +4 -3
- package/src/server/lib/omp/rpc/session-registration.ts +5 -0
- package/src/server/lib/omp/rpc/session-registry.ts +4 -5
- package/src/server/lib/omp/session/delete.server.ts +4 -0
- package/src/server/lib/sessions/agent-token.server.test.ts +28 -5
- package/src/server/lib/sessions/agent-token.server.ts +42 -6
- package/src/server/lib/sessions/relation-access.server.test.ts +96 -0
- package/src/server/lib/sessions/relation-access.server.ts +71 -0
- package/src/server/routes/sessions/changes.ts +1 -1
- package/src/shared/lib/chat/ask-form/fields.ts +1 -0
- package/src/shared/lib/chat/ask-form/types.ts +6 -0
- package/src/shared/lib/chat/ask-questions.ts +56 -3
- package/src/shared/lib/chat/composer/delegation.ts +2 -13
- package/src/shared/lib/chat/composer/filter.test.ts +39 -0
- package/src/shared/lib/chat/composer/filter.ts +23 -13
- package/src/shared/lib/chat/composer/harness-model-items.test.ts +54 -0
- package/src/shared/lib/chat/composer/harness-model-items.ts +41 -0
- package/src/shared/lib/chat/composer/trigger.test.ts +50 -0
- package/src/shared/lib/chat/composer/trigger.ts +29 -1
- package/src/shared/lib/chat/timeline/changed-files.test.ts +16 -0
- package/src/shared/lib/chat/timeline/changed-files.ts +102 -25
- package/src/shared/lib/harness/catalog.ts +21 -0
- package/src/{client/components/workspace/model-dropdown/harness-models.test.ts → shared/lib/harness/models.test.ts} +1 -1
- package/src/shared/lib/icons/icon-paint-authority.ts +5 -3
- package/src/shared/lib/models/option.ts +46 -0
- package/src/shared/lib/omp/config/schema.test.ts +20 -0
- package/src/shared/lib/theme/icon-style.test.ts +8 -5
- package/src/shared/lib/theme/icon-style.ts +15 -7
- package/src/shared/lib/theme/surface-style.test.ts +8 -5
- package/src/shared/lib/theme/surface-style.ts +17 -7
- package/src/shared/lib/workspace/sidebar-style.test.ts +7 -8
- package/src/shared/lib/workspace/sidebar-style.ts +7 -8
- package/src/shared/types/chat.ts +12 -6
- package/src/shared/types/omp/agent.ts +9 -0
- package/src/shared/types/session-changes.ts +4 -0
- package/dist/client/static/js/architecture-7GRP2DOG-aqft2erp.js +0 -1
- package/dist/client/static/js/c-wkgxb1t1.js +0 -1
- package/dist/client/static/js/cpp-y0t6mynx.js +0 -1
- package/dist/client/static/js/css-r2nhvzff.js +0 -1
- package/dist/client/static/js/css-tf1s0nb7.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-v2sz60t6.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-8qbefe4m.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-krsvgcq7.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-9bx1a38k.js +0 -1
- package/dist/client/static/js/graphql-xnpp5gn9.js +0 -1
- package/dist/client/static/js/html-pv88ny12.js +0 -1
- package/dist/client/static/js/index-dh1vd0d9.js +0 -1
- package/dist/client/static/js/info-A6RAGUB7-j51t7jhh.js +0 -1
- package/dist/client/static/js/ini-ygfyhprj.js +0 -1
- package/dist/client/static/js/java-gm49vw59.js +0 -1
- package/dist/client/static/js/javascript-4kw2j9t3.js +0 -1
- package/dist/client/static/js/jsx-ksxw1byz.js +0 -1
- package/dist/client/static/js/lua-53gzb9bx.js +0 -1
- package/dist/client/static/js/markdown-tk3cd3vs.js +0 -1
- package/dist/client/static/js/one-dark-pro-39bt34v9.js +0 -1
- package/dist/client/static/js/one-light-xec0sehr.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-n83gfj2g.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-5c5pctwz.js +0 -1
- package/dist/client/static/js/properties-2tcybqjk.js +0 -1
- package/dist/client/static/js/python-qph3dntq.js +0 -1
- package/dist/client/static/js/r-gd26x93y.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-52e5n99a.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-44nqxxpy.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-25jxgwg7.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-64pqpf2y.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-0p5sxzpx.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-kdcdamkj.js +0 -8
- package/dist/client/static/js/treeView-Q6P3EWNA-8j14nnd1.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-esf993kk.js +0 -1
- package/dist/client/static/js/typescript-0s2t05jj.js +0 -1
- package/dist/client/static/js/wardley-WFR3VGLG-v4dxm2sb.js +0 -1
- package/dist/client/static/js/xml-0py2vkw7.js +0 -1
- package/dist/client/static/js/yaml-vghdz0f0.js +0 -1
- /package/src/{client/components/workspace/model-dropdown/harness-models.ts → shared/lib/harness/models.ts} +0 -0
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { describe, expect, test } from 'bun:test';
|
|
16
|
-
import { acpModelOption, harnessModels, pickerHarnesses } from '@/
|
|
16
|
+
import { acpModelOption, harnessModels, pickerHarnesses } from '@/shared/lib/harness/models';
|
|
17
17
|
import type { HarnessSummary } from '@/shared/types/harness';
|
|
18
18
|
import type { AIModelOption } from '@/shared/types';
|
|
19
19
|
|
|
@@ -133,9 +133,11 @@ export function solidSignalFillRules(): string[] {
|
|
|
133
133
|
/**
|
|
134
134
|
* The same fill, in MONOCHROME — and there it was a blank button.
|
|
135
135
|
*
|
|
136
|
-
* The rule above is gated on the colour mode, but `monochrome` is the
|
|
137
|
-
*
|
|
138
|
-
*
|
|
136
|
+
* The rule above is gated on the colour mode, but `monochrome` is the style CSS
|
|
137
|
+
* paints with NO `data-icon-style` attribute (`ICON_STYLE_WITHOUT_ATTRIBUTE`,
|
|
138
|
+
* not the default — that is `color`), and its rule paints every glyph without a
|
|
139
|
+
* `text-ink` class in `var(--theme-ink)`. On a solid signal fill that ink is
|
|
140
|
+
* the fill:
|
|
139
141
|
* measured across the 63 palettes, `Square` on `bg-error` computes **1.04:1**
|
|
140
142
|
* on `osaka-jade-light` and 44 of 63 sit under the 3:1 graphic floor. So the
|
|
141
143
|
* fill has to be excluded from the ink pass and take the surface's foreground
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* One registry entry as a picker row.
|
|
8
|
+
*
|
|
9
|
+
* `/api/models` answers `ModelEntry` (omp's registry, numbers for cost) while
|
|
10
|
+
* every picker surface renders `AIModelOption` (display strings). One mapper
|
|
11
|
+
* keeps the two from drifting: the model dropdown, the composer's
|
|
12
|
+
* `@harness:<id>:` completion and any future reader describe the same row the
|
|
13
|
+
* same way.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import type { AIModelOption, ModelEntry } from '@/shared/types';
|
|
17
|
+
|
|
18
|
+
export function modelEntryOption(entry: ModelEntry): AIModelOption {
|
|
19
|
+
const ladder = Array.isArray(entry.thinkingLevels) ? entry.thinkingLevels : [];
|
|
20
|
+
const cost = entry.cost;
|
|
21
|
+
return {
|
|
22
|
+
id: entry.id,
|
|
23
|
+
name: entry.name || entry.id,
|
|
24
|
+
// A row without a provider still has to render. `/api/models` is read from
|
|
25
|
+
// omp's registry, and a partial entry (a custom provider whose `provider`
|
|
26
|
+
// field never landed) used to crash the whole picker — `buildPickerGroups`
|
|
27
|
+
// upper-cased `undefined` and the composer's model pill took the chat input
|
|
28
|
+
// down with it. `unknown` keeps the row visible and gives it a stable
|
|
29
|
+
// section instead of dropping a model the user may have selected.
|
|
30
|
+
provider: entry.provider || 'unknown',
|
|
31
|
+
// The provider's fetched web icon, when the server has one. Carried through
|
|
32
|
+
// so the picker's section header and the selected model's mark can draw the
|
|
33
|
+
// site's own logo instead of the initials of a provider nobody has drawn.
|
|
34
|
+
...(entry.providerIconUrl ? { providerIconUrl: entry.providerIconUrl } : {}),
|
|
35
|
+
contextWindow: entry.contextWindow,
|
|
36
|
+
thinkingLevel: ladder[0] ?? 'off',
|
|
37
|
+
thinkingLevels: ladder,
|
|
38
|
+
capabilities: ladder.length > 1 ? ['Tool calling', 'Reasoning'] : ['Tool calling'],
|
|
39
|
+
cost: cost ? {
|
|
40
|
+
input: cost.input !== undefined ? `$${cost.input}` : '—',
|
|
41
|
+
output: cost.output !== undefined ? `$${cost.output}` : '—',
|
|
42
|
+
cacheRead: cost.cacheRead !== undefined ? `$${cost.cacheRead}` : undefined,
|
|
43
|
+
cacheWrite: cost.cacheWrite !== undefined ? `$${cost.cacheWrite}` : undefined,
|
|
44
|
+
} : undefined,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -161,6 +161,26 @@ describe('OMP_SCHEMA', () => {
|
|
|
161
161
|
// …and `edit.mode` gained `none`, which removes the `edit` tool.
|
|
162
162
|
expect(OMP_SCHEMA.entries['edit.mode']?.values).toContain('none');
|
|
163
163
|
});
|
|
164
|
+
|
|
165
|
+
test("18.20.3's three Mnemopi rows are present and gated on the backend", () => {
|
|
166
|
+
// The generator only emits a row for a setting that carries a `ui` block,
|
|
167
|
+
// so a row dropped here means the panel lost its only editor. All three
|
|
168
|
+
// are upstream-gated on `mnemopiActive`; a missing condition would show a
|
|
169
|
+
// Mnemopi-only row to every user.
|
|
170
|
+
const rows = {
|
|
171
|
+
'mnemopi.recallRelevance': { type: 'enum', default: 'off' },
|
|
172
|
+
'mnemopi.embeddingQueryPrefix': { type: 'string', default: undefined },
|
|
173
|
+
'mnemopi.embeddingInputType': { type: 'boolean', default: false },
|
|
174
|
+
} as const;
|
|
175
|
+
for (const [key, want] of Object.entries(rows)) {
|
|
176
|
+
const entry = OMP_SCHEMA.entries[key];
|
|
177
|
+
expect({ key, entry: entry && { type: entry.type, tab: entry.ui.tab, group: entry.ui.group, condition: entry.ui.condition, default: entry.default } }).toEqual({
|
|
178
|
+
key,
|
|
179
|
+
entry: { ...want, tab: 'memory', group: 'Mnemopi', condition: 'mnemopiActive' },
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
expect(OMP_SCHEMA.entries['mnemopi.recallRelevance']?.values).toEqual(['auto', 'on', 'off']);
|
|
183
|
+
});
|
|
164
184
|
});
|
|
165
185
|
|
|
166
186
|
describe('ALL_SCHEMA_ENTRIES', () => {
|
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* The icon style's contract.
|
|
8
8
|
*
|
|
9
|
-
* Two facts are pinned here: the default
|
|
10
|
-
*
|
|
11
|
-
* with no
|
|
9
|
+
* Two facts are pinned here: the default is full colour, and an unreadable
|
|
10
|
+
* stored value must land on it rather than leaving every mark with no rule to
|
|
11
|
+
* paint it. The style CSS paints with no attribute (`monochrome`) is a separate
|
|
12
|
+
* constant, because the ink pass is written as the absence of the attribute.
|
|
12
13
|
*/
|
|
13
14
|
|
|
14
15
|
import { describe, expect, test } from 'bun:test';
|
|
@@ -17,6 +18,7 @@ import {
|
|
|
17
18
|
ICON_STYLE_ATTRIBUTE,
|
|
18
19
|
ICON_STYLES,
|
|
19
20
|
ICON_STYLE_COPY,
|
|
21
|
+
ICON_STYLE_WITHOUT_ATTRIBUTE,
|
|
20
22
|
isIconStyle,
|
|
21
23
|
resolveIconStyle,
|
|
22
24
|
} from '@/shared/lib/theme/icon-style';
|
|
@@ -47,8 +49,9 @@ describe('resolveIconStyle', () => {
|
|
|
47
49
|
});
|
|
48
50
|
|
|
49
51
|
describe('the style table', () => {
|
|
50
|
-
test('
|
|
51
|
-
expect(DEFAULT_ICON_STYLE).toBe('
|
|
52
|
+
test('a fresh install resolves to full colour, while the absent attribute stays ink', () => {
|
|
53
|
+
expect(DEFAULT_ICON_STYLE).toBe('color');
|
|
54
|
+
expect(ICON_STYLE_WITHOUT_ATTRIBUTE).toBe('monochrome');
|
|
52
55
|
expect(ICON_STYLES).toContain(DEFAULT_ICON_STYLE);
|
|
53
56
|
});
|
|
54
57
|
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
* 3. **File-type marks** (`file-icon/`) — the language and tool logos a file
|
|
20
20
|
* list is read by.
|
|
21
21
|
*
|
|
22
|
-
* - `monochrome` — every icon in the surrounding ink.
|
|
23
|
-
* is
|
|
24
|
-
*
|
|
22
|
+
* - `monochrome` — every icon in the surrounding ink. Rendered when the
|
|
23
|
+
* attribute is ABSENT, which is why `ICON_STYLE_WITHOUT_ATTRIBUTE` is
|
|
24
|
+
* `monochrome` and not the default: the ink pass is stated once, in CSS.
|
|
25
25
|
* - `color` — each icon in its own colour. A brand colour that would
|
|
26
26
|
* vanish on the active variant (a black logo on a dark theme) keeps the ink
|
|
27
27
|
* instead, and the generated hues are stated at a lightness that clears the
|
|
28
28
|
* 3:1 non-text floor on every palette of that variant, so this never trades a
|
|
29
|
-
* legible row for a literal hex.
|
|
29
|
+
* legible row for a literal hex. The DEFAULT a fresh install resolves to.
|
|
30
30
|
*
|
|
31
31
|
* Every rule is `:where()`-wrapped, so this is a DEFAULT paint and never an
|
|
32
32
|
* override: a caller's own `text-error` on a missing file, or `text-ink/40` on a
|
|
@@ -41,10 +41,18 @@
|
|
|
41
41
|
export type IconStyle = 'monochrome' | 'color';
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* The style a
|
|
45
|
-
*
|
|
44
|
+
* The style a fresh install — or any stored value this build cannot draw —
|
|
45
|
+
* resolves to.
|
|
46
46
|
*/
|
|
47
|
-
export const DEFAULT_ICON_STYLE: IconStyle = '
|
|
47
|
+
export const DEFAULT_ICON_STYLE: IconStyle = 'color';
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The style CSS paints when `data-icon-style` is absent. Separate from the
|
|
51
|
+
* default for the same reason as `SURFACE_STYLE_WITHOUT_ATTRIBUTE`: the ink
|
|
52
|
+
* pass is written as `:root:not([data-icon-style="color"])`, so only this value
|
|
53
|
+
* may omit the attribute.
|
|
54
|
+
*/
|
|
55
|
+
export const ICON_STYLE_WITHOUT_ATTRIBUTE: IconStyle = 'monochrome';
|
|
48
56
|
|
|
49
57
|
/** Document attribute carrying the style. Read by CSS only. */
|
|
50
58
|
export const ICON_STYLE_ATTRIBUTE = 'data-icon-style';
|
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
* The surface style's contract.
|
|
8
8
|
*
|
|
9
9
|
* The rule that matters is the FALLBACK and the DEFAULT: a stored value this
|
|
10
|
-
* build cannot draw must resolve to the shipped default, and that default
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* build cannot draw must resolve to the shipped default, and that default
|
|
11
|
+
* (`glass`) is deliberately NOT the style CSS paints with no attribute
|
|
12
|
+
* (`classic`) — mixing the two would leave the setting on glass while the
|
|
13
|
+
* document showed opaque panels.
|
|
13
14
|
*/
|
|
14
15
|
|
|
15
16
|
import { describe, expect, test } from 'bun:test';
|
|
@@ -18,6 +19,7 @@ import {
|
|
|
18
19
|
SURFACE_ATTRIBUTE,
|
|
19
20
|
SURFACE_STYLES,
|
|
20
21
|
SURFACE_STYLE_COPY,
|
|
22
|
+
SURFACE_STYLE_WITHOUT_ATTRIBUTE,
|
|
21
23
|
isSurfaceStyle,
|
|
22
24
|
resolveSurfaceStyle,
|
|
23
25
|
} from '@/shared/lib/theme/surface-style';
|
|
@@ -48,8 +50,9 @@ describe('resolveSurfaceStyle', () => {
|
|
|
48
50
|
});
|
|
49
51
|
|
|
50
52
|
describe('the style table', () => {
|
|
51
|
-
test('
|
|
52
|
-
expect(DEFAULT_SURFACE_STYLE).toBe('
|
|
53
|
+
test('a fresh install resolves to glass, while the absent attribute stays classic', () => {
|
|
54
|
+
expect(DEFAULT_SURFACE_STYLE).toBe('glass');
|
|
55
|
+
expect(SURFACE_STYLE_WITHOUT_ATTRIBUTE).toBe('classic');
|
|
53
56
|
expect(SURFACE_STYLES).toContain(DEFAULT_SURFACE_STYLE);
|
|
54
57
|
});
|
|
55
58
|
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
* why this module states names and copy while `src/client/tailwind.css` states
|
|
13
13
|
* every pixel.
|
|
14
14
|
*
|
|
15
|
-
* - `classic` — opaque paper over the palette's canvas.
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* - `classic` — opaque paper over the palette's canvas. Rendered when the
|
|
16
|
+
* attribute is ABSENT, which is why `SURFACE_STYLE_WITHOUT_ATTRIBUTE` is
|
|
17
|
+
* `classic` and not the default: CSS states the opaque look once, in `:root`.
|
|
18
18
|
* - `glass` — one frosted plane over a palette-coloured aura, with the
|
|
19
19
|
* panels above it as translucent tints. The plane owns the blur (a single
|
|
20
20
|
* `backdrop-filter` per window), so the panel count does not decide the
|
|
21
|
-
* frame budget.
|
|
21
|
+
* frame budget. The DEFAULT a fresh install resolves to.
|
|
22
22
|
*
|
|
23
23
|
* The style reaches the document as `data-surface` on `<html>`, never as a
|
|
24
24
|
* prop: the sidebar, the navbar, the composer and every modal are separate
|
|
@@ -33,10 +33,20 @@
|
|
|
33
33
|
export type SurfaceStyle = 'classic' | 'glass';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* The style a
|
|
37
|
-
*
|
|
36
|
+
* The style a fresh install — or any stored value this build cannot draw —
|
|
37
|
+
* resolves to.
|
|
38
38
|
*/
|
|
39
|
-
export const DEFAULT_SURFACE_STYLE: SurfaceStyle = '
|
|
39
|
+
export const DEFAULT_SURFACE_STYLE: SurfaceStyle = 'glass';
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* The style CSS paints when `data-surface` is absent.
|
|
43
|
+
*
|
|
44
|
+
* Two facts, kept apart on purpose: the DEFAULT is what a fresh install picks,
|
|
45
|
+
* while the ABSENT state is what `:root` in `tailwind.css` paints. They
|
|
46
|
+
* coincide only before the default moved to `glass`; every writer must compare
|
|
47
|
+
* against THIS constant when deciding whether the attribute can be omitted.
|
|
48
|
+
*/
|
|
49
|
+
export const SURFACE_STYLE_WITHOUT_ATTRIBUTE: SurfaceStyle = 'classic';
|
|
40
50
|
|
|
41
51
|
/** Document attribute carrying the style. Read by CSS only. */
|
|
42
52
|
export const SURFACE_ATTRIBUTE = 'data-surface';
|
|
@@ -9,12 +9,11 @@
|
|
|
9
9
|
* The value is stored in the `kabmo_settings` blob and read on every render of
|
|
10
10
|
* the left column, so the two failure modes worth pinning are:
|
|
11
11
|
*
|
|
12
|
-
* - **an unknown value must resolve to
|
|
13
|
-
* build, a hand-edited row, or a downgrade would otherwise name a
|
|
14
|
-
* that does not exist in this build.
|
|
15
|
-
* - **the default
|
|
16
|
-
*
|
|
17
|
-
* default silently rearranges a sidebar nobody asked to change.
|
|
12
|
+
* - **an unknown value must resolve to the shipped default.** A blob written by
|
|
13
|
+
* a newer build, a hand-edited row, or a downgrade would otherwise name a
|
|
14
|
+
* renderer that does not exist in this build.
|
|
15
|
+
* - **the default is `modern`.** A fresh install leads with the search/chips
|
|
16
|
+
* chrome; a stored `classic` still renders the older sidebar unchanged.
|
|
18
17
|
*/
|
|
19
18
|
|
|
20
19
|
import { describe, expect, test } from 'bun:test';
|
|
@@ -27,8 +26,8 @@ import {
|
|
|
27
26
|
} from '@/shared/lib/workspace/sidebar-style';
|
|
28
27
|
|
|
29
28
|
describe('resolveSidebarStyle', () => {
|
|
30
|
-
test('the shipped default is
|
|
31
|
-
expect(DEFAULT_SIDEBAR_STYLE).toBe('
|
|
29
|
+
test('the shipped default is modern, so a fresh install leads with search and chips', () => {
|
|
30
|
+
expect(DEFAULT_SIDEBAR_STYLE).toBe('modern');
|
|
32
31
|
});
|
|
33
32
|
|
|
34
33
|
test('every style this build can draw resolves to itself', () => {
|
|
@@ -14,13 +14,12 @@
|
|
|
14
14
|
* which is why the shared row and the shared workspace section are primitives
|
|
15
15
|
* rather than two copies.
|
|
16
16
|
*
|
|
17
|
-
* - `classic` — the toolbar of boxed icons and the 24px rows Kabmo
|
|
18
|
-
*
|
|
19
|
-
* sidebar the user did not ask to change (the same rule
|
|
20
|
-
* `DEFAULT_TOOL_RENDER_MODE` follows).
|
|
17
|
+
* - `classic` — the toolbar of boxed icons and the 24px rows Kabmo shipped
|
|
18
|
+
* before the setting existed.
|
|
21
19
|
* - `modern` — a permanent search field, filter chips, sticky workspace
|
|
22
20
|
* headers and a taller row whose trailing column is shared by the age and
|
|
23
|
-
* the actions trigger.
|
|
21
|
+
* the actions trigger. The DEFAULT: a fresh install leads with the chrome
|
|
22
|
+
* the product is designed around, and a stored `classic` still wins.
|
|
24
23
|
*
|
|
25
24
|
* **The names and the copy live here**; the markup lives in
|
|
26
25
|
* `layout/session-sidebar/modern/`. A style added here without a renderer is a
|
|
@@ -41,10 +40,10 @@ export type SidebarStyle = 'classic' | 'modern';
|
|
|
41
40
|
|
|
42
41
|
|
|
43
42
|
/**
|
|
44
|
-
* The style a document with no stored preference renders at
|
|
45
|
-
*
|
|
43
|
+
* The style a document with no stored preference renders at. A fresh install
|
|
44
|
+
* leads with the modern chrome; a stored `classic` is still honoured.
|
|
46
45
|
*/
|
|
47
|
-
export const DEFAULT_SIDEBAR_STYLE: SidebarStyle = '
|
|
46
|
+
export const DEFAULT_SIDEBAR_STYLE: SidebarStyle = 'modern';
|
|
48
47
|
|
|
49
48
|
/** Every style, in the order the settings control lists them. */
|
|
50
49
|
export const SIDEBAR_STYLES = ['classic', 'modern'] as const;
|
package/src/shared/types/chat.ts
CHANGED
|
@@ -262,14 +262,15 @@ export interface QueuedMessage {
|
|
|
262
262
|
/** Trigger group that opened the composer autocomplete: `@` → mention, `/` → command. */
|
|
263
263
|
export type ComposerPickKind = 'mention' | 'command';
|
|
264
264
|
/** Origin of a pickable item: an `@` mention is an agent or a workspace file. */
|
|
265
|
-
export type ComposerPickSource = 'agent' | 'harness' | 'file' | 'command' | 'skill';
|
|
265
|
+
export type ComposerPickSource = 'agent' | 'harness' | 'model' | 'file' | 'command' | 'skill';
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
|
-
* Which part of
|
|
269
|
-
*
|
|
270
|
-
*
|
|
268
|
+
* Which part of an invocation the popup is completing. oh-my-pi splits these
|
|
269
|
+
* the same way: `name` completes the command token itself, `args` completes a
|
|
270
|
+
* declarative subcommand after `<command> `, and `model` completes the
|
|
271
|
+
* `[:<model>]` tail of an `@harness:<id>:` mention.
|
|
271
272
|
*/
|
|
272
|
-
export type ComposerTriggerPhase = 'name' | 'args';
|
|
273
|
+
export type ComposerTriggerPhase = 'name' | 'args' | 'model';
|
|
273
274
|
|
|
274
275
|
/** A detected trigger: the `@`/`/` char plus the query typed after it. */
|
|
275
276
|
export interface ComposerTrigger {
|
|
@@ -279,10 +280,15 @@ export interface ComposerTrigger {
|
|
|
279
280
|
start: number;
|
|
280
281
|
/** Caret index when detected. */
|
|
281
282
|
end: number;
|
|
282
|
-
/** Command completion phase;
|
|
283
|
+
/** Command completion phase; a plain `@` mention completes its `name`. */
|
|
283
284
|
phase: ComposerTriggerPhase;
|
|
284
285
|
/** Index the accepted text replaces from — equals `start` in the `name` phase. */
|
|
285
286
|
replaceFrom: number;
|
|
287
|
+
/**
|
|
288
|
+
* The harness whose model the `model` phase completes (`@harness:<id>:`),
|
|
289
|
+
* resolved through the catalog's alias table (`omp` → `omp-rpc`).
|
|
290
|
+
*/
|
|
291
|
+
harness?: string;
|
|
286
292
|
/** Command the `args` phase belongs to (name or alias as typed). */
|
|
287
293
|
command?: string;
|
|
288
294
|
/**
|
|
@@ -264,6 +264,15 @@ export interface ExtensionUiDialogRequest {
|
|
|
264
264
|
* plain text. Present only on `method: "input"`.
|
|
265
265
|
*/
|
|
266
266
|
secret?: boolean;
|
|
267
|
+
/**
|
|
268
|
+
* RPC `select` fields describing a MULTI-select control (omp 18.18.3's
|
|
269
|
+
* per-field walk). `selectionMarker: "checkbox"` says the rows toggle instead
|
|
270
|
+
* of answering, and `checkedIndices` is authoritative for what is currently
|
|
271
|
+
* ticked after each re-ask.
|
|
272
|
+
*/
|
|
273
|
+
selectionMarker?: 'radio' | 'checkbox';
|
|
274
|
+
checkedIndices?: number[];
|
|
275
|
+
markableCount?: number;
|
|
267
276
|
/**
|
|
268
277
|
* Present only on the GROUPED `ask` request, which omp sends after
|
|
269
278
|
* `set_ask_dialog {enabled:true}`: every question of one `ask` tool call in a
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
export interface SessionChangeRecord {
|
|
18
18
|
/** Epoch ms the write landed. */
|
|
19
19
|
at: number;
|
|
20
|
+
/** The run this record belongs to; absent on a journal written before runs. */
|
|
21
|
+
runId?: string;
|
|
22
|
+
/** The run's `agent_start` time, for mapping the run to a chat row. */
|
|
23
|
+
runAt?: number;
|
|
20
24
|
/** Registry id of the agent that wrote (`Main`, `AuthLoader`). */
|
|
21
25
|
agent: string;
|
|
22
26
|
/** Parent agent id; absent for the root agent. */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{uf}from"./index-0b1kwsam.js";export{uf as createArchitectureServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{qi}from"./index-9t82sx0w.js";export{qi as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$l}from"./index-vtbbfwx0.js";import"./index-9t82sx0w.js";export{$l as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{rd,as,ih,oh,sh,lh}from"./index-z6g74h7g.js";export{ih as css,lh as gss,as as keywords,sh as less,rd as mkCSS,oh as sCSS};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{pt}from"./index-w7xbfv44.js";export{pt as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{rf}from"./index-0b1kwsam.js";export{rf as createCynefinServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{df}from"./index-0b1kwsam.js";export{df as createEventModelingServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./index-ctgefatv.js";import"./index-h1e1abpt.js";import{ah}from"./index-ky0prc71.js";export{ah as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{af}from"./index-0b1kwsam.js";export{af as createGitGraphServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Tf}from"./index-v8qd8ypc.js";import"./index-zvfvqvn9.js";import"./index-3zc1b0dv.js";import"./index-0j518hqm.js";import"./index-r8pckaqe.js";export{Tf as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{wn}from"./index-a293pdg7.js";import"./index-0j518hqm.js";import"./index-w7xbfv44.js";export{wn as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Mn,Ni,Dm,es,so,Js,qu,Zs,Kf,Hu,Qm,Nm,Rm,Fm,Jg,Xs,Wu,Zg,Ku,Br,Xg}from"./index-75haaj8g.js";export{Zs as IndentContext,Xg as StreamLanguage,Ku as bracketMatching,Xs as codeFolding,Rm as foldAll,Qm as foldCode,Wu as foldGutter,Jg as foldKeymap,Hu as foldService,so as getIndentUnit,qu as getIndentation,Zg as highlightingFor,Kf as indentOnInput,Dm as indentService,Js as indentString,es as indentUnit,Ni as language,Br as matchBrackets,Mn as syntaxTree,Fm as unfoldAll,Nm as unfoldCode};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{of}from"./index-0b1kwsam.js";export{of as createInfoServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{IA}from"./index-dmgawfhw.js";export{IA as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Qf}from"./index-8cy3x2y8.js";export{Qf as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Pe}from"./index-0j518hqm.js";export{Pe as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Xf}from"./index-r8pckaqe.js";export{Xf as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Df}from"./index-982jyfsb.js";import"./index-9t82sx0w.js";export{Df as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eA}from"./index-55pqvh82.js";export{eA as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{OA}from"./index-75haaj8g.js";export{OA as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{PA}from"./index-75haaj8g.js";export{PA as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{sf}from"./index-0b1kwsam.js";export{sf as createPacketServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{lf}from"./index-0b1kwsam.js";export{lf as createPieServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{IA}from"./index-dmgawfhw.js";export{IA as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Rf}from"./index-af24nes6.js";export{Rf as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Sf}from"./index-63jbb4kf.js";export{Sf as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ef}from"./index-0b1kwsam.js";export{ef as createRadarServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ul}from"./index-0b1kwsam.js";export{ul as createRailroadServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{pl}from"./index-0b1kwsam.js";export{pl as createRailroadAbnfServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{dl}from"./index-0b1kwsam.js";export{dl as createRailroadEbnfServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ml}from"./index-0b1kwsam.js";export{ml as createRailroadPegServices};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{t}from"./index-ctgefatv.js";import"./index-h1e1abpt.js";import{pf,mf}from"./index-ky0prc71.js";var o=t((r)=>`${pf(r)}
|
|
2
|
-
.swimlane.cluster:not([data-color-id]) rect {
|
|
3
|
-
stroke: ${r.clusterBorder} !important;
|
|
4
|
-
}
|
|
5
|
-
[data-look="neo"].cluster rect {
|
|
6
|
-
filter: none;
|
|
7
|
-
}
|
|
8
|
-
`,"getStyles"),m=o,D=mf({styles:m});export{D as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{cf}from"./index-0b1kwsam.js";export{cf as createTreeViewServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{tf}from"./index-0b1kwsam.js";export{tf as createTreemapServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ea}from"./index-zvfvqvn9.js";export{Ea as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{nf}from"./index-0b1kwsam.js";export{nf as createWardleyServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Hi}from"./index-mm1rf116.js";import"./index-8cy3x2y8.js";export{Hi as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Nf}from"./index-w3n97x4b.js";export{Nf as default};
|
|
File without changes
|