@opencode/core 0.0.0-beta-19500 → 0.0.0-beta-19507
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 +2 -2
- package/dist/aisdk.js +4 -4
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +82 -82
- package/dist/chunks/{model-resolver-3kafhsr8.js → file-access-057tqkc7.js} +22 -22
- package/dist/chunks/file-access-05fbhmag.js +22 -0
- package/dist/chunks/{model-resolver-4kmhmgeg.js → file-access-074en4ea.js} +166 -166
- package/dist/chunks/{model-resolver-ydgy0jv4.js → file-access-07770t2t.js} +4 -4
- package/dist/chunks/{model-resolver-0g6mfyfr.js → file-access-092yf68v.js} +54 -54
- package/dist/chunks/{model-resolver-vvccsdf3.js → file-access-0bps82y7.js} +6 -6
- package/dist/chunks/{model-resolver-8yrnm0fa.js → file-access-0f9s97z0.js} +18 -18
- package/dist/chunks/{model-resolver-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-kvffe9p6.js → file-access-0qnveg08.js} +20 -20
- package/dist/chunks/{model-resolver-mwnd972w.js → file-access-0sxmdcx0.js} +36 -36
- package/dist/chunks/{model-resolver-prp52c5q.js → file-access-0wqa8qs0.js} +11 -11
- package/dist/chunks/{model-resolver-87mnny1s.js → file-access-162fttv1.js} +16 -16
- package/dist/chunks/{model-resolver-26jcn8kh.js → file-access-16hg2h50.js} +12 -12
- package/dist/chunks/{model-resolver-3gjfrb28.js → file-access-19kp6pf8.js} +27 -27
- package/dist/chunks/{model-resolver-789bpvq4.js → file-access-1bagj3va.js} +11 -11
- package/dist/chunks/{model-resolver-27596drg.js → file-access-1ct3cw4h.js} +26 -26
- package/dist/chunks/{model-resolver-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-j12k6d1r.js → file-access-1p1yz3k5.js} +36 -36
- package/dist/chunks/{model-resolver-kxpygcw9.js → file-access-1tq060df.js} +6 -6
- package/dist/chunks/{model-resolver-x1avke2d.js → file-access-1ve8gnt4.js} +92 -92
- package/dist/chunks/{model-resolver-hya8ywrc.js → file-access-1yag4scb.js} +73 -73
- package/dist/chunks/{model-resolver-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → file-access-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-ewbqqj16.js → file-access-289rv1w6.js} +15 -15
- package/dist/chunks/{model-resolver-htk69tte.js → file-access-29qf8dn7.js} +7 -7
- package/dist/chunks/{model-resolver-z63w68vq.js → file-access-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-mrsqtdpn.js → file-access-29ypnx2x.js} +36 -36
- package/dist/chunks/{model-resolver-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-wf4bebac.js → file-access-2a9f2qq7.js} +14 -14
- package/dist/chunks/{model-resolver-079cv0ze.js → file-access-2eywq100.js} +26 -26
- package/dist/chunks/{model-resolver-0pm1m3w8.js → file-access-2hhnmqep.js} +13 -13
- package/dist/chunks/{model-resolver-2k8khapm.js → file-access-2k8khapm.js} +1 -1
- package/dist/chunks/{model-resolver-g5rnekq0.js → file-access-2ve45fd6.js} +5 -5
- package/dist/chunks/{model-resolver-xs8g0vg3.js → file-access-2w1d5hqx.js} +6 -6
- package/dist/chunks/{model-resolver-h4q9s1ny.js → file-access-2wgyfjx6.js} +17 -17
- package/dist/chunks/{model-resolver-s534qmrw.js → file-access-2wyjv582.js} +4 -4
- package/dist/chunks/{model-resolver-z7dhx1kn.js → file-access-36d0e9rd.js} +24 -24
- package/dist/chunks/{model-resolver-gdvy8fx6.js → file-access-3fc6dm20.js} +4 -4
- package/dist/chunks/{model-resolver-ck6gmqc6.js → file-access-3h3mykw7.js} +39 -39
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-vncycja5.js → file-access-3j8sdtpz.js} +4 -4
- package/dist/chunks/{model-resolver-3q1jyqhd.js → file-access-3jp54z3r.js} +1 -1
- package/dist/chunks/{model-resolver-021ffpa0.js → file-access-3m9xbvw6.js} +19 -19
- package/dist/chunks/{model-resolver-z2b5d6zb.js → file-access-3p9gq7xw.js} +6 -6
- package/dist/chunks/{model-resolver-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-dqyg47hv.js → file-access-4786se8r.js} +1 -1
- package/dist/chunks/{model-resolver-gkv3re89.js → file-access-4r4fb002.js} +8 -8
- package/dist/chunks/{model-resolver-4y66k410.js → file-access-4y66k410.js} +2 -2
- package/dist/chunks/{model-resolver-ggj3dvvh.js → file-access-50m2c0q3.js} +15 -15
- package/dist/chunks/{model-resolver-8abbabsk.js → file-access-50wkfpjr.js} +24 -24
- package/dist/chunks/{model-resolver-rj9a996t.js → file-access-54r5fgfq.js} +9 -9
- package/dist/chunks/{model-resolver-sdcezsxk.js → file-access-55nxwdxq.js} +17 -17
- package/dist/chunks/{model-resolver-07cx4w7f.js → file-access-5bjhkrjj.js} +6 -6
- package/dist/chunks/{model-resolver-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-0jwvfzzp.js → file-access-5kn1j1nt.js} +23 -23
- package/dist/chunks/{model-resolver-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/file-access-64h6ppck.js +247 -0
- package/dist/chunks/{model-resolver-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-e86807kd.js → file-access-6b41461m.js} +92 -92
- package/dist/chunks/{model-resolver-70xr52zc.js → file-access-6fywv4en.js} +24 -24
- package/dist/chunks/{model-resolver-jwazx1ed.js → file-access-6hjqy50w.js} +36 -36
- package/dist/chunks/{model-resolver-h7ygw6q4.js → file-access-6jnybvqn.js} +9 -9
- package/dist/chunks/file-access-6kdq0pjd.js +4 -0
- package/dist/chunks/{model-resolver-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-vnv2t9ht.js → file-access-6s8fgxzr.js} +4 -4
- package/dist/chunks/{model-resolver-epzffrx8.js → file-access-6ybvw0w7.js} +25 -25
- package/dist/chunks/{model-resolver-h2fnsspk.js → file-access-6ymtkfzb.js} +11 -11
- package/dist/chunks/{model-resolver-m4hypjkm.js → file-access-6zwbw4we.js} +11 -11
- package/dist/chunks/{model-resolver-71q4at8m.js → file-access-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-4grgn5v0.js → file-access-798sgk8w.js} +11 -11
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-8p2zvf0d.js → file-access-7hbsyrtj.js} +31 -31
- package/dist/chunks/{model-resolver-7z7az0f5.js → file-access-7j92jdde.js} +4 -4
- package/dist/chunks/{model-resolver-0wmmprtc.js → file-access-7jrfegz8.js} +30 -30
- package/dist/chunks/{model-resolver-rtkh6q4b.js → file-access-7k68m5b6.js} +11 -11
- package/dist/chunks/{model-resolver-xtzwr8pq.js → file-access-7vczhnf2.js} +11 -11
- package/dist/chunks/{model-resolver-aztjpt51.js → file-access-7w5qhqhs.js} +18 -18
- package/dist/chunks/{model-resolver-ryr25ayn.js → file-access-806j49yq.js} +4 -4
- package/dist/chunks/{model-resolver-rsym84ch.js → file-access-81swgkk7.js} +7 -7
- package/dist/chunks/{model-resolver-rq6dswfj.js → file-access-833eac0h.js} +10 -10
- package/dist/chunks/{model-resolver-581kfnqp.js → file-access-85b01qar.js} +18 -18
- package/dist/chunks/{model-resolver-qyxt0tsw.js → file-access-8a0b7fze.js} +4 -4
- package/dist/chunks/{model-resolver-s2whfhf8.js → file-access-8cw6nfrt.js} +23 -23
- package/dist/chunks/{model-resolver-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-k6h76ggr.js → file-access-8mc8s27z.js} +25 -25
- package/dist/chunks/{model-resolver-8p4f9s12.js → file-access-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-nv6fkpt4.js → file-access-8p576cyw.js} +17 -17
- package/dist/chunks/{model-resolver-kk8h1mek.js → file-access-8t1wrec1.js} +8 -8
- package/dist/chunks/{model-resolver-8p8b376s.js → file-access-8v86gz5j.js} +27 -27
- package/dist/chunks/{model-resolver-3tq8bdpm.js → file-access-8wccq5jz.js} +13 -13
- package/dist/chunks/{model-resolver-87qnmf38.js → file-access-92a7scs5.js} +35 -35
- package/dist/chunks/{model-resolver-j7wq2tw5.js → file-access-93hpb89x.js} +3 -3
- package/dist/chunks/{model-resolver-k6556a45.js → file-access-954vm9zf.js} +6 -6
- package/dist/chunks/{model-resolver-bq4vzaks.js → file-access-9655radm.js} +46 -46
- package/dist/chunks/{model-resolver-yjv2keaj.js → file-access-98yekt2h.js} +37 -37
- package/dist/chunks/{model-resolver-rctyp4y4.js → file-access-9998dwsd.js} +24 -24
- package/dist/chunks/{model-resolver-djmbsxn3.js → file-access-99yaft7y.js} +9 -9
- package/dist/chunks/{model-resolver-p52p41ww.js → file-access-9b1t164c.js} +14 -14
- package/dist/chunks/{model-resolver-cbg8bv93.js → file-access-9d8v8ke2.js} +10 -10
- package/dist/chunks/{model-resolver-qn8ypmg1.js → file-access-9pf502c0.js} +12 -12
- package/dist/chunks/{model-resolver-a1bz86dw.js → file-access-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-twy35tz0.js → file-access-a5gt7g2r.js} +9 -9
- package/dist/chunks/{model-resolver-74w3tna1.js → file-access-a82vvkn3.js} +18 -18
- package/dist/chunks/{model-resolver-sph8ksss.js → file-access-a9h2vqbk.js} +9 -9
- package/dist/chunks/{model-resolver-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-wj9n5p3k.js → file-access-ad0pt644.js} +5 -5
- package/dist/chunks/{model-resolver-37s12vcn.js → file-access-ag9w8cw1.js} +5 -5
- package/dist/chunks/{model-resolver-6jcw83n3.js → file-access-avdg492x.js} +47 -47
- package/dist/chunks/{model-resolver-kbn8346a.js → file-access-awx7v7h5.js} +11 -11
- package/dist/chunks/{model-resolver-75evgfh8.js → file-access-ayfrx99c.js} +15 -15
- package/dist/chunks/{model-resolver-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-7fys8geh.js → file-access-bap3gy1s.js} +16 -16
- package/dist/chunks/{model-resolver-xg9t41r3.js → file-access-be40ghdv.js} +2 -2
- package/dist/chunks/{model-resolver-s5wnyv46.js → file-access-bh9xqmdb.js} +32 -32
- package/dist/chunks/{model-resolver-gw82nkc3.js → file-access-c1fhravq.js} +32 -32
- package/dist/chunks/{model-resolver-r9ghxtsk.js → file-access-c3jkddnq.js} +6 -6
- package/dist/chunks/{model-resolver-b22gj5xn.js → file-access-c6npeh2h.js} +32 -32
- package/dist/chunks/{model-resolver-a2cfvfg1.js → file-access-c7q2zwp5.js} +20 -20
- package/dist/chunks/{model-resolver-9stj6zpb.js → file-access-ca64vat9.js} +32 -32
- package/dist/chunks/{model-resolver-0wbgnjtz.js → file-access-ccxygkss.js} +5 -5
- package/dist/chunks/{model-resolver-cfpkc3c9.js → file-access-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-qa6ytjmd.js → file-access-cmrf6j2e.js} +15 -15
- package/dist/chunks/{model-resolver-dv1qgsyq.js → file-access-cmwkp3r5.js} +8 -8
- package/dist/chunks/{model-resolver-1hc11dc4.js → file-access-csf2jhsg.js} +4 -4
- package/dist/chunks/{model-resolver-tp3xxvx5.js → file-access-ct0crnq6.js} +43 -43
- package/dist/chunks/{model-resolver-0334ef0p.js → file-access-cza9j1er.js} +1 -1
- package/dist/chunks/{model-resolver-mg5mchpt.js → file-access-d09g07f5.js} +28 -28
- package/dist/chunks/{model-resolver-d2aac7k2.js → file-access-d2aac7k2.js} +2 -2
- package/dist/chunks/{model-resolver-2cshb6bs.js → file-access-d2nsem9c.js} +26 -26
- package/dist/chunks/{model-resolver-gwfcx2m0.js → file-access-d6ppqdhn.js} +22 -22
- package/dist/chunks/{model-resolver-n37c4crj.js → file-access-depwzj9d.js} +9 -9
- package/dist/chunks/{model-resolver-t7n9q6bq.js → file-access-dhmh7aw6.js} +4 -4
- package/dist/chunks/{model-resolver-me88hgte.js → file-access-dpnaqgym.js} +23 -23
- package/dist/chunks/{model-resolver-b77arecc.js → file-access-drbmzzp6.js} +26 -26
- package/dist/chunks/{model-resolver-98kgw1j6.js → file-access-dw1fjyb0.js} +5 -5
- package/dist/chunks/{model-resolver-mz60zy6e.js → file-access-dyw6ca8r.js} +18 -18
- package/dist/chunks/{model-resolver-vhj1rs6k.js → file-access-e0wvz8qy.js} +22 -22
- package/dist/chunks/{model-resolver-9rzqjwaz.js → file-access-e17bkqjz.js} +1 -1
- package/dist/chunks/{model-resolver-e6fygs6z.js → file-access-e2tvng7c.js} +23 -23
- package/dist/chunks/{model-resolver-erhkyex8.js → file-access-e3nd4ayr.js} +4 -4
- package/dist/chunks/{model-resolver-wrjeysgp.js → file-access-ea8nv0r7.js} +2 -2
- package/dist/chunks/{model-resolver-1gqabzhy.js → file-access-ebz469zm.js} +18 -18
- package/dist/chunks/{model-resolver-q91t8a1k.js → file-access-eh8n39qf.js} +18 -18
- package/dist/chunks/{model-resolver-f8xc4yre.js → file-access-ehknnwyx.js} +29 -29
- package/dist/chunks/{model-resolver-mb5a7wwz.js → file-access-epa61trx.js} +8 -8
- package/dist/chunks/{model-resolver-gwnxf6ch.js → file-access-eqpk83eg.js} +6 -6
- package/dist/chunks/{model-resolver-0mywzg06.js → file-access-etca44vv.js} +25 -25
- package/dist/chunks/{model-resolver-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-s1vvg2cq.js → file-access-f4mxeny4.js} +7 -7
- package/dist/chunks/{model-resolver-f828m53h.js → file-access-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-23sxaqwc.js → file-access-fjvydvzm.js} +5 -5
- package/dist/chunks/{model-resolver-9y7khav7.js → file-access-fpkam962.js} +15 -15
- package/dist/chunks/{model-resolver-f8zs2stk.js → file-access-fpv6qd1b.js} +8 -8
- package/dist/chunks/{model-resolver-spr8pf2r.js → file-access-fx94a4xa.js} +6 -6
- package/dist/chunks/{model-resolver-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-jbe1bvhn.js → file-access-fxtmjajv.js} +31 -31
- package/dist/chunks/{model-resolver-1ptmpf20.js → file-access-g14zqp48.js} +8 -8
- package/dist/chunks/{model-resolver-3hgg98pr.js → file-access-g3r1njd0.js} +28 -28
- package/dist/chunks/{model-resolver-774n8a20.js → file-access-g6ech2dm.js} +9 -9
- package/dist/chunks/{model-resolver-z2kz5700.js → file-access-gbhfcamq.js} +17 -17
- package/dist/chunks/{model-resolver-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-gv6a8nnw.js → file-access-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-pvvs7m8f.js → file-access-h83x8fry.js} +13 -13
- package/dist/chunks/{model-resolver-wwmx33bt.js → file-access-h8sjebh6.js} +5 -5
- package/dist/chunks/{model-resolver-d2fv866c.js → file-access-h9wq4q8z.js} +13 -13
- package/dist/chunks/{model-resolver-fxqygnfa.js → file-access-hc7n3jk5.js} +4 -4
- package/dist/chunks/{model-resolver-d880b0y6.js → file-access-hgsea5z3.js} +30 -30
- package/dist/chunks/{model-resolver-zf0svfz5.js → file-access-hgyq9xg3.js} +18 -18
- package/dist/chunks/{model-resolver-z2qr9twd.js → file-access-hzmns3wg.js} +1 -1
- package/dist/chunks/{model-resolver-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-paphc93g.js → file-access-j935v87r.js} +2 -2
- package/dist/chunks/{model-resolver-qdcfe15v.js → file-access-jeanpfns.js} +1 -1
- package/dist/chunks/{model-resolver-2verbhpp.js → file-access-jgwtszpa.js} +37 -37
- package/dist/chunks/{model-resolver-mz65vdgf.js → file-access-jhcd8dwt.js} +20 -20
- package/dist/chunks/{model-resolver-121k57vw.js → file-access-jj63jgrn.js} +4 -4
- package/dist/chunks/file-access-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-resolver-4bfepadc.js → file-access-k1yeadxq.js} +4 -4
- package/dist/chunks/{model-resolver-hwap2x7x.js → file-access-k5rs1z8v.js} +22 -22
- package/dist/chunks/{model-resolver-kg06axw8.js → file-access-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-g190xswt.js → file-access-kk00bynn.js} +21 -21
- package/dist/chunks/{model-resolver-csz4k5km.js → file-access-kntbkpw6.js} +18 -18
- package/dist/chunks/{model-resolver-aczsg4vg.js → file-access-m0bw0e4m.js} +28 -28
- package/dist/chunks/{model-resolver-98a0b00a.js → file-access-m7y3f53v.js} +4 -4
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-a4vx34cq.js → file-access-m9wxyjft.js} +11 -11
- package/dist/chunks/{model-resolver-fdc0z0c3.js → file-access-mce70z9k.js} +2 -2
- package/dist/chunks/{model-resolver-1ygqh575.js → file-access-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-resolver-shqnjwtb.js → file-access-mqt7ckw4.js} +21 -21
- package/dist/chunks/{model-resolver-r532bney.js → file-access-mtegq6tq.js} +4 -4
- package/dist/chunks/{model-resolver-mhkvc446.js → file-access-mvfsc1pv.js} +3 -3
- package/dist/chunks/{model-resolver-dkck3j8g.js → file-access-n747g3fh.js} +5 -5
- package/dist/chunks/{model-resolver-drknmmyh.js → file-access-n7qjkrfm.js} +9 -9
- package/dist/chunks/{model-resolver-0hf448nj.js → file-access-n990e9jc.js} +8 -8
- package/dist/chunks/{model-resolver-x940zq77.js → file-access-nbddwgy7.js} +10 -10
- package/dist/chunks/{model-resolver-818pfwc9.js → file-access-ndzempgb.js} +11 -11
- package/dist/chunks/{model-resolver-mhdwrqr0.js → file-access-nfvsp598.js} +3 -3
- package/dist/chunks/{model-resolver-e82z9tr0.js → file-access-nhy5jxhy.js} +7 -7
- package/dist/chunks/{model-resolver-wgf958fy.js → file-access-nsva66p3.js} +30 -30
- package/dist/chunks/{model-resolver-6kyz0a76.js → file-access-nv5vn7qx.js} +4 -4
- package/dist/chunks/{model-resolver-3nxeqbj3.js → file-access-p49w4vfv.js} +16 -16
- package/dist/chunks/{model-resolver-vy514hgv.js → file-access-pgyeg8d2.js} +9 -9
- package/dist/chunks/{model-resolver-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-am89cgs6.js → file-access-pkpqbj6e.js} +12 -12
- package/dist/chunks/{model-resolver-g6fkknnq.js → file-access-px5bqy57.js} +26 -26
- package/dist/chunks/{model-resolver-bcbgj7m0.js → file-access-q1gv8zwg.js} +18 -18
- package/dist/chunks/{model-resolver-csz41kxq.js → file-access-q1yd4tcg.js} +5 -5
- package/dist/chunks/{model-resolver-trk3y68z.js → file-access-q6jpwyt1.js} +61 -61
- package/dist/chunks/{model-resolver-qwkytnft.js → file-access-qd8wwfxt.js} +9 -9
- package/dist/chunks/{model-resolver-xdk7tsve.js → file-access-qmy7xtej.js} +1 -1
- package/dist/chunks/{model-resolver-6wxzvafn.js → file-access-qny2rjqg.js} +11 -11
- package/dist/chunks/{model-resolver-y94qkjj7.js → file-access-qs55kqfs.js} +10 -10
- package/dist/chunks/{model-resolver-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-qn4ba14w.js → file-access-qte5z7bc.js} +5 -5
- package/dist/chunks/{model-resolver-6xt4p4wv.js → file-access-qxj3mjt1.js} +9 -9
- package/dist/chunks/{model-resolver-zpkbxaqd.js → file-access-r1hceb3x.js} +4 -4
- package/dist/chunks/{model-resolver-h3k867zz.js → file-access-r4k1wyhr.js} +5 -5
- package/dist/chunks/{model-resolver-1acjjqhc.js → file-access-r8xr0va3.js} +4 -4
- package/dist/chunks/{model-resolver-r9mregkx.js → file-access-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-7cwz0yjz.js → file-access-rd8fjvyy.js} +17 -17
- package/dist/chunks/{model-resolver-5v1cn1j1.js → file-access-reqevd7p.js} +15 -15
- package/dist/chunks/{model-resolver-02nrjc1r.js → file-access-rhjbct0v.js} +6 -6
- package/dist/chunks/{model-resolver-532bqssk.js → file-access-rhqq9sj2.js} +13 -13
- package/dist/chunks/{model-resolver-t6gatd88.js → file-access-rq0v4azk.js} +48 -48
- package/dist/chunks/{model-resolver-ghej9zy6.js → file-access-rs20ccms.js} +19 -19
- package/dist/chunks/{model-resolver-5v85fpgj.js → file-access-rvpq5vnx.js} +25 -25
- package/dist/chunks/{model-resolver-03s1nxke.js → file-access-rvyy05ds.js} +11 -11
- package/dist/chunks/{model-resolver-942176fc.js → file-access-rzxs471t.js} +8 -8
- package/dist/chunks/{model-resolver-yrznvahk.js → file-access-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-t9e5d74p.js → file-access-s8aab4ga.js} +9 -9
- package/dist/chunks/{model-resolver-1zkr721w.js → file-access-sqb2tzxk.js} +16 -16
- package/dist/chunks/{model-resolver-kx6yd4vg.js → file-access-sthbbwkd.js} +35 -35
- package/dist/chunks/{model-resolver-atny4vj3.js → file-access-t9jk0gx5.js} +11 -11
- package/dist/chunks/{model-resolver-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-dktryzc1.js → file-access-tb22s7pw.js} +26 -26
- package/dist/chunks/{model-resolver-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-x6geafsy.js → file-access-tgqjfyja.js} +3 -3
- package/dist/chunks/{model-resolver-pqg5898n.js → file-access-tn359hwq.js} +12 -12
- package/dist/chunks/{model-resolver-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-rd8pgjwx.js → file-access-vcp78m62.js} +20 -20
- package/dist/chunks/{model-resolver-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-y3fea29m.js → file-access-vkg1qcnj.js} +18 -18
- package/dist/chunks/{model-resolver-hwxt52gm.js → file-access-vv3eqyfe.js} +5 -5
- package/dist/chunks/{model-resolver-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-t82489yp.js → file-access-wbqd4jb4.js} +35 -35
- package/dist/chunks/{model-resolver-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-24e6cc3r.js → file-access-we88g5cm.js} +7 -7
- package/dist/chunks/{model-resolver-0sp60s5d.js → file-access-weg980m4.js} +20 -20
- package/dist/chunks/{model-resolver-pm4pe4yk.js → file-access-wh2r9z7p.js} +29 -29
- package/dist/chunks/{model-resolver-rav9e4bf.js → file-access-wh3mwy9y.js} +8 -8
- package/dist/chunks/{model-resolver-64at0fy0.js → file-access-wk64ntyb.js} +8 -8
- package/dist/chunks/{model-resolver-8y92rm17.js → file-access-wqg2ybf7.js} +6 -6
- package/dist/chunks/{model-resolver-6fvs6bkh.js → file-access-x175c4wg.js} +43 -43
- package/dist/chunks/{model-resolver-q87s0xy8.js → file-access-x1cybn0h.js} +60 -60
- package/dist/chunks/{model-resolver-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-fvf9sjjr.js → file-access-x95hc271.js} +43 -43
- package/dist/chunks/{model-resolver-djqd3v5p.js → file-access-xjcerejp.js} +35 -35
- package/dist/chunks/{model-resolver-psjem9sa.js → file-access-xrs7w8df.js} +10 -10
- package/dist/chunks/{model-resolver-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-6hzp91we.js → file-access-y5g8bess.js} +7 -7
- package/dist/chunks/{model-resolver-dpkg50ah.js → file-access-y71avatq.js} +4 -4
- package/dist/chunks/{model-resolver-vxp3kcg3.js → file-access-ykczf8eq.js} +5 -5
- package/dist/chunks/{model-resolver-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-zceb237h.js → file-access-z2qkwvnb.js} +13 -13
- package/dist/chunks/{model-resolver-s72x8wcp.js → file-access-zbgzbq8q.js} +23 -23
- package/dist/chunks/{model-resolver-zeh9ct20.js → file-access-zeh9ct20.js} +2 -2
- package/dist/chunks/file-access-zka7qpah.js +462 -0
- package/dist/chunks/{model-resolver-0k7hqrra.js → file-access-zmvq2rqz.js} +22 -22
- package/dist/chunks/{model-resolver-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-htx7jtvk.js → file-access-zrk6752y.js} +22 -22
- package/dist/chunks/{model-resolver-0vvagabw.js → file-access-zsmcd3bd.js} +27 -27
- package/dist/chunks/{model-resolver-g53r2hff.js → file-access-zttfg7sr.js} +41 -41
- package/dist/chunks/{model-resolver-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- 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 +118 -118
- 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 +118 -118
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- 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 +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- 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 -352
- package/dist/instruction-discovery.js +82 -82
- 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 +83 -83
- 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 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +123 -123
- 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 +83 -83
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- 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 +113 -113
- 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 +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- 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 +116 -116
- 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 -157
- 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 +340 -340
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- 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 +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +83 -83
- 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 +148 -148
- 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 +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- 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 +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- 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 +204 -204
- package/dist/session/system-prompt.js +5 -5
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +121 -121
- 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 +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- 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 +15 -15
- 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 +7 -7
- 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 +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +3 -3
- 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 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/model-resolver-fbf46f8y.js +0 -462
- package/dist/chunks/model-resolver-hjw1g3kj.js +0 -247
- package/dist/chunks/model-resolver-j2k1bkn8.js +0 -22
- package/dist/chunks/model-resolver-qapv375x.js +0 -4
- package/dist/chunks/model-resolver-qdyb70sk.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → file-access-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → file-access-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./file-access-19kp6pf8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./file-access-x1cybn0h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./file-access-d09g07f5.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-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: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin37,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name5
|
|
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 name5 = "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 description3 = `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 Input5 = 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 Plugin37 = {
|
|
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* Service54;
|
|
53
|
+
const forms = yield* Service62;
|
|
54
|
+
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
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[name5];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name5, NO_RESULTS2, description3, Input5, Plugin37, exports_websearch2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-zttfg7sr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service75,
|
|
9
|
+
node80
|
|
10
|
+
} from "./file-access-bap3gy1s.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service54,
|
|
13
|
+
node58
|
|
14
|
+
} from "./file-access-x1cybn0h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node30,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service26 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service75;
|
|
61
|
+
const permission = yield* Service54;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service26.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [FSUtil.node, node80, node58] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service26, resolvePath2, node30, exports_file_access };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-x1cybn0h.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin31
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin31 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin31, exports_plan };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-access-t9jk0gx5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./file-access-kntbkpw6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service49,
|
|
11
|
+
node53
|
|
12
|
+
} from "./file-access-0bps82y7.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./file-access-zttfg7sr.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-bap3gy1s.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service53,
|
|
26
|
+
node57
|
|
27
|
+
} from "./file-access-epa61trx.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError7
|
|
33
|
+
} from "./file-access-qd8wwfxt.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-access-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service46
|
|
39
|
+
} from "./file-access-dhmh7aw6.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service55,
|
|
42
|
+
node59
|
|
43
|
+
} from "./file-access-8p576cyw.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service47,
|
|
48
|
+
node51,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./file-access-2eywq100.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service45,
|
|
53
|
+
node50
|
|
54
|
+
} from "./file-access-x175c4wg.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node33
|
|
57
|
+
} from "./file-access-e0wvz8qy.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-access-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service28,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node32
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service76;
|
|
92
|
+
const locations = yield* Service53;
|
|
93
|
+
const store = yield* Service55;
|
|
94
|
+
const execution = yield* Service45;
|
|
95
|
+
const instances = yield* Service49;
|
|
96
|
+
const admission = yield* Service47;
|
|
97
|
+
const database = yield* Service80;
|
|
98
|
+
const bus = yield* Service78;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError7({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service46.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service28.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node32 = makeGlobalNode({
|
|
167
|
+
service: Service28,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
node79,
|
|
173
|
-
node53,
|
|
174
|
-
node74,
|
|
175
|
-
node47,
|
|
176
|
-
node50,
|
|
177
|
-
node48,
|
|
178
|
-
node84,
|
|
179
172
|
node81,
|
|
180
|
-
|
|
173
|
+
node57,
|
|
174
|
+
node59,
|
|
175
|
+
node50,
|
|
176
|
+
node53,
|
|
177
|
+
node51,
|
|
178
|
+
node85,
|
|
179
|
+
node83,
|
|
180
|
+
node33
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node32, exports_move };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-93hpb89x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError7,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./file-access-9655radm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./file-access-6fywv4en.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const snapshot = yield* Service63;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin30 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin18, exports_snapshot };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-access-9d8v8ke2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./file-access-9655radm.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-29qf8dn7.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* Service67;
|
|
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 make4(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 = ID15.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 make4(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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info19,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info19 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info19, exports_provider2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./file-access-0bps82y7.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-jqh9b0xq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service64
|
|
9
|
+
} from "./file-access-rq0v4azk.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-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* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service64), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|