@opencode/core 0.0.0-dev-20450 → 0.0.0-dev-20451
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-services-zkmsq240.js → model-resolver-03698r9s.js} +11 -11
- package/dist/chunks/{location-services-0x4gzyfe.js → model-resolver-09w5hx8q.js} +22 -22
- package/dist/chunks/{location-services-rk1r2hx8.js → model-resolver-0bfcnrg1.js} +1 -1
- package/dist/chunks/{location-services-23hntbrw.js → model-resolver-0dxv4pc1.js} +15 -15
- package/dist/chunks/{location-services-hrkp49d3.js → model-resolver-0n2zq7cp.js} +18 -18
- package/dist/chunks/{location-services-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-n8vdnqrc.js → model-resolver-0r3c1bmw.js} +5 -5
- package/dist/chunks/{location-services-rtg35nam.js → model-resolver-0smnwsv0.js} +5 -5
- package/dist/chunks/{location-services-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-14363efp.js → model-resolver-0yjfzc4y.js} +8 -8
- package/dist/chunks/{location-services-159dq0vr.js → model-resolver-1093zhcq.js} +11 -11
- package/dist/chunks/{location-services-32p4hgsf.js → model-resolver-13cq8rcn.js} +39 -39
- package/dist/chunks/{location-services-xchyqy34.js → model-resolver-13gay51w.js} +27 -27
- package/dist/chunks/{location-services-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-84h8c373.js → model-resolver-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-services-9rzpcnh1.js → model-resolver-1gn2mkkg.js} +7 -7
- package/dist/chunks/{location-services-gy63srrv.js → model-resolver-1p1dbgcw.js} +30 -30
- package/dist/chunks/{location-services-mcsbd5qr.js → model-resolver-1t43bwgc.js} +35 -35
- package/dist/chunks/{location-services-anjjwhm7.js → model-resolver-1w8tpf8c.js} +15 -15
- package/dist/chunks/{location-services-33w4ejhs.js → model-resolver-1ygqh575.js} +6 -6
- package/dist/chunks/{location-services-dahv1f9d.js → model-resolver-1zbgyhkq.js} +5 -5
- package/dist/chunks/{location-services-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-hqj0fwng.js → model-resolver-23mzt4g8.js} +5 -5
- package/dist/chunks/{location-services-bepr5r9g.js → model-resolver-27w6v31t.js} +12 -12
- package/dist/chunks/{location-services-btbmdjwj.js → model-resolver-29qym6xz.js} +4 -4
- package/dist/chunks/{location-services-72yd8x0q.js → model-resolver-2a545107.js} +9 -9
- package/dist/chunks/{location-services-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-0t9wd588.js → model-resolver-2aet7wja.js} +8 -8
- package/dist/chunks/{location-services-7cgmbdtc.js → model-resolver-2fhst40w.js} +9 -9
- package/dist/chunks/{location-services-46jba6n7.js → model-resolver-2g3v3994.js} +17 -17
- package/dist/chunks/{location-services-qa7075pb.js → model-resolver-2hg7qvzt.js} +5 -5
- package/dist/chunks/{location-services-dzw83ac5.js → model-resolver-2kewd2va.js} +9 -9
- package/dist/chunks/{location-services-rj7xh4qx.js → model-resolver-2nw4ywcq.js} +43 -43
- package/dist/chunks/{location-services-n674yaej.js → model-resolver-2pnbxc62.js} +11 -11
- package/dist/chunks/{location-services-ynd1z268.js → model-resolver-2q0dq8kx.js} +21 -21
- package/dist/chunks/{location-services-tvwbq7qm.js → model-resolver-2xwzbqew.js} +13 -13
- package/dist/chunks/{location-services-6k1exbnf.js → model-resolver-308n8ycv.js} +32 -32
- package/dist/chunks/{location-services-hnr8f6ws.js → model-resolver-30krspkn.js} +4 -4
- package/dist/chunks/{location-services-sf9kj30k.js → model-resolver-3f3sb00w.js} +8 -8
- package/dist/chunks/{location-services-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-jxzvcdat.js → model-resolver-3gz55zfp.js} +13 -13
- package/dist/chunks/{location-services-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-n2y4thpt.js → model-resolver-3kp3mpme.js} +11 -11
- package/dist/chunks/{location-services-6dr0wsep.js → model-resolver-3m0yxqav.js} +15 -15
- package/dist/chunks/{location-services-4mwpykj0.js → model-resolver-3ppptnan.js} +6 -6
- package/dist/chunks/{location-services-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-3v5tjer0.js → model-resolver-3v5tjer0.js} +2 -2
- package/dist/chunks/{location-services-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-p4n2n4ge.js → model-resolver-407ckyyg.js} +10 -10
- package/dist/chunks/{location-services-2xmq3vpz.js → model-resolver-42r0vthb.js} +29 -29
- package/dist/chunks/{location-services-137fq5y8.js → model-resolver-4ek442ae.js} +12 -12
- package/dist/chunks/{location-services-pmqjbaym.js → model-resolver-4h9h96qc.js} +5 -5
- package/dist/chunks/{location-services-8q61w4ba.js → model-resolver-4jk0qxj4.js} +6 -6
- package/dist/chunks/{location-services-qvreyy9g.js → model-resolver-4n607a2z.js} +5 -5
- package/dist/chunks/{location-services-4ts7tf6z.js → model-resolver-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-services-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-4cgedjbr.js → model-resolver-57pz8w7b.js} +3 -3
- package/dist/chunks/{location-services-jexxy024.js → model-resolver-5cmxdwv8.js} +3 -3
- package/dist/chunks/{location-services-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-kn4gmbet.js → model-resolver-5hvxb13s.js} +39 -39
- package/dist/chunks/{location-services-5sp908nt.js → model-resolver-5ms1yq5h.js} +15 -15
- package/dist/chunks/{location-services-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-74zfjb84.js → model-resolver-5vfmzxnc.js} +24 -24
- package/dist/chunks/{location-services-0ajh95vz.js → model-resolver-5zt844k8.js} +6 -6
- package/dist/chunks/{location-services-wnxjsq8q.js → model-resolver-60wzt80q.js} +12 -12
- package/dist/chunks/{location-services-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{location-services-9jgm88yh.js → model-resolver-66gm3q6y.js} +4 -4
- package/dist/chunks/{location-services-6t5a38x7.js → model-resolver-6cjrbf46.js} +23 -23
- package/dist/chunks/{location-services-qvzqmbkj.js → model-resolver-6qajxv40.js} +13 -13
- package/dist/chunks/{location-services-va9vvq6w.js → model-resolver-6sy3a1sn.js} +52 -52
- package/dist/chunks/{location-services-k5qgma61.js → model-resolver-70jrxnh2.js} +4 -4
- package/dist/chunks/{location-services-98wga3pz.js → model-resolver-7190hwh5.js} +5 -5
- package/dist/chunks/{location-services-f75zav2x.js → model-resolver-71az546q.js} +2 -2
- package/dist/chunks/{location-services-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-e9fq58ym.js → model-resolver-7c08zpn2.js} +5 -5
- package/dist/chunks/{location-services-8q3z2749.js → model-resolver-7k895je9.js} +22 -22
- package/dist/chunks/{location-services-czsbxpcf.js → model-resolver-7psexnws.js} +34 -34
- package/dist/chunks/{location-services-v20z2ba4.js → model-resolver-7r06ja40.js} +8 -8
- package/dist/chunks/{location-services-954vm9zf.js → model-resolver-7zdrdht4.js} +6 -6
- package/dist/chunks/{location-services-5dwaewr7.js → model-resolver-815qh5kc.js} +25 -25
- package/dist/chunks/{location-services-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{location-services-kzc3h1h3.js → model-resolver-86qzxe6p.js} +4 -4
- package/dist/chunks/{location-services-73esx66y.js → model-resolver-8a61e19g.js} +9 -9
- package/dist/chunks/{location-services-6wc3ddhe.js → model-resolver-8d6mt9k1.js} +20 -20
- package/dist/chunks/{location-services-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-7bn9z2m5.js → model-resolver-8ejhbdfw.js} +3 -3
- package/dist/chunks/{location-services-mmfgc0ta.js → model-resolver-8nsvf304.js} +9 -9
- package/dist/chunks/{location-services-jv2zxr46.js → model-resolver-8q54bcf9.js} +20 -20
- package/dist/chunks/{location-services-51hvf86a.js → model-resolver-8r34s1qs.js} +18 -18
- package/dist/chunks/{location-services-kkehhrdv.js → model-resolver-8r8vfh9s.js} +8 -8
- package/dist/chunks/{location-services-8sze2n9a.js → model-resolver-8sze2n9a.js} +2 -2
- package/dist/chunks/{location-services-y7s822h0.js → model-resolver-8w6zmm29.js} +5 -5
- package/dist/chunks/{location-services-stp9s0k1.js → model-resolver-91933pa3.js} +30 -30
- package/dist/chunks/{location-services-fy1jztjm.js → model-resolver-98nepyqz.js} +35 -35
- package/dist/chunks/{location-services-9rbsrj1n.js → model-resolver-99cqk6xv.js} +8 -8
- package/dist/chunks/{location-services-kb9j3d72.js → model-resolver-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-services-p37cw4rj.js → model-resolver-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-services-41rzyp0m.js → model-resolver-9hz0dqf5.js} +17 -17
- package/dist/chunks/{location-services-52ewndf0.js → model-resolver-9j6n7gng.js} +16 -16
- package/dist/chunks/{location-services-aa0cewsz.js → model-resolver-a28jd6sb.js} +8 -8
- package/dist/chunks/{location-services-ejfvs62f.js → model-resolver-a37e8zcw.js} +16 -16
- package/dist/chunks/{location-services-fer3tpfm.js → model-resolver-a8tp2z0n.js} +4 -4
- package/dist/chunks/{location-services-7446rjjn.js → model-resolver-aads351p.js} +1 -1
- package/dist/chunks/{location-services-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-1qwgzmm5.js → model-resolver-ae2sw1mw.js} +11 -11
- package/dist/chunks/{location-services-fkj2796b.js → model-resolver-akfm9xjf.js} +11 -11
- package/dist/chunks/{location-services-390gkeb4.js → model-resolver-ar6s7d1p.js} +10 -10
- package/dist/chunks/{location-services-pvvy0xx7.js → model-resolver-ay2xdk2g.js} +8 -8
- package/dist/chunks/{location-services-mkmsq5z4.js → model-resolver-b00xvs8t.js} +8 -8
- package/dist/chunks/{location-services-rr0pykap.js → model-resolver-b23z4qnb.js} +7 -7
- package/dist/chunks/{location-services-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
- package/dist/chunks/{location-services-kq8f09n9.js → model-resolver-b3vyfqsd.js} +22 -22
- package/dist/chunks/{location-services-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-c7nc5arv.js → model-resolver-b9hjm50k.js} +12 -12
- package/dist/chunks/{location-services-me3s3vv4.js → model-resolver-bpke0n4y.js} +14 -14
- package/dist/chunks/{location-services-41sxqzm2.js → model-resolver-cdahn06p.js} +17 -17
- package/dist/chunks/{location-services-29zgt1j1.js → model-resolver-cms9xxzm.js} +29 -29
- package/dist/chunks/{location-services-kbntd7j9.js → model-resolver-dbvwyaaj.js} +4 -4
- package/dist/chunks/{location-services-zdw92gas.js → model-resolver-df54n7py.js} +12 -12
- package/dist/chunks/{location-services-qsxf26yz.js → model-resolver-dg5bcj4q.js} +6 -6
- package/dist/chunks/{location-services-d3cqp89z.js → model-resolver-dg8e6nc3.js} +18 -18
- package/dist/chunks/{location-services-3fb919v3.js → model-resolver-djk2jk4m.js} +3 -3
- package/dist/chunks/{location-services-xkntkrq7.js → model-resolver-dmqcgk4z.js} +5 -5
- package/dist/chunks/{location-services-1ftb5ecd.js → model-resolver-dnv1ypcb.js} +5 -5
- package/dist/chunks/{location-services-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-services-7fnnxkfn.js → model-resolver-dyv1acsa.js} +29 -29
- package/dist/chunks/{location-services-sj40p6t1.js → model-resolver-ee0fmwbc.js} +13 -13
- package/dist/chunks/{location-services-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-hae1aec3.js → model-resolver-efmywzjq.js} +11 -11
- package/dist/chunks/{location-services-px41mg2v.js → model-resolver-eg948mnw.js} +22 -22
- package/dist/chunks/{location-services-sh8k95kz.js → model-resolver-ekfwq4bz.js} +17 -17
- package/dist/chunks/{location-services-eq1pz5kg.js → model-resolver-eq1pz5kg.js} +1 -1
- package/dist/chunks/{location-services-07nzww9r.js → model-resolver-et0g6e5t.js} +35 -35
- package/dist/chunks/model-resolver-etcmb7zb.js +252 -0
- package/dist/chunks/{location-services-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-ks2k44qg.js → model-resolver-fc6w6yf8.js} +10 -10
- package/dist/chunks/{location-services-607tc6va.js → model-resolver-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-services-73qcdwhn.js → model-resolver-fj6ewzsk.js} +43 -43
- package/dist/chunks/{location-services-9a1bht1a.js → model-resolver-fwfvrmc2.js} +4 -4
- package/dist/chunks/{location-services-wh6zw745.js → model-resolver-g6yfr6ja.js} +5 -5
- package/dist/chunks/{location-services-epx8jvpp.js → model-resolver-gaep76ax.js} +7 -7
- package/dist/chunks/{location-services-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-32ht5shb.js → model-resolver-gfgy34x3.js} +13 -13
- package/dist/chunks/{location-services-6xg7r5mv.js → model-resolver-gfvjxb5k.js} +1 -1
- package/dist/chunks/{location-services-egwe353v.js → model-resolver-gkwvz8ht.js} +3 -3
- package/dist/chunks/{location-services-tex88hhx.js → model-resolver-gp83hdk9.js} +44 -44
- package/dist/chunks/{location-services-a0805j8t.js → model-resolver-gse0ck6f.js} +3 -3
- package/dist/chunks/{location-services-jvf3yq6v.js → model-resolver-gst7axd9.js} +4 -4
- package/dist/chunks/{location-services-k69ha7yf.js → model-resolver-h0e1kdvt.js} +3 -3
- package/dist/chunks/{location-services-3cegwx68.js → model-resolver-h2b79v29.js} +2 -2
- package/dist/chunks/{location-services-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-nvpwytbf.js → model-resolver-h9hhdsha.js} +32 -32
- package/dist/chunks/{location-services-bvrvs8m0.js → model-resolver-h9jfnbdc.js} +26 -24
- package/dist/chunks/{location-services-ppkrdbkc.js → model-resolver-hbw5wb31.js} +5 -5
- package/dist/chunks/{location-services-0h4fw62m.js → model-resolver-hfm9a2d0.js} +2 -2
- package/dist/chunks/{location-services-sjv5qmhe.js → model-resolver-hns04bnr.js} +3 -3
- package/dist/chunks/{location-services-47ttr96j.js → model-resolver-j3w99yee.js} +20 -20
- package/dist/chunks/{location-services-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-n2hn6ctt.js → model-resolver-jv7q5gx3.js} +9 -9
- package/dist/chunks/{location-services-jw80jp6b.js → model-resolver-jw80jp6b.js} +1 -1
- package/dist/chunks/{location-services-syyy2hrt.js → model-resolver-jz1jgw4t.js} +4 -4
- package/dist/chunks/{location-services-k3c624dm.js → model-resolver-k3c624dm.js} +3 -3
- package/dist/chunks/{location-services-a0mgmfsd.js → model-resolver-k3hh5zvs.js} +23 -23
- package/dist/chunks/model-resolver-k40pk40z.js +26 -0
- package/dist/chunks/{location-services-ywqkw4ef.js → model-resolver-k5hqpvc4.js} +50 -50
- package/dist/chunks/{location-services-k8f3jam7.js → model-resolver-k8f3jam7.js} +2 -2
- package/dist/chunks/{location-services-573974vw.js → model-resolver-kan6af9e.js} +22 -22
- package/dist/chunks/{location-services-znt0jm4s.js → model-resolver-kmkk6jeb.js} +26 -26
- package/dist/chunks/{location-services-bg7m88fe.js → model-resolver-ksdw2mz7.js} +22 -22
- package/dist/chunks/{location-services-cf9x4s5a.js → model-resolver-kwasnf1h.js} +85 -85
- package/dist/chunks/{location-services-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-cjwpz2jw.js → model-resolver-m3ma28tp.js} +48 -48
- package/dist/chunks/{location-services-8bh61ygk.js → model-resolver-m5ddjyhh.js} +38 -38
- package/dist/chunks/{location-services-dp2bb01k.js → model-resolver-m73je9hm.js} +17 -17
- package/dist/chunks/{location-services-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-mazbtkaa.js → model-resolver-mazbtkaa.js} +2 -2
- package/dist/chunks/{location-services-ym7fjfg8.js → model-resolver-mkpw75cb.js} +9 -9
- package/dist/chunks/{location-services-dcr84v06.js → model-resolver-mmr9n9n6.js} +13 -13
- package/dist/chunks/{location-services-ffxkc1dx.js → model-resolver-mmxxk9et.js} +9 -9
- package/dist/chunks/{location-services-p6e7n9ts.js → model-resolver-mv3tycdn.js} +8 -8
- package/dist/chunks/{location-services-jv56kan4.js → model-resolver-myqg0pwz.js} +9 -9
- package/dist/chunks/{location-services-2nqey637.js → model-resolver-myw6wz04.js} +10 -10
- package/dist/chunks/{location-services-vjjxy6yb.js → model-resolver-n3vygs5b.js} +6 -6
- package/dist/chunks/{location-services-52n7b4yz.js → model-resolver-n5cn0tb9.js} +171 -171
- package/dist/chunks/{location-services-5tcm9639.js → model-resolver-n8sna2wb.js} +9 -9
- package/dist/chunks/{location-services-5ypfgryp.js → model-resolver-ne9ahhv5.js} +9 -9
- package/dist/chunks/{location-services-dppkjzwm.js → model-resolver-nkmk0g3b.js} +6 -6
- package/dist/chunks/model-resolver-npsq8fb9.js +507 -0
- package/dist/chunks/{location-services-xjy4ntws.js → model-resolver-p17a2fe3.js} +10 -10
- package/dist/chunks/{location-services-23pqda6t.js → model-resolver-pf2hb43r.js} +4 -4
- package/dist/chunks/{location-services-sqsz59mf.js → model-resolver-pf4vdr5b.js} +8 -8
- package/dist/chunks/model-resolver-phz3h32g.js +18 -0
- package/dist/chunks/{location-services-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-r2dnqh6n.js → model-resolver-pkqb68ka.js} +4 -4
- package/dist/chunks/{location-services-qv34apq4.js → model-resolver-prt7p8he.js} +7 -7
- package/dist/chunks/{location-services-rwb9syv2.js → model-resolver-pvxf3j12.js} +11 -11
- package/dist/chunks/{location-services-wvnyy24z.js → model-resolver-q00e2evn.js} +11 -11
- package/dist/chunks/{location-services-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-services-8r8xekqf.js → model-resolver-q4kmjcgn.js} +22 -22
- package/dist/chunks/{location-services-hybaecqw.js → model-resolver-q639q6k1.js} +30 -30
- package/dist/chunks/{location-services-ryr25ayn.js → model-resolver-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-services-8ssz5kmw.js → model-resolver-qkp9yadg.js} +55 -55
- package/dist/chunks/{location-services-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-f7mex5kc.js → model-resolver-qp1n1vy7.js} +5 -5
- package/dist/chunks/{location-services-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-j46s9538.js → model-resolver-qv8n8zgy.js} +25 -25
- package/dist/chunks/{location-services-m5wbs23r.js → model-resolver-qzvme19v.js} +21 -21
- package/dist/chunks/{location-services-gjwgx2c5.js → model-resolver-r2m716tb.js} +9 -9
- package/dist/chunks/{location-services-sx1n432n.js → model-resolver-r98e92ep.js} +4 -4
- package/dist/chunks/{location-services-4nj4bn9q.js → model-resolver-r9w3djhf.js} +9 -9
- package/dist/chunks/{location-services-f79znmm7.js → model-resolver-rc77m1db.js} +20 -20
- package/dist/chunks/{location-services-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-kc54qyfz.js → model-resolver-re5ckjab.js} +13 -13
- package/dist/chunks/{location-services-yy9j72hh.js → model-resolver-rkqabadz.js} +37 -37
- package/dist/chunks/{location-services-v04b82c1.js → model-resolver-rsdvke6b.js} +18 -18
- package/dist/chunks/{location-services-vp1kxwwv.js → model-resolver-rz5y6gq8.js} +21 -21
- package/dist/chunks/{location-services-5k3kwaah.js → model-resolver-rz96cyzp.js} +14 -14
- package/dist/chunks/{location-services-f29mbr7f.js → model-resolver-s30fyz93.js} +4 -4
- package/dist/chunks/{location-services-k2wwdrk0.js → model-resolver-shcrmf00.js} +15 -15
- package/dist/chunks/{location-services-4t9dhaga.js → model-resolver-skgj9ax5.js} +17 -17
- package/dist/chunks/{location-services-sw8y5djv.js → model-resolver-snag70gz.js} +27 -27
- package/dist/chunks/{location-services-5t1kfqwj.js → model-resolver-ss33t2y8.js} +6 -6
- package/dist/chunks/{location-services-a4fdsy1e.js → model-resolver-t3ta0jn1.js} +27 -27
- package/dist/chunks/{location-services-70h9fc4n.js → model-resolver-t4phn8cw.js} +1 -1
- package/dist/chunks/{location-services-36mwe6xe.js → model-resolver-t9kqhrb1.js} +13 -13
- package/dist/chunks/{location-services-j34cs6sj.js → model-resolver-taxap598.js} +21 -21
- package/dist/chunks/{location-services-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-services-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-rv7smp43.js → model-resolver-te3gjas8.js} +27 -27
- package/dist/chunks/{location-services-qv6w546m.js → model-resolver-tsp4afg5.js} +11 -11
- package/dist/chunks/{location-services-bmztvrbp.js → model-resolver-tvjfdkdg.js} +16 -16
- package/dist/chunks/{location-services-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-jybhndc8.js → model-resolver-tx6hj8vh.js} +26 -26
- package/dist/chunks/{location-services-4e8vs6eh.js → model-resolver-tx9w5tca.js} +8 -8
- package/dist/chunks/{location-services-p8f82s16.js → model-resolver-v2j2nd9r.js} +17 -17
- package/dist/chunks/{location-services-p08aktn5.js → model-resolver-v5g0yskm.js} +2 -2
- package/dist/chunks/{location-services-xgpppxj9.js → model-resolver-v7aegc90.js} +16 -16
- package/dist/chunks/{location-services-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-jey8fzdt.js → model-resolver-vff75evq.js} +9 -9
- package/dist/chunks/{location-services-5kw0n2ma.js → model-resolver-vkt5fbj2.js} +5 -5
- package/dist/chunks/{location-services-tw8eapz5.js → model-resolver-vwfaknzj.js} +42 -42
- package/dist/chunks/{location-services-57wdwfaz.js → model-resolver-vxtvrbna.js} +31 -31
- package/dist/chunks/{location-services-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-ejctqn46.js → model-resolver-wegd5fp2.js} +9 -9
- package/dist/chunks/{location-services-zk6h76qn.js → model-resolver-wkr32rjm.js} +14 -14
- package/dist/chunks/{location-services-9t7a50xb.js → model-resolver-wv396vej.js} +6 -6
- package/dist/chunks/{location-services-775wrvb1.js → model-resolver-wv3dv6v0.js} +23 -23
- package/dist/chunks/{location-services-geb4a7yy.js → model-resolver-ww2b7n8h.js} +8 -8
- package/dist/chunks/{location-services-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-dm1xdvy1.js → model-resolver-x3pwywrr.js} +25 -25
- package/dist/chunks/{location-services-7wsn8jkm.js → model-resolver-x73h0cn1.js} +4 -4
- package/dist/chunks/{location-services-xfkkasph.js → model-resolver-xfkkasph.js} +1 -1
- package/dist/chunks/{location-services-0y8qv4v3.js → model-resolver-xk8t8a3e.js} +26 -26
- package/dist/chunks/{location-services-jr693m90.js → model-resolver-xv43dmfe.js} +6 -6
- package/dist/chunks/{location-services-h6xkfdk1.js → model-resolver-xvyvc58w.js} +2 -2
- package/dist/chunks/{location-services-mevczv93.js → model-resolver-y144jg7q.js} +20 -20
- package/dist/chunks/{location-services-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-az6fhp2f.js → model-resolver-y2naxmkz.js} +29 -29
- package/dist/chunks/{location-services-me9c30nh.js → model-resolver-y3nba2x3.js} +4 -4
- package/dist/chunks/{location-services-qjb5tr49.js → model-resolver-y4z5xdc7.js} +16 -16
- package/dist/chunks/{location-services-dnxkq42g.js → model-resolver-y6bex35g.js} +4 -4
- package/dist/chunks/{location-services-3zt9s3jj.js → model-resolver-y7ts3hqa.js} +15 -15
- package/dist/chunks/{location-services-qh51x0bq.js → model-resolver-y8ny8g7a.js} +20 -20
- package/dist/chunks/{location-services-rtdzv965.js → model-resolver-yacwftk6.js} +9 -9
- package/dist/chunks/{location-services-amfvtdma.js → model-resolver-ybgaf8pp.js} +8 -8
- package/dist/chunks/{location-services-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-services-67jv4443.js → model-resolver-ypnw9vt7.js} +14 -14
- package/dist/chunks/{location-services-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-expg6636.js → model-resolver-yyjgzmbq.js} +81 -81
- package/dist/chunks/{location-services-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-1k85hbs2.js → model-resolver-z1wzh4em.js} +20 -20
- package/dist/chunks/{location-services-vr9n9w3y.js → model-resolver-z4qahwf9.js} +21 -21
- package/dist/chunks/{location-services-mjqndqed.js → model-resolver-zc5g640q.js} +5 -5
- package/dist/chunks/{location-services-04zc97jq.js → model-resolver-zfe5250d.js} +17 -17
- package/dist/chunks/{location-services-x0amqr8p.js → model-resolver-zh60fjan.js} +10 -10
- package/dist/chunks/{location-services-vcn47bng.js → model-resolver-zm76h1z5.js} +34 -34
- package/dist/chunks/{location-services-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-w4gvx3xt.js → model-resolver-ztb5xmgg.js} +3 -3
- package/dist/chunks/{location-services-vz7e0fzz.js → model-resolver-zw9m0b6f.js} +19 -19
- package/dist/chunks/{location-services-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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/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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- 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 +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- 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 +127 -127
- 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 +96 -96
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +3 -1
- package/dist/persistent-pty/binary.node.js +2 -0
- package/dist/persistent-pty/binary.workerd.js +2 -0
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- 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 +95 -95
- 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 +129 -129
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +124 -124
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/persistent-pty/binary.bun.d.ts +1 -0
- package/dist/types/persistent-pty/binary.node.d.ts +1 -0
- package/dist/types/persistent-pty/binary.workerd.d.ts +1 -0
- package/dist/types/persistent-pty/index.d.ts +1 -0
- 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 +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/location-services-0df77v9g.js +0 -507
- package/dist/chunks/location-services-c9d4en3z.js +0 -252
- package/dist/chunks/location-services-qdyb70sk.js +0 -18
- package/dist/chunks/location-services-tqewcpxk.js +0 -26
- /package/dist/chunks/{location-services-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-70jrxnh2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-xvyvc58w.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service57,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node60
|
|
13
|
+
} from "./model-resolver-zw9m0b6f.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service13,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node15
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
44
|
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service83;
|
|
61
61
|
const location = yield* Service80;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service57;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node15 = makeLocationNode({
|
|
273
|
+
service: Service13,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node87, node84,
|
|
275
|
+
deps: [node87, node84, node60]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-xvyvc58w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./model-resolver-fj6ewzsk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./model-resolver-ypnw9vt7.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin34
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin34 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service58;
|
|
34
34
|
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service64;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin44 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin34, exports_worktree };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./model-resolver-fj6ewzsk.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin22
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin22 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service58;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin37 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin22, exports_websearch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-70jrxnh2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-6sy3a1sn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -18,15 +18,15 @@ __export(exports_skill5, {
|
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event5,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service33,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -38,9 +38,9 @@ import { Event as Event5 } from "@opencode/schema/skill";
|
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service33 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service83;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service33.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node36 = makeLocationNode({
|
|
112
|
+
service: Service33,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node87]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available2, toModelOutput3, prepare3, Service33, node36, exports_skill5, Event5 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-a8tp2z0n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-70jrxnh2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./model-resolver-91933pa3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-q639q6k1.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID9,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-cms9xxzm.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID10.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID10.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -181,7 +181,7 @@ var OpenAIPlugin3 = define({
|
|
|
181
181
|
});
|
|
182
182
|
yield* load();
|
|
183
183
|
yield* ctx.provider.transform((providers) => {
|
|
184
|
-
const item = providers.get(
|
|
184
|
+
const item = providers.get(ID9.openai);
|
|
185
185
|
if (!item)
|
|
186
186
|
return;
|
|
187
187
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -200,7 +200,7 @@ var OpenAIPlugin3 = define({
|
|
|
200
200
|
});
|
|
201
201
|
});
|
|
202
202
|
yield* ctx.model.transform((models) => {
|
|
203
|
-
for (const model of models.list(
|
|
203
|
+
for (const model of models.list(ID9.openai)) {
|
|
204
204
|
models.update(model.providerID, model.id, (draft) => {
|
|
205
205
|
if (!chatgpt)
|
|
206
206
|
return;
|
|
@@ -231,14 +231,14 @@ var OpenAIPlugin3 = define({
|
|
|
231
231
|
}));
|
|
232
232
|
evt.headers.originator = "opencode";
|
|
233
233
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
234
|
-
}), { providerID:
|
|
234
|
+
}), { providerID: ID9.openai });
|
|
235
235
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
236
236
|
delete evt.options.maxTokens;
|
|
237
237
|
});
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
239
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID9.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-xvyvc58w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./model-resolver-taxap598.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./model-resolver-rz96cyzp.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-z1wzh4em.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service75
|
|
26
|
+
} from "./model-resolver-6sy3a1sn.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service74
|
|
29
|
+
} from "./model-resolver-3m0yxqav.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input10,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin47,
|
|
41
|
+
name: () => name10,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name10 = "grep";
|
|
48
|
+
var Input10 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input2 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output6 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin47 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service45;
|
|
90
|
+
const ripgrep = yield* Service44;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service74;
|
|
93
|
+
const permission = yield* Service75;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name10,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input10,
|
|
99
|
+
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name10,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin2 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin2 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin2 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name10, Input10, Output6, toModelContent5, Plugin47, exports_grep };
|