@opencode/core 0.0.0-dev-19482 → 0.0.0-dev-19484
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{shell-bw668rws.js → pty-0647zyye.js} +23 -23
- package/dist/chunks/{shell-gvmwhjkb.js → pty-0953varj.js} +34 -34
- package/dist/chunks/{shell-4y66k410.js → pty-0ajdgxne.js} +5 -5
- package/dist/chunks/{shell-2x9qsqkq.js → pty-0nrybmqd.js} +9 -9
- package/dist/chunks/{shell-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-23xgc4jt.js → pty-0ra4p3k2.js} +45 -45
- package/dist/chunks/{shell-gjmwt3yh.js → pty-0td8n8vp.js} +18 -18
- package/dist/chunks/{shell-qse8x9va.js → pty-11qx6zpw.js} +41 -41
- package/dist/chunks/{shell-j3gzjeh1.js → pty-14ahvy0s.js} +18 -18
- package/dist/chunks/{shell-gm14zrge.js → pty-18r19y7d.js} +11 -11
- package/dist/chunks/{shell-73tb2d7t.js → pty-1bbkgx8g.js} +3 -3
- package/dist/chunks/{shell-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-cxq7hy6v.js → pty-1f2zrtgd.js} +29 -29
- package/dist/chunks/{shell-qfcxkg9x.js → pty-1fh16wq8.js} +3 -3
- package/dist/chunks/{shell-b19dgzvs.js → pty-1n1j5phf.js} +1 -1
- package/dist/chunks/{shell-t97t2t7r.js → pty-1qdmrsyh.js} +11 -11
- package/dist/chunks/pty-1r48vspq.js +247 -0
- package/dist/chunks/{shell-31y3jm9t.js → pty-1t6v7t1p.js} +15 -15
- package/dist/chunks/pty-1tm0r3ht.js +4 -0
- package/dist/chunks/pty-1x11rq2a.js +18 -0
- package/dist/chunks/{shell-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{shell-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-e119c6wb.js → pty-2a010xm9.js} +4 -4
- package/dist/chunks/{shell-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-0gm9s4gg.js → pty-2akhs850.js} +16 -16
- package/dist/chunks/{shell-gqcgtd7m.js → pty-2bek0fz1.js} +12 -12
- package/dist/chunks/{shell-ryq1d4nq.js → pty-2drds6a2.js} +5 -5
- package/dist/chunks/{shell-4q01a3y3.js → pty-2kbb5zhh.js} +22 -22
- package/dist/chunks/{shell-73n9zkes.js → pty-2kze3sed.js} +11 -11
- package/dist/chunks/{shell-5ffkwt1e.js → pty-2ta0t88y.js} +20 -20
- package/dist/chunks/{shell-fzgk925k.js → pty-32wbc79b.js} +11 -11
- package/dist/chunks/{shell-7y5sgbz2.js → pty-3az9pvaz.js} +16 -16
- package/dist/chunks/{shell-m43qeqsy.js → pty-3dqftnvs.js} +1 -1
- package/dist/chunks/{shell-rkgfyfhg.js → pty-3dzkcghm.js} +29 -29
- package/dist/chunks/{shell-0dyc37yz.js → pty-3esrdmkk.js} +32 -40
- package/dist/chunks/{shell-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-04n8fpsx.js → pty-3nvk9ben.js} +4 -4
- package/dist/chunks/{shell-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-1vqdrp7h.js → pty-3tn94wys.js} +36 -36
- package/dist/chunks/{shell-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-d8nc1xcx.js → pty-3ythc6yv.js} +4 -4
- package/dist/chunks/{shell-nbegex03.js → pty-411gfsap.js} +18 -18
- package/dist/chunks/{shell-j8zzr2am.js → pty-4541pte3.js} +6 -6
- package/dist/chunks/{shell-cek2cznd.js → pty-45796egf.js} +1 -1
- package/dist/chunks/{shell-3m27cd08.js → pty-45rd5fs9.js} +32 -32
- package/dist/chunks/{shell-3anxtp47.js → pty-45vpyk18.js} +57 -57
- package/dist/chunks/{shell-36cew03x.js → pty-4tty76jr.js} +35 -35
- package/dist/chunks/{shell-dhtqz3j8.js → pty-4w0n3ep9.js} +27 -27
- package/dist/chunks/{shell-6paxgs6k.js → pty-4wn8n9sn.js} +9 -9
- package/dist/chunks/{shell-w1k39n5e.js → pty-5c0f1prt.js} +4 -4
- package/dist/chunks/{shell-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-wf190fkx.js → pty-5ftnf5hj.js} +20 -20
- package/dist/chunks/{shell-hz0670sp.js → pty-5n7nm18q.js} +32 -32
- package/dist/chunks/{shell-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-n9bzgvrq.js → pty-63sp6hdr.js} +16 -16
- package/dist/chunks/{shell-yb9t9wk7.js → pty-6532tvj7.js} +18 -18
- package/dist/chunks/{shell-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{shell-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-mme1bqhm.js → pty-6wfk2szc.js} +26 -26
- package/dist/chunks/{shell-ydpamykn.js → pty-6z42be60.js} +6 -6
- package/dist/chunks/{shell-71q4at8m.js → pty-71q4at8m.js} +1 -1
- package/dist/chunks/{shell-pck3w1ab.js → pty-77nagcj1.js} +4 -4
- package/dist/chunks/{shell-a4nqgkt6.js → pty-7ae90jyv.js} +2 -2
- package/dist/chunks/{shell-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-csveq9pc.js → pty-7ey0dyp0.js} +28 -28
- package/dist/chunks/{shell-3f7mbqst.js → pty-7w5wmfhw.js} +8 -8
- package/dist/chunks/{shell-7gtrf76q.js → pty-7y947she.js} +26 -26
- package/dist/chunks/{shell-hvgm9eqs.js → pty-7yp3q20c.js} +41 -41
- package/dist/chunks/{shell-cntxze1n.js → pty-81swgkk7.js} +9 -9
- package/dist/chunks/{shell-71b9e1h9.js → pty-86rj60hj.js} +19 -19
- package/dist/chunks/{shell-c156ep7e.js → pty-88k2vggc.js} +8 -8
- package/dist/chunks/{shell-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{shell-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-knd1qvh0.js → pty-8kyaadyc.js} +4 -4
- package/dist/chunks/{shell-8377ydh1.js → pty-8nf61fqw.js} +10 -10
- package/dist/chunks/{shell-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{shell-vs31b0rs.js → pty-8rqsbye2.js} +29 -29
- package/dist/chunks/{shell-ss07yt36.js → pty-8yrxd28w.js} +9 -9
- package/dist/chunks/{shell-4aebnyy9.js → pty-9b90cabz.js} +11 -11
- package/dist/chunks/{shell-gb75dd12.js → pty-9e0z2fhc.js} +9 -9
- package/dist/chunks/{shell-yjqv8qmq.js → pty-9edcvf27.js} +10 -10
- package/dist/chunks/{shell-654qzmht.js → pty-9fgn877f.js} +11 -11
- package/dist/chunks/{shell-9wc1evxj.js → pty-9fhqnxhc.js} +22 -50
- package/dist/chunks/{shell-7bsq4hvy.js → pty-9v9vhtqj.js} +79 -79
- package/dist/chunks/{shell-42xebk03.js → pty-9vwx9k7w.js} +23 -23
- package/dist/chunks/{shell-7gvwkz6m.js → pty-a1a50ys5.js} +5 -5
- package/dist/chunks/{shell-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{shell-xg9t41r3.js → pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{shell-t0x5rdq8.js → pty-a5gt7g2r.js} +9 -9
- package/dist/chunks/{shell-w79gqzfd.js → pty-a6xvd2sc.js} +27 -27
- package/dist/chunks/{shell-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-fe9854a7.js → pty-aep6w25k.js} +12 -12
- package/dist/chunks/{shell-938d64v3.js → pty-apnw61nd.js} +3 -3
- package/dist/chunks/{shell-0w0gm0da.js → pty-arf9772r.js} +13 -13
- package/dist/chunks/pty-axgp0vgr.js +22 -0
- package/dist/chunks/{shell-pfq1ksym.js → pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{shell-rfnzy394.js → pty-b3t12aqp.js} +1 -1
- package/dist/chunks/{shell-nsnmc6vq.js → pty-b5ybn7cd.js} +16 -16
- package/dist/chunks/{shell-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-4w1d5wb3.js → pty-bahtkn95.js} +15 -15
- package/dist/chunks/{shell-ve4pfa0n.js → pty-bct739vz.js} +4 -4
- package/dist/chunks/{shell-9fgx6pd5.js → pty-bgcsb0ew.js} +16 -16
- package/dist/chunks/{shell-f0fgzphd.js → pty-bpzbj5p0.js} +9 -9
- package/dist/chunks/{shell-d52p5a3y.js → pty-brbfzzmd.js} +17 -17
- package/dist/chunks/{shell-qyxzwjwr.js → pty-btvz5hhj.js} +11 -11
- package/dist/chunks/{shell-t7m3zm2g.js → pty-byprkm3h.js} +51 -51
- package/dist/chunks/{shell-fzmz3zsx.js → pty-c0g3mrmp.js} +4 -4
- package/dist/chunks/{shell-fmxbrafm.js → pty-c20cpmqm.js} +5 -30
- package/dist/chunks/{shell-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{shell-jq0xap4z.js → pty-cmceympy.js} +9 -9
- package/dist/chunks/{shell-asmz7wyz.js → pty-cmwkp3r5.js} +8 -8
- package/dist/chunks/{shell-6djc8d4v.js → pty-cs7ja426.js} +66 -66
- package/dist/chunks/{shell-dghm81pm.js → pty-cyxdd1cp.js} +60 -60
- package/dist/chunks/{shell-j2x4pfpm.js → pty-d4p8tyg8.js} +8 -8
- package/dist/chunks/{shell-ymem0t2p.js → pty-d55k3a02.js} +27 -27
- package/dist/chunks/{shell-enq4mbeq.js → pty-d801t9mc.js} +25 -25
- package/dist/chunks/{shell-t4mdcchx.js → pty-d8qmdhbf.js} +6 -6
- package/dist/chunks/{shell-qm9qwyxs.js → pty-dedzq1ka.js} +43 -43
- package/dist/chunks/{shell-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{shell-t89hfesc.js → pty-drknmmyh.js} +9 -9
- package/dist/chunks/{shell-97h7kfy1.js → pty-dy8qh9xy.js} +8 -8
- package/dist/chunks/{shell-8xy1g1m8.js → pty-ea3fqg3s.js} +13 -13
- package/dist/chunks/{shell-qfzde7bh.js → pty-ecrv93z9.js} +6 -6
- package/dist/chunks/{shell-0cy5jdh3.js → pty-em649qsx.js} +15 -15
- package/dist/chunks/{shell-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-ekj7r0kp.js → pty-etyswav2.js} +13 -13
- package/dist/chunks/{shell-evbgk2k8.js → pty-evbgk2k8.js} +2 -2
- package/dist/chunks/{shell-q0jfp978.js → pty-eymhvwwk.js} +15 -15
- package/dist/chunks/{shell-f828m53h.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{shell-jmm61hn9.js → pty-faw67snb.js} +42 -42
- package/dist/chunks/{shell-ycbn6r48.js → pty-fhmdnm6f.js} +48 -48
- package/dist/chunks/{shell-2bt6bea8.js → pty-fhs97t90.js} +9 -9
- package/dist/chunks/{shell-f40x834m.js → pty-fjnewxg5.js} +24 -24
- package/dist/chunks/{shell-sykm9ny3.js → pty-fn71bqeg.js} +18 -18
- package/dist/chunks/{shell-hxqw5f62.js → pty-fnvmrkhd.js} +3 -3
- package/dist/chunks/{shell-fm2qvscf.js → pty-fqb2p7cx.js} +4 -4
- package/dist/chunks/{shell-adhzpfb7.js → pty-fv7vkzc0.js} +32 -32
- package/dist/chunks/{shell-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-qwkytnft.js → pty-g2twwaw3.js} +6 -6
- package/dist/chunks/{shell-v9dy98q8.js → pty-g3xj57nv.js} +25 -25
- package/dist/chunks/{shell-259cm5a5.js → pty-g646es06.js} +12 -12
- package/dist/chunks/{shell-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-g0jbyvt7.js → pty-gdmgw3kk.js} +13 -13
- package/dist/chunks/{shell-1v0k12rn.js → pty-ge2ncj9q.js} +18 -18
- package/dist/chunks/{shell-amj36hnk.js → pty-geymd4gz.js} +16 -16
- package/dist/chunks/{shell-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-v7sgzh50.js → pty-gw1k03mf.js} +17 -17
- package/dist/chunks/{shell-9ejs86te.js → pty-gzcsr6sv.js} +26 -26
- package/dist/chunks/{shell-5vn45h4e.js → pty-gzq6qehx.js} +24 -24
- package/dist/chunks/{shell-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{shell-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-nx3vg62n.js → pty-h7m0p69y.js} +10 -10
- package/dist/chunks/{shell-vjvqmxr3.js → pty-h7p7r1dx.js} +33 -33
- package/dist/chunks/{shell-ka2k270b.js → pty-hd29wc17.js} +8 -8
- package/dist/chunks/{shell-0fn5g1dw.js → pty-hde40vmr.js} +45 -45
- package/dist/chunks/{shell-bha4atvq.js → pty-hfdr1yjj.js} +4 -4
- package/dist/chunks/{shell-jte6my49.js → pty-hgrjhmfr.js} +8 -8
- package/dist/chunks/{shell-t2js6s8h.js → pty-ht1qtvc3.js} +7 -7
- package/dist/chunks/{shell-9cp1yb9s.js → pty-j1jpgbqt.js} +4 -4
- package/dist/chunks/{shell-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-4vxtq0ga.js → pty-j6frpzgk.js} +22 -22
- package/dist/chunks/{shell-4861qdfa.js → pty-j71f32vt.js} +11 -11
- package/dist/chunks/{shell-j7wq2tw5.js → pty-jexxy024.js} +3 -3
- package/dist/chunks/{shell-epxwh5rt.js → pty-jfaxz2yb.js} +27 -27
- package/dist/chunks/{shell-jvcjtfdj.js → pty-jg24vk6e.js} +5 -5
- package/dist/chunks/{shell-x56sq1v7.js → pty-jmn8yr3h.js} +29 -29
- package/dist/chunks/{shell-pe83jqzf.js → pty-jnyfd4gm.js} +11 -11
- package/dist/chunks/{shell-715pgvxv.js → pty-jp3k4seg.js} +13 -13
- package/dist/chunks/{shell-hr0by3dc.js → pty-jqy04vj9.js} +28 -28
- package/dist/chunks/{shell-yj9j0m2y.js → pty-jtanr3ta.js} +173 -173
- package/dist/chunks/{shell-757464b7.js → pty-k4wwmme7.js} +8 -8
- package/dist/chunks/{shell-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-6w2332aj.js → pty-kmy1ax01.js} +10 -10
- package/dist/chunks/{shell-8wmav03j.js → pty-m01vtssh.js} +10 -10
- package/dist/chunks/{shell-f3rhz1g8.js → pty-m77xbvte.js} +89 -89
- package/dist/chunks/{shell-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-jyf8w563.js → pty-md2xj9nf.js} +30 -30
- package/dist/chunks/{shell-61jgdnn9.js → pty-mehhkwtb.js} +6 -6
- package/dist/chunks/{shell-3rx2nwvc.js → pty-mgtytz9t.js} +3 -3
- package/dist/chunks/{shell-3t8eac1t.js → pty-mjymc32g.js} +4 -4
- package/dist/chunks/{shell-6ea2fwcg.js → pty-mnbh32fx.js} +6 -6
- package/dist/chunks/{shell-jx9pvz9q.js → pty-my653yp5.js} +20 -20
- package/dist/chunks/{shell-b8b3f19r.js → pty-n37c4crj.js} +9 -9
- package/dist/chunks/{shell-x3vadacb.js → pty-n4m74tcd.js} +13 -13
- package/dist/chunks/{shell-389yrpaj.js → pty-ndm8q3nx.js} +25 -25
- package/dist/chunks/{shell-xpky65xt.js → pty-newyp0rw.js} +6 -6
- package/dist/chunks/{shell-q95phfw2.js → pty-nkscrdhp.js} +8 -8
- package/dist/chunks/{shell-gnp2cdh9.js → pty-nnvetb0x.js} +8 -8
- package/dist/chunks/{shell-mypwhdkk.js → pty-ns15zm60.js} +6 -6
- package/dist/chunks/{shell-b1sq7v9m.js → pty-nt6p7phb.js} +37 -37
- package/dist/chunks/{shell-xkpcsvae.js → pty-nw3t2cyt.js} +18 -18
- package/dist/chunks/{shell-j4xvd28z.js → pty-p5d32tz9.js} +22 -22
- package/dist/chunks/{shell-y2d29fce.js → pty-pd1qwn8m.js} +24 -24
- package/dist/chunks/{shell-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{shell-75fbrjyy.js → pty-pmvrcxp3.js} +299 -299
- package/dist/chunks/{shell-gst7axd9.js → pty-q5asdkn4.js} +4 -4
- package/dist/chunks/{shell-2k8khapm.js → pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{shell-hnr5yq9h.js → pty-qn4ba14w.js} +5 -5
- package/dist/chunks/{shell-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-1jbxxpzt.js → pty-qygybdk4.js} +13 -13
- package/dist/chunks/{shell-6j93tkf6.js → pty-qyxb3rgr.js} +37 -37
- package/dist/chunks/{shell-r4gvnsqg.js → pty-qzgv9fd5.js} +20 -20
- package/dist/chunks/{shell-7ny3kv6n.js → pty-r2qzv5a7.js} +8 -8
- package/dist/chunks/{shell-0nmk1nfg.js → pty-r4x5wh38.js} +15 -15
- package/dist/chunks/{shell-wpvxq4mk.js → pty-r88ayxsh.js} +5 -5
- package/dist/chunks/{shell-f2n192rq.js → pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{shell-qfehbndj.js → pty-r9abkved.js} +22 -22
- package/dist/chunks/{shell-r9mregkx.js → pty-r9mregkx.js} +2 -2
- package/dist/chunks/{shell-xvs1sa11.js → pty-ras7gexc.js} +5 -5
- package/dist/chunks/{shell-fdeq67q0.js → pty-rgr9kwfb.js} +7 -7
- package/dist/chunks/{shell-23pqda6t.js → pty-rph3zd4r.js} +4 -4
- package/dist/chunks/{shell-rs9gpnz9.js → pty-rx9j2q4y.js} +9 -9
- package/dist/chunks/{shell-512rfa6p.js → pty-rzxn8jq1.js} +2 -2
- package/dist/chunks/{shell-9h3amn4q.js → pty-s1a57xgp.js} +1 -1
- package/dist/chunks/{shell-v0rxpvp8.js → pty-s1k0znnr.js} +34 -34
- package/dist/chunks/{shell-eaj1djv9.js → pty-s8d7rejh.js} +6 -6
- package/dist/chunks/{shell-p5zja7w3.js → pty-s9zga7k6.js} +20 -20
- package/dist/chunks/{shell-n47h4z4n.js → pty-sj6g8xhe.js} +16 -16
- package/dist/chunks/{shell-h6mds1av.js → pty-st8jmgs2.js} +43 -43
- package/dist/chunks/{shell-h8aw6exk.js → pty-sxw0ed71.js} +27 -27
- package/dist/chunks/{shell-wyam1r5m.js → pty-t3w9f47z.js} +1 -1
- package/dist/chunks/{shell-ak72jphr.js → pty-t6jsq5az.js} +12 -12
- package/dist/chunks/{shell-rgzjdtpz.js → pty-t99v83jx.js} +8 -8
- package/dist/chunks/{shell-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-rfwb5caz.js → pty-tbesmne2.js} +11 -11
- package/dist/chunks/{shell-srhw5zxk.js → pty-tdhe5xga.js} +8 -8
- package/dist/chunks/{shell-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{shell-3hktcy2m.js → pty-th49mj5v.js} +17 -17
- package/dist/chunks/{shell-m9j2dexz.js → pty-tph7kmz7.js} +6 -6
- package/dist/chunks/{shell-yxq5295s.js → pty-tv8e1ghk.js} +32 -32
- package/dist/chunks/{shell-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-tyxx41mz.js → pty-txmfp3zj.js} +28 -28
- package/dist/chunks/{shell-29wksdc9.js → pty-tya93gxg.js} +13 -13
- package/dist/chunks/{shell-p688tfyr.js → pty-tz7qhazt.js} +17 -17
- package/dist/chunks/{shell-1b9za8k8.js → pty-v62dx6xs.js} +4 -4
- package/dist/chunks/{shell-nc3fjawf.js → pty-v71xcev7.js} +1 -1
- package/dist/chunks/{shell-672zjrs9.js → pty-vbzxk3ff.js} +11 -11
- package/dist/chunks/{shell-c3w8sn3d.js → pty-vednfjt6.js} +4 -4
- package/dist/chunks/{shell-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-bx61q0p6.js → pty-vkgkjc09.js} +26 -26
- package/dist/chunks/{shell-yxdv66k0.js → pty-vkkm3dp3.js} +20 -20
- package/dist/chunks/{shell-7x5zvdqa.js → pty-vm26s0dq.js} +24 -24
- package/dist/chunks/{shell-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-gdbnz73m.js → pty-w0vnt3w8.js} +11 -11
- package/dist/chunks/{shell-cjmk82ph.js → pty-w3vr4dnx.js} +47 -47
- package/dist/chunks/{shell-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-v76skvps.js → pty-wb96fp8p.js} +18 -18
- package/dist/chunks/{shell-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{shell-3kq47whm.js → pty-wfdn8615.js} +22 -22
- package/dist/chunks/{shell-2rkdvd01.js → pty-wjsewdbp.js} +9 -9
- package/dist/chunks/{shell-7a14zr6p.js → pty-wsd4t4dw.js} +11 -11
- package/dist/chunks/{shell-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-nhy5jxhy.js → pty-x4wsccvh.js} +4 -4
- package/dist/chunks/{shell-mvvn0xpn.js → pty-x7ns4d9a.js} +51 -51
- package/dist/chunks/{shell-h5mtjt0m.js → pty-x8efcx2v.js} +37 -37
- package/dist/chunks/{shell-a4x50hwg.js → pty-xfqxjp11.js} +28 -28
- package/dist/chunks/{shell-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-nv5vn7qx.js → pty-y28xdhk3.js} +2 -2
- package/dist/chunks/{shell-191q2am9.js → pty-y9ech7jt.js} +23 -23
- package/dist/chunks/{shell-s3p732vg.js → pty-yfs8r58s.js} +20 -20
- package/dist/chunks/{shell-6ec7m0j6.js → pty-yj3bp0fe.js} +28 -28
- package/dist/chunks/{shell-332whr7y.js → pty-yjy4g1rw.js} +29 -29
- package/dist/chunks/{shell-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{shell-bjke5af1.js → pty-yt9d908j.js} +11 -11
- package/dist/chunks/{shell-dya1x8f2.js → pty-yttnsetk.js} +8 -8
- package/dist/chunks/{shell-c255b86t.js → pty-yvykdhx6.js} +21 -21
- package/dist/chunks/{shell-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-see2wqs9.js → pty-z599ng88.js} +6 -6
- package/dist/chunks/{shell-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{shell-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-xtwh079d.js → pty-zftpq6gn.js} +16 -16
- package/dist/chunks/{shell-ppkgn7jr.js → pty-zr1b15nt.js} +7 -7
- package/dist/chunks/{shell-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -354
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -351
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- 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 +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +144 -144
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +118 -118
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +4 -4
- package/dist/v1/config/permission.js +3 -3
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- 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 +7 -7
- package/dist/worktree/refresh.js +341 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/shell-0mesazry.js +0 -4
- package/dist/chunks/shell-29mdqam5.js +0 -35
- package/dist/chunks/shell-4v7qdvcn.js +0 -18
- package/dist/chunks/shell-dad7qjyt.js +0 -22
- package/dist/chunks/shell-mkcjrzeh.js +0 -15
- package/dist/chunks/shell-nbtt6k6e.js +0 -247
- package/dist/plugin/provider/anthropic.js +0 -7
- package/dist/plugin/provider/mistral.js +0 -7
- package/dist/types/plugin/provider/anthropic.d.ts +0 -1
- package/dist/types/plugin/provider/mistral.d.ts +0 -1
- /package/dist/chunks/{shell-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-paphc93g.js → pty-paphc93g.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options10,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service73,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node78,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service73 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service73.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured11(options) {
|
|
209
|
+
return makeLocationNode({ service: Service73, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node78 = configured11();
|
|
212
212
|
|
|
213
|
-
export { Options10,
|
|
213
|
+
export { Options10, Service73, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured11, node78, exports_select };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./pty-jmn8yr3h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./pty-45vpyk18.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./pty-4w0n3ep9.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input10,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin42,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name10 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input10 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin42 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service63;
|
|
53
|
+
const forms = yield* Service71;
|
|
54
|
+
const websearch = yield* Service16;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name10,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input10,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name10,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name10];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name10, NO_RESULTS2, description4, Input10, Plugin42, exports_websearch2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service75,
|
|
18
|
+
node80
|
|
19
|
+
} from "./pty-2akhs850.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service49,
|
|
22
|
+
node54
|
|
23
|
+
} from "./pty-3dzkcghm.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service48,
|
|
33
|
+
node: () => node53
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service48,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node53,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
|
+
const workspace = yield* Service49;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service48.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node53 = makeLocationNode({
|
|
71
|
+
service: Service48,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node80, node54]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service48, node53, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-t6jsq5az.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./pty-fhmdnm6f.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-zr1b15nt.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service39;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./pty-b5ybn7cd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service70,
|
|
8
|
+
node75
|
|
9
|
+
} from "./pty-4tty76jr.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-jmn8yr3h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event17,
|
|
34
|
+
ID: () => ID14,
|
|
35
|
+
Info: () => Info28,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref3,
|
|
42
|
+
Service: () => Service69,
|
|
43
|
+
node: () => node74
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
65
|
+
var ID14 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info28 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,16 +85,16 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service69 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service70;
|
|
97
|
+
const bus = yield* Service78;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info28.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service69.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node74 = makeLocationNode({
|
|
569
|
+
service: Service69,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node75, node83, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service69, node74, exports_integration, Event17 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service67,
|
|
10
|
+
node: () => node72
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service67 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service67.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node72 = makeLocationNode({ service: Service67, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service67, node72, exports_hooks };
|