@opencode-ai/core 0.0.0-dev-19265 → 0.0.0-dev-19272
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-mutation-r9ycfsjh.js → file-00reg2c2.js} +15 -15
- package/dist/chunks/{location-mutation-cz67sxjn.js → file-027zpkb9.js} +46 -46
- package/dist/chunks/{location-mutation-553s8jdp.js → file-0cz8qjvn.js} +24 -24
- package/dist/chunks/{location-mutation-0e0xafbb.js → file-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-mutation-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-mutation-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-mutation-awqyf91x.js → file-0xd2d7hb.js} +5 -5
- package/dist/chunks/{location-mutation-m1e4fd8e.js → file-10ac5mb1.js} +4 -4
- package/dist/chunks/{location-mutation-m4535t75.js → file-15q8ja5w.js} +8 -8
- package/dist/chunks/{location-mutation-8qgytc3b.js → file-16067esn.js} +10 -10
- package/dist/chunks/{location-mutation-shcc5cqr.js → file-18y9d6e3.js} +8 -8
- package/dist/chunks/{location-mutation-1ct4r87x.js → file-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-mutation-68xdzhvj.js → file-1n6f46vg.js} +12 -12
- package/dist/chunks/{location-mutation-gac4wd5h.js → file-1sh6j74x.js} +25 -25
- package/dist/chunks/{location-mutation-2pqjqc52.js → file-1twb386n.js} +19 -19
- package/dist/chunks/{location-mutation-qkdp5fnc.js → file-1v2sb74s.js} +22 -22
- package/dist/chunks/{location-mutation-ka4xewm7.js → file-1ywdb1gs.js} +14 -14
- package/dist/chunks/{location-mutation-1n60r04w.js → file-1z0n5a5e.js} +1 -1
- package/dist/chunks/{location-mutation-ypzjytvr.js → file-1zmz9phy.js} +56 -56
- package/dist/chunks/{location-mutation-x152d5b0.js → file-1zyg6qvf.js} +13 -13
- package/dist/chunks/{location-mutation-tzsk1z50.js → file-20gp0hkm.js} +5 -5
- package/dist/chunks/{location-mutation-3f40cv46.js → file-20m0c9gs.js} +43 -43
- package/dist/chunks/{location-mutation-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-b0s951gt.js → file-2d967x0d.js} +8 -8
- package/dist/chunks/{location-mutation-yq90rf8j.js → file-2e59x59w.js} +22 -22
- package/dist/chunks/{location-mutation-ht4enzqw.js → file-2f3p36qg.js} +53 -53
- package/dist/chunks/{location-mutation-2ht70gj7.js → file-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-mutation-748fdr5v.js → file-2hxs042s.js} +11 -11
- package/dist/chunks/{location-mutation-c76spgvt.js → file-2j2hxhmw.js} +8 -8
- package/dist/chunks/{location-mutation-aw1ne1gp.js → file-2mzaxh2c.js} +24 -24
- package/dist/chunks/{location-mutation-2e8esc5r.js → file-31fepvhr.js} +14 -14
- package/dist/chunks/{location-mutation-5g5dhpwv.js → file-3bm961pq.js} +28 -28
- package/dist/chunks/{location-mutation-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/file-3jby5n97.js +247 -0
- package/dist/chunks/{location-mutation-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-mutation-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-yd30tg6k.js → file-3wqg4ya9.js} +7 -7
- package/dist/chunks/{location-mutation-0e92dp25.js → file-41783rkf.js} +11 -11
- package/dist/chunks/{location-mutation-ycv9gdpt.js → file-42dkd7sx.js} +9 -9
- package/dist/chunks/{location-mutation-hyf5hyh1.js → file-439v5pv6.js} +17 -17
- package/dist/chunks/{location-mutation-454k5vzh.js → file-454k5vzh.js} +1 -1
- package/dist/chunks/{location-mutation-nhy5jxhy.js → file-47gsdddb.js} +5 -5
- package/dist/chunks/{location-mutation-50tkbn4e.js → file-4b2p4jhk.js} +25 -25
- package/dist/chunks/{location-mutation-n9h62wb7.js → file-4meew9ge.js} +27 -27
- package/dist/chunks/{location-mutation-a1b67f26.js → file-4q810h8d.js} +10 -10
- package/dist/chunks/{location-mutation-4r2nyarf.js → file-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-mutation-r5w2ssxe.js → file-4x0nmcjx.js} +9 -9
- package/dist/chunks/{location-mutation-hw0vrq4f.js → file-4xq8pne6.js} +15 -15
- package/dist/chunks/{location-mutation-wgy2tz6n.js → file-4xzxjr5n.js} +4 -4
- package/dist/chunks/{location-mutation-s90j9acr.js → file-55n3z1fp.js} +25 -25
- package/dist/chunks/{location-mutation-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-mutation-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-mutation-41yb40nv.js → file-5qw53pm7.js} +8 -8
- package/dist/chunks/{location-mutation-m5shh40j.js → file-5raq1rfw.js} +2 -2
- package/dist/chunks/{location-mutation-c0s68pbv.js → file-5sz2f1pr.js} +3 -3
- package/dist/chunks/{location-mutation-bgjb0rnk.js → file-63qhkrdy.js} +6 -6
- package/dist/chunks/{location-mutation-ddwschm6.js → file-68fqgny1.js} +11 -11
- package/dist/chunks/{location-mutation-7t7t8jv6.js → file-6cv54pwj.js} +13 -13
- package/dist/chunks/{location-mutation-hf2z2kry.js → file-6et5ytx9.js} +15 -15
- package/dist/chunks/{location-mutation-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{location-mutation-zv0544jz.js → file-6hh8tjw2.js} +4 -4
- package/dist/chunks/{location-mutation-knjm772m.js → file-6jzsnms4.js} +11 -11
- package/dist/chunks/{location-mutation-hspjz0fp.js → file-6n4t6cts.js} +9 -9
- package/dist/chunks/{location-mutation-w18dhe75.js → file-6qmx0jzx.js} +8 -8
- package/dist/chunks/{location-mutation-wkjngxy5.js → file-6s48shje.js} +3 -3
- package/dist/chunks/{location-mutation-w4mk8dh2.js → file-700rn1pz.js} +68 -68
- package/dist/chunks/{location-mutation-711hfp6y.js → file-711hfp6y.js} +2 -2
- package/dist/chunks/{location-mutation-mqvykccq.js → file-714e9pdw.js} +23 -23
- package/dist/chunks/{location-mutation-72nftnjy.js → file-72nftnjy.js} +2 -2
- package/dist/chunks/{location-mutation-97f5v037.js → file-75yf2d83.js} +8 -8
- package/dist/chunks/{location-mutation-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-qkgxthm5.js → file-7cd45grp.js} +5 -5
- package/dist/chunks/{location-mutation-jk7xm99c.js → file-7dpy3wbt.js} +38 -34
- package/dist/chunks/{location-mutation-kd9jwy8m.js → file-7n0kdm8r.js} +24 -24
- package/dist/chunks/{location-mutation-qcb7wx0s.js → file-7n49nt1a.js} +46 -46
- package/dist/chunks/{location-mutation-20qgxnzb.js → file-7s38b6sy.js} +35 -35
- package/dist/chunks/{location-mutation-jmww4671.js → file-7t8zkc5k.js} +13 -13
- package/dist/chunks/{location-mutation-sy6p2gsk.js → file-7v18zwys.js} +5 -5
- package/dist/chunks/{location-mutation-n8c291r7.js → file-7w3s9kd0.js} +6 -6
- package/dist/chunks/file-7zk4hah4.js +4 -0
- package/dist/chunks/{location-mutation-35020cfq.js → file-80pk0g76.js} +48 -48
- package/dist/chunks/{location-mutation-a2zhvqnn.js → file-86qb2ahz.js} +86 -86
- package/dist/chunks/{location-mutation-f29br4f3.js → file-8987rwtd.js} +20 -20
- package/dist/chunks/{location-mutation-kkgdx70c.js → file-89kcqtpa.js} +1 -1
- package/dist/chunks/{location-mutation-21j9wzy5.js → file-8jfkartp.js} +7 -7
- package/dist/chunks/{location-mutation-kpwdvb92.js → file-8mx8wt4z.js} +22 -22
- package/dist/chunks/{location-mutation-qj769r8n.js → file-8xyq3q5x.js} +11 -11
- package/dist/chunks/{location-mutation-gwt190dm.js → file-90hty9ag.js} +8 -8
- package/dist/chunks/{location-mutation-93a8yfjt.js → file-93a8yfjt.js} +2 -2
- package/dist/chunks/{location-mutation-xjteqga3.js → file-96mf783c.js} +13 -13
- package/dist/chunks/{location-mutation-n3qr3rmb.js → file-995kfgp5.js} +54 -54
- package/dist/chunks/{location-mutation-1vs8d3gz.js → file-9eaw7gz6.js} +11 -11
- package/dist/chunks/{location-mutation-03vhms7f.js → file-9qj19fry.js} +17 -17
- package/dist/chunks/{location-mutation-gewsm2ew.js → file-9tdr4743.js} +11 -11
- package/dist/chunks/{location-mutation-sxhwk0c0.js → file-9tjsbxxt.js} +4 -4
- package/dist/chunks/{location-mutation-gk3v9xn9.js → file-a0tz1fcg.js} +5 -5
- package/dist/chunks/{location-mutation-4vye7c7y.js → file-a2t3hdqf.js} +22 -22
- package/dist/chunks/{location-mutation-qmt2dn3e.js → file-a3m9jqrh.js} +38 -38
- package/dist/chunks/{location-mutation-mv7e0man.js → file-a760ba0t.js} +37 -37
- package/dist/chunks/{location-mutation-wnxzw7ag.js → file-aa4w0yyg.js} +9 -9
- package/dist/chunks/{location-mutation-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/file-abx9dtfn.js +176 -0
- package/dist/chunks/{location-mutation-36vsdr69.js → file-acd73yp7.js} +8 -8
- package/dist/chunks/{location-mutation-bpynh60y.js → file-avp4f6gq.js} +23 -23
- package/dist/chunks/{location-mutation-et6stkf1.js → file-avr9ncqd.js} +3 -3
- package/dist/chunks/{location-mutation-t9nma0pe.js → file-aw7atsc2.js} +30 -30
- package/dist/chunks/{location-mutation-azbx08pf.js → file-azbx08pf.js} +2 -2
- package/dist/chunks/{location-mutation-w8aq7x5e.js → file-azhj5vsd.js} +4 -4
- package/dist/chunks/{location-mutation-6s66q6ye.js → file-b2heckpg.js} +9 -9
- package/dist/chunks/{location-mutation-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-b9wsbatv.js → file-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-mutation-4ky4z00x.js → file-baqyzacq.js} +18 -18
- package/dist/chunks/{location-mutation-ar7xhsq5.js → file-bd8895yt.js} +9 -9
- package/dist/chunks/{location-mutation-p6ncrwfm.js → file-bfqnwd64.js} +24 -24
- package/dist/chunks/{location-mutation-qbs0v8xf.js → file-bvefb309.js} +31 -31
- package/dist/chunks/{location-mutation-p0agm8mf.js → file-c4j9y4rn.js} +6 -6
- package/dist/chunks/{location-mutation-12gp3jnp.js → file-c614c79v.js} +28 -28
- package/dist/chunks/{location-mutation-fcjfmm05.js → file-ch51bjm6.js} +33 -33
- package/dist/chunks/{location-mutation-2vtpzmv5.js → file-ch7tgcz2.js} +6 -6
- package/dist/chunks/{location-mutation-y375pa0k.js → file-d01fwvvs.js} +32 -32
- package/dist/chunks/{location-mutation-r9vyccv1.js → file-d1r6xp0s.js} +1 -1
- package/dist/chunks/{location-mutation-dpkg50ah.js → file-dpkg50ah.js} +1 -1
- package/dist/chunks/file-dxj72tfx.js +18 -0
- package/dist/chunks/{location-mutation-5d4cs7v3.js → file-ec12g7es.js} +10 -10
- package/dist/chunks/{location-mutation-799zcqwb.js → file-edp744gf.js} +17 -17
- package/dist/chunks/{location-mutation-9v90f9cc.js → file-egdvntj9.js} +4 -4
- package/dist/chunks/{location-mutation-m7k42b88.js → file-egvbpfah.js} +18 -18
- package/dist/chunks/{location-mutation-6fb56410.js → file-em4jqsae.js} +9 -9
- package/dist/chunks/{location-mutation-4s7cwcwm.js → file-eqadegh7.js} +17 -17
- package/dist/chunks/{location-mutation-ty1a3g8x.js → file-es7k2nge.js} +18 -18
- package/dist/chunks/{location-mutation-vj7t3whg.js → file-ev2rrb4j.js} +13 -13
- package/dist/chunks/{location-mutation-2mwhmxmk.js → file-f153bnw9.js} +28 -28
- package/dist/chunks/{location-mutation-ka1d01ec.js → file-famd3pv6.js} +5 -5
- package/dist/chunks/{location-mutation-k81hrtfb.js → file-fhmwnx54.js} +16 -16
- package/dist/chunks/{location-mutation-9gp79knm.js → file-fqqeed3e.js} +3 -3
- package/dist/chunks/{location-mutation-qw3ch0ft.js → file-fv5yxb1g.js} +15 -15
- package/dist/chunks/{location-mutation-r9f0vktm.js → file-fvkqsvkf.js} +9 -9
- package/dist/chunks/{location-mutation-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mutation-fxypknc8.js → file-fxypknc8.js} +1 -1
- package/dist/chunks/{location-mutation-g2dy4bvs.js → file-g2dy4bvs.js} +3 -3
- package/dist/chunks/{location-mutation-g2gt0w0k.js → file-g2gt0w0k.js} +2 -2
- package/dist/chunks/{location-mutation-kbmmvjk9.js → file-g8e12k89.js} +28 -28
- package/dist/chunks/{location-mutation-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{location-mutation-fffgckys.js → file-genak0r7.js} +29 -29
- package/dist/chunks/{location-mutation-hn57h045.js → file-gst7axd9.js} +4 -4
- package/dist/chunks/{location-mutation-fxa32nyw.js → file-gt6yvprt.js} +25 -25
- package/dist/chunks/{location-mutation-fp55xymf.js → file-gtx234ja.js} +11 -11
- package/dist/chunks/{location-mutation-71t2fpqh.js → file-h0epfjdv.js} +8 -8
- package/dist/chunks/{location-mutation-2ryxe2ae.js → file-h1jrq5re.js} +22 -22
- package/dist/chunks/{location-mutation-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-m1wt4yw3.js → file-hdm5hsgj.js} +11 -11
- package/dist/chunks/{location-mutation-heyhwy2w.js → file-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-mutation-vyffwbyc.js → file-hr8t3zyz.js} +27 -27
- package/dist/chunks/{location-mutation-8m0rbw91.js → file-hs6n7c7c.js} +3 -3
- package/dist/chunks/{location-mutation-d2qvdcch.js → file-htgpf65e.js} +4 -4
- package/dist/chunks/{location-mutation-kvsjn1dr.js → file-hw4pv20g.js} +2 -2
- package/dist/chunks/{location-mutation-ja84rtcf.js → file-ja84rtcf.js} +2 -2
- package/dist/chunks/{location-mutation-2wvndqp8.js → file-jpjp7rjs.js} +35 -35
- package/dist/chunks/{location-mutation-fzmwc9f1.js → file-jq3nctfs.js} +1 -1
- package/dist/chunks/{location-mutation-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-mutation-5as21n7y.js → file-k7hkxkr1.js} +25 -25
- package/dist/chunks/{location-mutation-rt66ex88.js → file-kb18vgps.js} +5 -5
- package/dist/chunks/{location-mutation-mgaz471z.js → file-kdvt95pv.js} +1 -1
- package/dist/chunks/{location-mutation-r3tjqq5a.js → file-ke5ewz7h.js} +35 -35
- package/dist/chunks/{location-mutation-m78vmq2a.js → file-kejcdhme.js} +32 -32
- package/dist/chunks/{location-mutation-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-jbpw8vb5.js → file-kg4h0fdk.js} +7 -7
- package/dist/chunks/{location-mutation-ckfk1z8g.js → file-kh7gnveq.js} +40 -40
- package/dist/chunks/{location-mutation-cbrkgqh6.js → file-kkak2gjn.js} +35 -35
- package/dist/chunks/{location-mutation-9exw0jng.js → file-kp5z882f.js} +12 -12
- package/dist/chunks/{location-mutation-02gxsad2.js → file-ky9h9abj.js} +27 -27
- package/dist/chunks/{location-mutation-9c0wr5p2.js → file-m6vwhxae.js} +13 -13
- package/dist/chunks/{location-mutation-7zq9f41z.js → file-m7zcd501.js} +28 -28
- package/dist/chunks/{location-mutation-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-jr3tywxk.js → file-magykp64.js} +21 -21
- package/dist/chunks/{location-mutation-5jntx97f.js → file-mfdhqe4j.js} +17 -17
- package/dist/chunks/{location-mutation-56gdpj1q.js → file-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-mutation-v0ppz6dn.js → file-mjypb2e5.js} +8 -8
- package/dist/chunks/{location-mutation-6h4qnp75.js → file-mpxyhn9d.js} +9 -9
- package/dist/chunks/{location-mutation-7vqan3q0.js → file-mzfb76av.js} +4 -4
- package/dist/chunks/{location-mutation-9vtsvkk2.js → file-nj9fmwgy.js} +6 -6
- package/dist/chunks/{location-mutation-bkpjey77.js → file-nq9f4j49.js} +11 -11
- package/dist/chunks/{location-mutation-f2s4jkve.js → file-nrewnjs6.js} +20 -20
- package/dist/chunks/{location-mutation-zzzrwwzt.js → file-nsjxktg3.js} +30 -30
- package/dist/chunks/{location-mutation-rrxvfwpe.js → file-p3n0cezx.js} +4 -4
- package/dist/chunks/file-p46ta686.js +462 -0
- package/dist/chunks/{location-mutation-m33qb69d.js → file-p7g53rbe.js} +18 -18
- package/dist/chunks/{location-mutation-63evnryy.js → file-p7sv0kv1.js} +2 -2
- package/dist/chunks/{location-mutation-j935v87r.js → file-paphc93g.js} +2 -2
- package/dist/chunks/{location-mutation-eb6vrzdm.js → file-pawcwqnj.js} +24 -24
- package/dist/chunks/{location-mutation-ce5fknq2.js → file-pfq1ksym.js} +5 -5
- package/dist/chunks/{location-mutation-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-637qq8n2.js → file-pt34y05q.js} +9 -9
- package/dist/chunks/{location-mutation-cdzen2fp.js → file-q2qmez4x.js} +39 -39
- package/dist/chunks/{location-mutation-7dqw4kz8.js → file-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-mutation-xq7e5js0.js → file-qkckfa6e.js} +32 -32
- package/dist/chunks/{location-mutation-pmddwhyc.js → file-qq8am05g.js} +6 -6
- package/dist/chunks/{location-mutation-e4rp866n.js → file-qqk5wyw8.js} +9 -9
- package/dist/chunks/{location-mutation-f2yebhdz.js → file-qs32hcek.js} +1 -1
- package/dist/chunks/{location-mutation-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-qvbcabdc.js → file-qvbcabdc.js} +2 -2
- package/dist/chunks/file-qzmfez1f.js +22 -0
- package/dist/chunks/{location-mutation-2jmaghvr.js → file-r33ff4dw.js} +6 -6
- package/dist/chunks/{location-mutation-mvfsc1pv.js → file-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-mutation-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-mutation-yp2x3t23.js → file-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-mutation-3j8sdtpz.js → file-r98e92ep.js} +4 -4
- package/dist/chunks/{location-mutation-7k08vs8b.js → file-rbkeg46f.js} +18 -18
- package/dist/chunks/{location-mutation-7w3fy9tn.js → file-rbnbtzf4.js} +21 -21
- package/dist/chunks/{location-mutation-9yhwza0s.js → file-rdqyyj99.js} +16 -16
- package/dist/chunks/{location-mutation-c9setr9m.js → file-rg6ph823.js} +1 -1
- package/dist/chunks/{location-mutation-bpd1017f.js → file-rra91dx6.js} +5 -5
- package/dist/chunks/{location-mutation-azhfbxv8.js → file-rx882sts.js} +10 -10
- package/dist/chunks/{location-mutation-9q0nykm9.js → file-rxez074z.js} +8 -8
- package/dist/chunks/{location-mutation-kvn4jwr8.js → file-s0611vc9.js} +26 -26
- package/dist/chunks/{location-mutation-3xaa90hq.js → file-s8f0jrtd.js} +7 -7
- package/dist/chunks/{location-mutation-sba4qhjf.js → file-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-mutation-a809ybt0.js → file-sbybs2v2.js} +7 -7
- package/dist/chunks/{location-mutation-y12sg33x.js → file-sc6hcnnz.js} +27 -27
- package/dist/chunks/{location-mutation-01fsmxsp.js → file-sc8za2qh.js} +23 -23
- package/dist/chunks/{location-mutation-ej5745y0.js → file-shn0ywqn.js} +36 -36
- package/dist/chunks/{location-mutation-73j16qsm.js → file-sjtsqb9r.js} +24 -24
- package/dist/chunks/{location-mutation-k0zpnkm5.js → file-sst1nn41.js} +6 -6
- package/dist/chunks/{location-mutation-4nkw4gk2.js → file-t1qabjyn.js} +1 -1
- package/dist/chunks/{location-mutation-31jwxfn6.js → file-t7fxkjbz.js} +31 -31
- package/dist/chunks/{location-mutation-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-4zpra80a.js → file-tb8dpv5p.js} +28 -28
- package/dist/chunks/{location-mutation-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-mutation-f3ffyk20.js → file-tdr9t4mh.js} +41 -41
- package/dist/chunks/{location-mutation-9kgqjvwx.js → file-thfztt2m.js} +46 -46
- package/dist/chunks/{location-mutation-tjykrgmx.js → file-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-mutation-asrxajhv.js → file-tk2rvp0q.js} +9 -9
- package/dist/chunks/{location-mutation-vcexzd7a.js → file-v6y89d02.js} +10 -10
- package/dist/chunks/{location-mutation-8bwp8r5g.js → file-v9zxr500.js} +17 -17
- package/dist/chunks/{location-mutation-0q3qqg02.js → file-vbj99q9w.js} +4 -4
- package/dist/chunks/{location-mutation-s326q968.js → file-vbr8k7xx.js} +22 -22
- package/dist/chunks/{location-mutation-r2kav4az.js → file-vf86qhjs.js} +19 -19
- package/dist/chunks/{location-mutation-y15349mw.js → file-vg48r056.js} +11 -11
- package/dist/chunks/{location-mutation-kaxevc9a.js → file-vhda22q0.js} +30 -30
- package/dist/chunks/{location-mutation-jsbj9q3j.js → file-vmw8ntz2.js} +12 -12
- package/dist/chunks/{location-mutation-k3hajes3.js → file-vrffs025.js} +9 -9
- package/dist/chunks/{location-mutation-jrye6x50.js → file-vtvdbtra.js} +29 -29
- package/dist/chunks/{location-mutation-7vmz4e7y.js → file-vvxk4g51.js} +90 -90
- package/dist/chunks/{location-mutation-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-ng39vjdn.js → file-wgc2mr3y.js} +2 -2
- package/dist/chunks/{location-mutation-t9bfha1v.js → file-wysnsbqm.js} +7 -7
- package/dist/chunks/{location-mutation-j9pg5mya.js → file-x17e5jjd.js} +4 -4
- package/dist/chunks/{location-mutation-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-vfgzh0ae.js → file-x42cedzz.js} +15 -15
- package/dist/chunks/{location-mutation-y35stt4b.js → file-xmqh3v6j.js} +32 -32
- package/dist/chunks/{location-mutation-2xwvjr3g.js → file-xt79nmzr.js} +11 -11
- package/dist/chunks/{location-mutation-vqm9gcn5.js → file-xzzxrhge.js} +6 -6
- package/dist/chunks/{location-mutation-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-n9mfcsdf.js → file-y2jxh97m.js} +12 -12
- package/dist/chunks/{location-mutation-qbxe7mx5.js → file-y7f18nsc.js} +19 -19
- package/dist/chunks/{location-mutation-y57q34f9.js → file-y9kct8vd.js} +8 -8
- package/dist/chunks/{location-mutation-695tgtrq.js → file-yaamn39p.js} +11 -11
- package/dist/chunks/{location-mutation-yg7sb877.js → file-yg7sb877.js} +2 -2
- package/dist/chunks/{location-mutation-pjg91gph.js → file-yjagf5z6.js} +20 -20
- package/dist/chunks/{location-mutation-wrpe40w9.js → file-yjcamwv1.js} +11 -11
- package/dist/chunks/{location-mutation-7b0v2y0d.js → file-ytg3twhn.js} +14 -14
- package/dist/chunks/{location-mutation-r9hy8h05.js → file-yvfkj8fv.js} +5 -5
- package/dist/chunks/{location-mutation-dff6ksqg.js → file-yxptnz34.js} +30 -30
- package/dist/chunks/{location-mutation-z1k01bn4.js → file-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-mutation-nrrren0x.js → file-z3ksxrt6.js} +11 -11
- package/dist/chunks/{location-mutation-esba6vsp.js → file-z44vkrmb.js} +4 -4
- package/dist/chunks/{location-mutation-29x78va6.js → file-z63w68vq.js} +6 -6
- package/dist/chunks/{location-mutation-b5ffs7mv.js → file-zdenmwdn.js} +167 -167
- package/dist/chunks/{location-mutation-q1wnce7s.js → file-zk5c2nev.js} +21 -21
- package/dist/chunks/{location-mutation-c0w89p9e.js → file-zpfprgc4.js} +14 -14
- package/dist/chunks/{location-mutation-s2540qmh.js → file-zqx2gt1x.js} +20 -20
- package/dist/chunks/{location-mutation-2y04n8jz.js → file-zrqqs77b.js} +3 -3
- package/dist/chunks/{location-mutation-j9x2r4mk.js → file-zrt4f2sp.js} +12 -12
- package/dist/chunks/{location-mutation-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -360
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -351
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -348
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -322
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +84 -0
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -337
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +79 -79
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +80 -80
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +84 -84
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/plugin/provider/digitalocean.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/location-mutation-0hbxperx.js +0 -4
- package/dist/chunks/location-mutation-35zkktjv.js +0 -462
- package/dist/chunks/location-mutation-q509s3k3.js +0 -18
- package/dist/chunks/location-mutation-qvtmkthx.js +0 -22
- package/dist/chunks/location-mutation-xy05m0bc.js +0 -247
- /package/dist/chunks/{location-mutation-0fabt78z.js → file-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3t738kvx.js → file-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-41nvscxy.js → file-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-982e01ww.js → file-982e01ww.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mntxs535.js → file-mntxs535.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-p8qxwesx.js → file-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-se0s1eqw.js → file-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node64
|
|
9
|
+
} from "./file-2mzaxh2c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./file-4b2p4jhk.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service11,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service60;
|
|
331
|
+
return Service11.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node14 = makeLocationNode({ service: Service11, layer, deps: [node64] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node14, exports_read_filesystem };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./file-ec12g7es.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-93a8yfjt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode-ai/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service80;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./file-sst1nn41.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-dxj72tfx.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-3wqg4ya9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./file-tb8dpv5p.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service39;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-6et5ytx9.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-6qmx0jzx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service51,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node55
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID11,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service51 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service51, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service51.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node55 = makeLocationNode({ service: Service51, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service51, locationLayer2, node55, exports_aisdk };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-9tdr4743.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service76,
|
|
10
|
+
node81
|
|
11
|
+
} from "./file-fhmwnx54.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mntxs535.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-982e01ww.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-6s48shje.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-g2dy4bvs.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_inbox, {
|
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service38,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,7 +45,7 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer19,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service38 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
156
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
-
const database = yield*
|
|
157
|
+
const database = yield* Service79;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service76;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var node42 = makeGlobalNode({ service:
|
|
230
|
+
var layer19 = Layer.effect(Service38, make17());
|
|
231
|
+
var node42 = makeGlobalNode({ service: Service38, layer: layer19, deps: [node84, node81] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service38, make17, layer19, node42, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-6qmx0jzx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID10
|
|
8
|
+
} from "./file-y2jxh97m.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./file-fhmwnx54.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event16
|
|
15
|
+
} from "./file-kkak2gjn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID7,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-t7fxkjbz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service62
|
|
22
|
+
} from "./file-g8e12k89.js";
|
|
23
23
|
import {
|
|
24
24
|
get2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-41783rkf.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-6jzsnms4.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID7.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service62;
|
|
159
|
+
const bus = yield* Service76;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID11.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID11.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID11.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID10.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID10.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID11.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID11.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-pfq1ksym.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|