@opencode/core 0.0.0-dev-19993 → 0.0.0-dev-19995
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{pty-a5cfpm61.js → event-logger-020j3mp2.js} +6 -6
- package/dist/chunks/{pty-mbfxv7fw.js → event-logger-03y4ksfc.js} +34 -34
- package/dist/chunks/{pty-e163j4jp.js → event-logger-048w8w2y.js} +15 -15
- package/dist/chunks/{pty-h53kmbdm.js → event-logger-04t6yav5.js} +60 -60
- package/dist/chunks/{pty-hsgwpaad.js → event-logger-05zq6f59.js} +17 -17
- package/dist/chunks/{pty-v2cwp70s.js → event-logger-0jcgjgb0.js} +47 -47
- package/dist/chunks/{pty-607tc6va.js → event-logger-0jwsre1p.js} +5 -5
- package/dist/chunks/{pty-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-d8sk975s.js → event-logger-0qa5p3hq.js} +30 -30
- package/dist/chunks/{pty-qggqx5pb.js → event-logger-0s976vq3.js} +22 -22
- package/dist/chunks/{pty-570bm5aw.js → event-logger-14yc5bzp.js} +21 -21
- package/dist/chunks/{pty-kcnwc050.js → event-logger-1aarw4wd.js} +32 -32
- package/dist/chunks/{pty-yp2x3t23.js → event-logger-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-aemqn3ez.js → event-logger-1jna24v5.js} +11 -11
- package/dist/chunks/{pty-e4y0dkgq.js → event-logger-1pd680f0.js} +19 -19
- package/dist/chunks/{pty-cbc0wxnt.js → event-logger-1qd6ctcj.js} +4 -4
- package/dist/chunks/{pty-1sn1ktbx.js → event-logger-1sm4aczp.js} +9 -9
- package/dist/chunks/{pty-tpnwfd5g.js → event-logger-1xbk51d1.js} +3 -3
- package/dist/chunks/{pty-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{pty-6kg1vfnr.js → event-logger-22km69g0.js} +6 -6
- package/dist/chunks/{pty-6h73sxmp.js → event-logger-2402vzrj.js} +5 -5
- package/dist/chunks/{pty-dh91zd6a.js → event-logger-29y626x8.js} +11 -11
- package/dist/chunks/{pty-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-71y3c5ag.js → event-logger-2bvs29qf.js} +26 -26
- package/dist/chunks/{pty-038mqbwm.js → event-logger-2fxf5vq5.js} +5 -5
- package/dist/chunks/{pty-pekx08ex.js → event-logger-2gjby33x.js} +20 -20
- package/dist/chunks/{pty-x2jawspn.js → event-logger-2hbp1rqv.js} +9 -9
- package/dist/chunks/{pty-062r8x8b.js → event-logger-2mfwfczk.js} +93 -93
- package/dist/chunks/{pty-ecxgrer6.js → event-logger-3d8yq8v2.js} +44 -44
- package/dist/chunks/{pty-h0sprvfa.js → event-logger-3dntjpwz.js} +48 -48
- package/dist/chunks/{pty-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-nkasj3c8.js → event-logger-3pt4dhyb.js} +7 -7
- package/dist/chunks/{pty-jz67am5p.js → event-logger-3q6gaar1.js} +9 -9
- package/dist/chunks/{pty-7b6h5z22.js → event-logger-3qvcabr8.js} +23 -23
- package/dist/chunks/{pty-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-cfhq3gyz.js → event-logger-420mfcd1.js} +31 -31
- package/dist/chunks/{pty-53gk70sf.js → event-logger-4686z1cc.js} +9 -9
- package/dist/chunks/{pty-emca911v.js → event-logger-46efvg8p.js} +8 -8
- package/dist/chunks/{pty-41tykhqn.js → event-logger-4b54kahm.js} +8 -8
- package/dist/chunks/{pty-w9ka22cp.js → event-logger-4j1b3dvz.js} +35 -35
- package/dist/chunks/{pty-3shkqxcj.js → event-logger-4mqqaehj.js} +6 -6
- package/dist/chunks/{pty-czzrymxc.js → event-logger-50xdy9sd.js} +26 -26
- package/dist/chunks/{pty-1ygqh575.js → event-logger-56gdpj1q.js} +9 -9
- package/dist/chunks/{pty-2w6fc0zt.js → event-logger-57ez7d0k.js} +7 -7
- package/dist/chunks/{pty-typarb9b.js → event-logger-5byqfvby.js} +20 -20
- package/dist/chunks/{pty-a1bz86dw.js → event-logger-5c4hm403.js} +3 -3
- package/dist/chunks/{pty-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-rgch3z0v.js → event-logger-5e07j1hz.js} +18 -18
- package/dist/chunks/{pty-fxbjtjnd.js → event-logger-5ekn9679.js} +7 -7
- package/dist/chunks/{pty-4efdx9rk.js → event-logger-5gs23kxp.js} +22 -22
- package/dist/chunks/{pty-xvnj5msj.js → event-logger-5jrr3pva.js} +3 -3
- package/dist/chunks/{pty-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-x10m976v.js → event-logger-5t8sa872.js} +32 -32
- package/dist/chunks/{pty-mys1tqp3.js → event-logger-623f9wzm.js} +32 -32
- package/dist/chunks/{pty-s9na07f2.js → event-logger-63zxpw7x.js} +11 -11
- package/dist/chunks/{pty-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/{pty-24dx1hrc.js → event-logger-6cztnhhd.js} +10 -10
- package/dist/chunks/{pty-tkmwgdpd.js → event-logger-6hh8tjw2.js} +7 -7
- package/dist/chunks/{pty-cp1t7mny.js → event-logger-6kgmyewg.js} +25 -25
- package/dist/chunks/{pty-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-bpckba2r.js → event-logger-6nkg1aef.js} +16 -16
- package/dist/chunks/{pty-bhteabqx.js → event-logger-6sh8n07q.js} +4 -4
- package/dist/chunks/{pty-ab845m4a.js → event-logger-6t38r8tw.js} +23 -23
- package/dist/chunks/{pty-jbtd89qx.js → event-logger-6ws21zwn.js} +13 -13
- package/dist/chunks/{pty-z7br6qex.js → event-logger-74epjytj.js} +24 -24
- package/dist/chunks/{pty-nt2pe6m8.js → event-logger-76cvkgxg.js} +25 -25
- package/dist/chunks/{pty-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-192rtf0k.js → event-logger-7wymycec.js} +32 -32
- package/dist/chunks/{pty-jgttmm4a.js → event-logger-7xyrrtj6.js} +5 -5
- package/dist/chunks/{pty-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-p7p04q1a.js → event-logger-8hb4xbhy.js} +18 -18
- package/dist/chunks/{pty-nbgyd66e.js → event-logger-8k5j04yw.js} +25 -25
- package/dist/chunks/{pty-026axa4a.js → event-logger-8kecht9x.js} +30 -30
- package/dist/chunks/{pty-jgq9btc2.js → event-logger-8wfyked2.js} +49 -49
- package/dist/chunks/{pty-6ng8rhkc.js → event-logger-965ggptx.js} +12 -12
- package/dist/chunks/{pty-p1zevnby.js → event-logger-9aj2ewm7.js} +35 -35
- package/dist/chunks/{pty-f22wqnxv.js → event-logger-9b5kt93f.js} +11 -11
- package/dist/chunks/{pty-pcfkrm12.js → event-logger-9fc3v4re.js} +4 -4
- package/dist/chunks/event-logger-9kfwgk0g.js +252 -0
- package/dist/chunks/{pty-c7w3tbrx.js → event-logger-9m2wgq44.js} +6 -6
- package/dist/chunks/{pty-feqpvc5c.js → event-logger-a3j10mfs.js} +19 -19
- package/dist/chunks/{pty-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-5getdy1k.js → event-logger-aehm52e9.js} +19 -19
- package/dist/chunks/{pty-2yb6xvw8.js → event-logger-ahpsrzsw.js} +13 -13
- package/dist/chunks/{pty-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-x2rw7g36.js → event-logger-b7b4ctej.js} +5 -5
- package/dist/chunks/{pty-4tajgtbv.js → event-logger-bzngrnjc.js} +15 -15
- package/dist/chunks/{pty-4e8vs6eh.js → event-logger-c27esgm9.js} +8 -8
- package/dist/chunks/{pty-0tay0vp0.js → event-logger-c5be9zdx.js} +17 -17
- package/dist/chunks/{pty-djszqvmq.js → event-logger-c765mh8b.js} +9 -9
- package/dist/chunks/{pty-7g9sy6yd.js → event-logger-c83phvx3.js} +7 -7
- package/dist/chunks/{pty-tms1td0z.js → event-logger-ch15aacc.js} +52 -52
- package/dist/chunks/{pty-5yzzbxa7.js → event-logger-cmwkp3r5.js} +8 -8
- package/dist/chunks/{pty-texm17j6.js → event-logger-cna5mhkg.js} +24 -24
- package/dist/chunks/{pty-6y2kb6da.js → event-logger-cnkdetzb.js} +22 -22
- package/dist/chunks/{pty-15zevn5w.js → event-logger-cpy6gm2a.js} +6 -6
- package/dist/chunks/{pty-rp6xkheg.js → event-logger-cscxsbct.js} +13 -13
- package/dist/chunks/{pty-frw7gw9n.js → event-logger-czm3bm87.js} +32 -32
- package/dist/chunks/{pty-draats0m.js → event-logger-dfrss5yb.js} +5 -5
- package/dist/chunks/{pty-8p4f9s12.js → event-logger-dj2t23y0.js} +2 -2
- package/dist/chunks/{pty-dpkg50ah.js → event-logger-dpkg50ah.js} +1 -1
- package/dist/chunks/{pty-f8fgzrbf.js → event-logger-e2gcv4mp.js} +25 -25
- package/dist/chunks/{pty-xya6rnzh.js → event-logger-e4g6rnfs.js} +13 -13
- package/dist/chunks/{pty-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-jt4eq04m.js → event-logger-eq2cdp10.js} +42 -42
- package/dist/chunks/{pty-ba30f0re.js → event-logger-erhakd9y.js} +29 -29
- package/dist/chunks/{pty-erw5rpbs.js → event-logger-erw5rpbs.js} +2 -2
- package/dist/chunks/{pty-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-zqpw1c2p.js → event-logger-evxjfsf1.js} +32 -32
- package/dist/chunks/{pty-fmj93vfk.js → event-logger-eydrgtxh.js} +12 -12
- package/dist/chunks/{pty-k1qrnqst.js → event-logger-f5gy8qwh.js} +8 -8
- package/dist/chunks/{pty-w2xf1871.js → event-logger-f8mrt3yx.js} +40 -40
- package/dist/chunks/{pty-hs74x4gh.js → event-logger-f9th4ctt.js} +4 -4
- package/dist/chunks/{pty-rt43k5p5.js → event-logger-f9xxq0qt.js} +32 -32
- package/dist/chunks/{pty-zab6dek8.js → event-logger-fjvrebxd.js} +22 -22
- package/dist/chunks/{pty-bqjt5s0q.js → event-logger-fpwjxwx3.js} +43 -43
- package/dist/chunks/{pty-r9w3djhf.js → event-logger-fqcgpcra.js} +9 -9
- package/dist/chunks/{pty-fvkf5gpn.js → event-logger-fzb6eg2k.js} +5 -5
- package/dist/chunks/{pty-d81wp89e.js → event-logger-g2yqed36.js} +20 -20
- package/dist/chunks/{pty-3srp75sn.js → event-logger-g7a140t9.js} +13 -13
- package/dist/chunks/{pty-p7zm9vnn.js → event-logger-gc5zyen6.js} +18 -18
- package/dist/chunks/{pty-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-548d8qnr.js → event-logger-gg2pcgrz.js} +13 -13
- package/dist/chunks/{pty-q40w5akv.js → event-logger-gjdnp5j1.js} +1 -1
- package/dist/chunks/{pty-hm7r1852.js → event-logger-grbsccpx.js} +18 -18
- package/dist/chunks/{pty-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-s4w9dbtc.js → event-logger-gxcntcf7.js} +8 -8
- package/dist/chunks/{pty-9j764z9f.js → event-logger-h2dzxg9q.js} +7 -7
- package/dist/chunks/{pty-zxeq00ty.js → event-logger-h304gee5.js} +14 -14
- package/dist/chunks/{pty-8z00fdkb.js → event-logger-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-8pf6zh8g.js → event-logger-h6xepb87.js} +7 -7
- package/dist/chunks/{pty-jhf3jymm.js → event-logger-h896pcm5.js} +6 -6
- package/dist/chunks/{pty-f828m53h.js → event-logger-hdnk95c8.js} +2 -2
- package/dist/chunks/{pty-e2sckgsq.js → event-logger-hekjtj0c.js} +22 -22
- package/dist/chunks/{pty-1m68c3fq.js → event-logger-hvf0hqz1.js} +11 -11
- package/dist/chunks/{pty-a8mkfh3x.js → event-logger-j33cj7c0.js} +11 -11
- package/dist/chunks/{pty-bbd5t3cy.js → event-logger-j485hse2.js} +35 -35
- package/dist/chunks/{pty-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-eyx3sbbq.js → event-logger-j5vdtgek.js} +4 -4
- package/dist/chunks/{pty-43kxyya3.js → event-logger-j710vash.js} +12 -12
- package/dist/chunks/{pty-pmr4s4kc.js → event-logger-j83byb14.js} +4 -4
- package/dist/chunks/{pty-vw2351hj.js → event-logger-jcaaevbk.js} +5 -5
- package/dist/chunks/{pty-j1fnkb2v.js → event-logger-jccvzjq0.js} +31 -31
- package/dist/chunks/{pty-nscznvay.js → event-logger-jjs74g98.js} +9 -9
- package/dist/chunks/{pty-8vhnwsrf.js → event-logger-jmdk0q61.js} +73 -73
- package/dist/chunks/{pty-bha4atvq.js → event-logger-jmphe03k.js} +4 -4
- package/dist/chunks/{pty-s23akgaf.js → event-logger-jxqwwkf3.js} +5 -5
- package/dist/chunks/{pty-nzks3jc8.js → event-logger-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-p8z07maz.js → event-logger-k6p1ynt8.js} +23 -23
- package/dist/chunks/{pty-93hpb89x.js → event-logger-k6yq57aq.js} +3 -3
- package/dist/chunks/{pty-870m6jn5.js → event-logger-k8a7jxk0.js} +6 -6
- package/dist/chunks/{pty-knb7evpn.js → event-logger-k9kj6xed.js} +6 -6
- package/dist/chunks/{pty-2shksz5k.js → event-logger-kfj42dqf.js} +15 -15
- package/dist/chunks/{pty-48yax929.js → event-logger-kfyt32eg.js} +41 -41
- package/dist/chunks/{pty-29mx63hq.js → event-logger-kh4f7xrt.js} +29 -29
- package/dist/chunks/{pty-2sr83qrg.js → event-logger-kkjk0k92.js} +1 -1
- package/dist/chunks/event-logger-km01z7yn.js +26 -0
- package/dist/chunks/{pty-xkr6cyjb.js → event-logger-kshh6723.js} +23 -23
- package/dist/chunks/{pty-1543s7pr.js → event-logger-kxy3zzmf.js} +4 -4
- package/dist/chunks/{pty-tct3dq34.js → event-logger-kzqssey1.js} +54 -54
- package/dist/chunks/{pty-cfpkc3c9.js → event-logger-m0jqrx5p.js} +2 -2
- package/dist/chunks/{pty-rsf4gv7k.js → event-logger-m2tgckte.js} +27 -27
- package/dist/chunks/{pty-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-m5j28g6y.js → event-logger-m67nz9rk.js} +8 -8
- package/dist/chunks/{pty-6svx4vfh.js → event-logger-m9jeb0dg.js} +28 -28
- package/dist/chunks/{pty-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-xhrfypmh.js → event-logger-mdeam199.js} +32 -32
- package/dist/chunks/{pty-qr8qa9bm.js → event-logger-mhvcgc0n.js} +30 -30
- package/dist/chunks/{pty-sez5jh81.js → event-logger-mjymc32g.js} +4 -4
- package/dist/chunks/{pty-vj81g6vn.js → event-logger-msq0jde0.js} +4 -4
- package/dist/chunks/{pty-s0agc963.js → event-logger-mw934p8z.js} +5 -5
- package/dist/chunks/{pty-g2eett4k.js → event-logger-mwaasxsj.js} +11 -11
- package/dist/chunks/{pty-zcc1n10w.js → event-logger-myqhxg9v.js} +8 -8
- package/dist/chunks/{pty-wx15ps39.js → event-logger-mzrbxmyd.js} +11 -11
- package/dist/chunks/{pty-ehhpwfhw.js → event-logger-n2gg5p8t.js} +40 -40
- package/dist/chunks/{pty-k5t1vn2m.js → event-logger-ncxpewm0.js} +24 -24
- package/dist/chunks/{pty-vqwxbh15.js → event-logger-ng0pqa5s.js} +19 -19
- package/dist/chunks/{pty-xj2v2q7r.js → event-logger-nv6sgpkb.js} +6 -6
- package/dist/chunks/{pty-d386qjdf.js → event-logger-nwn8438d.js} +3 -3
- package/dist/chunks/{pty-p28j5sbe.js → event-logger-p28j5sbe.js} +2 -2
- package/dist/chunks/{pty-pecb0brz.js → event-logger-p44d8wdy.js} +5 -5
- package/dist/chunks/{pty-0w94f9zc.js → event-logger-p6dvmy6m.js} +8 -8
- package/dist/chunks/{pty-hwdkr1sy.js → event-logger-p7zm1bbg.js} +9 -9
- package/dist/chunks/{pty-vbwvxk55.js → event-logger-pfcenzjn.js} +16 -16
- package/dist/chunks/{pty-dc0f92gk.js → event-logger-pjv5g3we.js} +44 -44
- package/dist/chunks/{pty-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{pty-mfcw5yns.js → event-logger-pnezrcsm.js} +3 -3
- package/dist/chunks/{pty-hqmr0w3b.js → event-logger-pstg3rfm.js} +1 -1
- package/dist/chunks/{pty-02xe747d.js → event-logger-q5rsr9t9.js} +8 -8
- package/dist/chunks/{pty-pvcnmygp.js → event-logger-q89ms4w2.js} +20 -20
- package/dist/chunks/{pty-2s238nn0.js → event-logger-qaczxe84.js} +184 -184
- package/dist/chunks/{pty-09tf4pjr.js → event-logger-qc9cscmv.js} +98 -98
- package/dist/chunks/{pty-qjnxxf51.js → event-logger-qjnxxf51.js} +2 -2
- package/dist/chunks/{pty-9pr215e3.js → event-logger-qk9s13pt.js} +21 -21
- package/dist/chunks/{pty-sk7gk9f5.js → event-logger-qq78z515.js} +13 -13
- package/dist/chunks/{pty-mx7gy8pb.js → event-logger-qrbdfc2y.js} +5 -5
- package/dist/chunks/{pty-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-mhkvc446.js → event-logger-r5x6zcsm.js} +3 -3
- package/dist/chunks/event-logger-rap9a73h.js +18 -0
- package/dist/chunks/{pty-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-esmjnf1q.js → event-logger-rfz948x8.js} +6 -6
- package/dist/chunks/{pty-3tjpy68d.js → event-logger-rvhy2x5j.js} +33 -33
- package/dist/chunks/{pty-h61ncxx5.js → event-logger-ryxmxgzp.js} +10 -10
- package/dist/chunks/{pty-rxdxv3zs.js → event-logger-rz38yymz.js} +12 -12
- package/dist/chunks/{pty-favr8gmm.js → event-logger-s3r0q333.js} +15 -15
- package/dist/chunks/{pty-7mr8gmff.js → event-logger-s6qg0f85.js} +4 -4
- package/dist/chunks/{pty-xc8wbe60.js → event-logger-s89ehdyp.js} +28 -28
- package/dist/chunks/{pty-et2qvwfy.js → event-logger-s9h2g6by.js} +10 -10
- package/dist/chunks/{pty-9n5gchmp.js → event-logger-sbev2xd4.js} +32 -32
- package/dist/chunks/{pty-rrfm0vdv.js → event-logger-svenvbs2.js} +15 -15
- package/dist/chunks/{pty-8m27p9j3.js → event-logger-syzk9dn2.js} +12 -12
- package/dist/chunks/{pty-mkmvax1f.js → event-logger-t2c2xhgk.js} +10 -10
- package/dist/chunks/{pty-eaj1djv9.js → event-logger-t550f9t1.js} +8 -8
- package/dist/chunks/{pty-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-3cs1hnzz.js → event-logger-tc9wmbbt.js} +23 -23
- package/dist/chunks/{pty-89znhe33.js → event-logger-tcezcvh9.js} +4 -4
- package/dist/chunks/{pty-s1x3xehd.js → event-logger-tcyr2mjb.js} +14 -14
- package/dist/chunks/{pty-w97g4k0g.js → event-logger-tdhe5xga.js} +8 -8
- package/dist/chunks/{pty-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{pty-6rjq4ad6.js → event-logger-tm7zr4pr.js} +4 -4
- package/dist/chunks/{pty-rf2pre7z.js → event-logger-tmdm8nhe.js} +16 -16
- package/dist/chunks/{pty-78v47nsk.js → event-logger-tn0aqsam.js} +5 -5
- package/dist/chunks/{pty-abcdk8h0.js → event-logger-tr6395rv.js} +41 -41
- package/dist/chunks/{pty-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-sgb290x0.js → event-logger-tz6evg4p.js} +18 -18
- package/dist/chunks/{pty-ca9wasfp.js → event-logger-v0rpwjyq.js} +18 -18
- package/dist/chunks/{pty-rzz4s24w.js → event-logger-v1h7w5qd.js} +17 -17
- package/dist/chunks/{pty-t3444mmx.js → event-logger-v4ck12m0.js} +11 -11
- package/dist/chunks/{pty-njs4fkas.js → event-logger-v7ax8jwn.js} +17 -17
- package/dist/chunks/{pty-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-3q7edt44.js → event-logger-vj3n20x5.js} +14 -14
- package/dist/chunks/{pty-j69p7kth.js → event-logger-vnqs7r77.js} +28 -28
- package/dist/chunks/{pty-2sbg9ezb.js → event-logger-vqrb12cs.js} +60 -60
- package/dist/chunks/{pty-bqa7vndz.js → event-logger-vrhc7fs1.js} +27 -27
- package/dist/chunks/{pty-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-qrrcqbrg.js → event-logger-w2dp7ehs.js} +13 -13
- package/dist/chunks/{pty-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-9dvfkq0c.js → event-logger-w6gc61s9.js} +9 -9
- package/dist/chunks/{pty-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{pty-ph842b28.js → event-logger-wj76ss2k.js} +4 -4
- package/dist/chunks/{pty-fya5n5xa.js → event-logger-wp991nc2.js} +12 -12
- package/dist/chunks/{pty-j7c1rfea.js → event-logger-wpn6b2y7.js} +24 -24
- package/dist/chunks/{pty-be40ghdv.js → event-logger-wqc6684y.js} +2 -2
- package/dist/chunks/{pty-4cv6vszb.js → event-logger-wtd95fmx.js} +22 -22
- package/dist/chunks/{pty-atfs7rhk.js → event-logger-wzz0kxab.js} +4 -4
- package/dist/chunks/{pty-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-879k3rbz.js → event-logger-x1pyywdt.js} +5 -5
- package/dist/chunks/{pty-zg5t6seb.js → event-logger-x383x7h2.js} +11 -11
- package/dist/chunks/{pty-5vdyt57w.js → event-logger-x9zc6e4m.js} +3 -3
- package/dist/chunks/{pty-1cd81313.js → event-logger-xcwej3ej.js} +11 -11
- package/dist/chunks/{pty-drwq78ky.js → event-logger-xfkkasph.js} +4 -4
- package/dist/chunks/event-logger-xrsqh21y.js +4 -0
- package/dist/chunks/{pty-q58mka6k.js → event-logger-xsgk3b13.js} +9 -9
- package/dist/chunks/event-logger-xwd8wj01.js +503 -0
- package/dist/chunks/{pty-1avgqjfw.js → event-logger-xz4b9fm1.js} +11 -11
- package/dist/chunks/{pty-ha666rq4.js → event-logger-y0v406da.js} +6 -6
- package/dist/chunks/{pty-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-r7pg2k45.js → event-logger-ye8vvjpm.js} +37 -37
- package/dist/chunks/{pty-p1cpmwyf.js → event-logger-yevqhp4e.js} +19 -19
- package/dist/chunks/{pty-461fsfdt.js → event-logger-yjrjdv4d.js} +22 -22
- package/dist/chunks/{pty-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-nw53exab.js → event-logger-yvvvp4gn.js} +8 -8
- package/dist/chunks/{pty-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-yrbxk7kt.js → event-logger-z31xfknp.js} +20 -20
- package/dist/chunks/{pty-8exbzf8y.js → event-logger-z5z1z32e.js} +19 -19
- package/dist/chunks/{pty-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-tz4n1mmd.js → event-logger-zav06jzw.js} +4 -4
- package/dist/chunks/{pty-050w92qt.js → event-logger-zc6f29a8.js} +11 -11
- package/dist/chunks/{pty-2hvjkdzw.js → event-logger-zc733s3z.js} +3 -3
- package/dist/chunks/{pty-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-xcz1w3cx.js → event-logger-zfwjcr3k.js} +29 -29
- package/dist/chunks/{pty-y9g97vsr.js → event-logger-zqawtfk0.js} +35 -35
- package/dist/chunks/{pty-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-e91xfsxp.js → event-logger-zs2egq8y.js} +2 -2
- package/dist/chunks/{pty-j2zz4nqv.js → event-logger-zsb94mss.js} +15 -15
- package/dist/chunks/{pty-6wc135vc.js → event-logger-zxnbmr45.js} +27 -27
- package/dist/chunks/{pty-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/pty-45th5jwr.js +0 -18
- package/dist/chunks/pty-4wwmgmwd.js +0 -26
- package/dist/chunks/pty-pf0d5y53.js +0 -252
- package/dist/chunks/pty-qtvmxc8s.js +0 -4
- package/dist/chunks/pty-wwpq4dkc.js +0 -503
- /package/dist/chunks/{pty-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → event-logger-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service84,
|
|
6
|
-
node88
|
|
7
|
-
} from "./pty-t3444mmx.js";
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service83,
|
|
10
6
|
node87
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./event-logger-v4ck12m0.js";
|
|
12
8
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
9
|
+
Service82,
|
|
10
|
+
node86
|
|
11
|
+
} from "./event-logger-pfcenzjn.js";
|
|
12
|
+
import {
|
|
13
|
+
Service84,
|
|
14
|
+
node88
|
|
15
|
+
} from "./event-logger-965ggptx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
19
|
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./event-logger-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./event-logger-dj2t23y0.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-m0jqrx5p.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
40
|
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
61
|
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,12 +93,12 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service84;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
101
|
-
const db = (yield*
|
|
100
|
+
const bus = yield* Service82;
|
|
101
|
+
const db = (yield* Service83).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
104
104
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID17.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event21.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service81.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node85 = makeGlobalNode({
|
|
276
|
+
service: Service81,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node88, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-4j1b3dvz.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-j485hse2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./event-logger-ncxpewm0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-6ws21zwn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./event-logger-bzngrnjc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./event-logger-vqrb12cs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./event-logger-grbsccpx.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: () => Input3,
|
|
29
|
+
Output: () => Output3,
|
|
30
|
+
Plugin: () => Plugin23,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name3,
|
|
33
|
+
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = 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 Output3 = 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 toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin23 = {
|
|
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* Service19;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service54;
|
|
58
|
+
const formatter = yield* Service71;
|
|
59
|
+
const permission = yield* Service57;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
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: Input3,
|
|
69
|
+
output: Output3,
|
|
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: toModelContent3(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 { name3, Input3, Output3, toModelContent3, Plugin23, exports_write };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event7,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service45,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured6,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer17,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node48,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event7 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service45 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer17 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service45.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service45).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured6(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service45, layer: layer17(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node48 = configured6();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event7, hasNativeBinding2, Native3, Options7, Service45, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured6, node48, exports_watcher };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node88
|
|
7
|
+
} from "./event-logger-965ggptx.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service84,
|
|
13
|
-
node88
|
|
14
|
-
} from "./pty-t3444mmx.js";
|
|
10
|
+
} from "./event-logger-gebd4c9n.js";
|
|
15
11
|
import {
|
|
16
12
|
Service83,
|
|
17
13
|
node87
|
|
18
|
-
} from "./
|
|
14
|
+
} from "./event-logger-v4ck12m0.js";
|
|
15
|
+
import {
|
|
16
|
+
Service82,
|
|
17
|
+
node86
|
|
18
|
+
} from "./event-logger-pfcenzjn.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-dj2t23y0.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-m0jqrx5p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID17,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./event-logger-f8mrt3yx.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./event-logger-tcyr2mjb.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service52,
|
|
34
|
+
node54
|
|
35
|
+
} from "./event-logger-w6gc61s9.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./event-logger-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make12
|
|
42
|
+
} from "./event-logger-p6dvmy6m.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service16
|
|
45
|
+
} from "./event-logger-qk9s13pt.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput2,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event3,
|
|
57
|
+
Info: () => Info3,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service15,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node18
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,11 +79,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput2 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info3 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event3 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service15 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const database = yield*
|
|
103
|
+
const database = yield* Service83;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service52;
|
|
108
|
+
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service16).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event3.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service15.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node18 = Node.makeGlobalNode({
|
|
265
|
+
service: Service15,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node88, node86, node87, AppProcess.node, node54]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput2, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event3, Service15, node18, exports_worktree2, OperationError2 };
|