@opencode/core 0.0.0-dev-19678 → 0.0.0-dev-19682
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{worktree-9r40msyq.js → persistent-pty-0457sjwy.js} +11 -11
- package/dist/chunks/{worktree-7hjrp1ry.js → persistent-pty-0d1bsqa1.js} +19 -19
- package/dist/chunks/{worktree-mtft99cd.js → persistent-pty-0f9afca0.js} +5 -5
- package/dist/chunks/{worktree-174d77kk.js → persistent-pty-0m8ssbne.js} +10 -10
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{worktree-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-3ks8vxtx.js → persistent-pty-0tvcf6qn.js} +24 -24
- package/dist/chunks/{worktree-y439a41h.js → persistent-pty-0xp5hpj0.js} +43 -43
- package/dist/chunks/{worktree-4vy3njsm.js → persistent-pty-0zbmh4se.js} +30 -30
- package/dist/chunks/{worktree-ktxmp402.js → persistent-pty-17es1da5.js} +41 -41
- package/dist/chunks/{worktree-qa7b4e57.js → persistent-pty-18sxed07.js} +33 -33
- package/dist/chunks/{worktree-qvsqjx3k.js → persistent-pty-1atzs1aw.js} +7 -7
- package/dist/chunks/{worktree-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-4j96vqdr.js → persistent-pty-1drb93k1.js} +21 -21
- package/dist/chunks/{worktree-3x63gc5s.js → persistent-pty-1fdf6jkm.js} +6 -6
- package/dist/chunks/{worktree-trmhacsn.js → persistent-pty-1ftd87y6.js} +14 -14
- package/dist/chunks/{worktree-1w7shgq0.js → persistent-pty-1vp2wv45.js} +25 -25
- package/dist/chunks/{worktree-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-h6g83djs.js → persistent-pty-26bg82qa.js} +11 -11
- package/dist/chunks/{worktree-64kphnzf.js → persistent-pty-26k5bknw.js} +4 -4
- package/dist/chunks/{worktree-9crse6na.js → persistent-pty-29ekt46m.js} +23 -23
- package/dist/chunks/{worktree-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-k711kv9r.js → persistent-pty-2ca164mb.js} +6 -6
- package/dist/chunks/{worktree-c27esgm9.js → persistent-pty-2eegacq4.js} +8 -8
- package/dist/chunks/{worktree-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{worktree-11zjtd0v.js → persistent-pty-2zmnbmev.js} +15 -15
- package/dist/chunks/{worktree-806j49yq.js → persistent-pty-34rkz0x9.js} +7 -7
- package/dist/chunks/{worktree-82axnvzk.js → persistent-pty-3a3m4psf.js} +15 -15
- package/dist/chunks/{worktree-c5879aa8.js → persistent-pty-3chrvcfn.js} +11 -11
- package/dist/chunks/{worktree-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-n3ca23hd.js → persistent-pty-3gmdw0js.js} +10 -10
- package/dist/chunks/{worktree-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-gaqhbna6.js → persistent-pty-3zc93ghn.js} +19 -19
- package/dist/chunks/{worktree-h6r3nrb9.js → persistent-pty-44h5tttr.js} +4 -4
- package/dist/chunks/{worktree-fkjmw100.js → persistent-pty-44ke2mar.js} +6 -6
- package/dist/chunks/{worktree-ng06a93p.js → persistent-pty-47bndgm5.js} +41 -41
- package/dist/chunks/{worktree-dtqg9ce1.js → persistent-pty-4drgpw32.js} +5 -5
- package/dist/chunks/{worktree-97wvmzf2.js → persistent-pty-4fpwq1r9.js} +3 -3
- package/dist/chunks/{worktree-qcqsneq1.js → persistent-pty-4kzetxh1.js} +14 -14
- package/dist/chunks/{worktree-hwys8km5.js → persistent-pty-4n4k0cnh.js} +4 -4
- package/dist/chunks/{worktree-hrxhtwh5.js → persistent-pty-4ttbd9rb.js} +17 -17
- package/dist/chunks/{worktree-am60j996.js → persistent-pty-4vf6h4mv.js} +5 -5
- package/dist/chunks/{worktree-qqj2dkp1.js → persistent-pty-4xmqhafq.js} +17 -17
- package/dist/chunks/{worktree-mem0xz91.js → persistent-pty-53g11zbg.js} +1 -1
- package/dist/chunks/{worktree-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
- package/dist/chunks/{worktree-2fgn2we9.js → persistent-pty-57ez7d0k.js} +9 -9
- package/dist/chunks/{worktree-tj3qv296.js → persistent-pty-5by067t8.js} +4 -4
- package/dist/chunks/{worktree-nvxqht09.js → persistent-pty-5cmxdwv8.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{worktree-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-bjcwypgn.js → persistent-pty-5tpy2fbk.js} +10 -10
- package/dist/chunks/{worktree-6x4tw2n6.js → persistent-pty-5vb3py7h.js} +4 -4
- package/dist/chunks/{worktree-2r7cpq20.js → persistent-pty-5zf9zmc3.js} +7 -7
- package/dist/chunks/{worktree-mjb12pha.js → persistent-pty-65e72azk.js} +3 -3
- package/dist/chunks/{worktree-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{worktree-6ygx60r3.js → persistent-pty-677phc5j.js} +8 -8
- package/dist/chunks/{worktree-5s1g7zt8.js → persistent-pty-68tr05pn.js} +34 -34
- package/dist/chunks/{worktree-ttyx5d16.js → persistent-pty-6f4jyr9n.js} +1 -1
- package/dist/chunks/{worktree-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-2vkv0cnq.js → persistent-pty-6ng8rhkc.js} +12 -12
- package/dist/chunks/{worktree-zxynhvrn.js → persistent-pty-709mss9f.js} +14 -14
- package/dist/chunks/{worktree-jymnr9tp.js → persistent-pty-771mw8n5.js} +84 -84
- package/dist/chunks/{worktree-debqk1x6.js → persistent-pty-77z07hfr.js} +5 -5
- package/dist/chunks/{worktree-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-dze3spay.js → persistent-pty-7e0b5fpv.js} +10 -10
- package/dist/chunks/{worktree-15nepkqg.js → persistent-pty-7j2qha59.js} +8 -8
- package/dist/chunks/{worktree-3mkv12gd.js → persistent-pty-7pjh2c00.js} +20 -20
- package/dist/chunks/{worktree-w74nyqjb.js → persistent-pty-7rqzqf2y.js} +5 -5
- package/dist/chunks/{worktree-0e6tknjd.js → persistent-pty-7xnpcceb.js} +32 -32
- package/dist/chunks/{worktree-mg0hvqns.js → persistent-pty-83d2wykz.js} +24 -24
- package/dist/chunks/{worktree-bt4497rw.js → persistent-pty-8cnzmmsd.js} +23 -23
- package/dist/chunks/{worktree-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-1vbr32jm.js → persistent-pty-8gyk9vq5.js} +4 -4
- package/dist/chunks/{worktree-raa150y6.js → persistent-pty-8kf7y4ht.js} +3 -3
- package/dist/chunks/{worktree-dj2t23y0.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-nez407vh.js → persistent-pty-8rx2gh2n.js} +81 -81
- package/dist/chunks/{worktree-75bwm8n8.js → persistent-pty-8xfqr98k.js} +14 -14
- package/dist/chunks/{worktree-sp9v8d94.js → persistent-pty-90rrdtsa.js} +10 -10
- package/dist/chunks/{worktree-z983bpbs.js → persistent-pty-98s8e1rw.js} +11 -11
- package/dist/chunks/{worktree-acm9d4wv.js → persistent-pty-99jk88nh.js} +44 -44
- package/dist/chunks/{worktree-s2t3dg79.js → persistent-pty-9cyc6z1w.js} +10 -10
- package/dist/chunks/{worktree-k87h7t0v.js → persistent-pty-9g2dhd49.js} +12 -12
- package/dist/chunks/{worktree-49yfvyax.js → persistent-pty-9jvshbgc.js} +21 -21
- package/dist/chunks/{worktree-phbvt86a.js → persistent-pty-9r4twygd.js} +32 -32
- package/dist/chunks/{worktree-5c4hm403.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-xec0sntw.js → persistent-pty-a50z0fpr.js} +17 -17
- package/dist/chunks/{worktree-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-02y3xw2c.js → persistent-pty-afm11xz0.js} +3 -3
- package/dist/chunks/{worktree-hnez55bc.js → persistent-pty-akan8yn4.js} +8 -8
- package/dist/chunks/{worktree-sx7frpfz.js → persistent-pty-an66st8b.js} +14 -14
- package/dist/chunks/{worktree-dzpmeesh.js → persistent-pty-ax36eyar.js} +8 -8
- package/dist/chunks/{worktree-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-wy8b5sm2.js → persistent-pty-b97cbvw3.js} +1 -1
- package/dist/chunks/{worktree-w5f4svzp.js → persistent-pty-bbctgmqj.js} +3 -3
- package/dist/chunks/{worktree-9xq3nbft.js → persistent-pty-bf44fs7q.js} +24 -24
- package/dist/chunks/{worktree-7ac170kv.js → persistent-pty-bha4atvq.js} +4 -4
- package/dist/chunks/{worktree-bfd4xtf1.js → persistent-pty-bjff6841.js} +17 -17
- package/dist/chunks/{worktree-hpapf7ej.js → persistent-pty-bmqzgjgb.js} +23 -23
- package/dist/chunks/{worktree-dg5bcj4q.js → persistent-pty-bscb95cy.js} +6 -6
- package/dist/chunks/{worktree-57e9z27j.js → persistent-pty-bw0vgseb.js} +8 -8
- package/dist/chunks/{worktree-p193qfyh.js → persistent-pty-bzhwnh4p.js} +26 -26
- package/dist/chunks/persistent-pty-c1q333ww.js +26 -0
- package/dist/chunks/{worktree-nw2nz702.js → persistent-pty-c5gn303e.js} +4 -4
- package/dist/chunks/{worktree-3w2b2yj4.js → persistent-pty-c78bbtc9.js} +5 -5
- package/dist/chunks/{worktree-j72m2ftj.js → persistent-pty-cacw0tx2.js} +11 -11
- package/dist/chunks/{worktree-m0jqrx5p.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-8c8zehe5.js → persistent-pty-ck5kwbgm.js} +11 -11
- package/dist/chunks/{worktree-2d57kztd.js → persistent-pty-cpy6gm2a.js} +6 -6
- package/dist/chunks/{worktree-qes64rbd.js → persistent-pty-cw2220fx.js} +29 -29
- package/dist/chunks/{worktree-60age542.js → persistent-pty-cwk6dc0f.js} +15 -15
- package/dist/chunks/{worktree-k7myrtme.js → persistent-pty-d43tgzm4.js} +9 -9
- package/dist/chunks/{worktree-k0skhwzc.js → persistent-pty-d48be562.js} +5 -5
- package/dist/chunks/{worktree-r3gqfajy.js → persistent-pty-dase69n4.js} +26 -26
- package/dist/chunks/{worktree-fprzj95g.js → persistent-pty-ddcn1th9.js} +16 -16
- package/dist/chunks/{worktree-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-c0ryrrzn.js → persistent-pty-e2ky9s5t.js} +50 -50
- package/dist/chunks/{worktree-mhvd9vx8.js → persistent-pty-e2wwkkr3.js} +25 -25
- package/dist/chunks/{worktree-3f706czv.js → persistent-pty-e3ej8st1.js} +17 -17
- package/dist/chunks/{worktree-exf0ag6m.js → persistent-pty-e4zvn0y8.js} +8 -8
- package/dist/chunks/{worktree-2xfxk6th.js → persistent-pty-e550c21h.js} +15 -15
- package/dist/chunks/{worktree-1cq10s00.js → persistent-pty-e5gwvkqs.js} +7 -7
- package/dist/chunks/{worktree-jywqkjj6.js → persistent-pty-e7z9zthm.js} +11 -11
- package/dist/chunks/{worktree-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
- package/dist/chunks/{worktree-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-t3w5bgp4.js → persistent-pty-egja3w3k.js} +11 -11
- package/dist/chunks/{worktree-44vcf97r.js → persistent-pty-ehjgfrb8.js} +29 -29
- package/dist/chunks/{worktree-t7n9q6bq.js → persistent-pty-embw8kgh.js} +4 -4
- package/dist/chunks/{worktree-vyrd71eq.js → persistent-pty-ep6z9mt6.js} +11 -11
- package/dist/chunks/{worktree-8kkw5ddh.js → persistent-pty-erk99hyj.js} +42 -42
- package/dist/chunks/{worktree-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-x7cz0th0.js → persistent-pty-f2njkax9.js} +7 -7
- package/dist/chunks/{worktree-v179d97a.js → persistent-pty-f3a1m4jg.js} +10 -10
- package/dist/chunks/{worktree-3tey1tqk.js → persistent-pty-f6f6yxds.js} +3 -3
- package/dist/chunks/{worktree-hdnk95c8.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-za77p82n.js → persistent-pty-fds3vh5r.js} +6 -6
- package/dist/chunks/{worktree-ff5f6xfc.js → persistent-pty-fp9xmcy3.js} +8 -8
- package/dist/chunks/{worktree-dr666zk0.js → persistent-pty-fpfkm27p.js} +16 -16
- package/dist/chunks/{worktree-6y50b3ce.js → persistent-pty-fr1268wp.js} +17 -17
- package/dist/chunks/{worktree-tk4xefdg.js → persistent-pty-fvy1mc4q.js} +12 -12
- package/dist/chunks/{worktree-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-rdh7f4cw.js → persistent-pty-fxbmv06w.js} +10 -10
- package/dist/chunks/{worktree-yetagcyg.js → persistent-pty-fype0rw8.js} +11 -11
- package/dist/chunks/{worktree-besmmfw0.js → persistent-pty-fzvmjdr3.js} +13 -13
- package/dist/chunks/{worktree-ppqxyqmv.js → persistent-pty-g5g08czv.js} +10 -10
- package/dist/chunks/{worktree-p3bnatdk.js → persistent-pty-gamcf2tt.js} +33 -33
- package/dist/chunks/{worktree-5trqfzya.js → persistent-pty-gb7dj5em.js} +36 -36
- package/dist/chunks/{worktree-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-fdz2twvr.js → persistent-pty-gddc0fts.js} +58 -58
- package/dist/chunks/{worktree-2ancfe85.js → persistent-pty-gg4a0jgp.js} +25 -25
- package/dist/chunks/{worktree-bg86vx51.js → persistent-pty-ghdbx2at.js} +15 -15
- package/dist/chunks/{worktree-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-5kssg3wf.js → persistent-pty-gxq6akdt.js} +4 -4
- package/dist/chunks/{worktree-ghstkmyc.js → persistent-pty-gypqxzd7.js} +7 -7
- package/dist/chunks/{worktree-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{worktree-x68ppmc8.js → persistent-pty-h0b9xjk8.js} +5 -5
- package/dist/chunks/{worktree-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-68cy5tvk.js → persistent-pty-hesrcs9n.js} +17 -17
- package/dist/chunks/{worktree-mpn67x5p.js → persistent-pty-hgehe5qr.js} +11 -11
- package/dist/chunks/{worktree-7r8e83hb.js → persistent-pty-hpbxecpz.js} +29 -29
- package/dist/chunks/{worktree-xqn2na27.js → persistent-pty-hsv3rq22.js} +4 -4
- package/dist/chunks/{worktree-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-hbxbz73r.js → persistent-pty-jak50wjt.js} +26 -26
- package/dist/chunks/{worktree-952wf3h0.js → persistent-pty-jbz8x4nc.js} +33 -33
- package/dist/chunks/{worktree-33xqp8c4.js → persistent-pty-jsed32gb.js} +20 -20
- package/dist/chunks/{worktree-tnb9a9ra.js → persistent-pty-jt0mfgqw.js} +47 -47
- package/dist/chunks/{worktree-hcz3zddy.js → persistent-pty-jv01nqvq.js} +5 -5
- package/dist/chunks/{worktree-k3gnzxs0.js → persistent-pty-k3gnzxs0.js} +2 -2
- package/dist/chunks/{worktree-z5y2jtdt.js → persistent-pty-ke2aez33.js} +32 -32
- package/dist/chunks/{worktree-3wa5p8ds.js → persistent-pty-kedanpwc.js} +22 -22
- package/dist/chunks/{worktree-b6f6n79x.js → persistent-pty-kg4jxx0b.js} +10 -10
- package/dist/chunks/{worktree-1jaghqsx.js → persistent-pty-kh2xt8yc.js} +17 -17
- package/dist/chunks/{worktree-rrqhc0g8.js → persistent-pty-kj36yjv0.js} +9 -9
- package/dist/chunks/{worktree-seeh73d1.js → persistent-pty-kszyjgag.js} +24 -24
- package/dist/chunks/{worktree-3mz07r45.js → persistent-pty-ky788973.js} +11 -11
- package/dist/chunks/{worktree-a40np59p.js → persistent-pty-m07kesbd.js} +31 -31
- package/dist/chunks/{worktree-1qdmrsyh.js → persistent-pty-m31hrvtp.js} +11 -11
- package/dist/chunks/{worktree-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-kk00bynn.js → persistent-pty-magykp64.js} +21 -21
- package/dist/chunks/{worktree-tyxy8y33.js → persistent-pty-mnmpf8vs.js} +8 -8
- package/dist/chunks/{worktree-3dqfb5kw.js → persistent-pty-mz25dwn3.js} +22 -22
- package/dist/chunks/{worktree-hzah94rf.js → persistent-pty-mzhzy1pb.js} +13 -13
- package/dist/chunks/{worktree-bm2bzb1v.js → persistent-pty-n4x3txqd.js} +4 -4
- package/dist/chunks/{worktree-gn7pfh5g.js → persistent-pty-n6twqwrr.js} +3 -3
- package/dist/chunks/persistent-pty-n95b3jav.js +18 -0
- package/dist/chunks/{worktree-fhv9k6kb.js → persistent-pty-npsagvvz.js} +5 -5
- package/dist/chunks/{worktree-fhs97t90.js → persistent-pty-nq7qbqzc.js} +9 -9
- package/dist/chunks/{worktree-k2e2j23h.js → persistent-pty-nrp0dgk2.js} +20 -20
- package/dist/chunks/{worktree-3xb03r27.js → persistent-pty-p1zb2z5r.js} +16 -16
- package/dist/chunks/{worktree-kjj16b39.js → persistent-pty-p91ayak9.js} +7 -7
- package/dist/chunks/{worktree-925cq2hc.js → persistent-pty-pcawhjwq.js} +289 -289
- package/dist/chunks/{worktree-w7xn1kg1.js → persistent-pty-pea6h7py.js} +14 -14
- package/dist/chunks/{worktree-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-mwemq795.js → persistent-pty-pk54j106.js} +26 -26
- package/dist/chunks/{worktree-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-frhb2p6t.js → persistent-pty-pt4q81m1.js} +4 -4
- package/dist/chunks/{worktree-9zj2yd8z.js → persistent-pty-q8dvbymb.js} +20 -20
- package/dist/chunks/{worktree-qnq7qc9v.js → persistent-pty-qa0ka09q.js} +2 -2
- package/dist/chunks/{worktree-c765mh8b.js → persistent-pty-qmqgtz8f.js} +9 -9
- package/dist/chunks/{worktree-jzc84zhf.js → persistent-pty-qq0enmay.js} +17 -17
- package/dist/chunks/{worktree-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-1bbkgx8g.js → persistent-pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{worktree-3j8yw4h7.js → persistent-pty-r7pgccbm.js} +29 -29
- package/dist/chunks/{worktree-7atngb88.js → persistent-pty-r98e92ep.js} +4 -4
- package/dist/chunks/{worktree-gr63znzm.js → persistent-pty-rdt39d18.js} +16 -16
- package/dist/chunks/{worktree-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-60rwq83k.js → persistent-pty-rf0ac1nd.js} +24 -24
- package/dist/chunks/{worktree-g0qmj2x0.js → persistent-pty-rgfqswwp.js} +5 -5
- package/dist/chunks/{worktree-qx0q8j4j.js → persistent-pty-rhzgsha5.js} +24 -24
- package/dist/chunks/{worktree-48q12zrq.js → persistent-pty-rvayqjwn.js} +17 -17
- package/dist/chunks/{worktree-mwsp0qbh.js → persistent-pty-ry3rwstb.js} +6 -6
- package/dist/chunks/{worktree-qs15877k.js → persistent-pty-rya04ard.js} +35 -35
- package/dist/chunks/{worktree-s5f4w46x.js → persistent-pty-s7cyq3j7.js} +6 -6
- package/dist/chunks/{worktree-b7v0y5ep.js → persistent-pty-sbrnn11p.js} +4 -4
- package/dist/chunks/{worktree-evp7db52.js → persistent-pty-scr9tq7r.js} +6 -6
- package/dist/chunks/{worktree-9vzt17gg.js → persistent-pty-sf2e06tm.js} +178 -178
- package/dist/chunks/{worktree-bxzvdraz.js → persistent-pty-sxwb65hc.js} +39 -31
- package/dist/chunks/{worktree-5d13hs91.js → persistent-pty-t2tcessw.js} +16 -16
- package/dist/chunks/{worktree-xmw8x2ed.js → persistent-pty-t68jr2fk.js} +17 -17
- package/dist/chunks/{worktree-sqespdca.js → persistent-pty-t8tppdbr.js} +15 -15
- package/dist/chunks/{worktree-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcay1cqt.js → persistent-pty-tcay1cqt.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-16zykpq3.js → persistent-pty-tebckzj7.js} +6 -6
- package/dist/chunks/{worktree-j16bxe15.js → persistent-pty-tmdzsscp.js} +21 -21
- package/dist/chunks/{worktree-xzj8ke1r.js → persistent-pty-tp9yp7n5.js} +43 -43
- package/dist/chunks/{worktree-pa8pe2x7.js → persistent-pty-tpw6cwsb.js} +8 -8
- package/dist/chunks/{worktree-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-41xcr2yw.js → persistent-pty-tvysf4y4.js} +5 -5
- package/dist/chunks/{worktree-y1ty9ay3.js → persistent-pty-v606rqvb.js} +15 -15
- package/dist/chunks/{worktree-ekhc6zn8.js → persistent-pty-v8x5s6qt.js} +42 -42
- package/dist/chunks/{worktree-j4816qjh.js → persistent-pty-vbx9nkth.js} +15 -15
- package/dist/chunks/{worktree-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-nz9pm5x8.js → persistent-pty-vhg8gbw9.js} +13 -13
- package/dist/chunks/{worktree-tqkrwgse.js → persistent-pty-vmgq4x8b.js} +2 -2
- package/dist/chunks/{worktree-283sq9eb.js → persistent-pty-vmwh049b.js} +9 -9
- package/dist/chunks/{worktree-w09ej8yv.js → persistent-pty-vpscksex.js} +30 -30
- package/dist/chunks/{worktree-z6m0aj3j.js → persistent-pty-vpy6tv1g.js} +18 -18
- package/dist/chunks/{worktree-4b3kehkn.js → persistent-pty-vsrt67qk.js} +5 -5
- package/dist/chunks/{worktree-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-yv0bcf73.js → persistent-pty-w6sjcj00.js} +40 -40
- package/dist/chunks/{worktree-8rphe9sf.js → persistent-pty-w6tpnshf.js} +6 -6
- package/dist/chunks/{worktree-hkqe0sh1.js → persistent-pty-w8hnngn5.js} +10 -10
- package/dist/chunks/{worktree-kwkjs9hb.js → persistent-pty-wbyzgfj3.js} +12 -12
- package/dist/chunks/{worktree-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-wtgc8z9n.js → persistent-pty-wgcwk5gf.js} +15 -15
- package/dist/chunks/{worktree-bexm9nce.js → persistent-pty-wn348gvk.js} +35 -35
- package/dist/chunks/persistent-pty-wyxhhks7.js +247 -0
- package/dist/chunks/{worktree-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-zxyzar11.js → persistent-pty-x2bhsfx5.js} +52 -52
- package/dist/chunks/{worktree-hecwjcfa.js → persistent-pty-x8d4tdmm.js} +24 -24
- package/dist/chunks/{worktree-zmxhfkmg.js → persistent-pty-xbry3q9d.js} +22 -22
- package/dist/chunks/{worktree-qe3myk5j.js → persistent-pty-xeqcm4dq.js} +5 -5
- package/dist/chunks/{worktree-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{worktree-h5t1cqyn.js → persistent-pty-xk76jmgb.js} +3 -3
- package/dist/chunks/{worktree-vyd8sw8j.js → persistent-pty-xrzs32wx.js} +30 -30
- package/dist/chunks/{worktree-84mkzp6g.js → persistent-pty-xxg060p8.js} +11 -11
- package/dist/chunks/{worktree-wnc6j8g9.js → persistent-pty-xy1te82j.js} +3 -3
- package/dist/chunks/{worktree-qt026hkp.js → persistent-pty-xz5jgbdk.js} +9 -9
- package/dist/chunks/{worktree-w8fg0vxv.js → persistent-pty-y02q0mz5.js} +12 -12
- package/dist/chunks/{worktree-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-ee7tvcsv.js → persistent-pty-y3g69tt1.js} +24 -24
- package/dist/chunks/{worktree-y56ehv6b.js → persistent-pty-y56ehv6b.js} +2 -2
- package/dist/chunks/{worktree-f2n192rq.js → persistent-pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{worktree-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{worktree-1bvrbzys.js → persistent-pty-z8rhdvzk.js} +20 -20
- package/dist/chunks/{worktree-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-sy7hnc8c.js → persistent-pty-zqew8r2r.js} +15 -15
- package/dist/chunks/{worktree-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-4ws0t3r6.js → persistent-pty-zwyvjxyb.js} +8 -8
- package/dist/chunks/{worktree-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +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 +359 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +93 -93
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +81 -78
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +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 +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/worktree-619r8v3y.js +0 -18
- package/dist/chunks/worktree-hqdbbvbk.js +0 -26
- package/dist/chunks/worktree-qapv375x.js +0 -4
- package/dist/chunks/worktree-yfech19a.js +0 -247
- /package/dist/chunks/{worktree-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node60
|
|
9
|
+
} from "./persistent-pty-0tvcf6qn.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service15,
|
|
24
|
+
node: () => node17
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service15 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service58;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service15.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node60, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service15, node17, exports_ripgrep };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-8kf7y4ht.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service62,
|
|
17
|
+
node: () => node66
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service62 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service82).db;
|
|
26
|
-
return
|
|
26
|
+
return Service62.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node66 = makeGlobalNode({ service: Service62, layer, deps: [node86] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service62, node66, exports_kv };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-5cmxdwv8.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-vmwh049b.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-bha4atvq.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-26k5bknw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service70,
|
|
4
|
+
node74
|
|
5
|
+
} from "./persistent-pty-hpbxecpz.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
11
11
|
nativeSettings2,
|
|
12
12
|
mergeOverlay2,
|
|
13
13
|
mergeHeaders2,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service68,
|
|
15
|
+
node72
|
|
16
|
+
} from "./persistent-pty-ke2aez33.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service66,
|
|
19
|
+
node70
|
|
20
|
+
} from "./persistent-pty-egja3w3k.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID8,
|
|
23
23
|
VariantID2,
|
|
24
24
|
Ref2,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service67,
|
|
26
|
+
node71
|
|
27
|
+
} from "./persistent-pty-0zbmh4se.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/model-resolver.ts
|
|
33
33
|
var exports_model_resolver = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_model_resolver, {
|
|
|
36
36
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
37
37
|
ModelInitializationError: () => ModelInitializationError3,
|
|
38
38
|
ModelResolver: () => exports_model_resolver,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service65,
|
|
40
40
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
41
41
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
42
42
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
43
43
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
44
44
|
fromCatalogModel: () => fromCatalogModel2,
|
|
45
45
|
hasPackage: () => hasPackage2,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer24,
|
|
47
|
+
node: () => node69,
|
|
48
48
|
resolveModel: () => resolveModel2,
|
|
49
49
|
withVariant: () => withVariant2
|
|
50
50
|
});
|
|
@@ -54,8 +54,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
54
54
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
55
55
|
import { Npm } from "@opencode/util/npm";
|
|
56
56
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
57
|
-
providerID:
|
|
58
|
-
modelID:
|
|
57
|
+
providerID: ID9,
|
|
58
|
+
modelID: ID8,
|
|
59
59
|
variant: VariantID2
|
|
60
60
|
}) {
|
|
61
61
|
get message() {
|
|
@@ -64,8 +64,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
67
|
-
providerID:
|
|
68
|
-
modelID:
|
|
67
|
+
providerID: ID9,
|
|
68
|
+
modelID: ID8,
|
|
69
69
|
package: Schema.String
|
|
70
70
|
}) {
|
|
71
71
|
get message() {
|
|
@@ -75,8 +75,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
75
75
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
76
76
|
|
|
77
77
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
78
|
-
providerID:
|
|
79
|
-
modelID:
|
|
78
|
+
providerID: ID9,
|
|
79
|
+
modelID: ID8,
|
|
80
80
|
package: Schema.String,
|
|
81
81
|
detail: Schema.String
|
|
82
82
|
}) {
|
|
@@ -86,8 +86,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
89
|
-
providerID:
|
|
90
|
-
modelID:
|
|
89
|
+
providerID: ID9,
|
|
90
|
+
modelID: ID8,
|
|
91
91
|
package: Schema.String,
|
|
92
92
|
phase: InitializationPhase2,
|
|
93
93
|
detail: Schema.String
|
|
@@ -98,8 +98,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
101
|
-
providerID:
|
|
102
|
-
modelID:
|
|
101
|
+
providerID: ID9,
|
|
102
|
+
modelID: ID8,
|
|
103
103
|
variables: Schema.Array(Schema.String)
|
|
104
104
|
}) {
|
|
105
105
|
get message() {
|
|
@@ -108,8 +108,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
111
|
-
providerID:
|
|
112
|
-
modelID:
|
|
111
|
+
providerID: ID9,
|
|
112
|
+
modelID: ID8,
|
|
113
113
|
route: Schema.String
|
|
114
114
|
}) {
|
|
115
115
|
get message() {
|
|
@@ -117,7 +117,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service65 extends Context.Service()("@opencode/ModelResolver") {
|
|
121
121
|
}
|
|
122
122
|
var withVariant2 = (model, variantID) => {
|
|
123
123
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -257,15 +257,15 @@ var causeMessage = (cause) => {
|
|
|
257
257
|
};
|
|
258
258
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
259
259
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
260
|
-
var
|
|
261
|
-
const providers = yield*
|
|
262
|
-
const models = yield*
|
|
263
|
-
const integrations = yield*
|
|
260
|
+
var layer24 = Layer.effect(Service65, Effect.gen(function* () {
|
|
261
|
+
const providers = yield* Service68;
|
|
262
|
+
const models = yield* Service67;
|
|
263
|
+
const integrations = yield* Service70;
|
|
264
264
|
const npm = yield* Npm.Service;
|
|
265
|
-
const aisdk = yield*
|
|
265
|
+
const aisdk = yield* Service66;
|
|
266
266
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
267
267
|
const provider = yield* providers.get(selected.providerID);
|
|
268
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
268
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
269
269
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
270
270
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
271
271
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -287,7 +287,7 @@ var layer20 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
287
287
|
transport: selected.transport
|
|
288
288
|
};
|
|
289
289
|
});
|
|
290
|
-
return
|
|
290
|
+
return Service65.of({
|
|
291
291
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
292
292
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
293
293
|
if (!selected)
|
|
@@ -304,10 +304,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
304
304
|
const name = packageName2(packageName);
|
|
305
305
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
306
306
|
}
|
|
307
|
-
var
|
|
308
|
-
service:
|
|
309
|
-
layer:
|
|
310
|
-
deps: [
|
|
307
|
+
var node69 = makeLocationNode({
|
|
308
|
+
service: Service65,
|
|
309
|
+
layer: layer24,
|
|
310
|
+
deps: [node72, node71, node74, Npm.node, node70]
|
|
311
311
|
});
|
|
312
312
|
|
|
313
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
313
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service65, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node69, exports_model_resolver };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./persistent-pty-0zbmh4se.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./persistent-pty-tp9yp7n5.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-2ca164mb.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service53;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make9(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID8.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make8();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make8, VLLMPlugin2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-rhzgsha5.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-gddc0fts.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin41
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin41 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin44 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin44 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID15.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin44 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin41, exports_agent2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-n4x3txqd.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event13,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info20,
|
|
19
19
|
NotFoundError: () => NotFoundError7,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service56,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node58
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event13 } from "@opencode/schema/command";
|
|
28
|
+
var Info20 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service56 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer22 = Layer.effect(Service56, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info20.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service56.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node58 = makeLocationNode({
|
|
75
|
+
service: Service56,
|
|
76
|
+
layer: layer22,
|
|
77
77
|
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info20, NotFoundError7, ExecutionError2, Service56, layer22, node58, exports_command5, Event13 };
|