@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-6qmx0jzx.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-y2jxh97m.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service50,
|
|
6
|
+
node54
|
|
7
|
+
} from "./file-q2qmez4x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service45,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer20,
|
|
20
|
+
node: () => node49
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode-ai/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service45 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer20 = Layer.effect(Service45, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service50;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -45,28 +45,28 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
45
45
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
46
46
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
47
47
|
], (error) => {
|
|
48
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
48
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
49
49
|
return Effect.fail(mapped);
|
|
50
50
|
}));
|
|
51
51
|
if (!resolved)
|
|
52
52
|
return yield* new ModelSelectionError2({
|
|
53
53
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
54
54
|
});
|
|
55
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
55
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
56
56
|
message: error.message,
|
|
57
57
|
service: resolved.ref.providerID
|
|
58
58
|
})));
|
|
59
59
|
return response.text;
|
|
60
60
|
});
|
|
61
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
61
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service45.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node49 = makeLocationNode({
|
|
67
|
+
service: Service45,
|
|
68
|
+
layer: layer20,
|
|
69
|
+
deps: [node54, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError3, Service45, layer20, node49, exports_generate2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-9tdr4743.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-g2dy4bvs.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load3
|
|
12
|
+
} from "./file-9eaw7gz6.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-wgc2mr3y.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput5,
|
|
24
|
+
Service: () => Service69,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node74
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service69 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service79;
|
|
59
|
+
return Service69.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
99
99
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
100
100
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
101
101
|
}),
|
|
102
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
102
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
|
|
103
103
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
104
104
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
105
105
|
return row ? {
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node74 = makeGlobalNode({ service: Service69, layer, deps: [node84] });
|
|
130
130
|
|
|
131
|
-
export {
|
|
131
|
+
export { ListInput5, Service69, node74, exports_store };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info15
|
|
6
|
+
} from "./file-magykp64.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info15)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info12, exports_agent3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node79
|
|
7
|
+
} from "./file-zpfprgc4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service18,
|
|
10
|
+
node21
|
|
11
|
+
} from "./file-rbkeg46f.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service14,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node17,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service14 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const ripgrep = yield* Service18;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service14.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service74;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service14.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service14.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service74;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service14, layer: layer8(options), deps: [node79, node21] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node17 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service14, ripgrepLayer2, fffLayer2, layer8, configured2, node17, exports_search };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-sc6hcnnz.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-2f3p36qg.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin27
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin27 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin38 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID14.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID14.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin38 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID14.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID14.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID14.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin38 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin27, exports_agent2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-6qmx0jzx.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service55
|
|
8
|
+
} from "./file-027zpkb9.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin12
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode-ai/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin12 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service55;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -155,4 +155,4 @@ function configuredProviders(entries) {
|
|
|
155
155
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
export {
|
|
158
|
+
export { Plugin12, exports_provider };
|
|
@@ -1,33 +1,33 @@
|
|
|
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
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node66
|
|
12
|
+
} from "./file-2j2hxhmw.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info21,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service61,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node65
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info21 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info17 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service61 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service61,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node84, node66]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service79).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info21({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service61.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node65 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info21, NotFound3, CreateConflict2, Service61, configured10, node65, exports_workspace };
|