@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./file-fhmwnx54.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-p8qxwesx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service77,
|
|
17
|
+
node82
|
|
18
|
+
} from "./file-714e9pdw.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event10,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info10,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service47,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node51
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode-ai/schema/reference";
|
|
41
41
|
import { Global } from "@opencode-ai/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event10 } from "@opencode-ai/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info10 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service47 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service76;
|
|
53
|
+
const cache = yield* Service77;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info10.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info10.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service47.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node51 = makeLocationNode({
|
|
116
|
+
service: Service47,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node81, node82]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info10, Service47, node51, exports_reference2, Event10 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mntxs535.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-4xzxjr5n.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make4, exports_retry };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service79,
|
|
3
|
-
node84
|
|
4
|
-
} from "./location-mutation-k81hrtfb.js";
|
|
5
|
-
import {
|
|
6
|
-
Service78,
|
|
7
|
-
node83
|
|
8
|
-
} from "./location-mutation-5d4cs7v3.js";
|
|
9
1
|
import {
|
|
10
2
|
Service76,
|
|
11
3
|
node81
|
|
12
|
-
} from "./
|
|
4
|
+
} from "./file-fhmwnx54.js";
|
|
5
|
+
import {
|
|
6
|
+
Service80,
|
|
7
|
+
node85
|
|
8
|
+
} from "./file-ec12g7es.js";
|
|
9
|
+
import {
|
|
10
|
+
Service74,
|
|
11
|
+
node79
|
|
12
|
+
} from "./file-zpfprgc4.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-dxj72tfx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service56,
|
|
18
|
+
node60
|
|
19
|
+
} from "./file-7n0kdm8r.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node22
|
|
22
|
+
} from "./file-2e59x59w.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service6,
|
|
25
|
+
node9
|
|
26
|
+
} from "./file-pt34y05q.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
35
|
Service: () => Service2,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
@@ -43,12 +43,12 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
|
43
43
|
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
46
|
+
const location = yield* Service74;
|
|
47
|
+
const watcher = yield* Service56;
|
|
48
|
+
const bus = yield* Service76;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
|
+
const policy = yield* Service6;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -102,10 +102,10 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
103
|
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
106
|
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node60, FSUtil.node, node79, node85, node81, node22, node9]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export { Service2,
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node85
|
|
10
|
+
} from "./file-ec12g7es.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node79
|
|
14
|
+
} from "./file-zpfprgc4.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service73,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node78,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID16 } from "@opencode-ai/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode-ai/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service73 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID16.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service73.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node78 = makeLocationNode({
|
|
139
|
+
service: Service73,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node85, Global.node, node79]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service73, Service73.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service26, Service26.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error5({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID16, Error5, Service73, node78, noopLayer3, exports_snapshot2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-6jzsnms4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID11
|
|
6
|
+
} from "./file-6qmx0jzx.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-s8f0jrtd.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode-ai/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID11.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./location-mutation-gewsm2ew.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./file-9tdr4743.js";
|
|
5
|
+
import {
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./file-fhmwnx54.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-0e0xafbb.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mntxs535.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-egdvntj9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load3
|
|
23
|
+
} from "./file-9eaw7gz6.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-t1qabjyn.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-f153bnw9.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-4xzxjr5n.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-c4j9y4rn.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./file-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
record2,
|
|
47
47
|
add2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./file-tjykrgmx.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./file-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/compaction.ts
|
|
54
54
|
var exports_compaction2 = {};
|
|
55
55
|
__export(exports_compaction2, {
|
|
56
|
-
Service: () =>
|
|
56
|
+
Service: () => Service5,
|
|
57
57
|
SessionCompaction: () => exports_compaction2,
|
|
58
58
|
buildPrompt: () => buildPrompt2,
|
|
59
59
|
estimateTokens: () => estimateTokens2,
|
|
60
|
-
layer: () =>
|
|
61
|
-
node: () =>
|
|
60
|
+
layer: () => layer6,
|
|
61
|
+
node: () => node8,
|
|
62
62
|
retainUsers: () => retainUsers2,
|
|
63
63
|
serializeToolContent: () => serializeToolContent2,
|
|
64
64
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -123,7 +123,7 @@ var SUMMARY_RULES = `Rules:
|
|
|
123
123
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
124
124
|
`).filter((line) => line.startsWith("##"));
|
|
125
125
|
|
|
126
|
-
class
|
|
126
|
+
class Service5 extends Context.Service()("@opencode/SessionCompaction") {
|
|
127
127
|
}
|
|
128
128
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
129
129
|
var estimateTokens2 = (input) => {
|
|
@@ -291,10 +291,10 @@ var buildPrompt2 = (update) => {
|
|
|
291
291
|
};
|
|
292
292
|
var hasSummarySection = (summary) => summary.split(`
|
|
293
293
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
294
|
-
var
|
|
295
|
-
const bus = yield*
|
|
294
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
295
|
+
const bus = yield* Service76;
|
|
296
296
|
const llm = yield* LLMClient.Service;
|
|
297
|
-
const db = (yield*
|
|
297
|
+
const db = (yield* Service79).db;
|
|
298
298
|
const state = create3({
|
|
299
299
|
name: "session-compaction",
|
|
300
300
|
initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
|
|
@@ -354,7 +354,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
354
354
|
webSocket
|
|
355
355
|
});
|
|
356
356
|
};
|
|
357
|
-
const original = (sessionID) =>
|
|
357
|
+
const original = (sessionID) => load3(db, sessionID, "local").pipe(Effect.orDie);
|
|
358
358
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
359
359
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
360
360
|
const context = input.context;
|
|
@@ -574,7 +574,7 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
574
574
|
}
|
|
575
575
|
}));
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service5.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
enabled: () => state.get().auto,
|
|
@@ -583,10 +583,10 @@ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
583
583
|
compactManual
|
|
584
584
|
});
|
|
585
585
|
}));
|
|
586
|
-
var
|
|
587
|
-
service:
|
|
588
|
-
layer:
|
|
589
|
-
deps: [
|
|
586
|
+
var node8 = makeLocationNode({
|
|
587
|
+
service: Service5,
|
|
588
|
+
layer: layer6,
|
|
589
|
+
deps: [node81, node84, llmClient2]
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
export {
|
|
592
|
+
export { Service5, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node8, exports_compaction2 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service31,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service31 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service31, awaitActivation2, exports_service };
|