@opencode-ai/core 0.0.0-dev-19265 → 0.0.0-dev-19270
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 +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-mutation-y15349mw.js → event-logger-00rs7zn3.js} +11 -11
- package/dist/chunks/{location-mutation-p6ncrwfm.js → event-logger-02744596.js} +24 -24
- package/dist/chunks/{location-mutation-p0agm8mf.js → event-logger-04ndcpas.js} +6 -6
- package/dist/chunks/{location-mutation-ty1a3g8x.js → event-logger-04w48dza.js} +18 -18
- package/dist/chunks/{location-mutation-5g5dhpwv.js → event-logger-04z34cyb.js} +29 -29
- package/dist/chunks/{location-mutation-0e0xafbb.js → event-logger-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-mutation-t9nma0pe.js → event-logger-0n3157te.js} +16 -16
- package/dist/chunks/{location-mutation-jrye6x50.js → event-logger-0n6ygqf2.js} +26 -26
- package/dist/chunks/{location-mutation-ja84rtcf.js → event-logger-0nsz8vzd.js} +9 -9
- package/dist/chunks/{location-mutation-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-mutation-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-mutation-0s9ayhjt.js → event-logger-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-mutation-31jwxfn6.js → event-logger-1874dbcy.js} +26 -26
- package/dist/chunks/{location-mutation-1ct4r87x.js → event-logger-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-mutation-637qq8n2.js → event-logger-1n116cmy.js} +9 -9
- package/dist/chunks/{location-mutation-f29br4f3.js → event-logger-1zkycv9w.js} +16 -16
- package/dist/chunks/{location-mutation-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{location-mutation-2402vzrj.js → event-logger-2402vzrj.js} +1 -1
- package/dist/chunks/{location-mutation-29x78va6.js → event-logger-29x78va6.js} +2 -2
- package/dist/chunks/{location-mutation-m4535t75.js → event-logger-2a1acymz.js} +8 -8
- package/dist/chunks/{location-mutation-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mutation-m7k42b88.js → event-logger-2agsgd55.js} +18 -18
- package/dist/chunks/{location-mutation-2ht70gj7.js → event-logger-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-mutation-n3qr3rmb.js → event-logger-2kpxjnwm.js} +55 -55
- package/dist/chunks/{location-mutation-50tkbn4e.js → event-logger-2pcfmef0.js} +23 -23
- package/dist/chunks/{location-mutation-ypzjytvr.js → event-logger-2qz6kd7g.js} +46 -46
- package/dist/chunks/{location-mutation-n9h62wb7.js → event-logger-2vaatpma.js} +27 -27
- package/dist/chunks/{location-mutation-vj7t3whg.js → event-logger-33a3999f.js} +10 -10
- package/dist/chunks/{location-mutation-56gdpj1q.js → event-logger-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-mutation-r9hy8h05.js → event-logger-3883t5g1.js} +5 -5
- package/dist/chunks/{location-mutation-9q0nykm9.js → event-logger-3dzkh6c7.js} +8 -8
- package/dist/chunks/{location-mutation-k81hrtfb.js → event-logger-3egsw9h3.js} +4 -4
- package/dist/chunks/{location-mutation-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-mutation-k0zpnkm5.js → event-logger-3mqcfnym.js} +6 -6
- package/dist/chunks/{location-mutation-3qzbfqsy.js → event-logger-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-mutation-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mutation-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-mutation-73j16qsm.js → event-logger-3wwadp1k.js} +27 -27
- package/dist/chunks/{location-mutation-q1wnce7s.js → event-logger-3xk8ds7b.js} +19 -19
- package/dist/chunks/{location-mutation-454k5vzh.js → event-logger-454k5vzh.js} +1 -1
- package/dist/chunks/{location-mutation-pjg91gph.js → event-logger-473ehccc.js} +13 -13
- package/dist/chunks/{location-mutation-71t2fpqh.js → event-logger-482fjgf8.js} +12 -12
- package/dist/chunks/{location-mutation-c0s68pbv.js → event-logger-48dkwq03.js} +3 -3
- package/dist/chunks/{location-mutation-799zcqwb.js → event-logger-4ev3xkgk.js} +17 -17
- package/dist/chunks/{location-mutation-kd9jwy8m.js → event-logger-4mxskjcf.js} +18 -18
- package/dist/chunks/{location-mutation-4r2nyarf.js → event-logger-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-mutation-vyffwbyc.js → event-logger-52ahense.js} +24 -24
- package/dist/chunks/{location-mutation-41yb40nv.js → event-logger-53aqztz0.js} +8 -8
- package/dist/chunks/{location-mutation-n9mfcsdf.js → event-logger-55xejxnm.js} +12 -12
- package/dist/chunks/{location-mutation-ka4xewm7.js → event-logger-57r6w3m4.js} +12 -12
- package/dist/chunks/{location-mutation-bgjb0rnk.js → event-logger-5a88k8qy.js} +6 -6
- package/dist/chunks/{location-mutation-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{location-mutation-ce5fknq2.js → event-logger-5ebw3s4g.js} +5 -5
- package/dist/chunks/{location-mutation-5fmxt4p5.js → event-logger-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-mutation-5jvc5tg2.js → event-logger-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-mutation-jk7xm99c.js → event-logger-5p68f9j8.js} +38 -34
- package/dist/chunks/{location-mutation-r3tjqq5a.js → event-logger-5pea024z.js} +25 -25
- package/dist/chunks/{location-mutation-6fb56410.js → event-logger-5pmg8y2k.js} +6 -6
- package/dist/chunks/{location-mutation-kbmmvjk9.js → event-logger-6410wk0j.js} +25 -25
- package/dist/chunks/{location-mutation-yq90rf8j.js → event-logger-649hrv18.js} +13 -13
- package/dist/chunks/{location-mutation-wgy2tz6n.js → event-logger-651zrabc.js} +4 -4
- package/dist/chunks/{location-mutation-8m0rbw91.js → event-logger-6d7py5pp.js} +6 -6
- package/dist/chunks/{location-mutation-f3ffyk20.js → event-logger-6exqp8n9.js} +38 -38
- package/dist/chunks/{location-mutation-hyf5hyh1.js → event-logger-6vmh5z3m.js} +13 -13
- package/dist/chunks/{location-mutation-d2qvdcch.js → event-logger-6yqvxqw6.js} +4 -4
- package/dist/chunks/{location-mutation-711hfp6y.js → event-logger-711hfp6y.js} +2 -2
- package/dist/chunks/{location-mutation-sy6p2gsk.js → event-logger-71r7jc4s.js} +5 -5
- package/dist/chunks/{location-mutation-72nftnjy.js → event-logger-72nftnjy.js} +2 -2
- package/dist/chunks/{location-mutation-k3hajes3.js → event-logger-73jkfec7.js} +9 -9
- package/dist/chunks/{location-mutation-t9bfha1v.js → event-logger-73w840wv.js} +11 -11
- package/dist/chunks/{location-mutation-aw1ne1gp.js → event-logger-76ad13z7.js} +24 -24
- package/dist/chunks/{location-mutation-wkjngxy5.js → event-logger-77mw2pve.js} +3 -3
- package/dist/chunks/{location-mutation-j9pg5mya.js → event-logger-78wbf0ts.js} +4 -4
- package/dist/chunks/{location-mutation-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-mutation-7dqw4kz8.js → event-logger-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-mutation-b0s951gt.js → event-logger-7t0f4jwm.js} +8 -8
- package/dist/chunks/{location-mutation-r9ycfsjh.js → event-logger-7xhsmzca.js} +26 -26
- package/dist/chunks/{location-mutation-2jmaghvr.js → event-logger-7yqjxrmz.js} +6 -6
- package/dist/chunks/{location-mutation-0q3qqg02.js → event-logger-7z350t8f.js} +4 -4
- package/dist/chunks/{location-mutation-y12sg33x.js → event-logger-7z5zeem4.js} +24 -24
- package/dist/chunks/{location-mutation-4nkw4gk2.js → event-logger-7zsp3549.js} +1 -1
- package/dist/chunks/{location-mutation-7b0v2y0d.js → event-logger-84er94dy.js} +11 -11
- package/dist/chunks/{location-mutation-4ky4z00x.js → event-logger-8bz46mre.js} +18 -18
- package/dist/chunks/{location-mutation-5as21n7y.js → event-logger-8cpspsbc.js} +41 -41
- package/dist/chunks/{location-mutation-yd30tg6k.js → event-logger-8h5aq4xt.js} +6 -6
- package/dist/chunks/{location-mutation-695tgtrq.js → event-logger-8hk1zmm4.js} +11 -11
- package/dist/chunks/{location-mutation-bpd1017f.js → event-logger-8r3fgy27.js} +5 -5
- package/dist/chunks/{location-mutation-shcc5cqr.js → event-logger-8rw9y0s2.js} +8 -8
- package/dist/chunks/{location-mutation-tzsk1z50.js → event-logger-8vb8v520.js} +5 -5
- package/dist/chunks/{location-mutation-fzmwc9f1.js → event-logger-8vmp5gpy.js} +1 -1
- package/dist/chunks/{location-mutation-w18dhe75.js → event-logger-9019yept.js} +6 -6
- package/dist/chunks/{location-mutation-c76spgvt.js → event-logger-90nbqzba.js} +4 -4
- package/dist/chunks/{location-mutation-5d4cs7v3.js → event-logger-9356vnjg.js} +10 -10
- package/dist/chunks/{location-mutation-zzzrwwzt.js → event-logger-95y1s46n.js} +30 -30
- package/dist/chunks/{location-mutation-97f5v037.js → event-logger-97f5v037.js} +1 -1
- package/dist/chunks/{location-mutation-jsbj9q3j.js → event-logger-9e01map7.js} +15 -15
- package/dist/chunks/{location-mutation-gewsm2ew.js → event-logger-9mxqc105.js} +3 -3
- package/dist/chunks/{location-mutation-qvbcabdc.js → event-logger-9qm9egsn.js} +2 -2
- package/dist/chunks/{location-mutation-m33qb69d.js → event-logger-9rx0ctva.js} +16 -16
- package/dist/chunks/{location-mutation-8qgytc3b.js → event-logger-a2j7myrd.js} +13 -13
- package/dist/chunks/{location-mutation-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{location-mutation-yg7sb877.js → event-logger-ajtjthsy.js} +2 -2
- package/dist/chunks/{location-mutation-20qgxnzb.js → event-logger-ap16wxb8.js} +35 -35
- package/dist/chunks/{location-mutation-fp55xymf.js → event-logger-ap61c4m7.js} +11 -11
- package/dist/chunks/{location-mutation-748fdr5v.js → event-logger-aqhd25s6.js} +11 -11
- package/dist/chunks/{location-mutation-wnxzw7ag.js → event-logger-arkp87cx.js} +9 -9
- package/dist/chunks/{location-mutation-01fsmxsp.js → event-logger-avkcn1hw.js} +17 -17
- package/dist/chunks/{location-mutation-azbx08pf.js → event-logger-azbx08pf.js} +2 -2
- package/dist/chunks/{location-mutation-a2zhvqnn.js → event-logger-azc58fv1.js} +80 -80
- package/dist/chunks/{location-mutation-mv7e0man.js → event-logger-b1f53xvx.js} +27 -27
- package/dist/chunks/{location-mutation-zv0544jz.js → event-logger-b27vhd2z.js} +4 -4
- package/dist/chunks/{location-mutation-r9vyccv1.js → event-logger-b49m8fgq.js} +1 -1
- package/dist/chunks/{location-mutation-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mutation-b9wsbatv.js → event-logger-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-mutation-qbxe7mx5.js → event-logger-bgf77dmf.js} +18 -18
- package/dist/chunks/{location-mutation-9v90f9cc.js → event-logger-bsxj805k.js} +4 -4
- package/dist/chunks/{location-mutation-3xaa90hq.js → event-logger-bt2q55qx.js} +7 -7
- package/dist/chunks/{location-mutation-jbpw8vb5.js → event-logger-c2c2v0dr.js} +7 -7
- package/dist/chunks/{location-mutation-kvn4jwr8.js → event-logger-c367n02b.js} +23 -23
- package/dist/chunks/{location-mutation-36vsdr69.js → event-logger-cfsc9srb.js} +8 -8
- package/dist/chunks/{location-mutation-2wvndqp8.js → event-logger-crmsxg30.js} +30 -30
- package/dist/chunks/event-logger-cx47s3kk.js +176 -0
- package/dist/chunks/{location-mutation-g2gt0w0k.js → event-logger-d72308c8.js} +2 -2
- package/dist/chunks/{location-mutation-hf2z2kry.js → event-logger-dh6cd1pj.js} +15 -15
- package/dist/chunks/{location-mutation-9kgqjvwx.js → event-logger-dv0c27f7.js} +46 -46
- package/dist/chunks/{location-mutation-nrrren0x.js → event-logger-dv733n1z.js} +11 -11
- package/dist/chunks/{location-mutation-qcb7wx0s.js → event-logger-dxwyf2vj.js} +34 -34
- package/dist/chunks/{location-mutation-c9setr9m.js → event-logger-dykj04b8.js} +1 -1
- package/dist/chunks/{location-mutation-02gxsad2.js → event-logger-e18fk74z.js} +26 -26
- package/dist/chunks/{location-mutation-7t7t8jv6.js → event-logger-e6dy5ms0.js} +13 -13
- package/dist/chunks/{location-mutation-nhy5jxhy.js → event-logger-e82z9tr0.js} +7 -7
- package/dist/chunks/{location-mutation-7vmz4e7y.js → event-logger-eex93kgw.js} +81 -81
- package/dist/chunks/{location-mutation-2vtpzmv5.js → event-logger-eh0017dt.js} +6 -6
- package/dist/chunks/{location-mutation-qw3ch0ft.js → event-logger-eh5astyw.js} +15 -15
- package/dist/chunks/{location-mutation-cdzen2fp.js → event-logger-ehbr65jm.js} +39 -39
- package/dist/chunks/{location-mutation-rt66ex88.js → event-logger-emyx9er5.js} +5 -5
- package/dist/chunks/{location-mutation-ckfk1z8g.js → event-logger-epfc0kkn.js} +41 -41
- package/dist/chunks/{location-mutation-y57q34f9.js → event-logger-er616wda.js} +5 -5
- package/dist/chunks/{location-mutation-cbrkgqh6.js → event-logger-ewakerm7.js} +28 -28
- package/dist/chunks/{location-mutation-xq7e5js0.js → event-logger-f16f7hh4.js} +32 -32
- package/dist/chunks/{location-mutation-yp2x3t23.js → event-logger-f2n192rq.js} +4 -4
- package/dist/chunks/event-logger-f4j0pa50.js +4 -0
- package/dist/chunks/{location-mutation-ht4enzqw.js → event-logger-f7688yv9.js} +52 -52
- package/dist/chunks/{location-mutation-ka1d01ec.js → event-logger-famd3pv6.js} +5 -5
- package/dist/chunks/{location-mutation-qj769r8n.js → event-logger-fdc960w3.js} +11 -11
- package/dist/chunks/{location-mutation-c0w89p9e.js → event-logger-fgxghpax.js} +17 -17
- package/dist/chunks/{location-mutation-n8c291r7.js → event-logger-fjvydvzm.js} +6 -6
- package/dist/chunks/{location-mutation-7k08vs8b.js → event-logger-fn21nrem.js} +14 -14
- package/dist/chunks/{location-mutation-qkdp5fnc.js → event-logger-fs5fb795.js} +16 -16
- package/dist/chunks/{location-mutation-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-mutation-fxypknc8.js → event-logger-fxypknc8.js} +1 -1
- package/dist/chunks/{location-mutation-rrxvfwpe.js → event-logger-g0p24pj3.js} +4 -4
- package/dist/chunks/{location-mutation-9yhwza0s.js → event-logger-g6xkk4cs.js} +16 -16
- package/dist/chunks/{location-mutation-ar7xhsq5.js → event-logger-g8tbs1mx.js} +9 -9
- package/dist/chunks/{location-mutation-r9f0vktm.js → event-logger-gaqvsmtp.js} +13 -13
- package/dist/chunks/{location-mutation-gac4wd5h.js → event-logger-gc58jpbv.js} +28 -28
- package/dist/chunks/{location-mutation-s90j9acr.js → event-logger-gcgemm0f.js} +20 -20
- package/dist/chunks/{location-mutation-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-mutation-3fc6dm20.js → event-logger-gdvy8fx6.js} +4 -4
- package/dist/chunks/{location-mutation-bpynh60y.js → event-logger-gqv6n70q.js} +21 -21
- package/dist/chunks/{location-mutation-68xdzhvj.js → event-logger-gst1f9je.js} +18 -18
- package/dist/chunks/{location-mutation-s2540qmh.js → event-logger-gz6j7rd2.js} +17 -17
- package/dist/chunks/{location-mutation-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-mutation-6s66q6ye.js → event-logger-h74nk91f.js} +9 -9
- package/dist/chunks/{location-mutation-heyhwy2w.js → event-logger-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-mutation-pmddwhyc.js → event-logger-hkgsrpyg.js} +6 -6
- package/dist/chunks/{location-mutation-f2s4jkve.js → event-logger-hkymyjrq.js} +20 -20
- package/dist/chunks/{location-mutation-m1e4fd8e.js → event-logger-hr77wr0b.js} +4 -4
- package/dist/chunks/{location-mutation-g2dy4bvs.js → event-logger-hrvm11jt.js} +3 -3
- package/dist/chunks/{location-mutation-9exw0jng.js → event-logger-j56a44mc.js} +12 -12
- package/dist/chunks/{location-mutation-fxa32nyw.js → event-logger-j6kh1gxc.js} +23 -23
- package/dist/chunks/{location-mutation-5jntx97f.js → event-logger-jc1k2998.js} +15 -15
- package/dist/chunks/{location-mutation-y35stt4b.js → event-logger-jf1fjy84.js} +33 -33
- package/dist/chunks/{location-mutation-mqvykccq.js → event-logger-jr5yayyw.js} +20 -20
- package/dist/chunks/event-logger-jvadnytq.js +462 -0
- package/dist/chunks/{location-mutation-cz67sxjn.js → event-logger-k1nec7fn.js} +39 -39
- package/dist/chunks/{location-mutation-k4bwy1x5.js → event-logger-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-mutation-kg06axw8.js → event-logger-kg06axw8.js} +1 -1
- package/dist/chunks/{location-mutation-jr3tywxk.js → event-logger-kk00bynn.js} +4 -4
- package/dist/chunks/{location-mutation-35020cfq.js → event-logger-kp4k4qeh.js} +47 -47
- package/dist/chunks/{location-mutation-sxhwk0c0.js → event-logger-kqrs6ffg.js} +4 -4
- package/dist/chunks/{location-mutation-jmww4671.js → event-logger-ksr7895y.js} +6 -6
- package/dist/chunks/{location-mutation-kvsjn1dr.js → event-logger-kvsjn1dr.js} +2 -2
- package/dist/chunks/{location-mutation-9vtsvkk2.js → event-logger-m7kk9p21.js} +6 -6
- package/dist/chunks/{location-mutation-qbs0v8xf.js → event-logger-m9pzte34.js} +26 -26
- package/dist/chunks/{location-mutation-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mutation-9c0wr5p2.js → event-logger-me1tkt4h.js} +11 -11
- package/dist/chunks/{location-mutation-esba6vsp.js → event-logger-mf9n5a9p.js} +4 -4
- package/dist/chunks/{location-mutation-knjm772m.js → event-logger-mgnds49j.js} +8 -8
- package/dist/chunks/{location-mutation-mvfsc1pv.js → event-logger-mhkvc446.js} +3 -3
- package/dist/chunks/{location-mutation-ej5745y0.js → event-logger-mhpjr403.js} +32 -32
- package/dist/chunks/{location-mutation-2xwvjr3g.js → event-logger-mhqhjkck.js} +11 -11
- package/dist/chunks/{location-mutation-v0ppz6dn.js → event-logger-mn2bwfrj.js} +11 -11
- package/dist/chunks/{location-mutation-b5ffs7mv.js → event-logger-mq0j9q5v.js} +170 -170
- package/dist/chunks/{location-mutation-et6stkf1.js → event-logger-n1160xf3.js} +3 -3
- package/dist/chunks/{location-mutation-r5w2ssxe.js → event-logger-n38qs1ar.js} +9 -9
- package/dist/chunks/{location-mutation-hn57h045.js → event-logger-n3jkd22a.js} +4 -4
- package/dist/chunks/{location-mutation-qmt2dn3e.js → event-logger-n8z0dz7q.js} +41 -41
- package/dist/chunks/{location-mutation-6h4qnp75.js → event-logger-nff8s0dr.js} +9 -9
- package/dist/chunks/event-logger-nn0r0h9n.js +247 -0
- package/dist/chunks/{location-mutation-asrxajhv.js → event-logger-nvxrz732.js} +9 -9
- package/dist/chunks/{location-mutation-0e92dp25.js → event-logger-nw9wwv0v.js} +17 -17
- package/dist/chunks/{location-mutation-9gp79knm.js → event-logger-ny14xqs8.js} +3 -3
- package/dist/chunks/event-logger-p2h6zvwc.js +18 -0
- package/dist/chunks/{location-mutation-gk3v9xn9.js → event-logger-p7s9z1vk.js} +8 -8
- package/dist/chunks/{location-mutation-4s7cwcwm.js → event-logger-pg0k6zd9.js} +17 -17
- package/dist/chunks/{location-mutation-vcexzd7a.js → event-logger-pj7ws487.js} +10 -10
- package/dist/chunks/{location-mutation-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-mutation-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{location-mutation-fffgckys.js → event-logger-psmm2yth.js} +26 -26
- package/dist/chunks/{location-mutation-03vhms7f.js → event-logger-pswbxvaq.js} +20 -20
- package/dist/chunks/{location-mutation-4vye7c7y.js → event-logger-px8jrnt8.js} +16 -16
- package/dist/chunks/{location-mutation-m1wt4yw3.js → event-logger-q9qp0n80.js} +8 -8
- package/dist/chunks/{location-mutation-eb6vrzdm.js → event-logger-qa3r735v.js} +24 -24
- package/dist/chunks/{location-mutation-3f40cv46.js → event-logger-qa6veray.js} +43 -43
- package/dist/chunks/{location-mutation-a1b67f26.js → event-logger-qa8hzp96.js} +15 -15
- package/dist/chunks/{location-mutation-2mwhmxmk.js → event-logger-qepd9qkj.js} +32 -32
- package/dist/chunks/{location-mutation-y375pa0k.js → event-logger-qkdc4gh9.js} +22 -22
- package/dist/chunks/{location-mutation-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{location-mutation-j9x2r4mk.js → event-logger-qwn86fs0.js} +7 -7
- package/dist/chunks/{location-mutation-553s8jdp.js → event-logger-qyb7zzb8.js} +22 -22
- package/dist/chunks/{location-mutation-kkgdx70c.js → event-logger-qykqfys3.js} +1 -1
- package/dist/chunks/{location-mutation-a809ybt0.js → event-logger-qzmr9e0e.js} +10 -10
- package/dist/chunks/{location-mutation-1vs8d3gz.js → event-logger-r1cq807p.js} +8 -8
- package/dist/chunks/{location-mutation-7zq9f41z.js → event-logger-r8cjn694.js} +25 -25
- package/dist/chunks/{location-mutation-r8dhm0tv.js → event-logger-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-mutation-3j8sdtpz.js → event-logger-r98e92ep.js} +4 -4
- package/dist/chunks/{location-mutation-s326q968.js → event-logger-rar2k6k0.js} +22 -22
- package/dist/chunks/{location-mutation-2e8esc5r.js → event-logger-s13wvnd8.js} +20 -20
- package/dist/chunks/{location-mutation-kpwdvb92.js → event-logger-s5dw67k6.js} +20 -20
- package/dist/chunks/{location-mutation-12gp3jnp.js → event-logger-sag13hgn.js} +29 -29
- package/dist/chunks/{location-mutation-sba4qhjf.js → event-logger-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-mutation-hspjz0fp.js → event-logger-sbpbyj5x.js} +9 -9
- package/dist/chunks/{location-mutation-w8aq7x5e.js → event-logger-smw8fna6.js} +4 -4
- package/dist/chunks/{location-mutation-xjteqga3.js → event-logger-t7nk3an2.js} +14 -14
- package/dist/chunks/{location-mutation-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-mutation-wrpe40w9.js → event-logger-tbyfaj9q.js} +11 -11
- package/dist/chunks/{location-mutation-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-mutation-tjykrgmx.js → event-logger-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-mutation-x152d5b0.js → event-logger-tkqc8vjc.js} +13 -13
- package/dist/chunks/event-logger-tr4emeve.js +22 -0
- package/dist/chunks/{location-mutation-m5shh40j.js → event-logger-tr5wmrcs.js} +2 -2
- package/dist/chunks/{location-mutation-r2kav4az.js → event-logger-v108a9gw.js} +12 -12
- package/dist/chunks/{location-mutation-2pqjqc52.js → event-logger-v6xtkx9s.js} +13 -13
- package/dist/chunks/{location-mutation-awqyf91x.js → event-logger-veabk5tt.js} +5 -5
- package/dist/chunks/{location-mutation-azhfbxv8.js → event-logger-vgzs21vf.js} +10 -10
- package/dist/chunks/{location-mutation-qkgxthm5.js → event-logger-vnheh1tn.js} +5 -5
- package/dist/chunks/{location-mutation-ddwschm6.js → event-logger-vv6k0gts.js} +11 -11
- package/dist/chunks/{location-mutation-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-mutation-7w3fy9tn.js → event-logger-w803vjcr.js} +18 -18
- package/dist/chunks/{location-mutation-vqm9gcn5.js → event-logger-wce688xf.js} +6 -6
- package/dist/chunks/{location-mutation-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{location-mutation-63evnryy.js → event-logger-wg9v2026.js} +2 -2
- package/dist/chunks/{location-mutation-kaxevc9a.js → event-logger-wnk3h3cv.js} +30 -30
- package/dist/chunks/{location-mutation-2y04n8jz.js → event-logger-wnn95480.js} +5 -5
- package/dist/chunks/{location-mutation-m78vmq2a.js → event-logger-wxdqhjpe.js} +32 -32
- package/dist/chunks/{location-mutation-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-mutation-w4mk8dh2.js → event-logger-x69bxbzw.js} +59 -59
- package/dist/chunks/{location-mutation-4zpra80a.js → event-logger-xbqx2yay.js} +24 -24
- package/dist/chunks/{location-mutation-ycv9gdpt.js → event-logger-xjde6dvc.js} +9 -9
- package/dist/chunks/{location-mutation-dff6ksqg.js → event-logger-xp6539m8.js} +33 -33
- package/dist/chunks/{location-mutation-fcjfmm05.js → event-logger-xxm60j6r.js} +33 -33
- package/dist/chunks/{location-mutation-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-mutation-93a8yfjt.js → event-logger-y2cqme3r.js} +5 -5
- package/dist/chunks/{location-mutation-21j9wzy5.js → event-logger-y5yt17rr.js} +7 -7
- package/dist/chunks/{location-mutation-dpkg50ah.js → event-logger-y71avatq.js} +4 -4
- package/dist/chunks/{location-mutation-gwt190dm.js → event-logger-y7w38hka.js} +6 -6
- package/dist/chunks/{location-mutation-1n60r04w.js → event-logger-y8vkqrwp.js} +1 -1
- package/dist/chunks/{location-mutation-f2yebhdz.js → event-logger-yjfqme9d.js} +1 -1
- package/dist/chunks/{location-mutation-bkpjey77.js → event-logger-ytej5dzn.js} +11 -11
- package/dist/chunks/{location-mutation-ng39vjdn.js → event-logger-z1ernczf.js} +2 -2
- package/dist/chunks/{location-mutation-z1k01bn4.js → event-logger-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-mutation-mgaz471z.js → event-logger-z4j8hfk3.js} +1 -1
- package/dist/chunks/{location-mutation-e4rp866n.js → event-logger-z709tr9t.js} +9 -9
- package/dist/chunks/{location-mutation-8bwp8r5g.js → event-logger-zc6sjq0c.js} +17 -17
- package/dist/chunks/{location-mutation-2ryxe2ae.js → event-logger-zg8qpx08.js} +15 -15
- package/dist/chunks/{location-mutation-7vqan3q0.js → event-logger-znjwsc62.js} +4 -4
- package/dist/chunks/{location-mutation-vfgzh0ae.js → event-logger-zrj0g0v3.js} +15 -15
- package/dist/chunks/{location-mutation-hw0vrq4f.js → event-logger-zsaee4xm.js} +15 -15
- package/dist/chunks/{location-mutation-zxq2ej10.js → event-logger-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 +77 -77
- 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 +117 -117
- package/dist/config/plugin/command.js +209 -209
- 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 +126 -126
- 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 +116 -116
- 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 +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +74 -74
- 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 +3 -3
- 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 +88 -88
- 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 +68 -68
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- 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 +7 -7
- 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 +77 -77
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- 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 +83 -83
- package/dist/location-services.js +349 -348
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- 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 +7 -7
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- 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 +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- 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 +5 -5
- 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 +117 -117
- 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 +70 -70
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +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 +86 -86
- 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 +167 -167
- 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 +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- 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 +100 -100
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +114 -114
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- 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 +2 -2
- 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 +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- 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 +89 -89
- 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 → event-logger-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-mutation-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-mutation-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-mutation-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-mutation-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-mutation-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-mutation-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-mutation-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-mutation-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-mutation-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-mutation-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{location-mutation-3t738kvx.js → event-logger-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-mutation-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-mutation-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-mutation-41nvscxy.js → event-logger-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-mutation-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-mutation-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-mutation-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-mutation-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{location-mutation-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-mutation-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{location-mutation-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-mutation-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-mutation-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{location-mutation-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-mutation-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-mutation-982e01ww.js → event-logger-982e01ww.js} +0 -0
- /package/dist/chunks/{location-mutation-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-mutation-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-mutation-a1tpkmh4.js → event-logger-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-mutation-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-mutation-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-mutation-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-mutation-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-mutation-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-mutation-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-mutation-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-mutation-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-mutation-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-mutation-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-mutation-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-mutation-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-mutation-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{location-mutation-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-mutation-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-mutation-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-mutation-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-mutation-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-mutation-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-mutation-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-mutation-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-mutation-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-mutation-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-mutation-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-mutation-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{location-mutation-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-mutation-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{location-mutation-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-mutation-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-mutation-j935v87r.js → event-logger-j935v87r.js} +0 -0
- /package/dist/chunks/{location-mutation-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-mutation-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-mutation-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mutation-mntxs535.js → event-logger-mntxs535.js} +0 -0
- /package/dist/chunks/{location-mutation-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-mutation-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-mutation-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-mutation-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-mutation-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-mutation-p8qxwesx.js → event-logger-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-mutation-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-mutation-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-mutation-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-mutation-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-mutation-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-mutation-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-mutation-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-mutation-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-mutation-se0s1eqw.js → event-logger-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-mutation-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-mutation-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-mutation-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-mutation-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-mutation-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-mutation-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-mutation-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-mutation-x1b8g1yb.js → event-logger-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-mutation-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{location-mutation-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-mutation-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-mutation-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-mutation-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node78
|
|
7
|
+
} from "./event-logger-9356vnjg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID12
|
|
10
|
+
} from "./event-logger-0nsz8vzd.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-9mxqc105.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-3egsw9h3.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-9qm9egsn.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./event-logger-ajtjthsy.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service71,
|
|
30
|
+
node76
|
|
31
|
+
} from "./event-logger-fgxghpax.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical3
|
|
35
|
+
} from "./event-logger-y2cqme3r.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make18
|
|
38
|
+
} from "./event-logger-mn2bwfrj.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./event-logger-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event7,
|
|
53
|
+
Info: () => Info9,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service46,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node49
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info9 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event7 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service46 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service71;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make18;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical3(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,8 +193,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
197
|
-
if (result.directory !== (yield*
|
|
196
|
+
const result = { directory: yield* canonical3(fs, created.directory) };
|
|
197
|
+
if (result.directory !== (yield* canonical3(fs, worktreeDirectory)))
|
|
198
198
|
return yield* new InvalidDirectoryError2({ directory: result.directory });
|
|
199
199
|
yield* changed(yield* ops.create({
|
|
200
200
|
directory: result.directory,
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
220
220
|
});
|
|
221
221
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
222
222
|
yield* local;
|
|
223
|
-
const worktreeDirectory = yield*
|
|
223
|
+
const worktreeDirectory = yield* canonical3(fs, input.directory);
|
|
224
224
|
const stored = yield* ops.find(worktreeDirectory);
|
|
225
225
|
if (!stored?.strategy)
|
|
226
226
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
241
241
|
for (const strategy of strategies) {
|
|
242
242
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
243
243
|
for (const entry of entries) {
|
|
244
|
-
const directory = yield*
|
|
244
|
+
const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
245
245
|
if (!directory || discovered.has(directory))
|
|
246
246
|
continue;
|
|
247
247
|
discovered.set(directory, {
|
|
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
259
259
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
260
260
|
return changes;
|
|
261
261
|
});
|
|
262
|
-
return
|
|
262
|
+
return Service46.of({
|
|
263
263
|
transform: state.transform,
|
|
264
264
|
reload: state.reload,
|
|
265
265
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
271
271
|
refresh
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
274
|
+
var node49 = makeLocationNode({
|
|
275
|
+
service: Service46,
|
|
276
276
|
layer,
|
|
277
|
-
deps: [FSUtil.node,
|
|
277
|
+
deps: [FSUtil.node, node78, node84, node85, AppProcess.node, node76, Global.node]
|
|
278
278
|
});
|
|
279
279
|
function operationError(strategy, operation, error) {
|
|
280
280
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2,
|
|
287
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info9, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event7, Service46, node49, exports_worktree2, OperationError2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-b9wsbatv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./event-logger-4mxskjcf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make7 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service68;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-9mxqc105.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-3egsw9h3.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service78, node83, exports_credential };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./event-logger-76ad13z7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service54,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service57
|
|
11
|
-
} from "./location-mutation-hw0vrq4f.js";
|
|
8
|
+
} from "./event-logger-tkqc8vjc.js";
|
|
12
9
|
import {
|
|
13
10
|
Service61
|
|
14
|
-
} from "./
|
|
11
|
+
} from "./event-logger-zsaee4xm.js";
|
|
12
|
+
import {
|
|
13
|
+
Service56
|
|
14
|
+
} from "./event-logger-f7688yv9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service50
|
|
17
|
+
} from "./event-logger-04w48dza.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin12,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode-ai/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin12 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service50;
|
|
56
|
+
const fileMutation = yield* Service54;
|
|
57
|
+
const environment = yield* Service63;
|
|
58
|
+
const formatter = yield* Service61;
|
|
59
|
+
const permission = yield* Service56;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output7, toModelContent6, Plugin12, exports_write };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make15
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make15 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make15, exports_run_coordinator };
|