@opencode/core 0.0.0-dev-19506 → 0.0.0-dev-19508
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{catalog-ea8nv0r7.js → persistent-pty-01375378.js} +2 -2
- package/dist/chunks/{catalog-1hc11dc4.js → persistent-pty-06dxphr1.js} +4 -4
- package/dist/chunks/{catalog-2ve45fd6.js → persistent-pty-06tybfx6.js} +5 -5
- package/dist/chunks/{catalog-c8ybyaw7.js → persistent-pty-07zwjyy6.js} +11 -11
- package/dist/chunks/{catalog-ycth0a37.js → persistent-pty-0a6bkr20.js} +13 -13
- package/dist/chunks/{catalog-g14zqp48.js → persistent-pty-0axr4kr0.js} +6 -6
- package/dist/chunks/{catalog-c5erwwx0.js → persistent-pty-0dpda0nx.js} +3 -3
- package/dist/chunks/{catalog-y52vz011.js → persistent-pty-0p5r239s.js} +7 -7
- package/dist/chunks/{catalog-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{catalog-spj4rg7b.js → persistent-pty-13ne6j1k.js} +16 -16
- package/dist/chunks/{catalog-kc1sdjz6.js → persistent-pty-14bvgx98.js} +11 -11
- package/dist/chunks/{catalog-jrekdh0e.js → persistent-pty-154046h8.js} +2 -2
- package/dist/chunks/{catalog-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{catalog-dhjmfj2m.js → persistent-pty-1gz3swn9.js} +18 -18
- package/dist/chunks/{catalog-cza9j1er.js → persistent-pty-1nfpt5r1.js} +1 -1
- package/dist/chunks/{catalog-27kynfr9.js → persistent-pty-1rwk5gxb.js} +61 -61
- package/dist/chunks/{catalog-prnbh1rd.js → persistent-pty-1sa0r58s.js} +16 -16
- package/dist/chunks/persistent-pty-1tm0r3ht.js +4 -0
- package/dist/chunks/{catalog-tsyh7etm.js → persistent-pty-1zcyjaqm.js} +6 -6
- package/dist/chunks/{catalog-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{catalog-35pk5389.js → persistent-pty-2504gt3d.js} +15 -15
- package/dist/chunks/{catalog-0st9n7we.js → persistent-pty-25hvwd8a.js} +6 -6
- package/dist/chunks/{catalog-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-6178vqjw.js → persistent-pty-2e96adxv.js} +6 -6
- package/dist/chunks/{catalog-vm2qaa3d.js → persistent-pty-2efc4pfm.js} +12 -12
- package/dist/chunks/{catalog-8g83qwz1.js → persistent-pty-2fs7h1wz.js} +20 -20
- package/dist/chunks/{catalog-evpex7pv.js → persistent-pty-2k14bdsh.js} +9 -9
- package/dist/chunks/{catalog-0eh3yka3.js → persistent-pty-2qqt1nsd.js} +17 -17
- package/dist/chunks/{catalog-ph51feyp.js → persistent-pty-2y518tma.js} +3 -3
- package/dist/chunks/{catalog-1d8nyk1s.js → persistent-pty-30fz79vd.js} +14 -14
- package/dist/chunks/{catalog-pnr6823z.js → persistent-pty-35k205kv.js} +11 -11
- package/dist/chunks/{catalog-vqf9e0dc.js → persistent-pty-35rehqpd.js} +9 -9
- package/dist/chunks/{catalog-vnk10vcz.js → persistent-pty-3den1rf5.js} +27 -27
- package/dist/chunks/{catalog-cdhqkse9.js → persistent-pty-3f2bzmyt.js} +14 -14
- package/dist/chunks/{catalog-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{catalog-2q8xpyyd.js → persistent-pty-3fsh0gaz.js} +7 -7
- package/dist/chunks/{catalog-ke2e09m8.js → persistent-pty-3gqv5pt4.js} +13 -13
- package/dist/chunks/{catalog-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-35kk67hj.js → persistent-pty-3jm4qh1z.js} +30 -30
- package/dist/chunks/{catalog-cz2rt84b.js → persistent-pty-3pa9w4e5.js} +10 -10
- package/dist/chunks/{catalog-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-mwy0n3d8.js → persistent-pty-3snfyfpy.js} +28 -28
- package/dist/chunks/{catalog-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-ppht2n4g.js → persistent-pty-3v8nnc6y.js} +10 -10
- package/dist/chunks/{catalog-ndqtf2h8.js → persistent-pty-3ykzfd22.js} +7 -7
- package/dist/chunks/{catalog-axqcdv2d.js → persistent-pty-40ykk5rq.js} +18 -18
- package/dist/chunks/{catalog-qncbnjry.js → persistent-pty-4290jz7g.js} +20 -20
- package/dist/chunks/{catalog-zr5scsq3.js → persistent-pty-4775as7b.js} +13 -13
- package/dist/chunks/{catalog-wadkepq2.js → persistent-pty-487k7jth.js} +26 -26
- package/dist/chunks/{catalog-7qq57c1m.js → persistent-pty-4etgcfvy.js} +9 -9
- package/dist/chunks/{catalog-ferwhf5k.js → persistent-pty-4kgv92xd.js} +18 -18
- package/dist/chunks/{catalog-dzyasay6.js → persistent-pty-4m8ycsnb.js} +8 -8
- package/dist/chunks/{catalog-vphz6f65.js → persistent-pty-4q1gpajt.js} +50 -50
- package/dist/chunks/{catalog-w7pn3sr0.js → persistent-pty-4tb880m7.js} +16 -16
- package/dist/chunks/{catalog-qh5p97jn.js → persistent-pty-4tj561sw.js} +11 -11
- package/dist/chunks/{catalog-0ajdgxne.js → persistent-pty-4y66k410.js} +5 -5
- package/dist/chunks/{catalog-wbkyxrgf.js → persistent-pty-510m7gjw.js} +5 -5
- package/dist/chunks/{catalog-4b30a42t.js → persistent-pty-56gd9531.js} +15 -15
- package/dist/chunks/{catalog-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{catalog-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-8s4wrv6z.js → persistent-pty-5ehz2tea.js} +16 -16
- package/dist/chunks/{catalog-54zaz3g6.js → persistent-pty-5mz96dqx.js} +11 -11
- package/dist/chunks/{catalog-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{catalog-1q930z6k.js → persistent-pty-65wkgmh5.js} +22 -22
- package/dist/chunks/{catalog-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{catalog-krfa0jkh.js → persistent-pty-6758qdb8.js} +16 -16
- package/dist/chunks/{catalog-drrcka83.js → persistent-pty-6d5601zx.js} +12 -12
- package/dist/chunks/{catalog-6t8hcs61.js → persistent-pty-6det3y0x.js} +15 -15
- package/dist/chunks/{catalog-6qvnkqyv.js → persistent-pty-6e3433qf.js} +17 -17
- package/dist/chunks/{catalog-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{catalog-100840d2.js → persistent-pty-6spvy77a.js} +21 -21
- package/dist/chunks/{catalog-46ctkvr6.js → persistent-pty-6w1zg1g2.js} +22 -22
- package/dist/chunks/{catalog-5h3w3d4e.js → persistent-pty-6xygz2r8.js} +5 -5
- package/dist/chunks/{catalog-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{catalog-as21fg6w.js → persistent-pty-71x7hxqe.js} +33 -33
- package/dist/chunks/{catalog-77kgmss4.js → persistent-pty-737r9kjt.js} +25 -25
- package/dist/chunks/{catalog-r5x6zcsm.js → persistent-pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{catalog-fxqygnfa.js → persistent-pty-7ac170kv.js} +4 -4
- package/dist/chunks/{catalog-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-qgn6gcr1.js → persistent-pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{catalog-bwqemmcy.js → persistent-pty-7kk61tk1.js} +17 -17
- package/dist/chunks/{catalog-8d02t69k.js → persistent-pty-7q4njgnv.js} +24 -24
- package/dist/chunks/{catalog-x2gqbzrc.js → persistent-pty-7qfh1exc.js} +3 -3
- package/dist/chunks/{catalog-ansp9v5s.js → persistent-pty-7sf6wms8.js} +23 -23
- package/dist/chunks/{catalog-9vs0xtad.js → persistent-pty-7w99qc9d.js} +3 -3
- package/dist/chunks/{catalog-2pvk2fw9.js → persistent-pty-7yfdgj8f.js} +16 -16
- package/dist/chunks/{catalog-81swgkk7.js → persistent-pty-81swgkk7.js} +2 -2
- package/dist/chunks/{catalog-844ef7ks.js → persistent-pty-844ef7ks.js} +1 -1
- package/dist/chunks/{catalog-qmy7xtej.js → persistent-pty-8baymvr8.js} +1 -1
- package/dist/chunks/{catalog-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{catalog-nd7e7p6j.js → persistent-pty-8f39y4xw.js} +24 -24
- package/dist/chunks/{catalog-xr6neyrm.js → persistent-pty-8hxnf17y.js} +22 -22
- package/dist/chunks/{catalog-naxpjzwf.js → persistent-pty-8x5pm5x7.js} +17 -17
- package/dist/chunks/{catalog-wxmbf8jb.js → persistent-pty-915t83ht.js} +9 -9
- package/dist/chunks/{catalog-crm7m9ze.js → persistent-pty-93zryg1y.js} +16 -16
- package/dist/chunks/{catalog-9jd6gdwh.js → persistent-pty-9k50aszd.js} +26 -26
- package/dist/chunks/{catalog-85255ppm.js → persistent-pty-9kfc4wnk.js} +24 -24
- package/dist/chunks/{catalog-6m8y77r5.js → persistent-pty-9pm6y0s1.js} +8 -8
- package/dist/chunks/{catalog-m6he0ab9.js → persistent-pty-9pydy7p8.js} +14 -14
- package/dist/chunks/persistent-pty-9rr9jrmq.js +247 -0
- package/dist/chunks/{catalog-33mewpyb.js → persistent-pty-a7wgtnts.js} +3 -3
- package/dist/chunks/{catalog-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-hcbgn65v.js → persistent-pty-ab6mj8jw.js} +26 -26
- package/dist/chunks/{catalog-87r09b0p.js → persistent-pty-adbnwx63.js} +13 -13
- package/dist/chunks/{catalog-p44d8wdy.js → persistent-pty-af04s6ss.js} +5 -5
- package/dist/chunks/{catalog-97h7kfy1.js → persistent-pty-agsex9am.js} +8 -8
- package/dist/chunks/{catalog-tpf47t0n.js → persistent-pty-anhnjpzq.js} +47 -47
- package/dist/chunks/{catalog-mm236x98.js → persistent-pty-apvn9gva.js} +25 -25
- package/dist/chunks/{catalog-hb54p5yb.js → persistent-pty-at12fstx.js} +30 -30
- package/dist/chunks/{catalog-m7y3f53v.js → persistent-pty-ayn42wpr.js} +4 -4
- package/dist/chunks/{catalog-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-h2mv4fvy.js → persistent-pty-b7bw3hr1.js} +17 -17
- package/dist/chunks/{catalog-b8b3f19r.js → persistent-pty-b8b3f19r.js} +2 -2
- package/dist/chunks/{catalog-enw6c2wm.js → persistent-pty-bck43prn.js} +20 -20
- package/dist/chunks/{catalog-3d1cjsm7.js → persistent-pty-bqtkya02.js} +20 -20
- package/dist/chunks/{catalog-esvwx42b.js → persistent-pty-brjc8r87.js} +22 -22
- package/dist/chunks/{catalog-mvs8a40b.js → persistent-pty-btewt4k5.js} +9 -9
- package/dist/chunks/{catalog-a06z6dg8.js → persistent-pty-bvk12tx6.js} +24 -24
- package/dist/chunks/{catalog-7s08acyf.js → persistent-pty-bzayxzm2.js} +19 -19
- package/dist/chunks/{catalog-dj9sq318.js → persistent-pty-c78bbtc9.js} +5 -5
- package/dist/chunks/{catalog-ayhdv494.js → persistent-pty-c81ww30d.js} +7 -7
- package/dist/chunks/{catalog-4tdnxzbn.js → persistent-pty-c8a77b8b.js} +17 -17
- package/dist/chunks/{catalog-rw3yshec.js → persistent-pty-cabas1zx.js} +8 -8
- package/dist/chunks/{catalog-wtz46evs.js → persistent-pty-cfm9g534.js} +6 -6
- package/dist/chunks/{catalog-tgqjfyja.js → persistent-pty-cw8m5w0x.js} +3 -3
- package/dist/chunks/{catalog-rhjznqe6.js → persistent-pty-cykwnt9q.js} +11 -11
- package/dist/chunks/{catalog-ptdkvqj8.js → persistent-pty-cztn7rx7.js} +17 -17
- package/dist/chunks/{catalog-3q1jyqhd.js → persistent-pty-d50f2zf5.js} +1 -1
- package/dist/chunks/persistent-pty-d5k9fk4j.js +462 -0
- package/dist/chunks/{catalog-20tp6ykn.js → persistent-pty-d8qdyyaw.js} +153 -153
- package/dist/chunks/{catalog-9ndgejs0.js → persistent-pty-d99y5ch1.js} +9 -9
- package/dist/chunks/{catalog-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{catalog-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{catalog-wnvd00xx.js → persistent-pty-dpwk168w.js} +17 -17
- package/dist/chunks/{catalog-svkvn5vy.js → persistent-pty-e20g3j14.js} +26 -26
- package/dist/chunks/{catalog-x77cb90n.js → persistent-pty-e6h7j64h.js} +4 -4
- package/dist/chunks/{catalog-7hxs3egg.js → persistent-pty-e9c8eq96.js} +32 -32
- package/dist/chunks/{catalog-49hrpkdk.js → persistent-pty-e9cy62py.js} +4 -4
- package/dist/chunks/{catalog-3c1tgrea.js → persistent-pty-ebah8r6x.js} +6 -6
- package/dist/chunks/{catalog-dw1fjyb0.js → persistent-pty-enks4xxx.js} +5 -5
- package/dist/chunks/{catalog-xn9jxgmv.js → persistent-pty-ep6z9mt6.js} +8 -8
- package/dist/chunks/{catalog-zq81vz9n.js → persistent-pty-etcxw786.js} +12 -12
- package/dist/chunks/{catalog-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{catalog-2c9abtxg.js → persistent-pty-evyr1yy2.js} +8 -8
- package/dist/chunks/{catalog-yhvahxsm.js → persistent-pty-ewkyeawc.js} +20 -20
- package/dist/chunks/{catalog-g40785jx.js → persistent-pty-exsbjhm2.js} +18 -18
- package/dist/chunks/{catalog-yp72p6ry.js → persistent-pty-f5qkqfms.js} +46 -46
- package/dist/chunks/{catalog-1ghwhpxv.js → persistent-pty-f7w4q6me.js} +14 -14
- package/dist/chunks/{catalog-jeanpfns.js → persistent-pty-fhnehbw5.js} +1 -1
- package/dist/chunks/{catalog-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-2x7cych0.js → persistent-pty-g8n1wjt8.js} +22 -22
- package/dist/chunks/{catalog-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-m86bnw2c.js → persistent-pty-gsx0ryk4.js} +9 -9
- package/dist/chunks/{catalog-th5km1p3.js → persistent-pty-gv6a8nnw.js} +5 -5
- package/dist/chunks/{catalog-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{catalog-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-39t56ws4.js → persistent-pty-h6w5vgvg.js} +26 -26
- package/dist/chunks/{catalog-v7a36af2.js → persistent-pty-h8ymazte.js} +10 -10
- package/dist/chunks/{catalog-mfbjfwhw.js → persistent-pty-h9nwmjzt.js} +17 -17
- package/dist/chunks/{catalog-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{catalog-g2s678q8.js → persistent-pty-hhyycrpc.js} +33 -33
- package/dist/chunks/{catalog-nhy5jxhy.js → persistent-pty-hjt4xg1x.js} +4 -4
- package/dist/chunks/{catalog-pc2bv4aw.js → persistent-pty-hn3jadw3.js} +22 -22
- package/dist/chunks/{catalog-9d8v8ke2.js → persistent-pty-hnc9qj7b.js} +10 -10
- package/dist/chunks/{catalog-t9b942h9.js → persistent-pty-hvw084np.js} +34 -34
- package/dist/chunks/{catalog-4vs6efvm.js → persistent-pty-hznavjj0.js} +7 -7
- package/dist/chunks/{catalog-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{catalog-4kdhngev.js → persistent-pty-j6qna7nq.js} +4 -4
- package/dist/chunks/{catalog-tkmwgdpd.js → persistent-pty-jfqtm2ew.js} +7 -7
- package/dist/chunks/{catalog-2k9t5jt1.js → persistent-pty-jkdkem4h.js} +10 -10
- package/dist/chunks/{catalog-z2yczqcp.js → persistent-pty-k8g08nhg.js} +3 -3
- package/dist/chunks/{catalog-yyszrz3j.js → persistent-pty-kava7r05.js} +6 -6
- package/dist/chunks/{catalog-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-qgzmpy9d.js → persistent-pty-kkzzhrpn.js} +14 -14
- package/dist/chunks/{catalog-kt5w8vxh.js → persistent-pty-kt5w8vxh.js} +3 -3
- package/dist/chunks/{catalog-kzm76jg0.js → persistent-pty-kxme779d.js} +43 -43
- package/dist/chunks/{catalog-0ft9cg2j.js → persistent-pty-kxpygcw9.js} +4 -4
- package/dist/chunks/{catalog-4786se8r.js → persistent-pty-kz70mmnm.js} +1 -1
- package/dist/chunks/{catalog-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{catalog-2k536ypt.js → persistent-pty-m82b0fgf.js} +5 -5
- package/dist/chunks/{catalog-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-kvvk39gs.js → persistent-pty-magykp64.js} +4 -4
- package/dist/chunks/{catalog-56gdpj1q.js → persistent-pty-mfqp6xfm.js} +6 -6
- package/dist/chunks/{catalog-9mc00xsa.js → persistent-pty-mhnt32v1.js} +7 -7
- package/dist/chunks/{catalog-y27a5n37.js → persistent-pty-mp733p07.js} +5 -5
- package/dist/chunks/{catalog-80tbned8.js → persistent-pty-n3azen0z.js} +11 -11
- package/dist/chunks/{catalog-06x8he3q.js → persistent-pty-n4r3xatb.js} +4 -4
- package/dist/chunks/{catalog-av1vdf1t.js → persistent-pty-n4zaccwn.js} +30 -30
- package/dist/chunks/{catalog-0d9x3d3d.js → persistent-pty-n50hv1t5.js} +6 -6
- package/dist/chunks/{catalog-erhy9pk7.js → persistent-pty-nfx2f6hr.js} +13 -13
- package/dist/chunks/{catalog-nzqeca5y.js → persistent-pty-nj6dzt4x.js} +4 -4
- package/dist/chunks/{catalog-v2f6dcv3.js → persistent-pty-nng2ktcm.js} +2 -2
- package/dist/chunks/{catalog-xr2f4p5f.js → persistent-pty-p1afpxvg.js} +82 -82
- package/dist/chunks/{catalog-t7c4qe2q.js → persistent-pty-pahz8e0w.js} +5 -5
- package/dist/chunks/{catalog-zfkj2kxx.js → persistent-pty-pbd9gpar.js} +6 -6
- package/dist/chunks/{catalog-cb98cfvp.js → persistent-pty-peekjthh.js} +18 -18
- package/dist/chunks/persistent-pty-phz3h32g.js +18 -0
- package/dist/chunks/{catalog-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-8dwx0wyg.js → persistent-pty-pvk75rey.js} +34 -34
- package/dist/chunks/{catalog-nww7dr0b.js → persistent-pty-q03s0nwp.js} +15 -15
- package/dist/chunks/{catalog-qb80b4fh.js → persistent-pty-q5rhn9x0.js} +16 -16
- package/dist/chunks/{catalog-39yh2y93.js → persistent-pty-q8vwd3nd.js} +12 -12
- package/dist/chunks/{catalog-6az0k8v4.js → persistent-pty-q95aeeb4.js} +11 -11
- package/dist/chunks/{catalog-npdjprar.js → persistent-pty-qgt0wznr.js} +13 -13
- package/dist/chunks/{catalog-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-vq366y3r.js → persistent-pty-qwktr7mg.js} +32 -32
- package/dist/chunks/{catalog-hs6emqb7.js → persistent-pty-qzkh27e2.js} +4 -4
- package/dist/chunks/{catalog-2vxstxdz.js → persistent-pty-r1spfp0h.js} +4 -4
- package/dist/chunks/{catalog-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{catalog-5a6m8f9a.js → persistent-pty-rb6q9cnt.js} +25 -25
- package/dist/chunks/{catalog-4cmb9enr.js → persistent-pty-rbj3wcwb.js} +25 -25
- package/dist/chunks/{catalog-q8v8tnc1.js → persistent-pty-rbvfjwrk.js} +6 -6
- package/dist/chunks/{catalog-f2n192rq.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/{catalog-70tpys2p.js → persistent-pty-rrhm3cf6.js} +80 -80
- package/dist/chunks/{catalog-xhbedwbw.js → persistent-pty-s2zxn96c.js} +27 -27
- package/dist/chunks/{catalog-b24n8q6t.js → persistent-pty-s363er1w.js} +33 -33
- package/dist/chunks/{catalog-a3457skp.js → persistent-pty-s3ycmy3r.js} +31 -31
- package/dist/chunks/{catalog-34dxdks9.js → persistent-pty-s4bk4abw.js} +8 -8
- package/dist/chunks/persistent-pty-s6r9b74v.js +22 -0
- package/dist/chunks/{catalog-02nrjc1r.js → persistent-pty-s8d7rejh.js} +8 -8
- package/dist/chunks/{catalog-vchs5s93.js → persistent-pty-sfk8hzz5.js} +4 -4
- package/dist/chunks/{catalog-zf2hrsja.js → persistent-pty-t0tyq52b.js} +6 -6
- package/dist/chunks/{catalog-5kptn8c0.js → persistent-pty-t0x5rdq8.js} +9 -9
- package/dist/chunks/{catalog-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-d3h909cw.js → persistent-pty-tdpb0dc4.js} +11 -11
- package/dist/chunks/{catalog-t71v2ka4.js → persistent-pty-tdpndm1c.js} +5 -5
- package/dist/chunks/{catalog-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{catalog-vm9a092s.js → persistent-pty-tdtzb82r.js} +18 -18
- package/dist/chunks/{catalog-7cp3ngcm.js → persistent-pty-thbdkye2.js} +25 -25
- package/dist/chunks/{catalog-rrbzdy6m.js → persistent-pty-thc7yeg9.js} +19 -19
- package/dist/chunks/{catalog-ycpjmz0e.js → persistent-pty-tn773g8e.js} +11 -11
- package/dist/chunks/{catalog-615v7cwf.js → persistent-pty-tp675h11.js} +47 -47
- package/dist/chunks/{catalog-g3hefyhg.js → persistent-pty-ttxd2ccf.js} +43 -43
- package/dist/chunks/{catalog-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{catalog-82pt8syc.js → persistent-pty-tw6cn0kx.js} +30 -30
- package/dist/chunks/{catalog-nv5vn7qx.js → persistent-pty-tx9qvpbt.js} +6 -6
- package/dist/chunks/{catalog-x609r0mq.js → persistent-pty-v3mzz81c.js} +3 -3
- package/dist/chunks/{catalog-pmr4s4kc.js → persistent-pty-ve4pfa0n.js} +4 -4
- package/dist/chunks/{catalog-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{catalog-cg45paqr.js → persistent-pty-vg7npqae.js} +1 -1
- package/dist/chunks/{catalog-9dhyqv6n.js → persistent-pty-vg8k19ea.js} +11 -11
- package/dist/chunks/{catalog-yw61z5xf.js → persistent-pty-vjgbmtbs.js} +30 -30
- package/dist/chunks/{catalog-z7hdpy7x.js → persistent-pty-vpbkq0tp.js} +9 -9
- package/dist/chunks/{catalog-cyzajxxm.js → persistent-pty-vy25vtdv.js} +23 -23
- package/dist/chunks/{catalog-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{catalog-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-d4tx6er0.js → persistent-pty-w8a3k0bq.js} +18 -18
- package/dist/chunks/{catalog-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-z8rw9kn4.js → persistent-pty-wsmhkxds.js} +11 -11
- package/dist/chunks/{catalog-6sr2ffg0.js → persistent-pty-wsphynk5.js} +35 -35
- package/dist/chunks/{catalog-ty93vz5r.js → persistent-pty-wvwzws3d.js} +11 -11
- package/dist/chunks/{catalog-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-8e2be5x3.js → persistent-pty-x2xt5fty.js} +2 -2
- package/dist/chunks/{catalog-f2gse5fy.js → persistent-pty-x9s9yqdy.js} +6 -6
- package/dist/chunks/{catalog-cmjccx99.js → persistent-pty-xaa2j8d2.js} +47 -47
- package/dist/chunks/{catalog-e17bkqjz.js → persistent-pty-xbh0n0bt.js} +1 -1
- package/dist/chunks/{catalog-rmdyxgmk.js → persistent-pty-xdw78xdg.js} +8 -8
- package/dist/chunks/{catalog-en5qyw6g.js → persistent-pty-xgkhd5qd.js} +7 -7
- package/dist/chunks/{catalog-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-gbn0488z.js → persistent-pty-y81yzj42.js} +40 -40
- package/dist/chunks/{catalog-dmy52nw1.js → persistent-pty-yg2p59vp.js} +14 -14
- package/dist/chunks/{catalog-ar7d2gdc.js → persistent-pty-yk9d6695.js} +42 -42
- package/dist/chunks/{catalog-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{catalog-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{catalog-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{catalog-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{catalog-8a0b7fze.js → persistent-pty-zb4p73ts.js} +4 -4
- package/dist/chunks/{catalog-nvddp2jr.js → persistent-pty-zdae6k0q.js} +9 -9
- package/dist/chunks/{catalog-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{catalog-szd80md9.js → persistent-pty-zesek9va.js} +10 -10
- package/dist/chunks/{catalog-ec8389mk.js → persistent-pty-zj09a0ew.js} +4 -4
- package/dist/chunks/{catalog-8ncxre87.js → persistent-pty-zjs43p7d.js} +38 -38
- package/dist/chunks/{catalog-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{catalog-pf9p9b3r.js → persistent-pty-zx5ykxc9.js} +4 -4
- package/dist/chunks/{catalog-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- 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 +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +92 -92
- package/dist/git.js +3 -3
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- 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 +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +77 -77
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- 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 +107 -107
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +76 -76
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- 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 +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +85 -85
- 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 +116 -116
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +207 -207
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +5 -5
- 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 +4 -4
- 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 +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 +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- 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 +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/catalog-0mesazry.js +0 -4
- package/dist/chunks/catalog-3k53vc2x.js +0 -22
- package/dist/chunks/catalog-dywb0nnh.js +0 -462
- package/dist/chunks/catalog-rap9a73h.js +0 -18
- package/dist/chunks/catalog-xtpdeg7b.js +0 -247
- /package/dist/chunks/{catalog-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{catalog-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-paphc93g.js → persistent-pty-paphc93g.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-kt5w8vxh.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-2y518tma.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-sfk8hzz5.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
29
|
Service76,
|
|
30
30
|
node81
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-154046h8.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical2
|
|
35
|
+
} from "./persistent-pty-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make12
|
|
38
|
+
} from "./persistent-pty-915t83ht.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event3,
|
|
53
|
+
Info: () => Info3,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service13,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node17
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,13 +76,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info3 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,11 +100,11 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event3 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service13 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
@@ -114,7 +114,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make12;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event3.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical2(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical2(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical2(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service13.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,8 +269,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node17 = makeLocationNode({
|
|
273
|
+
service: Service13,
|
|
274
274
|
layer,
|
|
275
275
|
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
|
|
276
276
|
});
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event3, Service13, node17, exports_worktree2, OperationError2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-0axr4kr0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service71,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node76
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID15,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service71 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service71.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node76 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service71, locationLayer2, node76, exports_aisdk };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-xgkhd5qd.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-sfk8hzz5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-154046h8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
ID11,
|
|
11
|
+
Service70,
|
|
12
12
|
node75
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-bqtkya02.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./persistent-pty-2e96adxv.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node72
|
|
20
|
+
} from "./persistent-pty-kkzzhrpn.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
Service68,
|
|
26
26
|
node73
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-93zryg1y.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node74
|
|
31
|
+
} from "./persistent-pty-9pm6y0s1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID8,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service66,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node71
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID8 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -75,19 +75,19 @@ var RequestFields = {
|
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
|
-
var
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID8.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID8,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID8,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID8
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service66 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
132
|
const location = yield* Service76;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service70;
|
|
134
|
+
const sessions = yield* Service67;
|
|
135
|
+
const saved = yield* Service68;
|
|
136
|
+
const hooks = yield* Service69;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError8({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID8.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service66.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node71 = makeLocationNode({
|
|
289
|
+
service: Service66,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node84, node81, node75,
|
|
291
|
+
deps: [node84, node81, node75, node72, node73, node74]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID8, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service66, node71, exports_permission2, Rule3, Ruleset2, Event15 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service30,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node34
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service30 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service30, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service30.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service36, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node34 = makeGlobalNode({ service: Service30, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service30, node34, exports_environment };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|