@opencode/core 0.0.0-dev-19610 → 0.0.0-dev-19613
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 +82 -82
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{shell-0gdmqesm.js → location-service-map-02nrjc1r.js} +8 -8
- package/dist/chunks/{shell-vq3jpdg0.js → location-service-map-06f8gtew.js} +11 -11
- package/dist/chunks/{shell-py8w2btc.js → location-service-map-09dv4b35.js} +11 -11
- package/dist/chunks/{shell-vz6ekzbd.js → location-service-map-0exk3n2e.js} +19 -19
- package/dist/chunks/{shell-tj413h3v.js → location-service-map-0g02wqjc.js} +17 -17
- package/dist/chunks/location-service-map-0mesazry.js +4 -0
- package/dist/chunks/{shell-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-j2q2mctg.js → location-service-map-0v3mhfgm.js} +16 -16
- package/dist/chunks/{shell-tkwws864.js → location-service-map-14ca214m.js} +19 -19
- package/dist/chunks/{shell-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-csf2jhsg.js → location-service-map-1hc11dc4.js} +4 -4
- package/dist/chunks/{shell-ngts6ef0.js → location-service-map-1mkrhngc.js} +8 -8
- package/dist/chunks/{shell-z9nnsx8f.js → location-service-map-1vbvjjmc.js} +11 -11
- package/dist/chunks/{shell-21r38tys.js → location-service-map-21r38tys.js} +1 -1
- package/dist/chunks/{shell-tnsmn68n.js → location-service-map-22pe83z9.js} +22 -22
- package/dist/chunks/{shell-zrg5zcty.js → location-service-map-29074q1n.js} +9 -9
- package/dist/chunks/{shell-tb9hrnng.js → location-service-map-296t09yc.js} +15 -15
- package/dist/chunks/{shell-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-4sn99hha.js → location-service-map-2fgn2we9.js} +5 -5
- package/dist/chunks/{shell-ts2x07a1.js → location-service-map-2jz473v5.js} +1 -1
- package/dist/chunks/{shell-v5enyfy9.js → location-service-map-2kmeykc3.js} +3 -3
- package/dist/chunks/{shell-11nyajgd.js → location-service-map-2m5fqp7n.js} +1 -1
- package/dist/chunks/{shell-bz4hpk94.js → location-service-map-2n5p0fxg.js} +5 -5
- package/dist/chunks/{shell-r8b7ztcg.js → location-service-map-2n8zc6am.js} +14 -14
- package/dist/chunks/{shell-6860rr66.js → location-service-map-2y91kqbg.js} +44 -44
- package/dist/chunks/{shell-gmrsnwh8.js → location-service-map-375f5jdk.js} +18 -18
- package/dist/chunks/{shell-2qp6y8xf.js → location-service-map-37s12vcn.js} +5 -5
- package/dist/chunks/{shell-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-czb7hhek.js → location-service-map-3g1feh6n.js} +13 -13
- package/dist/chunks/{shell-c5n3h355.js → location-service-map-3h3e4z98.js} +26 -26
- package/dist/chunks/{shell-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-7r3neg1r.js → location-service-map-3qdx31v0.js} +35 -35
- package/dist/chunks/{shell-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-krapdeg3.js → location-service-map-3vw407vt.js} +25 -25
- package/dist/chunks/{shell-98depksn.js → location-service-map-3zrb79sp.js} +14 -14
- package/dist/chunks/{shell-qj5hfmwn.js → location-service-map-41camxag.js} +11 -11
- package/dist/chunks/{shell-60b87sp0.js → location-service-map-44kr7xc2.js} +10 -10
- package/dist/chunks/{shell-8mgmrm9j.js → location-service-map-46kds8gk.js} +15 -15
- package/dist/chunks/{shell-2n295dmf.js → location-service-map-481njsdn.js} +8 -8
- package/dist/chunks/{shell-dmxnnmbc.js → location-service-map-4gbrk6eh.js} +6 -6
- package/dist/chunks/{shell-aypr84xx.js → location-service-map-4pmy1264.js} +19 -19
- package/dist/chunks/{shell-mtvv3gsd.js → location-service-map-4r0h6etc.js} +24 -24
- package/dist/chunks/{shell-724fmg57.js → location-service-map-4xk2t4nb.js} +23 -23
- package/dist/chunks/{shell-56gdpj1q.js → location-service-map-56gdpj1q.js} +2 -2
- package/dist/chunks/{shell-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-q7j6kr81.js → location-service-map-5mjvfe5y.js} +6 -6
- package/dist/chunks/{shell-a0b5fdkw.js → location-service-map-5mvsn0n4.js} +26 -26
- package/dist/chunks/{shell-3gqfk94q.js → location-service-map-5nd6hqg1.js} +8 -8
- package/dist/chunks/{shell-de5ahzfz.js → location-service-map-5nkww2gb.js} +15 -15
- package/dist/chunks/{shell-hka8yjdz.js → location-service-map-5pjjts7m.js} +29 -29
- package/dist/chunks/{shell-e3qxr5gk.js → location-service-map-5qd3pb7m.js} +2 -2
- package/dist/chunks/{shell-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-rq8qh2nn.js → location-service-map-5y4txvzj.js} +32 -32
- package/dist/chunks/{shell-ks9y0tx3.js → location-service-map-62va5rb3.js} +24 -24
- package/dist/chunks/{shell-669tq793.js → location-service-map-669tq793.js} +1 -1
- package/dist/chunks/{shell-4nt81eez.js → location-service-map-6cr3es9y.js} +28 -28
- package/dist/chunks/{shell-hmr3ea9n.js → location-service-map-6ejkwac2.js} +3 -3
- package/dist/chunks/{shell-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
- package/dist/chunks/{shell-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-3h03gnyd.js → location-service-map-6nxsvtkx.js} +23 -23
- package/dist/chunks/{shell-xxvph2p0.js → location-service-map-6p10pdhr.js} +83 -83
- package/dist/chunks/{shell-g15mg1fp.js → location-service-map-6zqpf67v.js} +7 -7
- package/dist/chunks/{shell-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
- package/dist/chunks/{shell-fbw0akyd.js → location-service-map-73rz0h41.js} +9 -9
- package/dist/chunks/{shell-zhgb2amq.js → location-service-map-75fve0te.js} +26 -26
- package/dist/chunks/{shell-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-28aedara.js → location-service-map-7cdr5gb1.js} +3 -3
- package/dist/chunks/{shell-7dqw4kz8.js → location-service-map-7dqw4kz8.js} +1 -1
- package/dist/chunks/{shell-xx3aj77c.js → location-service-map-7j0w7kx5.js} +39 -39
- package/dist/chunks/{shell-xxs5sj5m.js → location-service-map-7qqnjw5d.js} +8 -8
- package/dist/chunks/{shell-jamwgqsw.js → location-service-map-7wrt80ma.js} +5 -5
- package/dist/chunks/{shell-zwbb9m0v.js → location-service-map-7y6s2xgk.js} +11 -11
- package/dist/chunks/{shell-bsp1pkt4.js → location-service-map-87n3nhds.js} +12 -12
- package/dist/chunks/{shell-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-s2n5r9er.js → location-service-map-8dh90zjj.js} +30 -30
- package/dist/chunks/{shell-cmmb813z.js → location-service-map-8drea2pm.js} +62 -62
- package/dist/chunks/{shell-8p4f9s12.js → location-service-map-8p4f9s12.js} +2 -2
- package/dist/chunks/{shell-tmaw6k1g.js → location-service-map-8prvq2df.js} +5 -5
- package/dist/chunks/{shell-a271x0pd.js → location-service-map-8vph1emt.js} +13 -13
- package/dist/chunks/{shell-qk0ppmjd.js → location-service-map-93dbjmah.js} +20 -20
- package/dist/chunks/{shell-kbdz3wd2.js → location-service-map-9cwb0bqx.js} +30 -30
- package/dist/chunks/{shell-d3tz2ej1.js → location-service-map-9ff31bqh.js} +9 -9
- package/dist/chunks/{shell-4nqjb4pf.js → location-service-map-9hnn71yg.js} +20 -20
- package/dist/chunks/{shell-8ymghxqk.js → location-service-map-9n3wxq1j.js} +36 -36
- package/dist/chunks/location-service-map-9sh4wc5j.js +18 -0
- package/dist/chunks/{shell-vcfd1qyk.js → location-service-map-9vq0hs4s.js} +23 -23
- package/dist/chunks/{shell-wc2samf7.js → location-service-map-9xc6rpr7.js} +23 -23
- package/dist/chunks/{shell-a1bz86dw.js → location-service-map-a1bz86dw.js} +3 -3
- package/dist/chunks/{shell-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-yaym739t.js → location-service-map-ae83exes.js} +3 -3
- package/dist/chunks/{shell-4dsybr1x.js → location-service-map-aez1es5f.js} +28 -28
- package/dist/chunks/{shell-r78s3j5q.js → location-service-map-b56xca68.js} +35 -35
- package/dist/chunks/{shell-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-g99htbkw.js → location-service-map-bgp3z89z.js} +33 -33
- package/dist/chunks/{shell-4t7xgrp5.js → location-service-map-bktmsznq.js} +29 -29
- package/dist/chunks/{shell-da7pjdbd.js → location-service-map-bsa98fqx.js} +12 -12
- package/dist/chunks/{shell-twygzwrg.js → location-service-map-bwytfvjm.js} +6 -6
- package/dist/chunks/{shell-8nmhfs9c.js → location-service-map-bx4ntnz9.js} +11 -11
- package/dist/chunks/{shell-6zttb827.js → location-service-map-bxcs3vgc.js} +18 -18
- package/dist/chunks/{shell-bj86b7kp.js → location-service-map-c464yk7e.js} +36 -36
- package/dist/chunks/{shell-ydkphrk6.js → location-service-map-c4rw650c.js} +19 -19
- package/dist/chunks/{shell-bcgxfqk7.js → location-service-map-c7437d7y.js} +15 -15
- package/dist/chunks/{shell-axmvebxj.js → location-service-map-cavr175a.js} +21 -21
- package/dist/chunks/{shell-85tc3nc8.js → location-service-map-ce6s4nt1.js} +18 -18
- package/dist/chunks/{shell-cfpkc3c9.js → location-service-map-cfpkc3c9.js} +2 -2
- package/dist/chunks/{shell-5wrt214j.js → location-service-map-cn96cn60.js} +4 -4
- package/dist/chunks/{shell-f00031fc.js → location-service-map-cpevarj8.js} +17 -17
- package/dist/chunks/{shell-k7gxh26f.js → location-service-map-cvh2qfn1.js} +13 -13
- package/dist/chunks/{shell-4j54dnxn.js → location-service-map-cxbs0x8p.js} +22 -22
- package/dist/chunks/{shell-yw5eewpj.js → location-service-map-cxcx5ffv.js} +31 -31
- package/dist/chunks/{shell-844ef7ks.js → location-service-map-cxv3b682.js} +8 -8
- package/dist/chunks/{shell-bfjqsf6d.js → location-service-map-czrth2gj.js} +32 -32
- package/dist/chunks/{shell-vnwmzs4a.js → location-service-map-d1r5081s.js} +5 -5
- package/dist/chunks/{shell-v8wr64pb.js → location-service-map-d81aexdy.js} +2 -2
- package/dist/chunks/{shell-0aw7zksj.js → location-service-map-dmg9z6p5.js} +3 -3
- package/dist/chunks/{shell-b1hg7rtt.js → location-service-map-dmmbqwqg.js} +1 -1
- package/dist/chunks/{shell-t38tzg53.js → location-service-map-dqc529nz.js} +19 -19
- package/dist/chunks/{shell-06cb0fd0.js → location-service-map-drbtznh8.js} +4 -4
- package/dist/chunks/{shell-nemptxrn.js → location-service-map-drdg73e4.js} +41 -41
- package/dist/chunks/{shell-6d6xcght.js → location-service-map-ds2mmwsg.js} +6 -6
- package/dist/chunks/{shell-gntzjf7q.js → location-service-map-dsbehk3j.js} +43 -43
- package/dist/chunks/{shell-vq7zxmz5.js → location-service-map-dx23rp9b.js} +23 -23
- package/dist/chunks/{shell-vet9mkc8.js → location-service-map-dyfjpvav.js} +38 -38
- package/dist/chunks/{shell-kg219d3x.js → location-service-map-dz573yjp.js} +25 -25
- package/dist/chunks/{shell-x9emb11y.js → location-service-map-e09qeq0x.js} +9 -9
- package/dist/chunks/{shell-e5nv3ght.js → location-service-map-e5nv3ght.js} +2 -2
- package/dist/chunks/{shell-cee4awht.js → location-service-map-e5vq6wef.js} +4 -4
- package/dist/chunks/{shell-hjt4xg1x.js → location-service-map-e82z9tr0.js} +7 -7
- package/dist/chunks/{shell-s45sawj9.js → location-service-map-eb0bx2e4.js} +4 -4
- package/dist/chunks/{shell-1tceadnv.js → location-service-map-ebj3yfyc.js} +11 -11
- package/dist/chunks/{shell-5rtg8v4f.js → location-service-map-ec3p188n.js} +8 -8
- package/dist/chunks/{shell-fekeaz39.js → location-service-map-eet9vec2.js} +3 -3
- package/dist/chunks/{shell-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-08hjcfds.js → location-service-map-efhqt4af.js} +16 -16
- package/dist/chunks/{shell-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-15actg85.js → location-service-map-f0k0k52x.js} +26 -26
- package/dist/chunks/{shell-yp2x3t23.js → location-service-map-f2n192rq.js} +4 -4
- package/dist/chunks/{shell-pjcjb8bs.js → location-service-map-f35htakt.js} +9 -9
- package/dist/chunks/{shell-3657zqg5.js → location-service-map-f389d7gj.js} +32 -32
- package/dist/chunks/{shell-f828m53h.js → location-service-map-f828m53h.js} +2 -2
- package/dist/chunks/{shell-xb02k0wq.js → location-service-map-fdv30zvt.js} +7 -7
- package/dist/chunks/{shell-ca7n9cfq.js → location-service-map-fgbd9a1c.js} +9 -9
- package/dist/chunks/{shell-35f3c8ak.js → location-service-map-fgz39w39.js} +86 -86
- package/dist/chunks/{shell-hjfxv1hf.js → location-service-map-fhg6wqx7.js} +15 -15
- package/dist/chunks/{shell-4zr3jzsn.js → location-service-map-fnq3w2rd.js} +8 -8
- package/dist/chunks/{shell-58k5q12w.js → location-service-map-fqmd4s1j.js} +32 -32
- package/dist/chunks/{shell-8saayj0p.js → location-service-map-fr4993az.js} +47 -47
- package/dist/chunks/{shell-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-vzjym1fd.js → location-service-map-fxmgaxj3.js} +12 -12
- package/dist/chunks/{shell-vkxpz7g2.js → location-service-map-fxqygnfa.js} +4 -4
- package/dist/chunks/{shell-f32czd11.js → location-service-map-g8jasmdt.js} +11 -11
- package/dist/chunks/{shell-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-sf7s3xnw.js → location-service-map-gqqd7yp5.js} +60 -60
- package/dist/chunks/{shell-jvf3yq6v.js → location-service-map-gst7axd9.js} +4 -4
- package/dist/chunks/{shell-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-tb399yc8.js → location-service-map-gya96k67.js} +22 -22
- package/dist/chunks/{shell-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
- package/dist/chunks/{shell-5p8jzcnz.js → location-service-map-h6nte9nw.js} +35 -35
- package/dist/chunks/{shell-84bp84rj.js → location-service-map-h6pyjjh7.js} +6 -6
- package/dist/chunks/{shell-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-jsj4eyt5.js → location-service-map-h7jb3q20.js} +4 -4
- package/dist/chunks/{shell-m86bnw2c.js → location-service-map-h7ygw6q4.js} +9 -9
- package/dist/chunks/{shell-tezxby1z.js → location-service-map-hbtnxrex.js} +4 -4
- package/dist/chunks/{shell-j22hf46x.js → location-service-map-henk663z.js} +8 -8
- package/dist/chunks/{shell-m7p8symg.js → location-service-map-hhn9sqhg.js} +7 -7
- package/dist/chunks/{shell-e1tdxk5c.js → location-service-map-hmjjxanq.js} +11 -11
- package/dist/chunks/{shell-t44n027g.js → location-service-map-hsj2h3cb.js} +14 -14
- package/dist/chunks/{shell-hnf89hr7.js → location-service-map-ht6c2863.js} +12 -12
- package/dist/chunks/{shell-7xjyd7zv.js → location-service-map-hz4565jb.js} +2 -2
- package/dist/chunks/{shell-shk57n0j.js → location-service-map-hzmtefn0.js} +11 -11
- package/dist/chunks/{shell-bdqrk2vk.js → location-service-map-j5208yae.js} +4 -4
- package/dist/chunks/{shell-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-eg7y150x.js → location-service-map-jgnxw11k.js} +10 -10
- package/dist/chunks/location-service-map-jgy3c5f9.js +472 -0
- package/dist/chunks/{shell-kv6kzmzw.js → location-service-map-jst8vt3d.js} +5 -5
- package/dist/chunks/{shell-d8nc1xcx.js → location-service-map-jva4mgym.js} +4 -4
- package/dist/chunks/{shell-8q0t0smx.js → location-service-map-jxgp7g53.js} +1 -1
- package/dist/chunks/{shell-shkg2ahe.js → location-service-map-k6y8t4k1.js} +58 -58
- package/dist/chunks/{shell-xa8bg79b.js → location-service-map-kaq1kxkp.js} +1 -1
- package/dist/chunks/{shell-hs3g5x4f.js → location-service-map-kd9s22ns.js} +6 -6
- package/dist/chunks/{shell-nj8bs39t.js → location-service-map-kmzmb758.js} +3 -3
- package/dist/chunks/{shell-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-gg94j5y5.js → location-service-map-mbnh2t2h.js} +6 -6
- package/dist/chunks/{shell-n64z6ayh.js → location-service-map-md8mx0w8.js} +17 -17
- package/dist/chunks/{shell-ky853516.js → location-service-map-mr09x0kn.js} +34 -34
- package/dist/chunks/{shell-bs5y9wpc.js → location-service-map-n16mkrvf.js} +11 -11
- package/dist/chunks/{shell-1sr49ngx.js → location-service-map-n4geea0h.js} +8 -8
- package/dist/chunks/{shell-am2x7dha.js → location-service-map-n77bm98b.js} +46 -46
- package/dist/chunks/{shell-xdaabq9e.js → location-service-map-nf9hvehr.js} +2 -2
- package/dist/chunks/{shell-ysm27kyh.js → location-service-map-nhf4zmre.js} +7 -7
- package/dist/chunks/{shell-rhbwnwxm.js → location-service-map-nqqf9675.js} +13 -13
- package/dist/chunks/{shell-wztakc2g.js → location-service-map-nxmk8ws5.js} +43 -43
- package/dist/chunks/{shell-8sp2z33n.js → location-service-map-p0a47g0h.js} +4 -4
- package/dist/chunks/{shell-apkjg5f1.js → location-service-map-phew4xhx.js} +1 -1
- package/dist/chunks/{shell-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{shell-k943pb70.js → location-service-map-pqsm2j1s.js} +49 -49
- package/dist/chunks/{shell-5kbrmkke.js → location-service-map-pw9ddc5h.js} +27 -27
- package/dist/chunks/{shell-f58gpcny.js → location-service-map-px76j0pk.js} +8 -8
- package/dist/chunks/{shell-y992ahjm.js → location-service-map-q32k0fs9.js} +1 -1
- package/dist/chunks/{shell-cgccaycz.js → location-service-map-qbgx7nv3.js} +26 -26
- package/dist/chunks/{shell-wn3yryga.js → location-service-map-qeqdnheg.js} +20 -20
- package/dist/chunks/{shell-ff0htmxq.js → location-service-map-qfzde7bh.js} +6 -6
- package/dist/chunks/{shell-f6dg4s51.js → location-service-map-qhxjjwxg.js} +24 -24
- package/dist/chunks/{shell-2a4f6v5q.js → location-service-map-qm7jrdpz.js} +8 -8
- package/dist/chunks/{shell-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-gm46a55d.js → location-service-map-r0t15azg.js} +8 -8
- package/dist/chunks/{shell-p0b4ytnr.js → location-service-map-r33ff4dw.js} +4 -4
- package/dist/chunks/{shell-5mtzsd3b.js → location-service-map-r55vasa2.js} +4 -4
- package/dist/chunks/{shell-7yh4e7ss.js → location-service-map-r5x6zcsm.js} +3 -3
- package/dist/chunks/{shell-q0fgvcgb.js → location-service-map-r7mtf7va.js} +13 -13
- package/dist/chunks/{shell-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
- package/dist/chunks/{shell-rq4xqzzd.js → location-service-map-rcax84ya.js} +4 -4
- package/dist/chunks/{shell-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-yt0fqk68.js → location-service-map-s8zy8myc.js} +5 -5
- package/dist/chunks/{shell-4ymq8kc4.js → location-service-map-scjvjzrv.js} +33 -33
- package/dist/chunks/{shell-er21d9gb.js → location-service-map-sfmx7ja1.js} +9 -9
- package/dist/chunks/{shell-fk5v58mc.js → location-service-map-sktczvrt.js} +14 -14
- package/dist/chunks/{shell-jz6dexdk.js → location-service-map-sp86gy6a.js} +19 -19
- package/dist/chunks/{shell-jm7w29aj.js → location-service-map-t67987gv.js} +25 -25
- package/dist/chunks/{shell-gwz5q7xf.js → location-service-map-t7183y40.js} +31 -31
- package/dist/chunks/{shell-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{shell-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
- package/dist/chunks/location-service-map-v76s5b0s.js +251 -0
- package/dist/chunks/{shell-19qt9ms0.js → location-service-map-v7hep15h.js} +25 -25
- package/dist/chunks/{shell-y3nkzwnm.js → location-service-map-vav2c2cr.js} +25 -25
- package/dist/chunks/{shell-0bvq92zm.js → location-service-map-vb997v53.js} +29 -29
- package/dist/chunks/{shell-bct739vz.js → location-service-map-ve4pfa0n.js} +4 -4
- package/dist/chunks/{shell-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-wn0qm5qp.js → location-service-map-vwc7evev.js} +17 -17
- package/dist/chunks/{shell-n25js84d.js → location-service-map-vx3t9wvk.js} +11 -11
- package/dist/chunks/{shell-9b2gkdkm.js → location-service-map-vywfytpn.js} +27 -27
- package/dist/chunks/{shell-3ef74p4c.js → location-service-map-vyz1nvqm.js} +11 -11
- package/dist/chunks/{shell-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-4yzwshaw.js → location-service-map-w2kh4c12.js} +15 -15
- package/dist/chunks/{shell-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-jv01nqvq.js → location-service-map-wbkyxrgf.js} +5 -5
- package/dist/chunks/{shell-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{shell-fgga4tyk.js → location-service-map-wj2f1e6q.js} +44 -44
- package/dist/chunks/{shell-sx1q5qav.js → location-service-map-wjhm61d9.js} +15 -15
- package/dist/chunks/{shell-bz5ac8yj.js → location-service-map-wr994sqv.js} +11 -11
- package/dist/chunks/{shell-yhcttc12.js → location-service-map-ws4etjf1.js} +12 -12
- package/dist/chunks/{shell-5wq01ar5.js → location-service-map-wzgf8172.js} +20 -20
- package/dist/chunks/{shell-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-eyhpk03x.js → location-service-map-x62a4d48.js} +11 -11
- package/dist/chunks/location-service-map-x7bazcqt.js +26 -0
- package/dist/chunks/{shell-f8gkg4y9.js → location-service-map-x9m2j9ps.js} +5 -5
- package/dist/chunks/{shell-91tfrhd1.js → location-service-map-xafs9hxs.js} +6 -6
- package/dist/chunks/{shell-myhx9xq2.js → location-service-map-xap1vr3y.js} +10 -10
- package/dist/chunks/{shell-13vh4t13.js → location-service-map-xehevt9d.js} +14 -14
- package/dist/chunks/{shell-q12fghcp.js → location-service-map-xgn7tabx.js} +24 -24
- package/dist/chunks/{shell-tkg9rxzp.js → location-service-map-xhh1n5fz.js} +8 -8
- package/dist/chunks/{shell-0p4j4cv0.js → location-service-map-xhmq8qgk.js} +9 -9
- package/dist/chunks/{shell-dg9hzp08.js → location-service-map-xp03h3xb.js} +15 -15
- package/dist/chunks/{shell-n3ej18g3.js → location-service-map-xpzqjy6f.js} +35 -35
- package/dist/chunks/{shell-5k7whcx8.js → location-service-map-xt3w6yk5.js} +23 -23
- package/dist/chunks/{shell-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-jwcy2c2z.js → location-service-map-y71avatq.js} +4 -4
- package/dist/chunks/{shell-bdyp82c4.js → location-service-map-ybxvfqcx.js} +7 -7
- package/dist/chunks/{shell-yqcnkns9.js → location-service-map-yfxwqvqs.js} +15 -15
- package/dist/chunks/{shell-j5krrq7s.js → location-service-map-ykf3ptpw.js} +35 -35
- package/dist/chunks/{shell-vnge3cnh.js → location-service-map-ypg67s3v.js} +17 -17
- package/dist/chunks/{shell-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-s4enseaf.js → location-service-map-yrznvahk.js} +2 -2
- package/dist/chunks/{shell-28ebf1cb.js → location-service-map-yv948d01.js} +17 -17
- package/dist/chunks/{shell-q7436kvy.js → location-service-map-yx2y7hvv.js} +9 -9
- package/dist/chunks/{shell-znbb05ss.js → location-service-map-z0064rbb.js} +16 -16
- package/dist/chunks/{shell-h967t558.js → location-service-map-z0a4xc00.js} +6 -6
- package/dist/chunks/{shell-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-raxwcv5a.js → location-service-map-z27700qy.js} +18 -18
- package/dist/chunks/{shell-m7va1g8x.js → location-service-map-z2mtc428.js} +2 -2
- package/dist/chunks/{shell-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
- package/dist/chunks/{shell-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-fqax9b7r.js → location-service-map-zf7grqb8.js} +171 -171
- package/dist/chunks/{shell-pt4mvj74.js → location-service-map-zfnp7b6b.js} +19 -19
- package/dist/chunks/{shell-p3vxwp2p.js → location-service-map-zqyzccv6.js} +11 -11
- package/dist/chunks/{shell-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-vfx00g3j.js → location-service-map-zr7h07xm.js} +23 -23
- package/dist/chunks/{shell-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- 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 +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +105 -105
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +80 -80
- 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 +68 -68
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +126 -126
- 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 +96 -96
- package/dist/model.js +101 -101
- package/dist/models-dev.js +105 -105
- 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 +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- 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/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- 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 +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- 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/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 +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +89 -89
- 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 +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +89 -89
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +97 -97
- 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 +133 -133
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +172 -172
- 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 +72 -72
- 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 +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- 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 +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- 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 +13 -13
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +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 +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/shell-286ag1vh.js +0 -472
- package/dist/chunks/shell-5y2ymaq7.js +0 -26
- package/dist/chunks/shell-6kdq0pjd.js +0 -4
- package/dist/chunks/shell-deqxj2db.js +0 -251
- package/dist/chunks/shell-rap9a73h.js +0 -18
- /package/dist/chunks/{shell-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-256nx13v.js → location-service-map-256nx13v.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → location-service-map-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service7.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service7, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service7, node10, exports_location_watcher_policy };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node84
|
|
7
|
+
} from "./location-service-map-ws4etjf1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-2kmeykc3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service78,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node83,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service78 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service79;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service80;
|
|
110
|
-
return
|
|
110
|
+
return Service78.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node83 = makeGlobalNode({
|
|
171
|
+
service: Service78,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node85]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service78, isError2, validateBranch2, node83, exports_repository_cache };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./location-service-map-87n3nhds.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./location-service-map-hsj2h3cb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./location-service-map-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service60,
|
|
14
14
|
login2,
|
|
15
15
|
node64
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-3zrb79sp.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service19,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node22
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service19 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service76;
|
|
62
|
+
const location = yield* Service73;
|
|
63
|
+
const shell = yield* Service60;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service19.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node22 = makeLocationNode({
|
|
274
|
+
service: Service19,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node81, node78, node64]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service19, node22, exports_pty, Event4 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service32,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service32 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service32.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service32, awaitActivation2, exports_service };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-r9mregkx.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service51,
|
|
17
17
|
node55
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-px76j0pk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node73
|
|
22
|
+
} from "./location-service-map-1mkrhngc.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service50,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node54
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service50 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service68;
|
|
58
|
+
const image = yield* Service51;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service50.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -264,10 +264,10 @@ function namespaceError(name) {
|
|
|
264
264
|
return;
|
|
265
265
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
266
266
|
}
|
|
267
|
-
var
|
|
268
|
-
service:
|
|
267
|
+
var node54 = makeLocationNode({
|
|
268
|
+
service: Service50,
|
|
269
269
|
layer,
|
|
270
|
-
deps: [
|
|
270
|
+
deps: [node73, node55]
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
export { RegistrationError2,
|
|
273
|
+
export { RegistrationError2, Service50, node54, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-7cdr5gb1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./location-service-map-87n3nhds.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./location-service-map-qfzde7bh.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./location-service-map-4r0h6etc.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-service-map-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-f35htakt.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service40;
|
|
46
46
|
const database = yield* Service81;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service76;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service41;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service40;
|
|
78
|
+
const bus = yield* Service76;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service41;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-fr4993az.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./location-service-map-8drea2pm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service43
|
|
10
|
+
} from "./location-service-map-qbgx7nv3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input11,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin30,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name11,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name11 = "skill";
|
|
30
|
+
var Input11 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin30 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service43;
|
|
51
|
+
const permission = yield* Service64;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name11,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input11,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name11,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin4 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name11, Input11, Output7, description5, toModelOutput2, Plugin30, exports_skill2 };
|