@opencode-ai/core 0.0.0-dev-19117 → 0.0.0-dev-19119
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +1 -1
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{ripgrep-kxjsfdz8.js → websearch-01v9whfm.js} +25 -25
- package/dist/chunks/{ripgrep-b0tdp1rr.js → websearch-059sa96c.js} +20 -20
- package/dist/chunks/{ripgrep-f1yhq58f.js → websearch-06ehnqe9.js} +9 -9
- package/dist/chunks/{ripgrep-zytde4j9.js → websearch-07kyeq17.js} +9 -9
- package/dist/chunks/{ripgrep-6m03kfba.js → websearch-07p4y6pt.js} +3 -3
- package/dist/chunks/{ripgrep-0e0xafbb.js → websearch-0e0xafbb.js} +2 -2
- package/dist/chunks/{ripgrep-8h6vxt8w.js → websearch-0hasn9ff.js} +14 -14
- package/dist/chunks/websearch-0p53sjzq.js +243 -0
- package/dist/chunks/{ripgrep-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0s9ayhjt.js → websearch-0s9ayhjt.js} +1 -1
- package/dist/chunks/{ripgrep-a4f478em.js → websearch-0yvd3pfe.js} +37 -37
- package/dist/chunks/{ripgrep-r1j3nz9t.js → websearch-10c9v7fm.js} +33 -33
- package/dist/chunks/{ripgrep-1ct4r87x.js → websearch-1ct4r87x.js} +1 -1
- package/dist/chunks/{ripgrep-hb1mzqn1.js → websearch-1drs6s6a.js} +19 -19
- package/dist/chunks/{ripgrep-vfqqmq4r.js → websearch-1gjc24aq.js} +20 -20
- package/dist/chunks/{ripgrep-nmgddbg4.js → websearch-1h561g3c.js} +8 -8
- package/dist/chunks/{ripgrep-zj3wcxn0.js → websearch-1m8xsxst.js} +15 -15
- package/dist/chunks/{ripgrep-nevxv2d6.js → websearch-1qcdvn9t.js} +9 -9
- package/dist/chunks/{ripgrep-3tz2ea3y.js → websearch-1rpvqfzx.js} +11 -11
- package/dist/chunks/{ripgrep-8ksg784e.js → websearch-21bc1bxn.js} +6 -6
- package/dist/chunks/{ripgrep-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-2402vzrj.js → websearch-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-d36vjxce.js → websearch-249h8t4y.js} +5 -5
- package/dist/chunks/{ripgrep-9fpwc135.js → websearch-250kwjtq.js} +13 -13
- package/dist/chunks/{ripgrep-by2d8rp5.js → websearch-25epwd50.js} +7 -7
- package/dist/chunks/{ripgrep-mtcjf44p.js → websearch-28pcbh69.js} +4 -4
- package/dist/chunks/{ripgrep-29x78va6.js → websearch-29x78va6.js} +2 -2
- package/dist/chunks/{ripgrep-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-3djzqpk0.js → websearch-2b3wjbhf.js} +13 -13
- package/dist/chunks/{ripgrep-2ht70gj7.js → websearch-2ht70gj7.js} +1 -1
- package/dist/chunks/{ripgrep-gye7vvze.js → websearch-2jb656d6.js} +46 -46
- package/dist/chunks/{ripgrep-2jqmte8w.js → websearch-2jqmte8w.js} +2 -2
- package/dist/chunks/{ripgrep-bvn2enxy.js → websearch-2q0vfwcg.js} +10 -10
- package/dist/chunks/{ripgrep-p3szxjdh.js → websearch-2s6shf28.js} +29 -29
- package/dist/chunks/{ripgrep-4f96dzf6.js → websearch-2s7w2qxb.js} +26 -26
- package/dist/chunks/{ripgrep-mv8wgq99.js → websearch-2xnaffrb.js} +14 -14
- package/dist/chunks/{ripgrep-7k0jwsa3.js → websearch-2xqth09t.js} +30 -30
- package/dist/chunks/{ripgrep-36mzbjn4.js → websearch-36mzbjn4.js} +1 -1
- package/dist/chunks/{ripgrep-vyjva4w2.js → websearch-3b1a8v26.js} +8 -8
- package/dist/chunks/{ripgrep-vakdx653.js → websearch-3e86n9es.js} +6 -6
- package/dist/chunks/{ripgrep-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3qzbfqsy.js → websearch-3qzbfqsy.js} +2 -2
- package/dist/chunks/{ripgrep-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-rgv1ms02.js → websearch-3vvm944g.js} +30 -30
- package/dist/chunks/{ripgrep-zzz6jtjg.js → websearch-3wa8602p.js} +36 -36
- package/dist/chunks/{ripgrep-2srh953x.js → websearch-421zmedr.js} +24 -24
- package/dist/chunks/{ripgrep-454k5vzh.js → websearch-454k5vzh.js} +1 -1
- package/dist/chunks/{ripgrep-q1wfyw2p.js → websearch-497w5wze.js} +21 -21
- package/dist/chunks/{ripgrep-nzkt02mj.js → websearch-4e0wk8k8.js} +7 -7
- package/dist/chunks/{ripgrep-4epewzf2.js → websearch-4fw0d0a7.js} +26 -26
- package/dist/chunks/{ripgrep-4r2nyarf.js → websearch-4r2nyarf.js} +1 -1
- package/dist/chunks/{ripgrep-w18traxp.js → websearch-4rn4xbh4.js} +27 -27
- package/dist/chunks/{ripgrep-t4jvr5wy.js → websearch-4zfpe0bk.js} +5 -5
- package/dist/chunks/{ripgrep-ztm1zg4x.js → websearch-52ba2sra.js} +8 -8
- package/dist/chunks/{ripgrep-ryr6cb0z.js → websearch-56d7g5fj.js} +8 -8
- package/dist/chunks/{ripgrep-ds0aszyw.js → websearch-57e9kj2e.js} +27 -27
- package/dist/chunks/{ripgrep-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-5fmxt4p5.js → websearch-5fmxt4p5.js} +1 -1
- package/dist/chunks/{ripgrep-5jvc5tg2.js → websearch-5jvc5tg2.js} +1 -1
- package/dist/chunks/{ripgrep-nv4gk3n9.js → websearch-5rkq28d7.js} +7 -7
- package/dist/chunks/{ripgrep-ma5tpqfg.js → websearch-5xwg1gye.js} +17 -17
- package/dist/chunks/{ripgrep-zc06qzv2.js → websearch-5yzkec37.js} +12 -12
- package/dist/chunks/{ripgrep-vn1zxxz9.js → websearch-5zec3rsz.js} +3 -3
- package/dist/chunks/websearch-673snps9.js +22 -0
- package/dist/chunks/{ripgrep-3ss45ava.js → websearch-67m4hsxs.js} +18 -18
- package/dist/chunks/{ripgrep-fyy0s8gy.js → websearch-67ze60yh.js} +23 -23
- package/dist/chunks/{ripgrep-qs4avvkb.js → websearch-68d87kgz.js} +1 -1
- package/dist/chunks/{ripgrep-5ycc874r.js → websearch-6bjjrt3e.js} +10 -10
- package/dist/chunks/{ripgrep-6skpevf5.js → websearch-6ey98fp9.js} +24 -24
- package/dist/chunks/{ripgrep-8j688k7y.js → websearch-6ge14e5r.js} +9 -9
- package/dist/chunks/{ripgrep-fggsr9ap.js → websearch-6jyxqvre.js} +9 -9
- package/dist/chunks/{ripgrep-9vbhqqdq.js → websearch-6qcf70st.js} +22 -22
- package/dist/chunks/{ripgrep-7dwcteqq.js → websearch-6s9akg99.js} +23 -23
- package/dist/chunks/{ripgrep-6tf8tr4v.js → websearch-6tf8tr4v.js} +2 -2
- package/dist/chunks/{ripgrep-1y8p760r.js → websearch-6v7xw293.js} +20 -20
- package/dist/chunks/{ripgrep-6abnk40k.js → websearch-6z5bwd8g.js} +9 -9
- package/dist/chunks/{ripgrep-711hfp6y.js → websearch-711hfp6y.js} +2 -2
- package/dist/chunks/{ripgrep-sqpx7b0d.js → websearch-76mpqn6b.js} +26 -26
- package/dist/chunks/{ripgrep-7pkp8xq8.js → websearch-77j7wjmd.js} +26 -26
- package/dist/chunks/{ripgrep-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-r1rbm2q7.js → websearch-7bwzkkpq.js} +9 -9
- package/dist/chunks/{ripgrep-qgn6gcr1.js → websearch-7dqw4kz8.js} +5 -5
- package/dist/chunks/{ripgrep-mbc5mvmj.js → websearch-7h1a19dk.js} +6 -6
- package/dist/chunks/{ripgrep-5tc0y89d.js → websearch-7nh0n89y.js} +8 -8
- package/dist/chunks/{ripgrep-hpg5nh6v.js → websearch-7pdw0qrk.js} +14 -14
- package/dist/chunks/{ripgrep-9whdxbg9.js → websearch-7q1ydfca.js} +18 -18
- package/dist/chunks/{ripgrep-8xm2e362.js → websearch-7vdtdkgs.js} +14 -14
- package/dist/chunks/{ripgrep-g3z0m5pf.js → websearch-7yenzqxj.js} +17 -17
- package/dist/chunks/{ripgrep-7yh4e7ss.js → websearch-7yh4e7ss.js} +1 -1
- package/dist/chunks/{ripgrep-1k0gne18.js → websearch-823p23z6.js} +36 -36
- package/dist/chunks/{ripgrep-0gnwfkec.js → websearch-837db1ym.js} +11 -11
- package/dist/chunks/{ripgrep-3mf5xj6g.js → websearch-877hfn54.js} +31 -31
- package/dist/chunks/{ripgrep-ewww49mf.js → websearch-884smcwt.js} +15 -15
- package/dist/chunks/{ripgrep-1hy241bm.js → websearch-8nfjm8ym.js} +3 -3
- package/dist/chunks/{ripgrep-txm2bbyw.js → websearch-8qxeb67a.js} +10 -10
- package/dist/chunks/{ripgrep-8xptgnz1.js → websearch-8rvx16ag.js} +28 -28
- package/dist/chunks/{ripgrep-pxst6xf4.js → websearch-8sjjmapp.js} +10 -10
- package/dist/chunks/{ripgrep-wjdcppan.js → websearch-91xne3r9.js} +16 -16
- package/dist/chunks/{ripgrep-jnmmvqjs.js → websearch-936y82n7.js} +1 -1
- package/dist/chunks/{ripgrep-93a8yfjt.js → websearch-93a8yfjt.js} +2 -2
- package/dist/chunks/{ripgrep-z8wxwp11.js → websearch-945pddfh.js} +24 -24
- package/dist/chunks/{ripgrep-9pfqepek.js → websearch-96mnj2h8.js} +3 -3
- package/dist/chunks/{ripgrep-7wyfdtz8.js → websearch-9de7rjyq.js} +11 -11
- package/dist/chunks/{ripgrep-bnc2083e.js → websearch-9g3rhs35.js} +5 -5
- package/dist/chunks/{ripgrep-9qm9egsn.js → websearch-9qm9egsn.js} +2 -2
- package/dist/chunks/{ripgrep-21whxf52.js → websearch-9qnmcbqm.js} +13 -13
- package/dist/chunks/{ripgrep-1f0wyff1.js → websearch-9xmspcc4.js} +3 -3
- package/dist/chunks/{ripgrep-4jtd95fb.js → websearch-a2thck7t.js} +2 -2
- package/dist/chunks/{ripgrep-0zdpcrzf.js → websearch-a6d7kq3n.js} +13 -13
- package/dist/chunks/{ripgrep-dhkrg1xs.js → websearch-aa10cqvs.js} +42 -42
- package/dist/chunks/{ripgrep-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-5ygrhnqv.js → websearch-aatb1gkh.js} +17 -17
- package/dist/chunks/{ripgrep-qzyjhkhb.js → websearch-aaykp5pt.js} +5 -5
- package/dist/chunks/{ripgrep-rwzmbvvc.js → websearch-ac7d37sd.js} +9 -9
- package/dist/chunks/{ripgrep-kw4j1pbq.js → websearch-adwe5887.js} +32 -32
- package/dist/chunks/{ripgrep-ajtjthsy.js → websearch-ajtjthsy.js} +2 -2
- package/dist/chunks/{ripgrep-p325kmej.js → websearch-b1r3cp4z.js} +9 -9
- package/dist/chunks/{ripgrep-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-b9wsbatv.js → websearch-b9wsbatv.js} +1 -1
- package/dist/chunks/{ripgrep-hkvmnyc2.js → websearch-bhnr65dt.js} +21 -21
- package/dist/chunks/{ripgrep-je9hks3h.js → websearch-bphmvjfp.js} +5 -5
- package/dist/chunks/{ripgrep-3qze2g25.js → websearch-bpnz08mb.js} +2 -2
- package/dist/chunks/{ripgrep-5854x11z.js → websearch-brmqp0an.js} +3 -3
- package/dist/chunks/{ripgrep-pkxk1635.js → websearch-bvnrmn8y.js} +4 -4
- package/dist/chunks/{ripgrep-hcdssky2.js → websearch-bwfq55w2.js} +12 -12
- package/dist/chunks/websearch-by5v678g.js +18 -0
- package/dist/chunks/{ripgrep-h5hj52e4.js → websearch-cc7e89c2.js} +39 -39
- package/dist/chunks/{ripgrep-5j9k34kg.js → websearch-cfg4kwee.js} +21 -21
- package/dist/chunks/{ripgrep-nca7p386.js → websearch-cmbqfntm.js} +6 -6
- package/dist/chunks/{ripgrep-a8mkyf75.js → websearch-cygj501f.js} +18 -18
- package/dist/chunks/{ripgrep-48en1mwc.js → websearch-d4w1rbz4.js} +86 -86
- package/dist/chunks/{ripgrep-qyh9kz4d.js → websearch-d6faz3t2.js} +22 -22
- package/dist/chunks/{ripgrep-d72308c8.js → websearch-d72308c8.js} +2 -2
- package/dist/chunks/{ripgrep-xw0r27ex.js → websearch-ddt2bs9e.js} +4 -4
- package/dist/chunks/{ripgrep-hhmxjvcb.js → websearch-dqs7myny.js} +24 -24
- package/dist/chunks/{ripgrep-km4669cs.js → websearch-drf6svdd.js} +41 -41
- package/dist/chunks/{ripgrep-b9pt6hex.js → websearch-e3wa6n63.js} +9 -9
- package/dist/chunks/websearch-e3ze3pba.js +4 -0
- package/dist/chunks/{ripgrep-z3xgatyd.js → websearch-e7gxy7fd.js} +4 -4
- package/dist/chunks/{ripgrep-ev2yz940.js → websearch-ebdcck53.js} +25 -25
- package/dist/chunks/{ripgrep-tp7tf7xy.js → websearch-ep24ddxq.js} +11 -11
- package/dist/chunks/{ripgrep-pdtadr89.js → websearch-eqtey8mh.js} +18 -18
- package/dist/chunks/{ripgrep-9hhgj58j.js → websearch-erehw21k.js} +6 -6
- package/dist/chunks/{ripgrep-07yw2x03.js → websearch-erqwyhs3.js} +15 -15
- package/dist/chunks/{ripgrep-5vqfft53.js → websearch-esxy42q4.js} +6 -6
- package/dist/chunks/{ripgrep-91q12184.js → websearch-etfd1sj4.js} +20 -20
- package/dist/chunks/{ripgrep-tq2fd8r9.js → websearch-exh78p7x.js} +16 -16
- package/dist/chunks/{ripgrep-5sg4xzjf.js → websearch-ez5b8bq3.js} +7 -7
- package/dist/chunks/{ripgrep-f0nz223j.js → websearch-f0nz223j.js} +1 -1
- package/dist/chunks/{ripgrep-7kgtsxjw.js → websearch-f10xmzzm.js} +4 -4
- package/dist/chunks/{ripgrep-rvb2zp0m.js → websearch-f4saz0r8.js} +6 -6
- package/dist/chunks/{ripgrep-78dqkwkk.js → websearch-facztfwm.js} +20 -20
- package/dist/chunks/{ripgrep-bbxy1t52.js → websearch-fd1bx7eq.js} +9 -9
- package/dist/chunks/{ripgrep-e1hrx4vk.js → websearch-fhwfpnm9.js} +2 -2
- package/dist/chunks/{ripgrep-m21v4znd.js → websearch-fk6t0npy.js} +43 -43
- package/dist/chunks/{ripgrep-19vf66h0.js → websearch-fm2qvscf.js} +4 -4
- package/dist/chunks/{ripgrep-h4b9wg2c.js → websearch-fn914p83.js} +153 -153
- package/dist/chunks/{ripgrep-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-fxypknc8.js → websearch-fxypknc8.js} +1 -1
- package/dist/chunks/{ripgrep-fjxg2ary.js → websearch-g08zf1r8.js} +13 -13
- package/dist/chunks/{ripgrep-w97cb5cg.js → websearch-g3f12aw4.js} +17 -17
- package/dist/chunks/{ripgrep-g7csxrs7.js → websearch-g585tkj2.js} +4 -4
- package/dist/chunks/{ripgrep-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-js6asbw1.js → websearch-gdkjhw4h.js} +4 -4
- package/dist/chunks/{ripgrep-3fc6dm20.js → websearch-gdvy8fx6.js} +4 -4
- package/dist/chunks/{ripgrep-pt7wq7x0.js → websearch-gkq46jej.js} +1 -1
- package/dist/chunks/{ripgrep-bdmzwyaa.js → websearch-gn5v3dt0.js} +7 -7
- package/dist/chunks/{ripgrep-gwszgtmr.js → websearch-h1kgnmsa.js} +26 -26
- package/dist/chunks/{ripgrep-d1a1bt21.js → websearch-h3prm5xq.js} +5 -5
- package/dist/chunks/{ripgrep-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-heyhwy2w.js → websearch-heyhwy2w.js} +1 -1
- package/dist/chunks/{ripgrep-eyfhpjry.js → websearch-hk2g75wg.js} +17 -17
- package/dist/chunks/{ripgrep-1tfkjp3e.js → websearch-hm333kvd.js} +64 -64
- package/dist/chunks/{ripgrep-tnsd1rs6.js → websearch-hpj7r8kk.js} +10 -10
- package/dist/chunks/{ripgrep-6pg4jkhc.js → websearch-hq6e9b48.js} +14 -14
- package/dist/chunks/{ripgrep-hrvm11jt.js → websearch-hrvm11jt.js} +3 -3
- package/dist/chunks/{ripgrep-jt44cnxn.js → websearch-j0nsd3fp.js} +15 -15
- package/dist/chunks/{ripgrep-nw80mg4a.js → websearch-js83qjry.js} +4 -4
- package/dist/chunks/{ripgrep-2w6bfmvf.js → websearch-jyarsrrw.js} +1 -1
- package/dist/chunks/{ripgrep-n7wjrxzb.js → websearch-jyjjr01j.js} +18 -18
- package/dist/chunks/{ripgrep-0yqj1sc4.js → websearch-jzkvqh9p.js} +32 -32
- package/dist/chunks/{ripgrep-k4bwy1x5.js → websearch-k4bwy1x5.js} +1 -1
- package/dist/chunks/{ripgrep-vrnz0jpz.js → websearch-k4fns9ta.js} +20 -20
- package/dist/chunks/{ripgrep-p1zz6beh.js → websearch-k5xmxedw.js} +11 -11
- package/dist/chunks/{ripgrep-kg06axw8.js → websearch-kg06axw8.js} +1 -1
- package/dist/chunks/{ripgrep-dy5g39ka.js → websearch-kjxynnhj.js} +8 -8
- package/dist/chunks/{ripgrep-bxrqv5tf.js → websearch-kver2n51.js} +10 -10
- package/dist/chunks/{ripgrep-kvsjn1dr.js → websearch-kvsjn1dr.js} +2 -2
- package/dist/chunks/{ripgrep-74ey9zf4.js → websearch-kzbv1s9x.js} +21 -21
- package/dist/chunks/{ripgrep-2wjw4vy5.js → websearch-m12d8awe.js} +12 -12
- package/dist/chunks/{ripgrep-7qnza9rw.js → websearch-m3fm0fm8.js} +5 -5
- package/dist/chunks/{ripgrep-sdzmedwm.js → websearch-m5p45e9n.js} +15 -15
- package/dist/chunks/{ripgrep-1w5ptdxf.js → websearch-m68cbq3v.js} +17 -17
- package/dist/chunks/{ripgrep-7d35953p.js → websearch-m6kpjacq.js} +23 -23
- package/dist/chunks/{ripgrep-heem8ggn.js → websearch-m8f4y9mz.js} +15 -15
- package/dist/chunks/{ripgrep-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-aj7d9r5a.js → websearch-mapcj911.js} +3 -3
- package/dist/chunks/{ripgrep-3kxajfcb.js → websearch-mbttcmz7.js} +16 -16
- package/dist/chunks/{ripgrep-ybt0syy4.js → websearch-mecacsc0.js} +19 -19
- package/dist/chunks/{ripgrep-67bet904.js → websearch-mm1zw9b7.js} +39 -39
- package/dist/chunks/{ripgrep-xxz5bf5t.js → websearch-mq9r6drf.js} +3 -3
- package/dist/chunks/{ripgrep-0jn9ejg7.js → websearch-mqwm6h4y.js} +1 -1
- package/dist/chunks/{ripgrep-rk27q5w5.js → websearch-n3c15ckr.js} +10 -10
- package/dist/chunks/{ripgrep-6w7e9vmm.js → websearch-n85eh5f8.js} +8 -8
- package/dist/chunks/{ripgrep-5rpr6ky1.js → websearch-nj6x7cer.js} +13 -13
- package/dist/chunks/{ripgrep-jnypjjjz.js → websearch-njr6r1t9.js} +50 -50
- package/dist/chunks/{ripgrep-bge6q0dt.js → websearch-nmpk57xe.js} +25 -25
- package/dist/chunks/{ripgrep-96bmt5xb.js → websearch-nmxp7cq8.js} +15 -15
- package/dist/chunks/{ripgrep-zajwd6at.js → websearch-nnswkck1.js} +5 -5
- package/dist/chunks/{ripgrep-b52w4pfb.js → websearch-nv1mfemk.js} +7 -7
- package/dist/chunks/{ripgrep-my77j7pt.js → websearch-p08r3gys.js} +7 -7
- package/dist/chunks/{ripgrep-w525msx4.js → websearch-p3w24k5h.js} +34 -34
- package/dist/chunks/{ripgrep-0eqyng1a.js → websearch-p5621xbk.js} +17 -17
- package/dist/chunks/{ripgrep-dqwhaazx.js → websearch-pa1pwwcr.js} +15 -15
- package/dist/chunks/{ripgrep-rkbnrd1t.js → websearch-pcfe4ghh.js} +4 -4
- package/dist/chunks/{ripgrep-r4e8mhdp.js → websearch-pczr48ja.js} +11 -11
- package/dist/chunks/{ripgrep-sxhwk0c0.js → websearch-pdbs02xq.js} +4 -4
- package/dist/chunks/{ripgrep-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-pwtwj0bs.js → websearch-qc1epm8y.js} +29 -29
- package/dist/chunks/{ripgrep-tfvhtj86.js → websearch-qjr20smf.js} +37 -37
- package/dist/chunks/{ripgrep-ytezje8q.js → websearch-qm3pvk2k.js} +46 -46
- package/dist/chunks/{ripgrep-4h7t20e0.js → websearch-qntar7wb.js} +12 -12
- package/dist/chunks/{ripgrep-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-32s9yjrm.js → websearch-r2v2qg2t.js} +35 -35
- package/dist/chunks/{ripgrep-che8skc9.js → websearch-r66vmz5t.js} +4 -4
- package/dist/chunks/{ripgrep-r8dhm0tv.js → websearch-r8dhm0tv.js} +1 -1
- package/dist/chunks/{ripgrep-rmha8y3b.js → websearch-r8vewsd2.js} +7 -7
- package/dist/chunks/{ripgrep-40myj96f.js → websearch-rbwftchb.js} +11 -11
- package/dist/chunks/{ripgrep-0gaj4617.js → websearch-rp8jz6x1.js} +6 -6
- package/dist/chunks/{ripgrep-fz4jwa6n.js → websearch-sb910js5.js} +4 -4
- package/dist/chunks/{ripgrep-sba4qhjf.js → websearch-sba4qhjf.js} +1 -1
- package/dist/chunks/{ripgrep-jjtbt1qg.js → websearch-sqm8p044.js} +8 -8
- package/dist/chunks/{ripgrep-g5ezvv16.js → websearch-t3088jj0.js} +6 -6
- package/dist/chunks/{ripgrep-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-mcqq6vbh.js → websearch-tbwfdm3w.js} +28 -28
- package/dist/chunks/{ripgrep-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-0t098hqn.js → websearch-tdpndm1c.js} +5 -5
- package/dist/chunks/{ripgrep-tdz2d0bf.js → websearch-tdz2d0bf.js} +1 -1
- package/dist/chunks/{ripgrep-tjykrgmx.js → websearch-tjykrgmx.js} +1 -1
- package/dist/chunks/{ripgrep-q5j29kx8.js → websearch-tknjtqgf.js} +22 -22
- package/dist/chunks/{ripgrep-wg31t6sj.js → websearch-tkz73wwa.js} +22 -22
- package/dist/chunks/{ripgrep-tppvcy65.js → websearch-tppvcy65.js} +2 -2
- package/dist/chunks/{ripgrep-em5rm6ec.js → websearch-tw8cp5tf.js} +10 -10
- package/dist/chunks/{ripgrep-pr9h59nx.js → websearch-v99jrwrz.js} +4 -4
- package/dist/chunks/{ripgrep-ve4pfa0n.js → websearch-ve4pfa0n.js} +1 -1
- package/dist/chunks/{ripgrep-w8f6gg2r.js → websearch-vwkd659g.js} +6 -6
- package/dist/chunks/{ripgrep-6brqwvd5.js → websearch-vypc1q0c.js} +73 -73
- package/dist/chunks/{ripgrep-eqpzyj2r.js → websearch-vzd1pb60.js} +11 -11
- package/dist/chunks/{ripgrep-awqyf91x.js → websearch-w0k1he6w.js} +5 -5
- package/dist/chunks/{ripgrep-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-44k9zdes.js → websearch-w4sqx5c2.js} +33 -33
- package/dist/chunks/{ripgrep-42gstqmc.js → websearch-wc8kmp1w.js} +4 -4
- package/dist/chunks/{ripgrep-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-768z0hjh.js → websearch-whzw9s0q.js} +1 -1
- package/dist/chunks/{ripgrep-9z5bj76v.js → websearch-x0m2rn61.js} +16 -16
- package/dist/chunks/{ripgrep-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-46wy7nmf.js → websearch-x57dfy1p.js} +11 -11
- package/dist/chunks/{ripgrep-gjhar930.js → websearch-x9nzy2fr.js} +24 -24
- package/dist/chunks/{ripgrep-0ja1cg2h.js → websearch-xpcnf621.js} +284 -284
- package/dist/chunks/{ripgrep-sczbbc3q.js → websearch-xq0fy9s8.js} +11 -11
- package/dist/chunks/{ripgrep-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-e8zgvj34.js → websearch-ya77tz7a.js} +6 -6
- package/dist/chunks/{ripgrep-xsfpm1p4.js → websearch-yab53grx.js} +3 -3
- package/dist/chunks/{ripgrep-yfbd16n1.js → websearch-yfbd16n1.js} +2 -2
- package/dist/chunks/{ripgrep-y6yv2n5p.js → websearch-ync0834v.js} +17 -17
- package/dist/chunks/{ripgrep-76wr4mq2.js → websearch-ytcbjck8.js} +5 -5
- package/dist/chunks/{ripgrep-zgnmmxh6.js → websearch-ytgxds4t.js} +11 -11
- package/dist/chunks/{ripgrep-z1k01bn4.js → websearch-z1k01bn4.js} +2 -2
- package/dist/chunks/{ripgrep-aa3g7qm9.js → websearch-z78tg67p.js} +5 -5
- package/dist/chunks/{ripgrep-7me1svnr.js → websearch-zn6m5v1n.js} +23 -23
- package/dist/chunks/{ripgrep-sh8ph4n7.js → websearch-zqarsgkh.js} +4 -4
- package/dist/chunks/{ripgrep-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +75 -75
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +114 -114
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +352 -352
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +345 -345
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +97 -97
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- 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 +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- 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 +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +130 -130
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +111 -111
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/ripgrep-2y15j0tk.js +0 -18
- package/dist/chunks/ripgrep-7zk4hah4.js +0 -4
- package/dist/chunks/ripgrep-a21023rp.js +0 -22
- package/dist/chunks/ripgrep-nfxm2j3p.js +0 -243
- /package/dist/chunks/{ripgrep-0fabt78z.js → websearch-0fabt78z.js} +0 -0
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t738kvx.js → websearch-3t738kvx.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-41nvscxy.js → websearch-41nvscxy.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-982e01ww.js → websearch-982e01ww.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a1tpkmh4.js → websearch-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mntxs535.js → websearch-mntxs535.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-p8qxwesx.js → websearch-p8qxwesx.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-se0s1eqw.js → websearch-se0s1eqw.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x1b8g1yb.js → websearch-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → websearch-z9919s4g.js} +0 -0
- /package/dist/chunks/{ripgrep-zbjnn3ac.js → websearch-zbjnn3ac.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-yab53grx.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-f0nz223j.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node78
|
|
12
|
+
} from "./websearch-ya77tz7a.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service75,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node77
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info29 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info14 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service75 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service75,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node83,
|
|
64
|
+
deps: [node83, node78]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info29({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service75.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node77 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info29, NotFound3, CreateConflict2, Service75, configured10, node77, exports_workspace };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node82
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-bvnrmn8y.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node71
|
|
9
|
+
} from "./websearch-1drs6s6a.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-5xwg1gye.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event17,
|
|
34
|
+
ID: () => ID12,
|
|
35
|
+
Info: () => Info25,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref3,
|
|
42
|
+
Service: () => Service67,
|
|
43
|
+
node: () => node69
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event17 } from "@opencode-ai/schema/integration";
|
|
65
|
+
var ID12 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info25 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service67 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service69;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info25.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service67.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node69 = makeLocationNode({
|
|
569
|
+
service: Service67,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node71, node82, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service67, node69, exports_integration, Event17 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service53,
|
|
3
|
+
node55,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-sqm8p044.js";
|
|
6
6
|
import {
|
|
7
7
|
Service38,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node40
|
|
9
|
+
} from "./websearch-nv1mfemk.js";
|
|
10
10
|
import {
|
|
11
11
|
layer2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-0p53sjzq.js";
|
|
13
13
|
|
|
14
14
|
// src/location-services.ts
|
|
15
15
|
import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
16
16
|
function buildLocationServiceMap2(replacements = []) {
|
|
17
|
-
return Layer.effect(
|
|
17
|
+
return Layer.effect(Service53, Effect.gen(function* () {
|
|
18
18
|
const owner = yield* Effect.scope;
|
|
19
19
|
const booting = MutableHashMap.empty();
|
|
20
20
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -42,11 +42,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
const bindings = [
|
|
45
|
-
|
|
45
|
+
node40.replace(Layer.succeed(Service38, {
|
|
46
46
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
47
47
|
})),
|
|
48
48
|
...replacements,
|
|
49
|
-
|
|
49
|
+
node55.replace(Layer.succeed(Service53, map))
|
|
50
50
|
];
|
|
51
51
|
return map;
|
|
52
52
|
}));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-tdz2d0bf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID10
|
|
6
|
+
} from "./websearch-f4saz0r8.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-5rkq28d7.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode-ai/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID10.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info20
|
|
6
|
+
} from "./websearch-sb910js5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent4 = {};
|
|
13
13
|
__export(exports_agent4, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent4,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info20)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./websearch-qjr20smf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./websearch-nj6x7cer.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin33
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin33 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const shell = yield* Service66;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin9 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin33, exports_shell2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-tknjtqgf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./websearch-qjr20smf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin14,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
424
424
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin14 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info7.make({
|
|
431
|
+
id: ID4.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info7.make({
|
|
438
|
+
id: ID4.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service62;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin14, exports_skill };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node80
|
|
4
|
+
} from "./websearch-67ze60yh.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info30,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info30, Ref as Ref4, response as response2 } from "@opencode-ai/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode-ai/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info30, Ref4, response2,
|
|
43
|
+
export { Info30, Ref4, response2, Service76, node79, boundNode2, exports_location };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-yab53grx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-bvnrmn8y.js";
|
|
7
7
|
import {
|
|
8
8
|
Service38
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-nv1mfemk.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID3,
|
|
15
|
+
Service43
|
|
16
|
+
} from "./websearch-877hfn54.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./websearch-5zec3rsz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -46,8 +46,8 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service43;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID3.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) {
|
|
@@ -77,10 +77,10 @@ var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
|
77
77
|
const instances = yield* Service38;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service43;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID3.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, ID3.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|