@opencode/core 0.0.0-dev-19285 → 0.0.0-dev-19286
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 +75 -75
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{reference-s90d8d6b.js → aisdk-native-0bps82y7.js} +6 -6
- package/dist/chunks/{reference-j460kft3.js → aisdk-native-0gxkfr0j.js} +5 -5
- package/dist/chunks/{reference-0hpxrkyb.js → aisdk-native-0hpxrkyb.js} +2 -2
- package/dist/chunks/{reference-tmx7d2y0.js → aisdk-native-0jjqb7mh.js} +4 -4
- package/dist/chunks/{reference-ek2ekg50.js → aisdk-native-0kmn41h6.js} +9 -9
- package/dist/chunks/aisdk-native-0mesazry.js +4 -0
- package/dist/chunks/{reference-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{reference-dxahnrqk.js → aisdk-native-0vz1rene.js} +33 -33
- package/dist/chunks/{reference-4dp2399g.js → aisdk-native-0xy44pb9.js} +42 -42
- package/dist/chunks/{reference-w9xvayee.js → aisdk-native-0yvdrm59.js} +9 -9
- package/dist/chunks/{reference-eghhz9w3.js → aisdk-native-160d77tx.js} +6 -6
- package/dist/chunks/{reference-gj7hfxsf.js → aisdk-native-17nkb8jb.js} +25 -25
- package/dist/chunks/{reference-fbh8gv2m.js → aisdk-native-19y941e7.js} +36 -36
- package/dist/chunks/{reference-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-ypt602pg.js → aisdk-native-1khb2yve.js} +8 -8
- package/dist/chunks/{reference-mdt4q1c1.js → aisdk-native-1pt97hs8.js} +6 -6
- package/dist/chunks/{reference-pcbr6txn.js → aisdk-native-1zmg9wxv.js} +18 -18
- package/dist/chunks/{reference-a3re5se6.js → aisdk-native-1znz7481.js} +21 -21
- package/dist/chunks/{reference-7k65wcnh.js → aisdk-native-203jqjak.js} +26 -26
- package/dist/chunks/{reference-b89n2hrw.js → aisdk-native-218qfnfe.js} +21 -21
- package/dist/chunks/{reference-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{reference-4c2df9zx.js → aisdk-native-23279rje.js} +8 -8
- package/dist/chunks/{reference-aa5yzmg3.js → aisdk-native-23r8xqw1.js} +11 -11
- package/dist/chunks/{reference-6h73sxmp.js → aisdk-native-2402vzrj.js} +5 -5
- package/dist/chunks/{reference-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-qgn6gcr1.js → aisdk-native-2k8khapm.js} +5 -5
- package/dist/chunks/{reference-kcqzyg21.js → aisdk-native-2wz1fhct.js} +14 -14
- package/dist/chunks/{reference-7zz35dhy.js → aisdk-native-3caeehyv.js} +29 -29
- package/dist/chunks/{reference-w9m4vsw7.js → aisdk-native-3dd7zxp0.js} +25 -25
- package/dist/chunks/{reference-ymxzgkec.js → aisdk-native-3e7bay5r.js} +43 -43
- package/dist/chunks/{reference-gdvy8fx6.js → aisdk-native-3fc6dm20.js} +4 -4
- package/dist/chunks/{reference-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-xc6qfj0x.js → aisdk-native-3wk1ye5g.js} +20 -20
- package/dist/chunks/{reference-636mnkjh.js → aisdk-native-415d3jh3.js} +13 -13
- package/dist/chunks/{reference-fschjpvb.js → aisdk-native-4780s8zr.js} +9 -9
- package/dist/chunks/{reference-ewkfaene.js → aisdk-native-47r3zz0x.js} +3 -3
- package/dist/chunks/{reference-95b6ghe6.js → aisdk-native-4b7p26gq.js} +15 -15
- package/dist/chunks/{reference-k99e1z30.js → aisdk-native-4efx7ge3.js} +291 -291
- package/dist/chunks/{reference-y5carwhs.js → aisdk-native-4rx2t5ej.js} +63 -63
- package/dist/chunks/aisdk-native-4w0x8qm2.js +247 -0
- package/dist/chunks/{reference-w4ysxmd8.js → aisdk-native-4whayx0s.js} +1 -1
- package/dist/chunks/{reference-wbkyxrgf.js → aisdk-native-510m7gjw.js} +5 -5
- package/dist/chunks/{reference-mfqp6xfm.js → aisdk-native-56gdpj1q.js} +6 -6
- package/dist/chunks/{reference-j4dwrdg1.js → aisdk-native-5ant65be.js} +17 -17
- package/dist/chunks/{reference-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-8xx08dm0.js → aisdk-native-5ezjqqv2.js} +31 -31
- package/dist/chunks/{reference-rrb33fnm.js → aisdk-native-5fhxdjdx.js} +11 -11
- package/dist/chunks/{reference-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-e9q2tff6.js → aisdk-native-6117fd0v.js} +29 -29
- package/dist/chunks/{reference-z4bnc0k3.js → aisdk-native-6491c4k6.js} +16 -16
- package/dist/chunks/{reference-gxretbwa.js → aisdk-native-64m66k9q.js} +30 -30
- package/dist/chunks/{reference-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{reference-amv9spzy.js → aisdk-native-66khttr5.js} +11 -11
- package/dist/chunks/{reference-yb4w2300.js → aisdk-native-6ke1we41.js} +4 -4
- package/dist/chunks/{reference-4q4p5end.js → aisdk-native-6mq19xa6.js} +11 -11
- package/dist/chunks/{reference-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-eej0jtf5.js → aisdk-native-6phbmx9j.js} +22 -22
- package/dist/chunks/{reference-e6jkap1f.js → aisdk-native-6thzw8pj.js} +4 -4
- package/dist/chunks/{reference-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{reference-eq1pz5kg.js → aisdk-native-73tb2d7t.js} +3 -3
- package/dist/chunks/{reference-6xg3k3v3.js → aisdk-native-772wpesw.js} +22 -22
- package/dist/chunks/{reference-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-27kr68t2.js → aisdk-native-7bwwdwds.js} +4 -4
- package/dist/chunks/{reference-ryf7tq05.js → aisdk-native-7e68n0xg.js} +6 -6
- package/dist/chunks/{reference-gk1e73sc.js → aisdk-native-7gedpce0.js} +26 -26
- package/dist/chunks/{reference-1j68e3we.js → aisdk-native-7nj4rrey.js} +12 -12
- package/dist/chunks/{reference-3g06hv1z.js → aisdk-native-7nyabx9s.js} +13 -13
- package/dist/chunks/{reference-w6y4jrtq.js → aisdk-native-7sw6092g.js} +11 -11
- package/dist/chunks/{reference-wr1hnkrb.js → aisdk-native-7zyxb8cr.js} +12 -12
- package/dist/chunks/{reference-qa3qhgw8.js → aisdk-native-806j49yq.js} +4 -4
- package/dist/chunks/{reference-9pv0dm11.js → aisdk-native-81swgkk7.js} +9 -9
- package/dist/chunks/{reference-v4hmzr0r.js → aisdk-native-844ef7ks.js} +8 -8
- package/dist/chunks/{reference-a1b3c13m.js → aisdk-native-851r6173.js} +11 -11
- package/dist/chunks/{reference-742bzcdy.js → aisdk-native-8c7ynv2b.js} +22 -22
- package/dist/chunks/{reference-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-56pr6y5x.js → aisdk-native-8j5m489c.js} +8 -8
- package/dist/chunks/{reference-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{reference-jzrkhfnx.js → aisdk-native-8xf0nh5p.js} +39 -39
- package/dist/chunks/{reference-v0tcdknz.js → aisdk-native-914kbjbb.js} +13 -13
- package/dist/chunks/{reference-35pawy1v.js → aisdk-native-929c1ked.js} +17 -17
- package/dist/chunks/{reference-wg42tg3h.js → aisdk-native-9afe43sd.js} +2 -2
- package/dist/chunks/{reference-7jshreb6.js → aisdk-native-9gyasrjf.js} +41 -41
- package/dist/chunks/{reference-fdhnxwqq.js → aisdk-native-9rqmaj9a.js} +11 -11
- package/dist/chunks/{reference-mr7fas37.js → aisdk-native-9yjg9q4x.js} +20 -20
- package/dist/chunks/{reference-ehah1z4y.js → aisdk-native-a0vjkk21.js} +36 -36
- package/dist/chunks/{reference-tc3b2xqh.js → aisdk-native-a0zpeqk6.js} +20 -20
- package/dist/chunks/{reference-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{reference-mp0hvknf.js → aisdk-native-a33nkman.js} +12 -12
- package/dist/chunks/{reference-f8gmmhdx.js → aisdk-native-a82wc2mf.js} +3 -3
- package/dist/chunks/{reference-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-hdthj1pw.js → aisdk-native-akrnn5pm.js} +8 -8
- package/dist/chunks/{reference-26n19ak3.js → aisdk-native-and35g82.js} +4 -4
- package/dist/chunks/{reference-b7r85zma.js → aisdk-native-apmdh4cn.js} +13 -13
- package/dist/chunks/{reference-vz98v2b4.js → aisdk-native-at765435.js} +7 -7
- package/dist/chunks/{reference-231s2dv0.js → aisdk-native-avnb6vw1.js} +19 -19
- package/dist/chunks/{reference-mwdyx115.js → aisdk-native-avr966gk.js} +20 -20
- package/dist/chunks/{reference-gzedjxr8.js → aisdk-native-b0parjc3.js} +31 -31
- package/dist/chunks/{reference-zqcfszr7.js → aisdk-native-b2hj8tx9.js} +11 -11
- package/dist/chunks/{reference-2q8hwwwc.js → aisdk-native-b2q81v48.js} +9 -9
- package/dist/chunks/{reference-1s85ea80.js → aisdk-native-b4sf8989.js} +14 -14
- package/dist/chunks/{reference-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-eb08dgxh.js → aisdk-native-bax8mj2z.js} +16 -16
- package/dist/chunks/{reference-fsg64sxd.js → aisdk-native-bb4w34gw.js} +35 -35
- package/dist/chunks/{reference-gabjygxp.js → aisdk-native-bcp37e0j.js} +9 -9
- package/dist/chunks/{reference-r98e92ep.js → aisdk-native-bct739vz.js} +4 -4
- package/dist/chunks/{reference-2mpb3c7h.js → aisdk-native-bgxq65v7.js} +6 -6
- package/dist/chunks/{reference-6tt5evqq.js → aisdk-native-bha4atvq.js} +4 -4
- package/dist/chunks/{reference-9h2tqn78.js → aisdk-native-bnay2vtg.js} +8 -8
- package/dist/chunks/{reference-hx9b9j3y.js → aisdk-native-bsghq27w.js} +6 -6
- package/dist/chunks/{reference-cf7t4tbm.js → aisdk-native-bv6943e1.js} +1 -1
- package/dist/chunks/{reference-y397pytd.js → aisdk-native-bw0vgseb.js} +8 -8
- package/dist/chunks/{reference-aerscydv.js → aisdk-native-c8xscv9z.js} +11 -11
- package/dist/chunks/{reference-rabzzrj7.js → aisdk-native-cdvhtsr2.js} +6 -6
- package/dist/chunks/{reference-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{reference-tx1bbn1t.js → aisdk-native-d9sn21bc.js} +2 -2
- package/dist/chunks/{reference-q14xand4.js → aisdk-native-db2m4ep9.js} +23 -23
- package/dist/chunks/{reference-qd5n9004.js → aisdk-native-dj25td8n.js} +4 -4
- package/dist/chunks/{reference-94ty58yj.js → aisdk-native-dnnv257w.js} +19 -19
- package/dist/chunks/{reference-y71avatq.js → aisdk-native-dpkg50ah.js} +4 -4
- package/dist/chunks/{reference-c07ppws4.js → aisdk-native-dzjjxskk.js} +33 -33
- package/dist/chunks/{reference-ftdzjz2b.js → aisdk-native-e0a154fg.js} +8 -8
- package/dist/chunks/{reference-v7y6kmxs.js → aisdk-native-e0kpvj6b.js} +23 -23
- package/dist/chunks/{reference-v9p2d0aj.js → aisdk-native-e4wf7az9.js} +19 -19
- package/dist/chunks/{reference-1n1re824.js → aisdk-native-e74h8y6y.js} +18 -18
- package/dist/chunks/{reference-s8d7rejh.js → aisdk-native-eaj1djv9.js} +6 -6
- package/dist/chunks/aisdk-native-ecnetq72.js +22 -0
- package/dist/chunks/{reference-k3fk1xw0.js → aisdk-native-eczgaamq.js} +32 -32
- package/dist/chunks/{reference-k9hy4w8j.js → aisdk-native-eej3mvs5.js} +28 -28
- package/dist/chunks/{reference-xw0r27ex.js → aisdk-native-embw8kgh.js} +4 -4
- package/dist/chunks/{reference-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-tn0aqsam.js → aisdk-native-evbgk2k8.js} +5 -5
- package/dist/chunks/{reference-6q0ssdw5.js → aisdk-native-ezn8zr4k.js} +1 -1
- package/dist/chunks/{reference-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{reference-ss5t5285.js → aisdk-native-fcb6nz5j.js} +43 -43
- package/dist/chunks/{reference-rm18f88d.js → aisdk-native-fvz2v2jm.js} +7 -7
- package/dist/chunks/{reference-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{reference-4zn0r1r4.js → aisdk-native-fycq9fkn.js} +18 -18
- package/dist/chunks/{reference-m0zxgcxr.js → aisdk-native-g2gjxxxj.js} +16 -16
- package/dist/chunks/{reference-4fk03y38.js → aisdk-native-g6ew7cqr.js} +1 -1
- package/dist/chunks/{reference-d2kbg34c.js → aisdk-native-g9245y80.js} +1 -1
- package/dist/chunks/{reference-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-m64xvjj1.js → aisdk-native-gebtr55s.js} +5 -5
- package/dist/chunks/{reference-2atv2341.js → aisdk-native-gey3b743.js} +5 -5
- package/dist/chunks/{reference-kvssg87c.js → aisdk-native-gn45rrc8.js} +46 -46
- package/dist/chunks/{reference-th5km1p3.js → aisdk-native-gv6a8nnw.js} +5 -5
- package/dist/chunks/{reference-sj6nvtnr.js → aisdk-native-gvkw3620.js} +17 -17
- package/dist/chunks/{reference-pk0537y5.js → aisdk-native-gyjr2s1t.js} +34 -34
- package/dist/chunks/{reference-ypgwc49d.js → aisdk-native-gzgb92nq.js} +15 -15
- package/dist/chunks/{reference-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{reference-vgtqdgcp.js → aisdk-native-h4sjasp6.js} +18 -18
- package/dist/chunks/{reference-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-s1dejaz5.js → aisdk-native-h9nnf5ws.js} +4 -4
- package/dist/chunks/{reference-v1adv2wp.js → aisdk-native-hdxm8fmc.js} +24 -24
- package/dist/chunks/{reference-nhy5jxhy.js → aisdk-native-hjt4xg1x.js} +4 -4
- package/dist/chunks/aisdk-native-ht5y0zrb.js +18 -0
- package/dist/chunks/{reference-3jf7jxvk.js → aisdk-native-hx55d56e.js} +1 -1
- package/dist/chunks/{reference-ed80ss5w.js → aisdk-native-hzps4gdz.js} +37 -37
- package/dist/chunks/{reference-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-9vs0xtad.js → aisdk-native-j7wq2tw5.js} +3 -3
- package/dist/chunks/{reference-q280h65c.js → aisdk-native-jdh6s7jq.js} +8 -8
- package/dist/chunks/{reference-xbvr7qd3.js → aisdk-native-jfahtzjx.js} +41 -41
- package/dist/chunks/{reference-rrct5g06.js → aisdk-native-jpfbm86w.js} +11 -11
- package/dist/chunks/{reference-9fkctmz4.js → aisdk-native-jyybykh0.js} +4 -4
- package/dist/chunks/{reference-gxy528pw.js → aisdk-native-jz7gkgxb.js} +32 -32
- package/dist/chunks/{reference-kf4f65v3.js → aisdk-native-jzjmk1tp.js} +36 -36
- package/dist/chunks/{reference-dyyz5283.js → aisdk-native-kb3wdknj.js} +6 -6
- package/dist/chunks/{reference-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{reference-3222fpmk.js → aisdk-native-kpzyeypc.js} +5 -5
- package/dist/chunks/{reference-pgpmnqk3.js → aisdk-native-kyngf2ah.js} +6 -6
- package/dist/chunks/{reference-q815m6cj.js → aisdk-native-m5k6ckd5.js} +28 -28
- package/dist/chunks/{reference-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{reference-pxw0hmvn.js → aisdk-native-mkz36mm1.js} +7 -7
- package/dist/chunks/{reference-54gn6h9v.js → aisdk-native-mp045f7j.js} +1 -1
- package/dist/chunks/{reference-73mg2vtt.js → aisdk-native-mrs8wzdg.js} +10 -10
- package/dist/chunks/{reference-21tjen5n.js → aisdk-native-mznnp22g.js} +16 -16
- package/dist/chunks/{reference-qfjjv7cg.js → aisdk-native-njyck951.js} +5 -5
- package/dist/chunks/{reference-2bcpzs2r.js → aisdk-native-nnmykz74.js} +24 -24
- package/dist/chunks/{reference-yhx7fnrq.js → aisdk-native-nrb7708j.js} +22 -22
- package/dist/chunks/{reference-sej7e0cf.js → aisdk-native-nw2nz702.js} +4 -4
- package/dist/chunks/{reference-qhcd119y.js → aisdk-native-p095q48k.js} +9 -9
- package/dist/chunks/{reference-8w9tvb25.js → aisdk-native-p1wf2k30.js} +9 -9
- package/dist/chunks/{reference-s8zy8myc.js → aisdk-native-p44d8wdy.js} +5 -5
- package/dist/chunks/{reference-ndqtf2h8.js → aisdk-native-p57dvf2n.js} +4 -4
- package/dist/chunks/{reference-c8qcwh7c.js → aisdk-native-p889yv71.js} +8 -8
- package/dist/chunks/{reference-y3501xtg.js → aisdk-native-p9vgr1xf.js} +9 -9
- package/dist/chunks/{reference-paegk39x.js → aisdk-native-paegk39x.js} +1 -1
- package/dist/chunks/{reference-npqmz80p.js → aisdk-native-pb5fwdfa.js} +43 -43
- package/dist/chunks/{reference-7jmqxgxn.js → aisdk-native-pcy5h3v5.js} +22 -22
- package/dist/chunks/{reference-6dxje0nq.js → aisdk-native-peez5pyc.js} +22 -22
- package/dist/chunks/{reference-dee1kvxx.js → aisdk-native-peh50674.js} +30 -30
- package/dist/chunks/{reference-mgqqkg93.js → aisdk-native-pehvz7x4.js} +22 -22
- package/dist/chunks/{reference-qgvsjnwz.js → aisdk-native-pf07gewk.js} +2 -2
- package/dist/chunks/{reference-q4t8wpc5.js → aisdk-native-pfzw0drg.js} +79 -79
- package/dist/chunks/{reference-1vbqt11h.js → aisdk-native-pg4ajkmw.js} +12 -12
- package/dist/chunks/{reference-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-525hap2p.js → aisdk-native-pk5wh1f2.js} +9 -9
- package/dist/chunks/{reference-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{reference-7edp414f.js → aisdk-native-pmsv8f6n.js} +2 -2
- package/dist/chunks/{reference-e7066wh1.js → aisdk-native-pp9hj60k.js} +10 -10
- package/dist/chunks/{reference-zrgpjm4k.js → aisdk-native-pqqyq7q1.js} +14 -14
- package/dist/chunks/{reference-vbbvjejc.js → aisdk-native-qfkg1j4f.js} +11 -11
- package/dist/chunks/{reference-f3ngv102.js → aisdk-native-qj8eh1ht.js} +4 -4
- package/dist/chunks/{reference-x0ts5zjw.js → aisdk-native-qn2b3mbz.js} +12 -12
- package/dist/chunks/{reference-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-sewx0d8k.js → aisdk-native-qxmskhpc.js} +13 -13
- package/dist/chunks/{reference-yp2x3t23.js → aisdk-native-r8xr0va3.js} +4 -4
- package/dist/chunks/{reference-g7yd2vxk.js → aisdk-native-rdhm4m8r.js} +13 -13
- package/dist/chunks/{reference-y4h8j882.js → aisdk-native-retzktf4.js} +83 -83
- package/dist/chunks/{reference-18s2crhv.js → aisdk-native-rf6qpnth.js} +23 -23
- package/dist/chunks/{reference-4rh3z4xh.js → aisdk-native-rkbk3k4w.js} +15 -15
- package/dist/chunks/{reference-kxpygcw9.js → aisdk-native-rph3zd4r.js} +4 -4
- package/dist/chunks/{reference-wec9kj0s.js → aisdk-native-rsbp5ebe.js} +10 -10
- package/dist/chunks/{reference-dwajp34v.js → aisdk-native-rwq67zjw.js} +8 -8
- package/dist/chunks/{reference-shrxzsvg.js → aisdk-native-rz8d27bs.js} +13 -13
- package/dist/chunks/{reference-wk3sjerj.js → aisdk-native-se3kw106.js} +17 -17
- package/dist/chunks/{reference-4gpvdk2f.js → aisdk-native-sgm1tmbh.js} +12 -12
- package/dist/chunks/{reference-3wqf40ez.js → aisdk-native-ssh52gjb.js} +7 -7
- package/dist/chunks/{reference-z8d4gyxr.js → aisdk-native-svevmy92.js} +54 -54
- package/dist/chunks/{reference-p8fr87mf.js → aisdk-native-t7krskth.js} +43 -43
- package/dist/chunks/{reference-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-pch1g4ac.js → aisdk-native-td195knq.js} +11 -11
- package/dist/chunks/{reference-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{reference-jtxfv8d5.js → aisdk-native-tfprdvpb.js} +33 -33
- package/dist/chunks/{reference-m17xag3b.js → aisdk-native-thpfys75.js} +10 -10
- package/dist/chunks/{reference-qnsz7nh9.js → aisdk-native-tmfn1t5n.js} +5 -5
- package/dist/chunks/{reference-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-1hx3a7j4.js → aisdk-native-tzs296p8.js} +32 -32
- package/dist/chunks/{reference-a9m3pnym.js → aisdk-native-v6p500z5.js} +21 -21
- package/dist/chunks/{reference-x9qzeg26.js → aisdk-native-v8272e7j.js} +30 -30
- package/dist/chunks/{reference-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-wcsysscr.js → aisdk-native-vhhdhg5d.js} +7 -7
- package/dist/chunks/{reference-rqwtk8m6.js → aisdk-native-vqd6cpge.js} +33 -33
- package/dist/chunks/{reference-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-hj2q4vx8.js → aisdk-native-w12rp218.js} +6 -6
- package/dist/chunks/{reference-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-n8aw8tzz.js → aisdk-native-w4agab9x.js} +16 -16
- package/dist/chunks/{reference-r0jrqcv3.js → aisdk-native-w5eq0eh5.js} +20 -20
- package/dist/chunks/{reference-w79zsp0s.js → aisdk-native-w79zsp0s.js} +1 -1
- package/dist/chunks/{reference-z2vp0ram.js → aisdk-native-w9mgz0qb.js} +11 -11
- package/dist/chunks/{reference-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{reference-zag8ssnp.js → aisdk-native-wffnnfqa.js} +30 -30
- package/dist/chunks/{reference-we9eyqjp.js → aisdk-native-wvcyv6hh.js} +7 -7
- package/dist/chunks/{reference-s89drx3k.js → aisdk-native-ww9qp6kh.js} +28 -28
- package/dist/chunks/{reference-d688schs.js → aisdk-native-x159kd7v.js} +27 -27
- package/dist/chunks/{reference-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-x43y2vfs.js → aisdk-native-x43y2vfs.js} +2 -2
- package/dist/chunks/{reference-f2n7c6vf.js → aisdk-native-xb7jttx8.js} +12 -12
- package/dist/chunks/{reference-h7ygw6q4.js → aisdk-native-xekzrwwc.js} +9 -9
- package/dist/chunks/{reference-aagvpmpk.js → aisdk-native-xes8y8f5.js} +18 -18
- package/dist/chunks/{reference-hdcwm5yn.js → aisdk-native-xj6n4xyr.js} +8 -8
- package/dist/chunks/{reference-xn1g4e4n.js → aisdk-native-xk5xngm4.js} +3 -3
- package/dist/chunks/{reference-kd62wyh6.js → aisdk-native-xn7hxfsg.js} +11 -11
- package/dist/chunks/{reference-5vb8t1df.js → aisdk-native-xtv6e8dm.js} +11 -11
- package/dist/chunks/{reference-kmdd4s7w.js → aisdk-native-xzmbb2mf.js} +11 -11
- package/dist/chunks/{reference-6ykfmbhh.js → aisdk-native-y19238ch.js} +23 -23
- package/dist/chunks/{reference-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-kpvyk30t.js → aisdk-native-yb94xmg0.js} +9 -9
- package/dist/chunks/{reference-7zdm33ac.js → aisdk-native-yjqv8qmq.js} +3 -3
- package/dist/chunks/{reference-9kcb9bfn.js → aisdk-native-ypvayta9.js} +5 -5
- package/dist/chunks/{reference-24p0y6dv.js → aisdk-native-yq1zhvd8.js} +23 -23
- package/dist/chunks/{reference-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-yrznvahk.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-t37txjkj.js → aisdk-native-yt2qvb82.js} +6 -6
- package/dist/chunks/{reference-f74zpcfx.js → aisdk-native-yt5yxama.js} +49 -49
- package/dist/chunks/{reference-yvdpqkmv.js → aisdk-native-yth56ew8.js} +25 -25
- package/dist/chunks/{reference-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-7gc0xae5.js → aisdk-native-z4zn5ex6.js} +164 -164
- package/dist/chunks/{reference-g0h581t9.js → aisdk-native-z5k99dmv.js} +10 -10
- package/dist/chunks/{reference-z63w68vq.js → aisdk-native-z63w68vq.js} +2 -2
- package/dist/chunks/{reference-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-g0fwp05y.js → aisdk-native-zgy4crfq.js} +3 -3
- package/dist/chunks/{reference-43vjkkh2.js → aisdk-native-zhj4cbwt.js} +21 -21
- package/dist/chunks/{reference-kdsmfbp6.js → aisdk-native-zq0qef6c.js} +18 -18
- package/dist/chunks/{reference-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +113 -113
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +3 -3
- 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 +7 -7
- 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 +77 -77
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- 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 +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +109 -109
- package/dist/tool/read-filesystem.js +96 -96
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- 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 +89 -89
- package/package.json +8 -8
- package/dist/chunks/reference-99pkb00s.js +0 -247
- package/dist/chunks/reference-fnzccmjb.js +0 -22
- package/dist/chunks/reference-hxa7m5za.js +0 -4
- package/dist/chunks/reference-phz3h32g.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a1tpkmh4.js → aisdk-native-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-paphc93g.js → aisdk-native-paphc93g.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-j7wq2tw5.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service73,
|
|
6
6
|
node78
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-0gxkfr0j.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service40,
|
|
10
|
+
node44
|
|
11
|
+
} from "./aisdk-native-h4sjasp6.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
24
|
+
Options: () => Options6,
|
|
25
|
+
Service: () => Service39,
|
|
26
26
|
configured: () => configured6,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer15,
|
|
29
|
+
node: () => node43,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options6 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service39 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service73;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service40;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service39.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service39, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service73;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service39.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service39.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer15 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service73;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -183,8 +183,8 @@ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured6(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service39, layer: layer15(options), deps: [node78, node44] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node43 = configured6();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options6, Service39, ripgrepLayer2, fffLayer2, layer15, configured6, node43, exports_search };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-v6p500z5.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./aisdk-native-g2gjxxxj.js";
|
|
5
5
|
import {
|
|
6
6
|
Service75,
|
|
7
7
|
node80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-yjqv8qmq.js";
|
|
9
9
|
import {
|
|
10
10
|
Service73,
|
|
11
11
|
node78
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-0gxkfr0j.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-ht5y0zrb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service54,
|
|
18
|
+
node58
|
|
19
|
+
} from "./aisdk-native-pehvz7x4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node18
|
|
22
|
+
} from "./aisdk-native-6phbmx9j.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node12
|
|
26
|
+
} from "./aisdk-native-p1wf2k30.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
@@ -44,11 +44,11 @@ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service73;
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
47
|
+
const watcher = yield* Service54;
|
|
48
|
+
const bus = yield* Service76;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service75;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
105
105
|
var node2 = makeLocationNode({
|
|
106
106
|
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node58, FSUtil.node, node78, node80, node81, node18, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service73
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-0gxkfr0j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service41
|
|
12
|
+
} from "./aisdk-native-zhj4cbwt.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service40
|
|
15
|
+
} from "./aisdk-native-h4sjasp6.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-a0zpeqk6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service69
|
|
24
|
+
} from "./aisdk-native-0xy44pb9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service68
|
|
27
|
+
} from "./aisdk-native-4b7p26gq.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin22,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input9 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin22 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service41;
|
|
70
|
+
const ripgrep = yield* Service40;
|
|
71
71
|
const location = yield* Service73;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service68;
|
|
73
|
+
const permission = yield* Service69;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin39 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output3, toModelContent3, Plugin22, exports_glob };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make16,
|
|
14
|
+
node: () => node50,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make16 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node50 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make16, RegistryService2, registry2, registryNode2, node50, exports_driver };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./aisdk-native-x159kd7v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./aisdk-native-0xy44pb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID12,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service66
|
|
14
|
+
} from "./aisdk-native-7gedpce0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-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: () => Plugin27,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
26
|
description: () => description4,
|
|
27
|
-
name: () =>
|
|
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([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
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: ID12,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin27 = {
|
|
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* Service69;
|
|
53
|
+
const forms = yield* Service62;
|
|
54
|
+
const websearch = yield* Service66;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name10,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description4,
|
|
59
|
-
input:
|
|
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, Plugin27, exports_websearch2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./aisdk-native-g2gjxxxj.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID16,
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
21
|
Service: () => Service72,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
@@ -27,19 +27,19 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID16 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID16.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
39
|
class Service72 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
41
|
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
|
-
const bus = yield*
|
|
42
|
+
const bus = yield* Service76;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID16.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID16.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID16.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var node77 = makeLocationNode({ service: Service72, layer, deps: [
|
|
119
|
+
var node77 = makeLocationNode({ service: Service72, layer, deps: [node81, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID16, Name3, defaultID2, Color2, Info30, Service72, node77, exports_agent4, Event19 };
|