@opencode-ai/core 0.0.0-dev-19167 → 0.0.0-dev-19169
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 +81 -81
- 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 +82 -82
- package/dist/chunks/{provider-qfzsxjsm.js → aisdk-native-043ymztd.js} +28 -28
- package/dist/chunks/{provider-hqdatdk6.js → aisdk-native-04b8wtat.js} +15 -15
- package/dist/chunks/{provider-5h2h4z1f.js → aisdk-native-04gmatya.js} +18 -18
- package/dist/chunks/{provider-e76cs59w.js → aisdk-native-0b83a2cg.js} +8 -8
- package/dist/chunks/{provider-0e0xafbb.js → aisdk-native-0e0xafbb.js} +2 -2
- package/dist/chunks/{provider-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-0s9ayhjt.js → aisdk-native-0s9ayhjt.js} +1 -1
- package/dist/chunks/{provider-vwwkt776.js → aisdk-native-14hmenm3.js} +3 -3
- package/dist/chunks/{provider-yd25cjpk.js → aisdk-native-16r38w9g.js} +4 -4
- package/dist/chunks/{provider-1ct4r87x.js → aisdk-native-1ct4r87x.js} +1 -1
- package/dist/chunks/{provider-yzgp7g2d.js → aisdk-native-1kmw8bw9.js} +8 -8
- package/dist/chunks/{provider-gm2nd0w6.js → aisdk-native-1nfdj20x.js} +10 -10
- package/dist/chunks/{provider-xtddbfj7.js → aisdk-native-1pxjmmqp.js} +8 -8
- package/dist/chunks/{provider-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{provider-2402vzrj.js → aisdk-native-2402vzrj.js} +1 -1
- package/dist/chunks/{provider-esv8q2ns.js → aisdk-native-25tamwca.js} +29 -29
- package/dist/chunks/{provider-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-gfhhve88.js → aisdk-native-2cmv458r.js} +5 -5
- package/dist/chunks/{provider-2x63360j.js → aisdk-native-2e4f2ww1.js} +11 -11
- package/dist/chunks/{provider-2ht70gj7.js → aisdk-native-2ht70gj7.js} +1 -1
- package/dist/chunks/{provider-w8e4nwz3.js → aisdk-native-2jf8fk59.js} +4 -4
- package/dist/chunks/{provider-h7e5g0tn.js → aisdk-native-2p5y98w0.js} +6 -6
- package/dist/chunks/{provider-h182avfb.js → aisdk-native-2ven9g6a.js} +9 -9
- package/dist/chunks/{provider-2n1s0jqh.js → aisdk-native-2y39z8c1.js} +4 -4
- package/dist/chunks/{provider-qte5mmnh.js → aisdk-native-2z02gh2t.js} +16 -16
- package/dist/chunks/{provider-56fdxhwp.js → aisdk-native-2z9vcfh6.js} +6 -6
- package/dist/chunks/{provider-pdsr7cn0.js → aisdk-native-35fy7h9r.js} +13 -13
- package/dist/chunks/{provider-ksd37v8k.js → aisdk-native-3bzp77g1.js} +26 -26
- package/dist/chunks/{provider-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-7jypvd16.js → aisdk-native-3hvtjeqv.js} +14 -14
- package/dist/chunks/{provider-kwdr293w.js → aisdk-native-3qpt8xe0.js} +10 -10
- package/dist/chunks/aisdk-native-3qy3nq4y.js +460 -0
- package/dist/chunks/{provider-3qzbfqsy.js → aisdk-native-3qzbfqsy.js} +2 -2
- package/dist/chunks/{provider-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-f4g7wt00.js → aisdk-native-3wfq9j39.js} +12 -12
- package/dist/chunks/{provider-cgmv5ttt.js → aisdk-native-3y4wp49y.js} +5 -5
- package/dist/chunks/{provider-818qf5z9.js → aisdk-native-3z5090v3.js} +11 -11
- package/dist/chunks/{provider-454k5vzh.js → aisdk-native-454k5vzh.js} +1 -1
- package/dist/chunks/{provider-fhmdyj6b.js → aisdk-native-4arrcc33.js} +2 -2
- package/dist/chunks/{provider-fryhykgw.js → aisdk-native-4mjbd4g3.js} +35 -35
- package/dist/chunks/{provider-4r2nyarf.js → aisdk-native-4r2nyarf.js} +1 -1
- package/dist/chunks/{provider-g19vc6v7.js → aisdk-native-4z6b0fg6.js} +6 -6
- package/dist/chunks/{provider-hvpcewnc.js → aisdk-native-4zt0b2ag.js} +20 -20
- package/dist/chunks/{provider-bh14fpxk.js → aisdk-native-50s529f0.js} +11 -11
- package/dist/chunks/{provider-ztade2sn.js → aisdk-native-57dsek0p.js} +17 -17
- package/dist/chunks/{provider-vqk7jqfs.js → aisdk-native-57jcdchk.js} +40 -40
- package/dist/chunks/{provider-pnhc5zr1.js → aisdk-native-5asbyxca.js} +3 -3
- package/dist/chunks/{provider-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-jvaeg9cc.js → aisdk-native-5eyccwp8.js} +21 -21
- package/dist/chunks/{provider-5fmxt4p5.js → aisdk-native-5fmxt4p5.js} +1 -1
- package/dist/chunks/{provider-5jvc5tg2.js → aisdk-native-5jvc5tg2.js} +1 -1
- package/dist/chunks/{provider-2rcaaecz.js → aisdk-native-5k3f87xj.js} +1 -1
- package/dist/chunks/{provider-87687fkt.js → aisdk-native-5qpspatg.js} +21 -21
- package/dist/chunks/{provider-encf5598.js → aisdk-native-5w58g58b.js} +29 -29
- package/dist/chunks/aisdk-native-619r8v3y.js +18 -0
- package/dist/chunks/{provider-mnne67dr.js → aisdk-native-66hhz1yr.js} +32 -32
- package/dist/chunks/{provider-m53hvte5.js → aisdk-native-6c11stsm.js} +9 -9
- package/dist/chunks/{provider-qwz28wt1.js → aisdk-native-6j09wqep.js} +13 -13
- package/dist/chunks/{provider-b9rr2wfs.js → aisdk-native-6vcx0jtt.js} +15 -15
- package/dist/chunks/{provider-nw5vcmzd.js → aisdk-native-6yk53f3y.js} +2 -2
- package/dist/chunks/{provider-w3jym6ha.js → aisdk-native-6z5bwd8g.js} +6 -6
- package/dist/chunks/{provider-3x6030n9.js → aisdk-native-711hfp6y.js} +2 -2
- package/dist/chunks/{provider-671zgf57.js → aisdk-native-72046scs.js} +5 -5
- package/dist/chunks/{provider-72nftnjy.js → aisdk-native-72nftnjy.js} +2 -2
- package/dist/chunks/{provider-zwcjdryk.js → aisdk-native-7341p7hf.js} +85 -85
- package/dist/chunks/{provider-j028xdjb.js → aisdk-native-73tb2d7t.js} +3 -3
- package/dist/chunks/{provider-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-69j7xj95.js → aisdk-native-7cnkxtbd.js} +9 -9
- package/dist/chunks/{provider-7dqw4kz8.js → aisdk-native-7dqw4kz8.js} +1 -1
- package/dist/chunks/{provider-9ety662n.js → aisdk-native-7h9bxswr.js} +27 -27
- package/dist/chunks/{provider-9rrsjx5v.js → aisdk-native-7je8zxn2.js} +20 -20
- package/dist/chunks/{provider-fhvjqr7f.js → aisdk-native-86s3977f.js} +1 -1
- package/dist/chunks/{provider-ns2ynd12.js → aisdk-native-87hkz2z6.js} +37 -37
- package/dist/chunks/{provider-v33hnsqv.js → aisdk-native-8arekkf9.js} +7 -7
- package/dist/chunks/{provider-hdt492b8.js → aisdk-native-8q9vz9cf.js} +22 -22
- package/dist/chunks/{provider-t22pecrr.js → aisdk-native-8zrf2zgb.js} +42 -42
- package/dist/chunks/{provider-hhpzk61m.js → aisdk-native-93a8yfjt.js} +2 -2
- package/dist/chunks/{provider-xpfgzvr8.js → aisdk-native-94gpd383.js} +11 -11
- package/dist/chunks/{provider-6e958v7x.js → aisdk-native-97f5v037.js} +4 -4
- package/dist/chunks/{provider-xqywgcz5.js → aisdk-native-9ajhzzme.js} +11 -11
- package/dist/chunks/{provider-892hb7ze.js → aisdk-native-9d4efts8.js} +5 -5
- package/dist/chunks/{provider-g0ysksx1.js → aisdk-native-9d4vrqc0.js} +9 -9
- package/dist/chunks/{provider-a4mp6cfj.js → aisdk-native-9ds5q2g0.js} +46 -46
- package/dist/chunks/{provider-4dj65k8e.js → aisdk-native-9dsnye8c.js} +15 -15
- package/dist/chunks/{provider-73nqhwcr.js → aisdk-native-9e4rmmxy.js} +4 -4
- package/dist/chunks/{provider-epazzsys.js → aisdk-native-9hqq2m3t.js} +11 -11
- package/dist/chunks/{provider-qvbcabdc.js → aisdk-native-9qm9egsn.js} +2 -2
- package/dist/chunks/{provider-1txwkh2f.js → aisdk-native-9vq68qmk.js} +10 -10
- package/dist/chunks/{provider-ff9ttd4n.js → aisdk-native-9xhqpnsm.js} +32 -32
- package/dist/chunks/{provider-kfsq4zjw.js → aisdk-native-a0xaz82p.js} +9 -9
- package/dist/chunks/{provider-806j49yq.js → aisdk-native-a2ew8a62.js} +4 -4
- package/dist/chunks/{provider-m3g36xn6.js → aisdk-native-a6t5e8hv.js} +16 -16
- package/dist/chunks/{provider-6h5wf9jw.js → aisdk-native-a9zfrvqc.js} +5 -5
- package/dist/chunks/{provider-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-pae9v2p1.js → aisdk-native-ajphwd6y.js} +4 -4
- package/dist/chunks/{provider-yg7sb877.js → aisdk-native-ajtjthsy.js} +2 -2
- package/dist/chunks/{provider-dv4b3fh8.js → aisdk-native-anbtrwy1.js} +71 -71
- package/dist/chunks/{provider-j78wwk7e.js → aisdk-native-anfk32rr.js} +39 -39
- package/dist/chunks/{provider-7jjxgj4q.js → aisdk-native-ardk922k.js} +18 -18
- package/dist/chunks/{provider-xchn1187.js → aisdk-native-as1g9k9v.js} +7 -7
- package/dist/chunks/{provider-efwdxecf.js → aisdk-native-avn2n8py.js} +15 -15
- package/dist/chunks/{provider-v44x7myj.js → aisdk-native-b2a6mvj1.js} +10 -10
- package/dist/chunks/{provider-j9qb87cx.js → aisdk-native-b49hq3xk.js} +21 -21
- package/dist/chunks/{provider-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-b9wsbatv.js → aisdk-native-b9wsbatv.js} +1 -1
- package/dist/chunks/{provider-bphmvjfp.js → aisdk-native-bcezcar3.js} +5 -5
- package/dist/chunks/{provider-kdngb1xv.js → aisdk-native-bd8g7ws8.js} +23 -23
- package/dist/chunks/{provider-7tqf86yy.js → aisdk-native-bgwnzf1w.js} +11 -11
- package/dist/chunks/{provider-nfcew73a.js → aisdk-native-bxzp2p94.js} +57 -57
- package/dist/chunks/{provider-1yert1cs.js → aisdk-native-c06h1prp.js} +17 -17
- package/dist/chunks/{provider-xjn6wd3a.js → aisdk-native-c0x8swtv.js} +32 -32
- package/dist/chunks/{provider-tsbgh63p.js → aisdk-native-d69wmdsy.js} +6 -6
- package/dist/chunks/{provider-g2gt0w0k.js → aisdk-native-d72308c8.js} +2 -2
- package/dist/chunks/{provider-bq9d524y.js → aisdk-native-d871kxm2.js} +32 -32
- package/dist/chunks/{provider-v4e1m8df.js → aisdk-native-dawf0h0d.js} +22 -22
- package/dist/chunks/aisdk-native-dbkdt3vz.js +247 -0
- package/dist/chunks/{provider-641qsbhy.js → aisdk-native-dbpkqah2.js} +9 -9
- package/dist/chunks/{provider-dzwkm0n0.js → aisdk-native-dejdvnpe.js} +13 -13
- package/dist/chunks/{provider-qyjj80vx.js → aisdk-native-dhtzxw3t.js} +12 -12
- package/dist/chunks/{provider-1y3t3jga.js → aisdk-native-djq310rn.js} +13 -13
- package/dist/chunks/{provider-z3xgatyd.js → aisdk-native-djtdz80w.js} +4 -4
- package/dist/chunks/{provider-hz02q9m3.js → aisdk-native-dmnyjk9p.js} +15 -15
- package/dist/chunks/{provider-12fwxsz1.js → aisdk-native-dn6kvyps.js} +11 -11
- package/dist/chunks/{provider-2mrcrp87.js → aisdk-native-e4k85qf6.js} +35 -35
- package/dist/chunks/{provider-jp5dra8g.js → aisdk-native-e5b0qn1c.js} +1 -1
- package/dist/chunks/{provider-g91mrpv7.js → aisdk-native-e6tzrxa1.js} +31 -31
- package/dist/chunks/{provider-5mm0tfy6.js → aisdk-native-edj46y5c.js} +4 -4
- package/dist/chunks/{provider-9be6zmap.js → aisdk-native-erb6hnqp.js} +25 -25
- package/dist/chunks/{provider-bd3tpn96.js → aisdk-native-esqftqgq.js} +26 -26
- package/dist/chunks/{provider-659fgswj.js → aisdk-native-esx2phjh.js} +11 -11
- package/dist/chunks/{provider-ey5akwsf.js → aisdk-native-f2wzb1a7.js} +32 -32
- package/dist/chunks/{provider-0e2qvb29.js → aisdk-native-f7evrh0w.js} +13 -13
- package/dist/chunks/{provider-vhct9xs4.js → aisdk-native-fcfqs0fz.js} +9 -9
- package/dist/chunks/{provider-d3hfvarq.js → aisdk-native-fv27nzmq.js} +20 -20
- package/dist/chunks/{provider-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{provider-fxypknc8.js → aisdk-native-fxypknc8.js} +1 -1
- package/dist/chunks/{provider-7tfg2zmn.js → aisdk-native-g41n1fn3.js} +5 -5
- package/dist/chunks/{provider-8ztds29y.js → aisdk-native-g42kr0hf.js} +88 -88
- package/dist/chunks/{provider-affy9bjp.js → aisdk-native-g8a40syg.js} +10 -10
- package/dist/chunks/{provider-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-vhbtg5gj.js → aisdk-native-gxvj3c6g.js} +26 -26
- package/dist/chunks/{provider-vwna6rrk.js → aisdk-native-gyvm3da8.js} +16 -16
- package/dist/chunks/{provider-7kpptg10.js → aisdk-native-h0y3cndb.js} +1 -1
- package/dist/chunks/{provider-jb91wb7s.js → aisdk-native-h19drqst.js} +14 -14
- package/dist/chunks/{provider-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-9zy34hsg.js → aisdk-native-h6wd3129.js} +12 -12
- package/dist/chunks/{provider-wkfd3kg3.js → aisdk-native-hby9r17g.js} +17 -17
- package/dist/chunks/{provider-heyhwy2w.js → aisdk-native-heyhwy2w.js} +1 -1
- package/dist/chunks/{provider-sz27z7nv.js → aisdk-native-hh0vg1c6.js} +29 -29
- package/dist/chunks/{provider-nj1fe1jb.js → aisdk-native-hha4zry8.js} +20 -20
- package/dist/chunks/{provider-b60kwn70.js → aisdk-native-hhr651ng.js} +51 -51
- package/dist/chunks/{provider-g2dy4bvs.js → aisdk-native-hrvm11jt.js} +3 -3
- package/dist/chunks/{provider-s7m5rr3e.js → aisdk-native-hsgph7rc.js} +18 -18
- package/dist/chunks/{provider-kvsjn1dr.js → aisdk-native-hw4pv20g.js} +2 -2
- package/dist/chunks/{provider-52dgv1qd.js → aisdk-native-j3svzvvs.js} +30 -30
- package/dist/chunks/{provider-apngs9tj.js → aisdk-native-jcj2pny9.js} +7 -7
- package/dist/chunks/{provider-txfvyzt9.js → aisdk-native-jdqrtrpt.js} +5 -5
- package/dist/chunks/{provider-2f9fbt2v.js → aisdk-native-jfcxgt3p.js} +16 -16
- package/dist/chunks/{provider-me1jjq5a.js → aisdk-native-jpnc116f.js} +9 -9
- package/dist/chunks/{provider-1wwcepag.js → aisdk-native-jq1jh3k6.js} +27 -27
- package/dist/chunks/{provider-sm99xz24.js → aisdk-native-jszq2f6j.js} +3 -3
- package/dist/chunks/{provider-0an26ms7.js → aisdk-native-jw6p2zj8.js} +24 -24
- package/dist/chunks/{provider-m54g5aqe.js → aisdk-native-jwsy1qkq.js} +12 -12
- package/dist/chunks/{provider-a2z678qc.js → aisdk-native-jy1b6ewz.js} +9 -9
- package/dist/chunks/{provider-wrwb82ns.js → aisdk-native-k282r526.js} +20 -20
- package/dist/chunks/{provider-k4bwy1x5.js → aisdk-native-k4bwy1x5.js} +1 -1
- package/dist/chunks/{provider-m1nyv0n4.js → aisdk-native-k658mhdw.js} +8 -8
- package/dist/chunks/{provider-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{provider-dy4ht7ys.js → aisdk-native-kq0gexqe.js} +169 -169
- package/dist/chunks/{provider-dqarh4b4.js → aisdk-native-ksw6ty1s.js} +20 -20
- package/dist/chunks/{provider-7gaxprrm.js → aisdk-native-m5yx4v5n.js} +8 -8
- package/dist/chunks/{provider-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-853kgd97.js → aisdk-native-mbrw38re.js} +11 -11
- package/dist/chunks/{provider-b0z70ywn.js → aisdk-native-mcxg6pmm.js} +1 -1
- package/dist/chunks/{provider-n9mr47st.js → aisdk-native-mdaqq3w0.js} +6 -6
- package/dist/chunks/{provider-13v61wc5.js → aisdk-native-mjj3hwnr.js} +30 -30
- package/dist/chunks/{provider-2rcn8zjb.js → aisdk-native-n38qs1ar.js} +9 -9
- package/dist/chunks/{provider-jdneq8r1.js → aisdk-native-n8wtq6rq.js} +18 -18
- package/dist/chunks/{provider-4n7667v4.js → aisdk-native-nft35xx7.js} +5 -5
- package/dist/chunks/{provider-6khe0rk5.js → aisdk-native-nx7c1nga.js} +11 -11
- package/dist/chunks/{provider-j935v87r.js → aisdk-native-paphc93g.js} +2 -2
- package/dist/chunks/{provider-3gqntfgq.js → aisdk-native-pbd3p4tv.js} +36 -36
- package/dist/chunks/{provider-zshmhtvs.js → aisdk-native-pgtfq9kh.js} +18 -18
- package/dist/chunks/{provider-j5208yae.js → aisdk-native-pjedbq3k.js} +4 -4
- package/dist/chunks/{provider-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{provider-fdht7pma.js → aisdk-native-pqbfdxnr.js} +22 -22
- package/dist/chunks/{provider-nyz6bxeq.js → aisdk-native-pt1gnr8s.js} +36 -36
- package/dist/chunks/{provider-nc3b1wgh.js → aisdk-native-q28vq03v.js} +23 -23
- package/dist/chunks/{provider-yfvv8zpt.js → aisdk-native-q4p8cmjk.js} +6 -6
- package/dist/chunks/{provider-vzcqb4ye.js → aisdk-native-q94h063w.js} +32 -32
- package/dist/chunks/{provider-7ewed3mq.js → aisdk-native-qc8zjjph.js} +15 -15
- package/dist/chunks/{provider-hcg81cqs.js → aisdk-native-qe272k7z.js} +12 -12
- package/dist/chunks/{provider-b13177gh.js → aisdk-native-qqqdwsej.js} +37 -37
- package/dist/chunks/{provider-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-2kst325v.js → aisdk-native-qtk050w0.js} +13 -13
- package/dist/chunks/{provider-1gdnynhy.js → aisdk-native-qxaqwhee.js} +11 -11
- package/dist/chunks/{provider-zxkgzhhn.js → aisdk-native-qzsde3g6.js} +22 -22
- package/dist/chunks/aisdk-native-r66vx418.js +22 -0
- package/dist/chunks/{provider-5aegsqc7.js → aisdk-native-r6fagjj9.js} +26 -26
- package/dist/chunks/{provider-r8dhm0tv.js → aisdk-native-r8dhm0tv.js} +1 -1
- package/dist/chunks/{provider-3rbjgaka.js → aisdk-native-rjkfgj85.js} +8 -8
- package/dist/chunks/{provider-pnk3f66d.js → aisdk-native-rvje47pd.js} +41 -41
- package/dist/chunks/{provider-3pmbcp29.js → aisdk-native-rzsjt7my.js} +12 -12
- package/dist/chunks/{provider-42my878b.js → aisdk-native-s3eqpch7.js} +1 -1
- package/dist/chunks/{provider-s0eq18p3.js → aisdk-native-s3r5tq4j.js} +7 -7
- package/dist/chunks/{provider-t1hbjjff.js → aisdk-native-s5d62xk2.js} +46 -46
- package/dist/chunks/{provider-sba4qhjf.js → aisdk-native-sba4qhjf.js} +1 -1
- package/dist/chunks/{provider-pvwgdgnb.js → aisdk-native-sck1e8x3.js} +28 -28
- package/dist/chunks/{provider-zhj1bw0n.js → aisdk-native-snydg9xy.js} +25 -25
- package/dist/chunks/{provider-5p910kp8.js → aisdk-native-sp67jf0a.js} +2 -2
- package/dist/chunks/{provider-2mdyj6yh.js → aisdk-native-spyrphpt.js} +32 -32
- package/dist/chunks/{provider-r33ff4dw.js → aisdk-native-ss0awb04.js} +4 -4
- package/dist/chunks/{provider-b0hcp35g.js → aisdk-native-t2a94cmc.js} +9 -9
- package/dist/chunks/{provider-wsfy2223.js → aisdk-native-t2az9yje.js} +4 -4
- package/dist/chunks/{provider-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-5j6fg35e.js → aisdk-native-td3evvc8.js} +22 -22
- package/dist/chunks/{provider-3zp16sz2.js → aisdk-native-tde14f4w.js} +24 -24
- package/dist/chunks/{provider-tjykrgmx.js → aisdk-native-tjykrgmx.js} +1 -1
- package/dist/chunks/{provider-nbw8mv70.js → aisdk-native-tra6d2d2.js} +13 -13
- package/dist/chunks/{provider-xg9wzphz.js → aisdk-native-trt6hbzz.js} +4 -4
- package/dist/chunks/{provider-bfhprby2.js → aisdk-native-tvtwyg9m.js} +4 -4
- package/dist/chunks/{provider-zjam9g86.js → aisdk-native-tzvq4vhm.js} +4 -4
- package/dist/chunks/{provider-ttvaqn65.js → aisdk-native-v19v6jh5.js} +9 -9
- package/dist/chunks/{provider-5g2e3aap.js → aisdk-native-v3trvgm0.js} +28 -28
- package/dist/chunks/{provider-ggnnjyyr.js → aisdk-native-v4h9e7vy.js} +39 -39
- package/dist/chunks/{provider-6g7pxxrt.js → aisdk-native-v8zf7q3y.js} +42 -42
- package/dist/chunks/{provider-m9zrzv44.js → aisdk-native-vaezm9a2.js} +31 -31
- package/dist/chunks/{provider-qxd9wqy8.js → aisdk-native-vdntrtfc.js} +16 -16
- package/dist/chunks/{provider-vncycja5.js → aisdk-native-vncycja5.js} +1 -1
- package/dist/chunks/{provider-7e69hvtd.js → aisdk-native-vp4v5zhj.js} +52 -52
- package/dist/chunks/{provider-gpyn4hbp.js → aisdk-native-vvytknwt.js} +62 -62
- package/dist/chunks/{provider-1sjs8vrb.js → aisdk-native-vxhr9x0a.js} +13 -13
- package/dist/chunks/{provider-hcbz9q61.js → aisdk-native-vz11bmfm.js} +4 -4
- package/dist/chunks/aisdk-native-w3vb4krt.js +4 -0
- package/dist/chunks/{provider-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-xp0tb8fr.js → aisdk-native-wb29ggtc.js} +9 -9
- package/dist/chunks/{provider-v08zexc0.js → aisdk-native-wbdywdx4.js} +10 -10
- package/dist/chunks/{provider-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{provider-8gq481r1.js → aisdk-native-wgxn7ww3.js} +4 -4
- package/dist/chunks/{provider-zm4j8yda.js → aisdk-native-wwhrg5yy.js} +44 -44
- package/dist/chunks/{provider-r29jw8yz.js → aisdk-native-wyjvnrmc.js} +20 -20
- package/dist/chunks/{provider-44rmg5yj.js → aisdk-native-x0vpvfrw.js} +11 -11
- package/dist/chunks/{provider-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-rxyedsv0.js → aisdk-native-x6zpf8xk.js} +6 -6
- package/dist/chunks/{provider-2fg54z85.js → aisdk-native-xav14zja.js} +3 -3
- package/dist/chunks/{provider-d8ecvvew.js → aisdk-native-xbv676ey.js} +15 -15
- package/dist/chunks/{provider-1r2601w8.js → aisdk-native-xce41358.js} +16 -16
- package/dist/chunks/{provider-t4es3k9e.js → aisdk-native-xgjy9czn.js} +8 -8
- package/dist/chunks/{provider-xc5kj15j.js → aisdk-native-xpjnk86g.js} +6 -6
- package/dist/chunks/{provider-79xc10f4.js → aisdk-native-xqsy6kp0.js} +1 -1
- package/dist/chunks/{provider-6eedbjdx.js → aisdk-native-xw6hrykp.js} +25 -25
- package/dist/chunks/{provider-y0v6q609.js → aisdk-native-y01np14z.js} +11 -11
- package/dist/chunks/{provider-qgmahjq5.js → aisdk-native-y18qbtn0.js} +3 -3
- package/dist/chunks/{provider-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-0gfwxnmp.js → aisdk-native-y2ymwrv0.js} +4 -4
- package/dist/chunks/{provider-de8s0qqs.js → aisdk-native-y6nt3k22.js} +2 -2
- package/dist/chunks/{provider-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
- package/dist/chunks/{provider-ess3gj99.js → aisdk-native-ydqtwbmb.js} +18 -18
- package/dist/chunks/{provider-yfbd16n1.js → aisdk-native-yfbd16n1.js} +2 -2
- package/dist/chunks/{provider-03vfzkzq.js → aisdk-native-ykcesz1b.js} +4 -4
- package/dist/chunks/{provider-z7y4prgk.js → aisdk-native-yn4hdc9d.js} +15 -15
- package/dist/chunks/{provider-qey6vfz4.js → aisdk-native-yqvpasfj.js} +18 -18
- package/dist/chunks/{provider-dpfrdvp5.js → aisdk-native-yr4rs8mh.js} +17 -17
- package/dist/chunks/{provider-cb182ger.js → aisdk-native-yrzsrb4b.js} +7 -7
- package/dist/chunks/{provider-z1k01bn4.js → aisdk-native-z1k01bn4.js} +2 -2
- package/dist/chunks/{provider-29x78va6.js → aisdk-native-z63w68vq.js} +6 -6
- package/dist/chunks/{provider-n4z1ma14.js → aisdk-native-z78tg67p.js} +5 -5
- package/dist/chunks/{provider-p166mkhm.js → aisdk-native-zahn85s4.js} +28 -28
- package/dist/chunks/{provider-4297rwmf.js → aisdk-native-zgxj21qy.js} +25 -25
- package/dist/chunks/{provider-448mcdzf.js → aisdk-native-zjj7gs9b.js} +13 -13
- package/dist/chunks/{provider-psvzf7ga.js → aisdk-native-zkmdz9hp.js} +8 -8
- package/dist/chunks/{provider-2ady357n.js → aisdk-native-zn2pq4p8.js} +5 -5
- package/dist/chunks/{provider-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +73 -73
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +112 -112
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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-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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- 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 +349 -349
- package/dist/instruction-discovery.js +81 -81
- 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 +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/plan.js +96 -96
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- 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 +114 -114
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +4 -4
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +80 -80
- package/dist/repository-cache.js +72 -72
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- 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 +145 -145
- 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 +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +86 -86
- 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 +115 -115
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- 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 +11 -11
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- 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 +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/provider-7zk4hah4.js +0 -4
- package/dist/chunks/provider-8g54fgwv.js +0 -460
- package/dist/chunks/provider-dxj72tfx.js +0 -18
- package/dist/chunks/provider-pv1faaae.js +0 -247
- package/dist/chunks/provider-stfyv1aw.js +0 -22
- /package/dist/chunks/{provider-0fabt78z.js → aisdk-native-0fabt78z.js} +0 -0
- /package/dist/chunks/{provider-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t738kvx.js → aisdk-native-3t738kvx.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-41nvscxy.js → aisdk-native-41nvscxy.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-982e01ww.js → aisdk-native-982e01ww.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a1tpkmh4.js → aisdk-native-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mntxs535.js → aisdk-native-mntxs535.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-p8qxwesx.js → aisdk-native-p8qxwesx.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-se0s1eqw.js → aisdk-native-se0s1eqw.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x1b8g1yb.js → aisdk-native-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
- /package/dist/chunks/{provider-zbjnn3ac.js → aisdk-native-zbjnn3ac.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service70,
|
|
3
|
+
node75
|
|
4
|
+
} from "./aisdk-native-wwhrg5yy.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info25,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref2,
|
|
15
|
+
Service: () => Service69,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node74,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info25, Ref as Ref2, response as response2 } from "@opencode-ai/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode-ai/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service69 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node74 = LayerNode.unbound(Service69, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service70;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service69.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service69,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node75]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info25, Ref2, response2, Service69, node74, boundNode2, exports_location };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./aisdk-native-2e4f2ww1.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node63
|
|
12
|
+
} from "./aisdk-native-1pxjmmqp.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info21,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service59,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node62
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info21 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service59 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service59,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node84, node63]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service79).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info21({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service59.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node62 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info21, NotFound3, CreateConflict2, Service59, configured9, node62, exports_workspace };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
28
|
webfetch: Schema.optional(Action2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./aisdk-native-2z02gh2t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service69,
|
|
7
|
+
node74
|
|
8
|
+
} from "./aisdk-native-hby9r17g.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node61
|
|
12
|
+
} from "./aisdk-native-jw6p2zj8.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service60,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node64
|
|
20
|
+
} from "./aisdk-native-f7evrh0w.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service67,
|
|
23
|
+
node71
|
|
24
|
+
} from "./aisdk-native-1kmw8bw9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service54,
|
|
27
|
+
node57
|
|
28
|
+
} from "./aisdk-native-rjkfgj85.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-sp67jf0a.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service55,
|
|
35
|
+
node58
|
|
36
|
+
} from "./aisdk-native-57jcdchk.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-native-h6wd3129.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service53,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node56
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode-ai/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode-ai/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service53 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service53, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service78;
|
|
91
|
+
const location = yield* Service69;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service60;
|
|
94
|
+
const environment = yield* Service58;
|
|
95
|
+
const hooks = yield* Service67;
|
|
96
|
+
const environments = yield* Service54;
|
|
97
|
+
const config = yield* Service55;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError6({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service53.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node56 = makeLocationNode({
|
|
320
|
+
service: Service53,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node83,
|
|
324
|
+
node74,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node64,
|
|
327
|
+
node61,
|
|
328
|
+
node71,
|
|
329
|
+
node57,
|
|
330
|
+
node58,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service53, cleanup2, node56, exports_shell4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9qm9egsn.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./aisdk-native-7h9bxswr.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
8
|
Info15
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-jy1b6ewz.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-ykcesz1b.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service55
|
|
16
|
+
} from "./aisdk-native-57jcdchk.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin33
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode-ai/schema/config";
|
|
@@ -44,10 +44,10 @@ var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
|
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin33 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service55;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin6 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin33, exports_agent2 };
|