@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
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service80,
|
|
6
|
-
node85
|
|
7
|
-
} from "./location-mutation-gewsm2ew.js";
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
8
4
|
import {
|
|
9
5
|
Service79,
|
|
10
6
|
node84
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./file-9tdr4743.js";
|
|
12
8
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
9
|
+
Service76,
|
|
10
|
+
node81
|
|
11
|
+
} from "./file-fhmwnx54.js";
|
|
12
|
+
import {
|
|
13
|
+
Service80,
|
|
14
|
+
node85
|
|
15
|
+
} from "./file-ec12g7es.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-ja84rtcf.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-qvbcabdc.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-yg7sb877.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service75 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service80;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service76;
|
|
102
|
+
const db = (yield* Service79).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service75.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node80 = makeGlobalNode({
|
|
277
|
+
service: Service75,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node81, node84, FSUtil.node, node85, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2,
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service75, node80, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./file-6qmx0jzx.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-x1b8g1yb.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./file-zpfprgc4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./file-2mzaxh2c.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service18
|
|
15
|
+
} from "./file-rbkeg46f.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-4b2p4jhk.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service67
|
|
24
|
+
} from "./file-2f3p36qg.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service66
|
|
27
|
+
} from "./file-es7k2nge.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input12,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin44,
|
|
39
|
+
name: () => name12,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name12 = "glob";
|
|
46
|
+
var Input12 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input4 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin44 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service60;
|
|
70
|
+
const ripgrep = yield* Service18;
|
|
71
|
+
const location = yield* Service74;
|
|
72
|
+
const access = yield* Service66;
|
|
73
|
+
const permission = yield* Service67;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name12,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin4 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name12, Input12, Output8, toModelContent6, Plugin44, exports_glob };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./file-zpfprgc4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./file-2mzaxh2c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service46,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-1zyg6qvf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./file-4xq8pne6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service67
|
|
17
|
+
} from "./file-2f3p36qg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service66,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-es7k2nge.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input11,
|
|
34
|
+
Output: () => Output7,
|
|
35
|
+
Plugin: () => Plugin43,
|
|
36
|
+
name: () => name11
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
39
39
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode-ai/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name11 = "edit";
|
|
43
|
+
var Input11 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output7 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin43 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service66;
|
|
110
|
+
const fileMutation = yield* Service46;
|
|
111
|
+
const environment = yield* Service60;
|
|
112
|
+
const formatter = yield* Service15;
|
|
113
|
+
const location = yield* Service74;
|
|
114
|
+
const permission = yield* Service67;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name11,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input11,
|
|
120
|
+
output: Output7,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin5 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name11, Input11, Output7, Plugin43, exports_edit };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node85
|
|
7
|
+
} from "./file-ec12g7es.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-ja84rtcf.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service80,
|
|
16
|
-
node85
|
|
17
|
-
} from "./location-mutation-gewsm2ew.js";
|
|
13
|
+
} from "./file-gebd4c9n.js";
|
|
18
14
|
import {
|
|
19
15
|
Service79,
|
|
20
16
|
node84
|
|
21
|
-
} from "./
|
|
17
|
+
} from "./file-9tdr4743.js";
|
|
18
|
+
import {
|
|
19
|
+
Service76,
|
|
20
|
+
node81
|
|
21
|
+
} from "./file-fhmwnx54.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-qvbcabdc.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-yg7sb877.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node79
|
|
31
|
+
} from "./file-zpfprgc4.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-93a8yfjt.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make12
|
|
38
|
+
} from "./file-mjypb2e5.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./file-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
|
+
Info: () => Info4,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service19,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node23
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,13 +76,13 @@ import { AppProcess } from "@opencode-ai/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode-ai/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info4 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event6 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service19 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service79;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service76;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service74;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make12;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
259
259
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
260
260
|
return changes;
|
|
261
261
|
});
|
|
262
|
-
return
|
|
262
|
+
return Service19.of({
|
|
263
263
|
transform: state.transform,
|
|
264
264
|
reload: state.reload,
|
|
265
265
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
271
271
|
refresh
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
274
|
+
var node23 = makeLocationNode({
|
|
275
|
+
service: Service19,
|
|
276
276
|
layer,
|
|
277
|
-
deps: [FSUtil.node,
|
|
277
|
+
deps: [FSUtil.node, node85, node81, node84, AppProcess.node, node79, Global.node]
|
|
278
278
|
});
|
|
279
279
|
function operationError(strategy, operation, error) {
|
|
280
280
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
export { StrategyID2,
|
|
287
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service19, node23, exports_worktree2, OperationError2 };
|