@opencode/core 0.0.0-dev-19825 → 0.0.0-dev-19829
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/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{model-resolver-5qt1pv7d.js → shell-00c69978.js} +9 -9
- package/dist/chunks/{model-resolver-z1j8fwgr.js → shell-04cmhvk1.js} +11 -11
- package/dist/chunks/{model-resolver-c2fpeh16.js → shell-04tsrbgn.js} +11 -11
- package/dist/chunks/{model-resolver-02nrjc1r.js → shell-0gdmqesm.js} +8 -8
- package/dist/chunks/{model-resolver-x9ajzjwe.js → shell-0gr9k9jq.js} +23 -23
- package/dist/chunks/{model-resolver-vr2vg3zy.js → shell-0m0tvs7x.js} +4 -4
- package/dist/chunks/shell-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-1whgvkhb.js → shell-0sz44tra.js} +31 -31
- package/dist/chunks/{model-resolver-at58p27x.js → shell-0wy5r46e.js} +24 -24
- package/dist/chunks/{model-resolver-tders91x.js → shell-0z6w7vfv.js} +12 -12
- package/dist/chunks/{model-resolver-z36d3h7g.js → shell-10786k6d.js} +10 -10
- package/dist/chunks/{model-resolver-6nxs6bmb.js → shell-14bt54yq.js} +6 -6
- package/dist/chunks/{model-resolver-p7nsp59h.js → shell-18e56dsp.js} +4 -4
- package/dist/chunks/{model-resolver-deajav4h.js → shell-193xwtyj.js} +3 -3
- package/dist/chunks/{model-resolver-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-had4kgfk.js → shell-1fmrbde1.js} +6 -6
- package/dist/chunks/{model-resolver-va2p3qdk.js → shell-1md1qdpw.js} +24 -24
- package/dist/chunks/{model-resolver-a2j8gyzs.js → shell-1mzv1c38.js} +19 -19
- package/dist/chunks/{model-resolver-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-qewhjxtc.js → shell-232mp01t.js} +10 -10
- package/dist/chunks/{model-resolver-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{model-resolver-2sv6c61x.js → shell-2596hts6.js} +9 -9
- package/dist/chunks/{model-resolver-z63w68vq.js → shell-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-qayd3wzs.js → shell-2mfnnxhz.js} +8 -8
- package/dist/chunks/{model-resolver-wrmrmykr.js → shell-2qq7qy34.js} +9 -9
- package/dist/chunks/{model-resolver-mwt452g0.js → shell-2yw9x73f.js} +6 -6
- package/dist/chunks/{model-resolver-t0fxg8b9.js → shell-3cfzdc8e.js} +5 -5
- package/dist/chunks/{model-resolver-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-bdrygk5x.js → shell-3jztwn8f.js} +15 -15
- package/dist/chunks/{model-resolver-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-zhxq7wpj.js → shell-3sqvqkfr.js} +15 -15
- package/dist/chunks/{model-resolver-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-020nhycz.js → shell-4179h1gg.js} +5 -5
- package/dist/chunks/{model-resolver-hzjt009y.js → shell-4734c8z8.js} +11 -11
- package/dist/chunks/shell-47chsc3m.js +492 -0
- package/dist/chunks/{model-resolver-5d7aan1t.js → shell-47y5x0ww.js} +30 -30
- package/dist/chunks/{model-resolver-pp5arfp9.js → shell-4a2gq99j.js} +36 -36
- package/dist/chunks/{model-resolver-1hav7hz4.js → shell-4kh1nwqr.js} +23 -23
- package/dist/chunks/{model-resolver-mfqp6xfm.js → shell-56gdpj1q.js} +6 -6
- package/dist/chunks/{model-resolver-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-45anmqk8.js → shell-5gr2bydf.js} +12 -12
- package/dist/chunks/{model-resolver-fbmcmy2w.js → shell-5mqe3xfr.js} +4 -4
- package/dist/chunks/{model-resolver-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-tm5ahrk2.js → shell-5y2vywwx.js} +5 -5
- package/dist/chunks/{model-resolver-8gb3p5gx.js → shell-60wapyds.js} +21 -21
- package/dist/chunks/{model-resolver-gtc37187.js → shell-62mx6wrr.js} +33 -33
- package/dist/chunks/{model-resolver-paegk39x.js → shell-64kphnzf.js} +4 -4
- package/dist/chunks/{model-resolver-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-m9r6vjpz.js → shell-67qfhfqw.js} +4 -4
- package/dist/chunks/{model-resolver-x2fva0gh.js → shell-69vves8j.js} +13 -13
- package/dist/chunks/{model-resolver-3f2adkq6.js → shell-6c7e9ex4.js} +27 -27
- package/dist/chunks/{model-resolver-93d5c3p8.js → shell-6khtd4yg.js} +3 -3
- package/dist/chunks/{model-resolver-sw7ectjd.js → shell-6m0y8wpe.js} +11 -11
- package/dist/chunks/{model-resolver-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-xk5qfe87.js → shell-6pbjhcd6.js} +17 -17
- package/dist/chunks/{model-resolver-f3ngv102.js → shell-6sr3ve8g.js} +21 -21
- package/dist/chunks/{model-resolver-61fj4v2j.js → shell-6tpd68sk.js} +18 -18
- package/dist/chunks/{model-resolver-v1h3kxjj.js → shell-70nkn1qr.js} +26 -26
- package/dist/chunks/{model-resolver-s3hdfs1j.js → shell-71s7e542.js} +27 -27
- package/dist/chunks/{model-resolver-4a8jsfjg.js → shell-77pfjge1.js} +20 -20
- package/dist/chunks/{model-resolver-se2qvfz1.js → shell-78khjh1c.js} +3 -3
- package/dist/chunks/{model-resolver-c4v1e0kz.js → shell-7a8mk1f1.js} +19 -19
- package/dist/chunks/{model-resolver-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-zxbqrrvg.js → shell-7mf9d7ct.js} +66 -66
- package/dist/chunks/{model-resolver-388eqbaa.js → shell-7nzcq6wz.js} +32 -32
- package/dist/chunks/{model-resolver-td0y98rs.js → shell-7pnvrq9t.js} +43 -43
- package/dist/chunks/{model-resolver-n0tq777j.js → shell-7s451enq.js} +8 -8
- package/dist/chunks/{model-resolver-yr8whrpt.js → shell-84h0jzwt.js} +9 -9
- package/dist/chunks/{model-resolver-dg4f34fa.js → shell-88gqwsb4.js} +47 -47
- package/dist/chunks/{model-resolver-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-ye0sgdwz.js → shell-8dhvaqy8.js} +10 -10
- package/dist/chunks/{model-resolver-x2abejx6.js → shell-8evg2433.js} +8 -8
- package/dist/chunks/{model-resolver-cn090jyv.js → shell-8fcb94yc.js} +15 -15
- package/dist/chunks/{model-resolver-dqtg3793.js → shell-8fwt1t4b.js} +15 -15
- package/dist/chunks/{model-resolver-5gjvpwac.js → shell-8h15ta6z.js} +4 -4
- package/dist/chunks/{model-resolver-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-hhq4mbvj.js → shell-8x97acre.js} +13 -13
- package/dist/chunks/{model-resolver-azbfhwfn.js → shell-90jcfcfk.js} +10 -10
- package/dist/chunks/{model-resolver-3axdyzka.js → shell-9adc2k8r.js} +17 -17
- package/dist/chunks/{model-resolver-q6nw98mh.js → shell-9p5441cr.js} +20 -19
- package/dist/chunks/{model-resolver-ar4d9jpk.js → shell-9ppe4kxp.js} +55 -55
- package/dist/chunks/shell-9sh4wc5j.js +18 -0
- package/dist/chunks/{model-resolver-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-hkagk5ex.js → shell-a3r4dcrj.js} +2 -2
- package/dist/chunks/{model-resolver-cp0393ap.js → shell-a5357yyf.js} +11 -11
- package/dist/chunks/{model-resolver-pt292bv7.js → shell-a8gkj1nm.js} +14 -14
- package/dist/chunks/{model-resolver-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-ajmg8w9c.js → shell-aamtrqep.js} +9 -9
- package/dist/chunks/{model-resolver-67wvcnxv.js → shell-abwdezg1.js} +24 -24
- package/dist/chunks/{model-resolver-pdv94s4z.js → shell-ac8tb6gc.js} +5 -5
- package/dist/chunks/{model-resolver-y85jehk6.js → shell-ae8xrtf0.js} +25 -25
- package/dist/chunks/shell-ahrspnxt.js +65 -0
- package/dist/chunks/{model-resolver-r8fpbd5t.js → shell-ar3g8qf7.js} +44 -44
- package/dist/chunks/{model-resolver-52fpbh6z.js → shell-aryyw1nk.js} +8 -8
- package/dist/chunks/{model-resolver-b7359s7r.js → shell-b0mpvq4g.js} +39 -39
- package/dist/chunks/{model-resolver-xgvz8aqb.js → shell-b2xgp1w7.js} +9 -9
- package/dist/chunks/{model-resolver-s172k70m.js → shell-b4zhfjcm.js} +28 -28
- package/dist/chunks/{model-resolver-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-f4e894nd.js → shell-bawq69mj.js} +13 -13
- package/dist/chunks/{model-resolver-hzz7dkwv.js → shell-bhch6x5n.js} +9 -9
- package/dist/chunks/{model-resolver-5rnnm2b5.js → shell-bkxyw0dr.js} +9 -9
- package/dist/chunks/{model-resolver-spq00ka2.js → shell-bwckxjxx.js} +11 -11
- package/dist/chunks/{model-resolver-g5epyhxx.js → shell-cd1rqchx.js} +18 -18
- package/dist/chunks/{model-resolver-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-61m3qh6y.js → shell-chzskk9w.js} +33 -33
- package/dist/chunks/{model-resolver-j8zzr2am.js → shell-cmbqfntm.js} +4 -4
- package/dist/chunks/{model-resolver-pngaa6th.js → shell-cnkp4rx2.js} +5 -5
- package/dist/chunks/{model-resolver-prxamd8a.js → shell-css7wnya.js} +10 -10
- package/dist/chunks/{model-resolver-djszqvmq.js → shell-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-resolver-5xtgfte3.js → shell-czfptnv9.js} +8 -8
- package/dist/chunks/{model-resolver-9gea571p.js → shell-d1mtykxg.js} +6 -6
- package/dist/chunks/{model-resolver-3rd3t3my.js → shell-d2fbw6yp.js} +14 -14
- package/dist/chunks/{model-resolver-n8nareh9.js → shell-d89q28en.js} +25 -25
- package/dist/chunks/{model-resolver-8r2zwmfy.js → shell-d945k8bv.js} +4 -4
- package/dist/chunks/{model-resolver-xgrb3kvx.js → shell-db1bz1g0.js} +26 -26
- package/dist/chunks/{model-resolver-bae6x12q.js → shell-dd6hp5pa.js} +23 -23
- package/dist/chunks/{model-resolver-tsyf12nv.js → shell-dd7y7kbq.js} +1 -1
- package/dist/chunks/{model-resolver-k4839s1d.js → shell-dgmx48zd.js} +18 -18
- package/dist/chunks/{model-resolver-9j3dqq3x.js → shell-djvy60dx.js} +11 -11
- package/dist/chunks/{model-resolver-zcdrxs46.js → shell-dpsf0pjj.js} +4 -4
- package/dist/chunks/{model-resolver-662vgtgv.js → shell-dq4yh11c.js} +5 -5
- package/dist/chunks/{model-resolver-d8ewt5hf.js → shell-dzr8y7x4.js} +18 -18
- package/dist/chunks/{model-resolver-afzhdx1e.js → shell-e2z6jaes.js} +24 -24
- package/dist/chunks/{model-resolver-c78c395z.js → shell-e3267ac7.js} +19 -19
- package/dist/chunks/{model-resolver-5qd3pb7m.js → shell-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-s8zy8myc.js → shell-ead3g9p8.js} +5 -5
- package/dist/chunks/{model-resolver-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-fn7gfzjh.js → shell-ejwfgtm7.js} +11 -11
- package/dist/chunks/{model-resolver-fxqygnfa.js → shell-epd1fg1b.js} +4 -4
- package/dist/chunks/{model-resolver-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-302vsmhn.js → shell-f1y4gyy3.js} +30 -30
- package/dist/chunks/{model-resolver-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-ydd32yv2.js → shell-ftjytw8f.js} +21 -21
- package/dist/chunks/{model-resolver-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-599cv9mn.js → shell-g13xtdf8.js} +20 -20
- package/dist/chunks/{model-resolver-3m5m9qrs.js → shell-gb7a9z7y.js} +19 -19
- package/dist/chunks/{model-resolver-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-0xv915x5.js → shell-gdjz0eq8.js} +3 -3
- package/dist/chunks/{model-resolver-84zt2byv.js → shell-gnfpqv4r.js} +9 -9
- package/dist/chunks/{model-resolver-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-cpj0znwe.js → shell-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-psz8a7r0.js → shell-hccg5b77.js} +7 -7
- package/dist/chunks/{model-resolver-xv7845dj.js → shell-hjp6q1sv.js} +12 -12
- package/dist/chunks/{model-resolver-t0vv8359.js → shell-hkhrhfk6.js} +181 -181
- package/dist/chunks/{model-resolver-e2hjzebn.js → shell-hn57h045.js} +4 -4
- package/dist/chunks/{model-resolver-gqkxh60r.js → shell-ht329kqa.js} +24 -24
- package/dist/chunks/{model-resolver-gfdjmmb6.js → shell-hx4e8k2p.js} +16 -16
- package/dist/chunks/{model-resolver-9eq5kwq7.js → shell-hz84tk5e.js} +5 -5
- package/dist/chunks/{model-resolver-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-afrtgck4.js → shell-jewzahs7.js} +4 -4
- package/dist/chunks/{model-resolver-ndmv45hp.js → shell-jexxy024.js} +3 -3
- package/dist/chunks/{model-resolver-jdfvscg1.js → shell-jfde95p5.js} +5 -5
- package/dist/chunks/{model-resolver-vstb6x8b.js → shell-jxhw35st.js} +17 -17
- package/dist/chunks/{model-resolver-eqfyccyr.js → shell-k21736m5.js} +20 -20
- package/dist/chunks/{model-resolver-k3c624dm.js → shell-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-vggvkcjb.js → shell-k5hkvprj.js} +8 -8
- package/dist/chunks/{model-resolver-0mj02m0m.js → shell-k6gr57ez.js} +11 -11
- package/dist/chunks/{model-resolver-xfdrc2qg.js → shell-k9kj6xed.js} +8 -8
- package/dist/chunks/{model-resolver-wv3gb8g4.js → shell-ka7sz6we.js} +21 -21
- package/dist/chunks/{model-resolver-g4tydmkk.js → shell-kg1ftbm8.js} +11 -11
- package/dist/chunks/{model-resolver-7ahjg70a.js → shell-km6psw9z.js} +16 -16
- package/dist/chunks/{model-resolver-3pbjq009.js → shell-kmyx2sbj.js} +9 -9
- package/dist/chunks/{model-resolver-xxzhzqzk.js → shell-kws74awx.js} +2 -2
- package/dist/chunks/{model-resolver-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-e1hrzsan.js → shell-m549exyf.js} +12 -12
- package/dist/chunks/{model-resolver-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-qq8y32fb.js → shell-mbefvd2h.js} +5 -5
- package/dist/chunks/{model-resolver-d0yqsex8.js → shell-md6p9qq0.js} +23 -23
- package/dist/chunks/{model-resolver-j0aemhh7.js → shell-mkg78xt7.js} +47 -47
- package/dist/chunks/{model-resolver-sdaja34n.js → shell-mnhev4jw.js} +32 -32
- package/dist/chunks/{model-resolver-mvfsc1pv.js → shell-mvfsc1pv.js} +1 -1
- package/dist/chunks/{model-resolver-da534a5t.js → shell-n333v114.js} +24 -24
- package/dist/chunks/{model-resolver-hr6wd4xv.js → shell-n6s06knt.js} +28 -28
- package/dist/chunks/shell-n8dhm2n4.js +252 -0
- package/dist/chunks/{model-resolver-ass6jfzc.js → shell-n91sfy53.js} +20 -20
- package/dist/chunks/{model-resolver-phx6da97.js → shell-ne15jcy8.js} +11 -11
- package/dist/chunks/{model-resolver-0vtgharz.js → shell-ng0yjpwq.js} +15 -15
- package/dist/chunks/{model-resolver-h71w788e.js → shell-njhqdk9p.js} +9 -9
- package/dist/chunks/{model-resolver-z5p64esd.js → shell-njpvr8gz.js} +15 -15
- package/dist/chunks/{model-resolver-m6dz94as.js → shell-njw6fdmp.js} +43 -43
- package/dist/chunks/{model-resolver-d8q14kxf.js → shell-nr2vdfax.js} +9 -9
- package/dist/chunks/{model-resolver-qwbyjwn2.js → shell-nvan94z6.js} +22 -22
- package/dist/chunks/{model-resolver-afx6jjxh.js → shell-nyk4ge42.js} +26 -26
- package/dist/chunks/{model-resolver-hnr5yq9h.js → shell-p1nm93x7.js} +5 -5
- package/dist/chunks/{model-resolver-mxf3pqwm.js → shell-p4fpyqnd.js} +6 -6
- package/dist/chunks/{model-resolver-tzrwg04y.js → shell-p7met2a1.js} +7 -7
- package/dist/chunks/{model-resolver-94vh82pz.js → shell-pchc4tkx.js} +37 -37
- package/dist/chunks/{model-resolver-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-mk35kvz7.js → shell-ppwk445r.js} +18 -18
- package/dist/chunks/{model-resolver-yy7y4tn3.js → shell-pqnn72nj.js} +7 -7
- package/dist/chunks/{model-resolver-70c6s51t.js → shell-psyx3g25.js} +8 -8
- package/dist/chunks/{model-resolver-7dqw4kz8.js → shell-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-resolver-nhgg4y17.js → shell-qh1ex6mp.js} +19 -16
- package/dist/chunks/{model-resolver-wc548a52.js → shell-qj6dnhcz.js} +11 -11
- package/dist/chunks/{model-resolver-e80cp3zm.js → shell-qnjwqrg7.js} +22 -22
- package/dist/chunks/{model-resolver-mktnxe3b.js → shell-qrka3egj.js} +41 -41
- package/dist/chunks/{model-resolver-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-rctnpmcd.js → shell-qv03q5s7.js} +30 -30
- package/dist/chunks/{model-resolver-vzv9kxzp.js → shell-qxxm4vqn.js} +10 -10
- package/dist/chunks/{model-resolver-fytsnjje.js → shell-r3v8y99x.js} +1 -1
- package/dist/chunks/{model-resolver-gcavn3wx.js → shell-r4yqrmdq.js} +5 -5
- package/dist/chunks/{model-resolver-vz2xtr04.js → shell-r501ef8d.js} +5 -5
- package/dist/chunks/{model-resolver-j1bvcdkg.js → shell-rcwrsj14.js} +12 -12
- package/dist/chunks/{model-resolver-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-hxtxrrh5.js → shell-reyvdt5n.js} +86 -86
- package/dist/chunks/{model-resolver-645hz6vd.js → shell-rfmz5n69.js} +16 -16
- package/dist/chunks/{model-resolver-99rt69fd.js → shell-rjzyvn6d.js} +24 -24
- package/dist/chunks/{model-resolver-rfgcsz1j.js → shell-rm0ma2mx.js} +32 -32
- package/dist/chunks/{model-resolver-0ft9cg2j.js → shell-rph3zd4r.js} +4 -4
- package/dist/chunks/{model-resolver-714t0x07.js → shell-ryqp1849.js} +17 -17
- package/dist/chunks/{model-resolver-6yjhzckp.js → shell-rzzpe0pe.js} +9 -9
- package/dist/chunks/{model-resolver-yrznvahk.js → shell-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-jye6n1dv.js → shell-s8hmp7ng.js} +24 -24
- package/dist/chunks/{model-resolver-k5kzksx8.js → shell-sm332n37.js} +16 -16
- package/dist/chunks/shell-spb593b0.js +26 -0
- package/dist/chunks/{model-resolver-q4s6dcxk.js → shell-swbnbadx.js} +44 -44
- package/dist/chunks/{model-resolver-2brc3x9h.js → shell-t5kmb9e5.js} +11 -11
- package/dist/chunks/{model-resolver-gtybr0rh.js → shell-t7d1t835.js} +28 -28
- package/dist/chunks/{model-resolver-hynyds1q.js → shell-t7rmvvmw.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-p28j5sbe.js → shell-tbz0fdvh.js} +5 -5
- package/dist/chunks/{model-resolver-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-jp646bv9.js → shell-td5vtqzv.js} +4 -4
- package/dist/chunks/{model-resolver-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-5gb78qtd.js → shell-tgwryred.js} +19 -19
- package/dist/chunks/{model-resolver-epads6cz.js → shell-tn64gdye.js} +17 -17
- package/dist/chunks/{model-resolver-t9tmexac.js → shell-tq07f6ng.js} +22 -22
- package/dist/chunks/{model-resolver-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-vncycja5.js → shell-ve4pfa0n.js} +4 -4
- package/dist/chunks/{model-resolver-1xydzxfg.js → shell-vepy3mba.js} +6 -6
- package/dist/chunks/{model-resolver-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-bgv3s5qc.js → shell-vng3t00x.js} +36 -36
- package/dist/chunks/{model-resolver-7macgssb.js → shell-vtbq8t73.js} +11 -11
- package/dist/chunks/{model-resolver-d8byxyk8.js → shell-vyywk581.js} +7 -7
- package/dist/chunks/{model-resolver-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-20abag2s.js → shell-w7tar5ey.js} +12 -12
- package/dist/chunks/{model-resolver-25bty98p.js → shell-wc4rd7t6.js} +5 -5
- package/dist/chunks/{model-resolver-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-zgenf5ev.js → shell-wfdt4npz.js} +32 -32
- package/dist/chunks/{model-resolver-aqczg285.js → shell-wh971x00.js} +60 -60
- package/dist/chunks/{model-resolver-wrgxtjh4.js → shell-wk2cwt06.js} +20 -20
- package/dist/chunks/{model-resolver-69ck6qnd.js → shell-wmcxp5hn.js} +9 -9
- package/dist/chunks/{model-resolver-tcg29b4q.js → shell-wy8b5sm2.js} +1 -1
- package/dist/chunks/{model-resolver-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-5kkq0gjf.js → shell-x86cf5xt.js} +13 -13
- package/dist/chunks/{model-resolver-6hh8tjw2.js → shell-xb02k0wq.js} +4 -4
- package/dist/chunks/{model-resolver-s3zk8xvh.js → shell-xc0xf9na.js} +86 -86
- package/dist/chunks/{model-resolver-dvgz3dt4.js → shell-xccbzny3.js} +25 -25
- package/dist/chunks/{model-resolver-yxht4gzb.js → shell-xe0jn6g3.js} +5 -5
- package/dist/chunks/{model-resolver-xd87acyy.js → shell-xf79w3v8.js} +25 -25
- package/dist/chunks/{model-resolver-57b9ws8p.js → shell-xfkkasph.js} +7 -7
- package/dist/chunks/{model-resolver-d61582ny.js → shell-xkhv0wvg.js} +51 -51
- package/dist/chunks/{model-resolver-0pvezn32.js → shell-xp3dbh4a.js} +3 -3
- package/dist/chunks/{model-resolver-wngr9w9n.js → shell-xqdjg29d.js} +15 -15
- package/dist/chunks/{model-resolver-peyz0p0p.js → shell-xw8gwj9z.js} +7 -7
- package/dist/chunks/{model-resolver-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-y4cxnkp6.js → shell-y5k1zq1c.js} +23 -23
- package/dist/chunks/{model-resolver-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-whd5ad1s.js → shell-yp2r4xmd.js} +26 -26
- package/dist/chunks/{model-resolver-r8xr0va3.js → shell-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-6vybgjkk.js → shell-yr8szs0n.js} +40 -40
- package/dist/chunks/{model-resolver-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-qvreyy9g.js → shell-yt3hy1g9.js} +5 -5
- package/dist/chunks/{model-resolver-2db12876.js → shell-yy6d0qfs.js} +11 -11
- package/dist/chunks/{model-resolver-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-swg14gxk.js → shell-z14b3j31.js} +3 -3
- package/dist/chunks/{model-resolver-j4206d7h.js → shell-z3mdkpet.js} +3 -3
- package/dist/chunks/{model-resolver-2g8vnf3k.js → shell-z6fnk1e0.js} +18 -18
- package/dist/chunks/{model-resolver-vss6mrqc.js → shell-z8a4aepc.js} +32 -32
- package/dist/chunks/{model-resolver-n272ptga.js → shell-zampddaz.js} +6 -6
- package/dist/chunks/{model-resolver-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-30wd4m73.js → shell-zh1xv5zk.js} +13 -13
- package/dist/chunks/{model-resolver-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-5qbvy54r.js → shell-zw03yv4t.js} +6 -6
- package/dist/chunks/{model-resolver-2gskzpsx.js → shell-zxgv261n.js} +9 -9
- package/dist/chunks/{model-resolver-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +74 -74
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/model-resolver-1zvmacfw.js +0 -492
- package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
- package/dist/chunks/model-resolver-e0zpv5qc.js +0 -65
- package/dist/chunks/model-resolver-jqh9b0xq.js +0 -18
- package/dist/chunks/model-resolver-qb6tpq85.js +0 -252
- package/dist/chunks/model-resolver-w53v25xj.js +0 -26
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-td5vtqzv.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event12,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info13,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service59,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node61
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event12 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID9 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID9.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info13 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service59 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service82;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info13.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service59.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID9.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID9.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node61 = makeLocationNode({ service: Service59, layer, deps: [node86, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID9, Name3, defaultID2, Color2, Info13, Service59, node61, exports_agent3, Event12 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-td5vtqzv.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ID16,
|
|
11
|
+
Service79,
|
|
12
|
+
node83,
|
|
13
|
+
Event19
|
|
14
|
+
} from "./shell-0sz44tra.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service75,
|
|
20
|
+
node79
|
|
21
|
+
} from "./shell-ryqp1849.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -52,7 +52,7 @@ __export(exports_provider3, {
|
|
|
52
52
|
mergeHeaders: () => mergeHeaders2,
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
nativeSettings: () => nativeSettings2,
|
|
55
|
-
node: () =>
|
|
55
|
+
node: () => node78,
|
|
56
56
|
packageName: () => packageName2
|
|
57
57
|
});
|
|
58
58
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -63,8 +63,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
63
63
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
64
64
|
import { Credential } from "@opencode/schema/credential";
|
|
65
65
|
import { freeze } from "immer";
|
|
66
|
-
import { Event as
|
|
67
|
-
var
|
|
66
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
67
|
+
var ID13 = Provider.ID;
|
|
68
68
|
var AISDK_PREFIX2 = "aisdk:";
|
|
69
69
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
70
70
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -201,13 +201,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
201
201
|
return result;
|
|
202
202
|
}, new Map).values());
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var Request3 = Provider.Request;
|
|
205
205
|
var Compaction3 = Provider.Compaction;
|
|
206
206
|
var Transport2 = Provider.Transport;
|
|
207
207
|
var Settings2 = Provider.Settings;
|
|
208
|
-
var
|
|
208
|
+
var Info27 = Provider.Info;
|
|
209
209
|
|
|
210
|
-
class
|
|
210
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
211
211
|
}
|
|
212
212
|
var definitions = new WeakMap;
|
|
213
213
|
function index(providerID, models) {
|
|
@@ -220,10 +220,10 @@ function index(providerID, models) {
|
|
|
220
220
|
definitions.set(models, indexes);
|
|
221
221
|
return result;
|
|
222
222
|
}
|
|
223
|
-
var layer = Layer.effect(
|
|
223
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
224
224
|
const bus = yield* Service82;
|
|
225
|
-
const integrations = yield*
|
|
226
|
-
const location = yield*
|
|
225
|
+
const integrations = yield* Service79;
|
|
226
|
+
const location = yield* Service75;
|
|
227
227
|
const state = create3({
|
|
228
228
|
name: "provider",
|
|
229
229
|
initial: () => new Map,
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
234
234
|
const current = records.get(id);
|
|
235
235
|
if (current)
|
|
236
236
|
return current;
|
|
237
|
-
const added = { provider:
|
|
237
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
238
238
|
records.set(id, added);
|
|
239
239
|
maps.add(added.models);
|
|
240
240
|
return added;
|
|
@@ -315,7 +315,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
315
315
|
const available = Array.from(records.values()).filter((record) => {
|
|
316
316
|
if (record.provider.activation === "disabled")
|
|
317
317
|
return false;
|
|
318
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
318
|
+
const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
|
|
319
319
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
320
320
|
return false;
|
|
321
321
|
if (record.provider.activation === "enabled")
|
|
@@ -341,8 +341,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
341
341
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
342
342
|
});
|
|
343
343
|
});
|
|
344
|
-
yield* bus.subscribe([
|
|
345
|
-
return
|
|
344
|
+
yield* bus.subscribe([Event19.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
345
|
+
return Service74.of({
|
|
346
346
|
transform: state.transform,
|
|
347
347
|
reload: state.reload,
|
|
348
348
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -351,7 +351,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
351
351
|
snapshot
|
|
352
352
|
});
|
|
353
353
|
}));
|
|
354
|
-
var
|
|
354
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node86, node83, node79] });
|
|
355
355
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
356
356
|
const module = yield* Effect.tryPromise({
|
|
357
357
|
try: () => {
|
|
@@ -611,4 +611,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
611
611
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
612
612
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
613
613
|
|
|
614
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
614
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service74, node78, exports_provider3, Event17 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry3,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info15,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info15, exports_lsp };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node80
|
|
4
|
+
} from "./shell-qrka3egj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info29,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref3,
|
|
15
|
+
Service: () => Service75,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info29, Ref as Ref3, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service75 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service75, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service76;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service75.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service77, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service75,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info29, Ref3, response2, Service75, node79, boundNode2, exports_location };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./shell-d1mtykxg.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./shell-88gqwsb4.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service39;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service62), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-td5vtqzv.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make18,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-0gdmqesm.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event10,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
29
|
+
Options: () => Options4,
|
|
30
|
+
Service: () => Service50,
|
|
31
|
+
configured: () => configured4,
|
|
32
32
|
layer: () => layer17,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node52
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event10 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer17 = (options) => Layer.effect(
|
|
55
|
+
var layer17 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make18({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service50.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured4(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
109
|
+
service: Service50,
|
|
110
110
|
layer: layer17(options),
|
|
111
111
|
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node52 = configured4();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event10, Options4, Service50, layer17, configured4, node52, exports_instruction_discovery };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z14b3j31.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./shell-d1mtykxg.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-64kphnzf.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-yy6d0qfs.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-n6s06knt.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service24
|
|
21
|
+
} from "./shell-reyvdt5n.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service39;
|
|
36
36
|
const database = yield* Service83;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service24;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin36
|
|
3
|
+
} from "./shell-hz84tk5e.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin39
|
|
6
|
+
} from "./shell-bhch6x5n.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin35
|
|
9
|
+
} from "./shell-nr2vdfax.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin37
|
|
12
|
+
} from "./shell-8evg2433.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin38
|
|
15
|
+
} from "./shell-b2xgp1w7.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin36,
|
|
20
|
+
Plugin39,
|
|
21
|
+
Plugin35,
|
|
22
|
+
Plugin37,
|
|
23
|
+
Plugin38
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|