@opencode/core 0.0.0-dev-20495 → 0.0.0-dev-20498
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{agent-zxxvxyna.js → project-01ccnz8b.js} +12 -12
- package/dist/chunks/{agent-kne8f3cn.js → project-06x8he3q.js} +4 -4
- package/dist/chunks/{agent-a2rpfkac.js → project-0a1yp5ev.js} +4 -4
- package/dist/chunks/{agent-rhjbct0v.js → project-0gdmqesm.js} +4 -4
- package/dist/chunks/{agent-0j77ygfz.js → project-0j77ygfz.js} +2 -2
- package/dist/chunks/{agent-7mtf2ng8.js → project-0jyt6ccd.js} +17 -17
- package/dist/chunks/{agent-rmbj2ecd.js → project-0ngk7849.js} +24 -24
- package/dist/chunks/{agent-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{agent-0emb60td.js → project-0vbcp93d.js} +2 -2
- package/dist/chunks/{agent-5zfe1hs5.js → project-142rtv3p.js} +30 -30
- package/dist/chunks/{agent-3wd3ybnr.js → project-15pf3kn3.js} +36 -36
- package/dist/chunks/{agent-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{agent-84h8c373.js → project-1dvck2a7.js} +2 -2
- package/dist/chunks/{agent-zm5gxt3d.js → project-1grq6ca1.js} +20 -20
- package/dist/chunks/{agent-nf0836sh.js → project-1m2qmwyb.js} +23 -23
- package/dist/chunks/{agent-rmrqxqxb.js → project-1ngj7yz3.js} +20 -20
- package/dist/chunks/{agent-pm3rvpnw.js → project-1p7n864c.js} +11 -11
- package/dist/chunks/{agent-f5a9xnpw.js → project-1pef14ah.js} +10 -10
- package/dist/chunks/{agent-5dkn69vz.js → project-1rn5pcm9.js} +4 -4
- package/dist/chunks/{agent-nnegx4ye.js → project-1s5gcqvv.js} +34 -34
- package/dist/chunks/{agent-w7fnhhq6.js → project-1teexzt8.js} +12 -12
- package/dist/chunks/{agent-my4zabxr.js → project-1w9a9pv3.js} +3 -3
- package/dist/chunks/{agent-fe7h0mm2.js → project-1x59d28s.js} +11 -11
- package/dist/chunks/{agent-3adj5p0b.js → project-1x645704.js} +5 -5
- package/dist/chunks/{agent-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{agent-2ccvkpx1.js → project-2ccvkpx1.js} +2 -2
- package/dist/chunks/{agent-3ynasgj1.js → project-2fha9p90.js} +6 -6
- package/dist/chunks/{agent-bsytyf4b.js → project-2kd9a7qn.js} +13 -13
- package/dist/chunks/{agent-enbxprp7.js → project-2kyhewkg.js} +7 -7
- package/dist/chunks/{agent-0b54nqfq.js → project-2zg3fw59.js} +4 -4
- package/dist/chunks/{agent-56gdpj1q.js → project-33w4ejhs.js} +6 -6
- package/dist/chunks/{agent-sw2s00mc.js → project-3a6ck5tr.js} +16 -16
- package/dist/chunks/{agent-axs6pdy0.js → project-3bc8czyk.js} +5 -5
- package/dist/chunks/{agent-dtz9s4b3.js → project-3eavv4sq.js} +6 -6
- package/dist/chunks/{agent-n1mmzv0t.js → project-3f29nsc9.js} +8 -8
- package/dist/chunks/{agent-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-0969ms2e.js → project-3jphvqbf.js} +20 -20
- package/dist/chunks/{agent-ve4zfcma.js → project-3p1e5a06.js} +22 -22
- package/dist/chunks/{agent-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-c7tg5ahm.js → project-3t0ybcrp.js} +1 -1
- package/dist/chunks/{agent-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-vaatkb7m.js → project-3vmrc2nb.js} +18 -18
- package/dist/chunks/{agent-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{agent-hvcgaqb3.js → project-47c8yv2k.js} +20 -20
- package/dist/chunks/{agent-r9w3djhf.js → project-4nj4bn9q.js} +9 -9
- package/dist/chunks/{agent-ya7p2kne.js → project-4qvwefdb.js} +20 -20
- package/dist/chunks/{agent-qhsygc0r.js → project-4rpaxna5.js} +5 -5
- package/dist/chunks/{agent-tt3j5xxe.js → project-4saarp1s.js} +26 -26
- package/dist/chunks/{agent-71y1mzkm.js → project-4zvgvp00.js} +10 -10
- package/dist/chunks/{agent-qp7thzpe.js → project-51fewcft.js} +13 -13
- package/dist/chunks/{agent-54ma36ye.js → project-54ma36ye.js} +1 -1
- package/dist/chunks/{agent-0tcn2edf.js → project-56k7gmct.js} +4 -4
- package/dist/chunks/{agent-gnvs0enq.js → project-5d4fyj9e.js} +3 -3
- package/dist/chunks/{agent-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{agent-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{agent-j245gaa0.js → project-5tcm9639.js} +9 -9
- package/dist/chunks/{agent-pevp0vkc.js → project-5yn3fq23.js} +17 -17
- package/dist/chunks/{agent-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{agent-xpf13hnw.js → project-6agexhvj.js} +2 -2
- package/dist/chunks/{agent-k6geg3g4.js → project-6ff1chsr.js} +7 -7
- package/dist/chunks/{agent-q1c6gfm2.js → project-6kky177d.js} +19 -19
- package/dist/chunks/{agent-5wtwrezn.js → project-6m42r3np.js} +4 -4
- package/dist/chunks/{agent-fje83gfw.js → project-6psa4521.js} +30 -30
- package/dist/chunks/{agent-hcf0s5h1.js → project-6xhbcg84.js} +6 -6
- package/dist/chunks/{agent-yebk9b1k.js → project-6yz0wx8n.js} +2 -2
- package/dist/chunks/{agent-f75zav2x.js → project-71az546q.js} +2 -2
- package/dist/chunks/{agent-kjyqzbch.js → project-71e56rh2.js} +10 -10
- package/dist/chunks/{agent-y218q3m0.js → project-726xqz3e.js} +11 -11
- package/dist/chunks/{agent-d7hcd0ym.js → project-75jaekcr.js} +10 -10
- package/dist/chunks/{agent-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-fkcqrwcb.js → project-7kd5xmch.js} +9 -9
- package/dist/chunks/{agent-ydxjpy93.js → project-7m5nck10.js} +17 -17
- package/dist/chunks/{agent-sb3bqbj6.js → project-7mgae815.js} +11 -11
- package/dist/chunks/{agent-t0d6zw4z.js → project-7vfqg2m6.js} +9 -9
- package/dist/chunks/{agent-snw8yyk6.js → project-7wa5y354.js} +22 -22
- package/dist/chunks/{agent-84txncab.js → project-84txncab.js} +1 -1
- package/dist/chunks/{agent-gx8qcdc6.js → project-87apjqaq.js} +5 -5
- package/dist/chunks/{agent-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{agent-h1c96afk.js → project-8gw5c2y3.js} +8 -8
- package/dist/chunks/{agent-b4twkq7r.js → project-8sze2n9a.js} +2 -2
- package/dist/chunks/{agent-x8qwh5yk.js → project-8ye3s8nv.js} +1 -1
- package/dist/chunks/{agent-c5c0bz0t.js → project-94s48bjb.js} +5 -5
- package/dist/chunks/{agent-kb9j3d72.js → project-9e5bzkjp.js} +3 -3
- package/dist/chunks/{agent-jvp7p798.js → project-9sdstft4.js} +21 -21
- package/dist/chunks/project-9sh4wc5j.js +18 -0
- package/dist/chunks/{agent-06extccp.js → project-9tpfv5qj.js} +3 -3
- package/dist/chunks/{agent-y9t2v59g.js → project-9y0h6zc5.js} +10 -10
- package/dist/chunks/{agent-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{agent-kxtv85c3.js → project-aaw70874.js} +18 -18
- package/dist/chunks/{agent-aw71md39.js → project-aax86smv.js} +35 -35
- package/dist/chunks/{agent-jwtynxd2.js → project-abn7vjp9.js} +3 -3
- package/dist/chunks/{agent-ma9td961.js → project-aj3ypgz3.js} +36 -36
- package/dist/chunks/{agent-30846h32.js → project-aq5y8b9e.js} +8 -8
- package/dist/chunks/{agent-w47smtgf.js → project-aqyh79ye.js} +24 -24
- package/dist/chunks/{agent-0vyq000p.js → project-as81c8a1.js} +13 -13
- package/dist/chunks/{agent-y9e856tf.js → project-ax7s5mjd.js} +33 -33
- package/dist/chunks/{agent-v1wz7cyc.js → project-b09f9w3r.js} +20 -20
- package/dist/chunks/{agent-b3f8fkhc.js → project-b3f8fkhc.js} +2 -2
- package/dist/chunks/{agent-pzjh1fyp.js → project-b674v2dg.js} +5 -5
- package/dist/chunks/{agent-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{agent-1egsrvyz.js → project-bpdhdjrh.js} +9 -9
- package/dist/chunks/{agent-mmqb0ckj.js → project-bw87cbsf.js} +8 -8
- package/dist/chunks/{agent-8y3049xf.js → project-c1cxvgkt.js} +20 -20
- package/dist/chunks/{agent-xmbvsbqy.js → project-cafcag32.js} +11 -11
- package/dist/chunks/{agent-9f7pkh13.js → project-ckj08xbq.js} +11 -11
- package/dist/chunks/{agent-chhwftq5.js → project-cn03ncx7.js} +33 -33
- package/dist/chunks/{agent-es3gwfzz.js → project-ct2kgy10.js} +30 -30
- package/dist/chunks/{agent-56wxwffs.js → project-cybhp1ag.js} +10 -10
- package/dist/chunks/{agent-cv7vxd11.js → project-d0jkw2mw.js} +14 -14
- package/dist/chunks/{agent-x2h9s1mq.js → project-d1qd7wjw.js} +28 -28
- package/dist/chunks/{agent-wv8a670q.js → project-d4qdkv8q.js} +58 -58
- package/dist/chunks/{agent-8gccp9jq.js → project-dddzebpn.js} +43 -43
- package/dist/chunks/{agent-f4ydgy3z.js → project-dn9p4qfh.js} +9 -9
- package/dist/chunks/{agent-6b2kn43a.js → project-dnqkvakq.js} +6 -6
- package/dist/chunks/{agent-dpkg50ah.js → project-dpkg50ah.js} +1 -1
- package/dist/chunks/{agent-3e0m7cwy.js → project-dsp8qnq1.js} +31 -31
- package/dist/chunks/{agent-bkxyw0dr.js → project-dvep9rg9.js} +9 -9
- package/dist/chunks/{agent-6gvmk3q1.js → project-dwjzkwmt.js} +15 -15
- package/dist/chunks/{agent-50c2qfar.js → project-e4ecqbhd.js} +16 -16
- package/dist/chunks/{agent-etzmzv32.js → project-e7t1aavy.js} +10 -10
- package/dist/chunks/{agent-rmvpnps6.js → project-e7tq9b6a.js} +33 -33
- package/dist/chunks/{agent-c4ns4q6k.js → project-ee9t2r5z.js} +312 -312
- package/dist/chunks/{agent-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-eq1pz5kg.js → project-eq1pz5kg.js} +1 -1
- package/dist/chunks/{agent-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{agent-zwywmq97.js → project-f87kvrwd.js} +16 -16
- package/dist/chunks/{agent-pnhxssdf.js → project-f8wgfp93.js} +1 -1
- package/dist/chunks/{agent-2k8khapm.js → project-fcrkznn8.js} +5 -5
- package/dist/chunks/{agent-jjjc0chz.js → project-febwrgts.js} +26 -26
- package/dist/chunks/{agent-81q1psws.js → project-ffgyggc9.js} +12 -12
- package/dist/chunks/{agent-xecxzrdp.js → project-fpecnkgp.js} +9 -9
- package/dist/chunks/{agent-9qkyr202.js → project-g092ypnw.js} +83 -83
- package/dist/chunks/{agent-5mde3jdk.js → project-g2mkgnrs.js} +13 -13
- package/dist/chunks/{agent-2ejavyye.js → project-g32pa6cz.js} +16 -16
- package/dist/chunks/{agent-0ee9cpen.js → project-g420gf6v.js} +12 -12
- package/dist/chunks/{agent-15zv1stq.js → project-gawsz3z8.js} +3 -3
- package/dist/chunks/{agent-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-qc1xg33w.js → project-geme70nx.js} +16 -16
- package/dist/chunks/{agent-rwb52vrc.js → project-gh8z36ey.js} +44 -44
- package/dist/chunks/{agent-r2m716tb.js → project-gjwgx2c5.js} +9 -9
- package/dist/chunks/{agent-bgwt1ext.js → project-gm1vyzya.js} +8 -8
- package/dist/chunks/{agent-qx178q0k.js → project-gpybh6qr.js} +15 -15
- package/dist/chunks/{agent-78qt3sj1.js → project-h1me2qtk.js} +27 -27
- package/dist/chunks/{agent-3cegwx68.js → project-h2b79v29.js} +2 -2
- package/dist/chunks/{agent-eejvp2f2.js → project-h4tn8bjr.js} +24 -24
- package/dist/chunks/{agent-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-bw7n94es.js → project-hc6xx77k.js} +183 -183
- package/dist/chunks/{agent-g74z9j9z.js → project-hn1j4dd1.js} +18 -18
- package/dist/chunks/{agent-c4hxtsjn.js → project-hqtyt41h.js} +18 -18
- package/dist/chunks/{agent-90kkfwkk.js → project-htw78zam.js} +17 -17
- package/dist/chunks/{agent-xmsh8y1f.js → project-hzv4x4d7.js} +43 -43
- package/dist/chunks/{agent-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{agent-1pk6jmbv.js → project-j5brcy3t.js} +5 -5
- package/dist/chunks/{agent-7j08c9r1.js → project-jrrskf74.js} +13 -13
- package/dist/chunks/{agent-xgrk1snk.js → project-jwzdq6qe.js} +21 -21
- package/dist/chunks/{agent-jzsegfhb.js → project-k9889ctd.js} +4 -4
- package/dist/chunks/{agent-961aaqfq.js → project-kem4c7p9.js} +41 -41
- package/dist/chunks/{agent-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{agent-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-vdeedkq6.js → project-mbyaj28y.js} +8 -8
- package/dist/chunks/{agent-pvax30d3.js → project-mc03dfj2.js} +42 -42
- package/dist/chunks/{agent-gnes5cxx.js → project-me9x40rz.js} +9 -9
- package/dist/chunks/{agent-dw4v8saq.js → project-mgyamy9f.js} +15 -15
- package/dist/chunks/{agent-q3hqp1sp.js → project-mq617yme.js} +3 -3
- package/dist/chunks/project-mz9v6fn6.js +26 -0
- package/dist/chunks/{agent-jgpg880r.js → project-n4avfwtk.js} +22 -22
- package/dist/chunks/{agent-1225krvv.js → project-n779kegd.js} +48 -48
- package/dist/chunks/{agent-q3ersh05.js → project-naj50rvz.js} +6 -6
- package/dist/chunks/{agent-8tsdq50x.js → project-nb9p6b26.js} +4 -4
- package/dist/chunks/{agent-8jpf4asr.js → project-nba0d0r9.js} +18 -18
- package/dist/chunks/{agent-wb2syegf.js → project-nhd3karc.js} +26 -26
- package/dist/chunks/{agent-rmr3r19k.js → project-njrmf5ty.js} +4 -4
- package/dist/chunks/{agent-a04xb9v5.js → project-nsf1s7g5.js} +24 -24
- package/dist/chunks/{agent-0fmjwecz.js → project-nta5q4rv.js} +5 -5
- package/dist/chunks/{agent-f0wzsm6w.js → project-nv346ecc.js} +30 -30
- package/dist/chunks/{agent-9mwv3506.js → project-nzwy63kk.js} +18 -18
- package/dist/chunks/{agent-eys57y9b.js → project-p37cw4rj.js} +8 -8
- package/dist/chunks/{agent-myymb6xt.js → project-p3k5snbe.js} +11 -11
- package/dist/chunks/{agent-er7bzzx2.js → project-p635cpcm.js} +8 -8
- package/dist/chunks/{agent-zykjx2tp.js → project-p8sk8dd3.js} +80 -80
- package/dist/chunks/{agent-f7jtcmdh.js → project-pb6zbza6.js} +18 -18
- package/dist/chunks/{agent-180kw0bq.js → project-pc1ceyb2.js} +15 -15
- package/dist/chunks/{agent-fmpajtcd.js → project-pfmqbzqt.js} +15 -15
- package/dist/chunks/{agent-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{agent-7fxnnqbh.js → project-ppbrew67.js} +5 -5
- package/dist/chunks/{agent-5ctfgyhd.js → project-pw3q3qey.js} +11 -11
- package/dist/chunks/{agent-ywrxzmrq.js → project-pwtdnyh9.js} +24 -24
- package/dist/chunks/{agent-pydjced1.js → project-q4kjy4d8.js} +10 -10
- package/dist/chunks/{agent-vdd4vb6q.js → project-q4m7xg1s.js} +33 -33
- package/dist/chunks/{agent-e8y5teeb.js → project-q4ywzs9a.js} +30 -30
- package/dist/chunks/{agent-cb44h7a0.js → project-q6tfvhth.js} +25 -25
- package/dist/chunks/{agent-qa3qhgw8.js → project-qa3qhgw8.js} +1 -1
- package/dist/chunks/{agent-c50maqbp.js → project-qfwk45bd.js} +5 -5
- package/dist/chunks/{agent-sv2c0njk.js → project-qkkw86vq.js} +27 -27
- package/dist/chunks/{agent-qnc92qwc.js → project-qnc92qwc.js} +1 -1
- package/dist/chunks/{agent-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-xyafkbt0.js → project-qxjc9qry.js} +3 -3
- package/dist/chunks/{agent-rfrf17aw.js → project-r44petzp.js} +12 -12
- package/dist/chunks/{agent-rvxarf9v.js → project-r7n4y60x.js} +2 -2
- package/dist/chunks/{agent-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-b3wt4537.js → project-rentj72j.js} +14 -14
- package/dist/chunks/{agent-281yg8g7.js → project-rhd7xt13.js} +4 -4
- package/dist/chunks/{agent-drnf6xwf.js → project-rhzk7vne.js} +2 -2
- package/dist/chunks/{agent-hqhgbs2g.js → project-ryjjnpsr.js} +3 -3
- package/dist/chunks/{agent-p52b6053.js → project-ryyr4bac.js} +15 -15
- package/dist/chunks/{agent-7s2tn799.js → project-rzs3gq0x.js} +8 -8
- package/dist/chunks/{agent-f3g7k472.js → project-s0dwtmyb.js} +22 -22
- package/dist/chunks/{agent-kjfdeayr.js → project-s942n1t7.js} +8 -8
- package/dist/chunks/{agent-8percxtt.js → project-sgztcagg.js} +10 -10
- package/dist/chunks/{agent-bsn5q6aq.js → project-snnm5sn4.js} +44 -44
- package/dist/chunks/{agent-ghq8k3p0.js → project-sr3mnf59.js} +5 -5
- package/dist/chunks/{agent-aq1vxrpg.js → project-stzwavqr.js} +4 -4
- package/dist/chunks/{agent-xjphdyj0.js → project-svz14vt8.js} +5 -5
- package/dist/chunks/{agent-cdnk6ftw.js → project-t1j28ph2.js} +10 -10
- package/dist/chunks/{agent-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-am625cf0.js → project-tcc0r8za.js} +32 -32
- package/dist/chunks/{agent-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{agent-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{agent-7379n787.js → project-tg0zcngb.js} +32 -32
- package/dist/chunks/{agent-harr5xv8.js → project-tjjemwh3.js} +30 -30
- package/dist/chunks/{agent-kbkg0dr4.js → project-tscav28z.js} +13 -13
- package/dist/chunks/{agent-c651xxjb.js → project-tx92n959.js} +4 -4
- package/dist/chunks/{agent-n94yfme4.js → project-vd0txp44.js} +9 -9
- package/dist/chunks/{agent-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-frfw21hw.js → project-vj6pvrjx.js} +12 -12
- package/dist/chunks/{agent-c60ns7m9.js → project-vjawha9d.js} +11 -11
- package/dist/chunks/{agent-assaykk3.js → project-vjegvrxn.js} +11 -11
- package/dist/chunks/{agent-6jsnjtd7.js → project-vkb80v61.js} +30 -30
- package/dist/chunks/{agent-8bjjjscb.js → project-vkrsgtnq.js} +22 -22
- package/dist/chunks/{agent-mx9vqzsb.js → project-vqfzq50h.js} +6 -6
- package/dist/chunks/{agent-8n04mb3d.js → project-vrwj9c6s.js} +11 -11
- package/dist/chunks/{agent-f717gdek.js → project-vsrbj1dm.js} +19 -19
- package/dist/chunks/{agent-wzkdy7pq.js → project-vyvzj8mn.js} +9 -9
- package/dist/chunks/{agent-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{agent-7mwqrr0g.js → project-vzfc91x2.js} +3 -3
- package/dist/chunks/{agent-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{agent-dcr03msm.js → project-w2pcbqkp.js} +18 -18
- package/dist/chunks/{agent-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-ct17t7wc.js → project-w5c7j25r.js} +21 -21
- package/dist/chunks/{agent-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{agent-f6b7e72t.js → project-wqxhcm17.js} +4 -4
- package/dist/chunks/{agent-x2n4r1b6.js → project-wtz6rdwb.js} +15 -15
- package/dist/chunks/{agent-cey1m555.js → project-wv2sqx2v.js} +11 -11
- package/dist/chunks/{agent-05qm76tv.js → project-wv60phkr.js} +5 -5
- package/dist/chunks/{agent-9sb0gsac.js → project-ww2n7qbw.js} +30 -30
- package/dist/chunks/project-wzj0v005.js +253 -0
- package/dist/chunks/{agent-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{agent-1wjt2sv4.js → project-x2qsw74m.js} +2 -2
- package/dist/chunks/{agent-79db117c.js → project-x4b3e5bc.js} +26 -26
- package/dist/chunks/{agent-0keq86b3.js → project-x4t6p7xs.js} +3 -3
- package/dist/chunks/{agent-addxnjmp.js → project-x661k3y3.js} +4 -4
- package/dist/chunks/{agent-2r2egdr4.js → project-x827mkbf.js} +12 -12
- package/dist/chunks/{agent-xyzvdesr.js → project-x97gtvx7.js} +9 -9
- package/dist/chunks/{agent-9jb08jxh.js → project-xa4jwm2d.js} +15 -15
- package/dist/chunks/{agent-2tfjmdh5.js → project-xf02r116.js} +16 -16
- package/dist/chunks/{agent-g5w8qwbj.js → project-xfkkasph.js} +4 -4
- package/dist/chunks/{agent-56zcmy0x.js → project-xgeqcv8v.js} +39 -39
- package/dist/chunks/{agent-rg23r00q.js → project-xkgz8z0h.js} +36 -36
- package/dist/chunks/{agent-dmqcgk4z.js → project-xkntkrq7.js} +5 -5
- package/dist/chunks/{agent-h5w29vws.js → project-xp3fh2h7.js} +1 -1
- package/dist/chunks/{agent-pwbc1eft.js → project-xvynetsd.js} +26 -26
- package/dist/chunks/{agent-5manh0gh.js → project-y0zhphgk.js} +54 -54
- package/dist/chunks/{agent-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-s4v9x9re.js → project-y3xr2ha8.js} +16 -16
- package/dist/chunks/{agent-9tgqm29x.js → project-ycsmej7s.js} +20 -20
- package/dist/chunks/{agent-spx8c6ms.js → project-ydgp3khf.js} +6 -6
- package/dist/chunks/{agent-ry082wg0.js → project-yewzvha6.js} +6 -6
- package/dist/chunks/{agent-x75ma0cf.js → project-ym7wpcjr.js} +11 -11
- package/dist/chunks/{agent-1acjjqhc.js → project-yp2x3t23.js} +4 -4
- package/dist/chunks/{agent-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{agent-f5gy8qwh.js → project-yts3es8x.js} +8 -8
- package/dist/chunks/{agent-ee7hath9.js → project-ywb7831f.js} +39 -39
- package/dist/chunks/{agent-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-rmwzrvg6.js → project-z8htr2ab.js} +7 -7
- package/dist/chunks/{agent-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-nq59jwz9.js → project-zr7tj41s.js} +12 -12
- package/dist/chunks/{agent-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/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 +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +74 -74
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +115 -115
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +211 -211
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/agent-619r8v3y.js +0 -18
- package/dist/chunks/agent-vbqmraq8.js +0 -253
- package/dist/chunks/agent-z2gne1tr.js +0 -26
- /package/dist/chunks/{agent-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e3qxr5gk.js → project-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID18,
|
|
3
|
+
Service82
|
|
4
|
+
} from "./project-0ngk7849.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service65
|
|
8
|
+
} from "./project-tjjemwh3.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./project-hzv4x4d7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-1w9a9pv3.js";
|
|
16
16
|
import {
|
|
17
17
|
Service55
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-ffgyggc9.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service49
|
|
22
|
+
} from "./project-gh8z36ey.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service23
|
|
25
|
+
} from "./project-g092ypnw.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make11
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./project-6xhbcg84.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./project-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin14,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name12
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name12 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input12 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input6 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin14 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
92
|
+
const sessions = yield* Service23;
|
|
93
93
|
const jobs = yield* Service55;
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
94
|
+
const agents = yield* Service82;
|
|
95
|
+
const config = yield* Service59;
|
|
96
|
+
const permission = yield* Service49;
|
|
97
|
+
const models = yield* Service65;
|
|
98
98
|
const subagents = yield* make11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin8 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin8 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name12,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin8 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID18.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name12 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name12];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name12, Input12, Output8, description5, Plugin14, exports_subagent };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-1w9a9pv3.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-yewzvha6.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-0gdmqesm.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-wqxhcm17.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-1rn5pcm9.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-3f29nsc9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-56k7gmct.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event18,
|
|
11
|
+
Service77
|
|
12
|
+
} from "./project-d1qd7wjw.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-febwrgts.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Service75
|
|
26
|
+
} from "./project-ww2n7qbw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID9
|
|
29
|
+
} from "./project-tjjemwh3.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./project-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./project-ydgp3khf.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -74,11 +74,11 @@ function make5(endpoints = {
|
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service77;
|
|
81
|
+
const providers = yield* Service75;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make5(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID12.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make5(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make5(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make5(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make5(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make5(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID12.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make5(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make5(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID12.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID12.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make5(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID12.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make5(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID12.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID12.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,7 +318,7 @@ function make5(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID12.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID9.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID9.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-3f29nsc9.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin15,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin15 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin38 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin38 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin15, exports_tinyfish };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-56k7gmct.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./project-xf02r116.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service47,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service47 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service47.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [node87, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service47, node49, exports_rpc, define2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-abn7vjp9.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-ryjjnpsr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin22
|
|
3
|
+
} from "./project-s942n1t7.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin16
|
|
6
|
+
} from "./project-vd0txp44.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin24
|
|
9
|
+
} from "./project-vyvzj8mn.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin23
|
|
12
|
+
} from "./project-1x645704.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin15
|
|
15
|
+
} from "./project-me9x40rz.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin22,
|
|
20
|
+
Plugin16,
|
|
21
|
+
Plugin24,
|
|
22
|
+
Plugin23,
|
|
23
|
+
Plugin15
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|