@opencode/core 0.0.0-dev-20109 → 0.0.0-dev-20111
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{ripgrep-s8d7rejh.js → state-02nrjc1r.js} +8 -8
- package/dist/chunks/{ripgrep-hhbdsb5c.js → state-0420h8y3.js} +12 -12
- package/dist/chunks/{ripgrep-8xx9hty4.js → state-0aebgkqc.js} +22 -22
- package/dist/chunks/{ripgrep-z2wpthz8.js → state-0cqag20n.js} +17 -17
- package/dist/chunks/{ripgrep-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-e6hmchc5.js → state-0r7yqxbf.js} +5 -5
- package/dist/chunks/{ripgrep-705e2ap1.js → state-0ryd0fps.js} +5 -5
- package/dist/chunks/{ripgrep-2chh63ks.js → state-0sc7p6dz.js} +13 -13
- package/dist/chunks/{ripgrep-2655jpvt.js → state-0sn5yek2.js} +18 -18
- package/dist/chunks/{ripgrep-mm0ka8b4.js → state-0v0cghr8.js} +32 -32
- package/dist/chunks/{ripgrep-1z0vrz80.js → state-0wpacstp.js} +1 -1
- package/dist/chunks/{ripgrep-fpbye8rx.js → state-0wv1qnc5.js} +27 -27
- package/dist/chunks/{ripgrep-6w2fwrwz.js → state-15p8vs0j.js} +4 -4
- package/dist/chunks/{ripgrep-kdn2p3kc.js → state-1b86pgzt.js} +10 -10
- package/dist/chunks/{ripgrep-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-b53anhnf.js → state-1hy6stnx.js} +22 -22
- package/dist/chunks/state-1x11rq2a.js +18 -0
- package/dist/chunks/{ripgrep-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-m5r7sx7n.js → state-2490deha.js} +13 -13
- package/dist/chunks/{ripgrep-jexxy024.js → state-256nx13v.js} +3 -3
- package/dist/chunks/{ripgrep-1t1zy8xf.js → state-28gfjavm.js} +34 -34
- package/dist/chunks/{ripgrep-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-qwjmgwmn.js → state-2eegacq4.js} +8 -8
- package/dist/chunks/{ripgrep-kwpj5q3p.js → state-2gfneftk.js} +12 -12
- package/dist/chunks/{ripgrep-jfw4kvwm.js → state-2mgvx86f.js} +12 -12
- package/dist/chunks/{ripgrep-t35zjnp2.js → state-2tbewc66.js} +20 -20
- package/dist/chunks/{ripgrep-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-rc6djb1p.js → state-3jdz0x4z.js} +37 -37
- package/dist/chunks/{ripgrep-dvddc9jp.js → state-3k1qem6j.js} +35 -35
- package/dist/chunks/{ripgrep-c3cz5zdw.js → state-3kbtcg3v.js} +3 -3
- package/dist/chunks/{ripgrep-pw1qsvjz.js → state-3n6sdpxb.js} +4 -4
- package/dist/chunks/{ripgrep-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-gb2pgqaa.js → state-3vgydj9r.js} +8 -8
- package/dist/chunks/{ripgrep-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-h6r3nrb9.js → state-44h5tttr.js} +4 -4
- package/dist/chunks/{ripgrep-vyf9ssr3.js → state-47dkewx0.js} +1 -1
- package/dist/chunks/{ripgrep-sdb1ycr1.js → state-4he9ab31.js} +22 -22
- package/dist/chunks/{ripgrep-cd5r1gbk.js → state-4mbzwrkh.js} +24 -24
- package/dist/chunks/{ripgrep-7gvwkz6m.js → state-4phm5153.js} +5 -5
- package/dist/chunks/{ripgrep-dc6tzc5b.js → state-4sn99hha.js} +5 -5
- package/dist/chunks/{ripgrep-5hv4n65z.js → state-4vdhrt56.js} +5 -5
- package/dist/chunks/{ripgrep-7s46rnhm.js → state-5041hkzc.js} +12 -12
- package/dist/chunks/{ripgrep-dsnt0r96.js → state-53cvw98s.js} +28 -28
- package/dist/chunks/{ripgrep-33w4ejhs.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{ripgrep-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-5ekn9679.js → state-5ekn9679.js} +1 -1
- package/dist/chunks/{ripgrep-819h2spw.js → state-5jc5mgc2.js} +58 -58
- package/dist/chunks/{ripgrep-97m20h6r.js → state-5n3fqch9.js} +33 -33
- package/dist/chunks/{ripgrep-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-mr1mqs0h.js → state-5vcxbet6.js} +33 -33
- package/dist/chunks/{ripgrep-k3wvx6tt.js → state-603dhr7g.js} +11 -11
- package/dist/chunks/{ripgrep-7dqw4kz8.js → state-607tc6va.js} +5 -5
- package/dist/chunks/{ripgrep-ejwjepw4.js → state-616y4znb.js} +9 -9
- package/dist/chunks/{ripgrep-72vmayfs.js → state-61f77bz5.js} +10 -10
- package/dist/chunks/{ripgrep-zv6hj0t9.js → state-637ve58x.js} +22 -22
- package/dist/chunks/{ripgrep-ex8v1fw5.js → state-65m83bwr.js} +23 -23
- package/dist/chunks/{ripgrep-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-mfedxs8q.js → state-66kbxh8a.js} +36 -36
- package/dist/chunks/{ripgrep-yemq3d8b.js → state-6ea2fwcg.js} +6 -6
- package/dist/chunks/{ripgrep-2402vzrj.js → state-6h73sxmp.js} +5 -5
- package/dist/chunks/{ripgrep-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-rkprpv83.js → state-6pc27hjz.js} +6 -6
- package/dist/chunks/{ripgrep-95jpzte7.js → state-6tqm5eet.js} +33 -33
- package/dist/chunks/{ripgrep-0pk44vc5.js → state-6zbs0edj.js} +20 -20
- package/dist/chunks/{ripgrep-tfdwhmtr.js → state-71gtvxnv.js} +14 -14
- package/dist/chunks/{ripgrep-1cvk9cz7.js → state-7439sjwf.js} +15 -15
- package/dist/chunks/{ripgrep-425t0c3w.js → state-74c75w5k.js} +23 -23
- package/dist/chunks/{ripgrep-qns6abax.js → state-78mm5kcz.js} +21 -21
- package/dist/chunks/{ripgrep-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-frfrmw9p.js → state-7dvp74te.js} +45 -45
- package/dist/chunks/{ripgrep-h3ezdy3d.js → state-7etgy47j.js} +36 -36
- package/dist/chunks/{ripgrep-2n93j33v.js → state-7jj4q75w.js} +39 -39
- package/dist/chunks/{ripgrep-s6qfrhx5.js → state-7t8jd0x5.js} +32 -32
- package/dist/chunks/{ripgrep-ww3bgsgm.js → state-7vr6z7sd.js} +51 -51
- package/dist/chunks/state-8212ntmz.js +26 -0
- package/dist/chunks/{ripgrep-d94x6axq.js → state-84hf00xv.js} +7 -7
- package/dist/chunks/{ripgrep-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-pa8pe2x7.js → state-8v6pyhej.js} +8 -8
- package/dist/chunks/{ripgrep-h7h63fbb.js → state-8xfg6125.js} +11 -11
- package/dist/chunks/{ripgrep-53gs95a7.js → state-93k0x0x6.js} +12 -12
- package/dist/chunks/{ripgrep-xbfk4ev4.js → state-93tv8wdp.js} +17 -17
- package/dist/chunks/{ripgrep-gfvb90ym.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-9p3mwjt3.js → state-97fcjs0c.js} +26 -26
- package/dist/chunks/{ripgrep-6snx8cw9.js → state-9at5y6v8.js} +58 -58
- package/dist/chunks/{ripgrep-8dqv1p37.js → state-9cymjy68.js} +19 -19
- package/dist/chunks/{ripgrep-rbwfq5hj.js → state-9fgjxmjq.js} +6 -6
- package/dist/chunks/{ripgrep-ch3dmysn.js → state-9q474hct.js} +27 -27
- package/dist/chunks/{ripgrep-9855y9nb.js → state-9qxmhsjm.js} +29 -29
- package/dist/chunks/{ripgrep-vfjhn2wd.js → state-a2rpfkac.js} +4 -4
- package/dist/chunks/{ripgrep-744da817.js → state-a4b1zkbb.js} +11 -11
- package/dist/chunks/{ripgrep-tjem4d8t.js → state-a6760ea6.js} +10 -10
- package/dist/chunks/{ripgrep-g190xswt.js → state-a8bn8zg0.js} +4 -4
- package/dist/chunks/{ripgrep-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-h008dk5n.js → state-ahmyyct8.js} +14 -14
- package/dist/chunks/{ripgrep-vsvmmhnj.js → state-amam8yz4.js} +15 -15
- package/dist/chunks/{ripgrep-mzgx6d9a.js → state-amb2kstc.js} +30 -30
- package/dist/chunks/{ripgrep-2r6y9ghf.js → state-awh9tjk9.js} +40 -40
- package/dist/chunks/{ripgrep-pm44nt25.js → state-awvdvje0.js} +22 -22
- package/dist/chunks/{ripgrep-rzqbjppq.js → state-axcvfrsj.js} +88 -88
- package/dist/chunks/{ripgrep-sfkj0ta1.js → state-b29mbqx6.js} +5 -5
- package/dist/chunks/{ripgrep-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-05y4kr4x.js → state-b7k3j85e.js} +33 -33
- package/dist/chunks/{ripgrep-kbxe83ey.js → state-bm3xcdsh.js} +15 -15
- package/dist/chunks/{ripgrep-q1rzhr09.js → state-bqnnf9m9.js} +19 -19
- package/dist/chunks/{ripgrep-58dhpfm0.js → state-bxhm554n.js} +22 -22
- package/dist/chunks/{ripgrep-b2ba3pyx.js → state-bye6v823.js} +43 -43
- package/dist/chunks/{ripgrep-q0q0ghtn.js → state-bygnyd31.js} +9 -9
- package/dist/chunks/{ripgrep-zpx469nz.js → state-c1fhnwbe.js} +11 -11
- package/dist/chunks/{ripgrep-pkmnv42m.js → state-c74c7pzc.js} +17 -17
- package/dist/chunks/{ripgrep-qmqgtz8f.js → state-c765mh8b.js} +9 -9
- package/dist/chunks/{ripgrep-6dxmk7tt.js → state-c84rynb7.js} +13 -13
- package/dist/chunks/{ripgrep-exb0dkv2.js → state-c8d35e4t.js} +8 -8
- package/dist/chunks/{ripgrep-3sqmy3wr.js → state-c8xqcx36.js} +6 -6
- package/dist/chunks/{ripgrep-ekxfv3m2.js → state-cb61ev9t.js} +9 -9
- package/dist/chunks/{ripgrep-4492rknf.js → state-cfex3ehp.js} +3 -3
- package/dist/chunks/{ripgrep-gffsep6t.js → state-cjap92xg.js} +17 -17
- package/dist/chunks/{ripgrep-54tcyq79.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-r0azrd8m.js → state-cv7be8vd.js} +24 -24
- package/dist/chunks/{ripgrep-bw9zjykr.js → state-d0k1g5nx.js} +6 -6
- package/dist/chunks/{ripgrep-42a2d12j.js → state-d6qntx8f.js} +28 -28
- package/dist/chunks/{ripgrep-7zwhry2g.js → state-dbgjbemx.js} +72 -72
- package/dist/chunks/{ripgrep-2rgdwba4.js → state-dd4arry7.js} +13 -13
- package/dist/chunks/{ripgrep-k9fd4x5k.js → state-deedhb64.js} +24 -24
- package/dist/chunks/{ripgrep-vmmah2r8.js → state-dhepbqcv.js} +49 -49
- package/dist/chunks/{ripgrep-wt2d6vc9.js → state-djsrw7d1.js} +5 -5
- package/dist/chunks/state-dntw82rz.js +252 -0
- package/dist/chunks/{ripgrep-drwq78ky.js → state-drwq78ky.js} +1 -1
- package/dist/chunks/{ripgrep-tmnzwg47.js → state-ds16kb98.js} +11 -11
- package/dist/chunks/{ripgrep-yecy3dnv.js → state-dwfbq0zf.js} +18 -18
- package/dist/chunks/{ripgrep-ddhqp0gw.js → state-e1025wz1.js} +11 -11
- package/dist/chunks/{ripgrep-sq8asxn4.js → state-e9q2vb15.js} +10 -10
- package/dist/chunks/{ripgrep-q8yptj1b.js → state-ebt2th9r.js} +20 -20
- package/dist/chunks/{ripgrep-fm2qvscf.js → state-edrmdtr5.js} +7 -7
- package/dist/chunks/{ripgrep-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{ripgrep-w6vsjfye.js → state-esjrfk95.js} +31 -31
- package/dist/chunks/{ripgrep-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-2f0bjgcj.js → state-evbgk2k8.js} +5 -5
- package/dist/chunks/{ripgrep-cvpyv3es.js → state-f36kh4r4.js} +11 -11
- package/dist/chunks/{ripgrep-xvkfwp2k.js → state-fabg376z.js} +8 -8
- package/dist/chunks/{ripgrep-mjz6dtq3.js → state-fbst39pn.js} +94 -94
- package/dist/chunks/{ripgrep-sf6b9an1.js → state-fcbk657k.js} +4 -4
- package/dist/chunks/{ripgrep-p4sbrxvf.js → state-ffajfc11.js} +12 -12
- package/dist/chunks/{ripgrep-xf4cnfq6.js → state-fhns329a.js} +5 -5
- package/dist/chunks/{ripgrep-nscznvay.js → state-fhs97t90.js} +9 -9
- package/dist/chunks/{ripgrep-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-jpga1jag.js → state-gj4zkc3e.js} +19 -19
- package/dist/chunks/{ripgrep-w1drpbkf.js → state-gjqt4qr1.js} +18 -18
- package/dist/chunks/{ripgrep-rhb8mtwr.js → state-grayh0ey.js} +176 -176
- package/dist/chunks/{ripgrep-t78r90eq.js → state-grep4bve.js} +32 -32
- package/dist/chunks/{ripgrep-am0je15b.js → state-gs2vyb2s.js} +4 -4
- package/dist/chunks/{ripgrep-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-sm965ndy.js → state-h04cqsq0.js} +8 -8
- package/dist/chunks/{ripgrep-3hrtkaxn.js → state-h0h24msd.js} +15 -15
- package/dist/chunks/{ripgrep-ybhbtxjg.js → state-h5af1y13.js} +6 -6
- package/dist/chunks/{ripgrep-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-yr0r81nx.js → state-h8djq146.js} +10 -10
- package/dist/chunks/{ripgrep-c8gh6ny5.js → state-hj47bg5q.js} +20 -20
- package/dist/chunks/{ripgrep-gx9vf93g.js → state-htv31ejh.js} +5 -5
- package/dist/chunks/{ripgrep-n37c4crj.js → state-j1ndhnpa.js} +9 -9
- package/dist/chunks/{ripgrep-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-0tdg9fh7.js → state-j9w0sazs.js} +33 -33
- package/dist/chunks/{ripgrep-jjvw6kth.js → state-jbt75933.js} +22 -22
- package/dist/chunks/{ripgrep-4t7d9xcw.js → state-jcrq5sez.js} +48 -48
- package/dist/chunks/{ripgrep-nme88h9m.js → state-jjpprn9z.js} +12 -12
- package/dist/chunks/{ripgrep-dpkg50ah.js → state-jwcy2c2z.js} +4 -4
- package/dist/chunks/{ripgrep-b6t7v9jc.js → state-jwkbnpgz.js} +9 -9
- package/dist/chunks/{ripgrep-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-16cax9zb.js → state-k5kkqdex.js} +8 -8
- package/dist/chunks/{ripgrep-ssdqnhy0.js → state-k9d40v1y.js} +4 -4
- package/dist/chunks/{ripgrep-eve8tttf.js → state-kcw2zge1.js} +9 -9
- package/dist/chunks/{ripgrep-4w5p16dy.js → state-kdgwstet.js} +6 -6
- package/dist/chunks/{ripgrep-5gjwztdx.js → state-kf4w80xf.js} +27 -27
- package/dist/chunks/{ripgrep-dj68pnee.js → state-kkp8zx71.js} +4 -4
- package/dist/chunks/{ripgrep-f5gy8qwh.js → state-ktpnacfn.js} +8 -8
- package/dist/chunks/{ripgrep-vs30p9kt.js → state-ky8gsdfr.js} +32 -32
- package/dist/chunks/{ripgrep-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-x2s3qw17.js → state-m3k5nkjm.js} +8 -8
- package/dist/chunks/{ripgrep-2vkv0cnq.js → state-m45ax9sm.js} +12 -12
- package/dist/chunks/{ripgrep-a3r4dcrj.js → state-m7va1g8x.js} +2 -2
- package/dist/chunks/{ripgrep-mcp2v02w.js → state-m8369v3w.js} +24 -24
- package/dist/chunks/{ripgrep-804942v8.js → state-m8vajxnx.js} +11 -11
- package/dist/chunks/{ripgrep-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-epzk0z51.js → state-mh5tff5t.js} +28 -28
- package/dist/chunks/{ripgrep-tx92n959.js → state-mhgx8wws.js} +4 -4
- package/dist/chunks/{ripgrep-c3ya1t7r.js → state-mjv5n8tk.js} +8 -8
- package/dist/chunks/{ripgrep-dkhbpt2q.js → state-mr1zhvpj.js} +16 -16
- package/dist/chunks/{ripgrep-eq1pz5kg.js → state-mvfsc1pv.js} +3 -3
- package/dist/chunks/{ripgrep-7bedxkg9.js → state-mw415x4x.js} +15 -15
- package/dist/chunks/{ripgrep-26ng8yap.js → state-myd6n2j2.js} +25 -25
- package/dist/chunks/{ripgrep-41wzkj33.js → state-n828xn6h.js} +11 -11
- package/dist/chunks/{ripgrep-p7vkjt7n.js → state-n87e4tgh.js} +5 -5
- package/dist/chunks/{ripgrep-q83x7ee3.js → state-nbe7vj25.js} +7 -7
- package/dist/chunks/{ripgrep-kqcn9zd9.js → state-nf3zyzex.js} +14 -14
- package/dist/chunks/{ripgrep-tce32nx9.js → state-nggt3w8z.js} +5 -5
- package/dist/chunks/{ripgrep-btwdw4e2.js → state-ngynwwae.js} +3 -3
- package/dist/chunks/{ripgrep-vzd7v1mf.js → state-ny1ad2m1.js} +13 -13
- package/dist/chunks/{ripgrep-qkbj1a6c.js → state-p2yhhyr5.js} +54 -54
- package/dist/chunks/{ripgrep-fsm3tqf3.js → state-p8r8ve68.js} +21 -21
- package/dist/chunks/{ripgrep-dw287zgh.js → state-p9avp9ca.js} +24 -24
- package/dist/chunks/{ripgrep-s0n8d0w6.js → state-pb85prkd.js} +28 -28
- package/dist/chunks/{ripgrep-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-cf6kmm68.js → state-pnm0gwqy.js} +10 -10
- package/dist/chunks/{ripgrep-vshjx1fv.js → state-pnqhyn3v.js} +17 -17
- package/dist/chunks/state-qapv375x.js +4 -0
- package/dist/chunks/{ripgrep-1btww9rc.js → state-qgarqns8.js} +22 -22
- package/dist/chunks/{ripgrep-0xwyr5pa.js → state-qm7jrdpz.js} +8 -8
- package/dist/chunks/{ripgrep-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-p58qpszk.js → state-r3evxqnx.js} +41 -41
- package/dist/chunks/{ripgrep-r8xr0va3.js → state-r8xr0va3.js} +1 -1
- package/dist/chunks/{ripgrep-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-hf511911.js → state-reee10jt.js} +17 -17
- package/dist/chunks/{ripgrep-s3c47tmb.js → state-rn8gya25.js} +17 -17
- package/dist/chunks/{ripgrep-zee1rnkq.js → state-rpg9c19m.js} +4 -4
- package/dist/chunks/{ripgrep-pf2hb43r.js → state-rph3zd4r.js} +4 -4
- package/dist/chunks/{ripgrep-sytsd09s.js → state-rwjbg2zx.js} +3 -3
- package/dist/chunks/{ripgrep-0dknqqks.js → state-rxstvrrv.js} +331 -331
- package/dist/chunks/{ripgrep-fm8vn1sm.js → state-s1ek718r.js} +19 -19
- package/dist/chunks/{ripgrep-1npsdg5v.js → state-s5hcky19.js} +3 -3
- package/dist/chunks/{ripgrep-fjryxzsp.js → state-s66pfndk.js} +41 -41
- package/dist/chunks/{ripgrep-kc6jwj4t.js → state-s7wccmgb.js} +5 -5
- package/dist/chunks/{ripgrep-ceaa4qgf.js → state-sa4z093x.js} +2 -2
- package/dist/chunks/{ripgrep-31c41nvv.js → state-sk3sbtp0.js} +4 -4
- package/dist/chunks/{ripgrep-v3sgzvyr.js → state-sqy4ahhk.js} +1 -1
- package/dist/chunks/{ripgrep-kf4qws2e.js → state-syca5r9y.js} +23 -23
- package/dist/chunks/{ripgrep-vnth2392.js → state-t0cw0c9y.js} +11 -11
- package/dist/chunks/{ripgrep-t9zs3egg.js → state-t9zs3egg.js} +1 -1
- package/dist/chunks/{ripgrep-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-2ydtv6st.js → state-tbym587b.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-h4ryydv3.js → state-tmydxb1c.js} +13 -13
- package/dist/chunks/{ripgrep-0gjjjd3d.js → state-ttyhffk4.js} +10 -10
- package/dist/chunks/{ripgrep-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-n5v8zpx7.js → state-tzx79ayg.js} +32 -32
- package/dist/chunks/{ripgrep-xf9es9j3.js → state-vdzzqhjr.js} +8 -8
- package/dist/chunks/{ripgrep-bw9kwknq.js → state-vecx4735.js} +6 -6
- package/dist/chunks/{ripgrep-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-nn8h8wz0.js → state-vg54q6kb.js} +7 -7
- package/dist/chunks/{ripgrep-4xg06f0d.js → state-vky584v3.js} +28 -28
- package/dist/chunks/{ripgrep-6x24maej.js → state-vngdvyz2.js} +40 -40
- package/dist/chunks/{ripgrep-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-p1bbnz1k.js → state-w1ye484s.js} +26 -26
- package/dist/chunks/{ripgrep-dc5qshf6.js → state-w2g1ktb9.js} +14 -14
- package/dist/chunks/{ripgrep-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-xqcytcp0.js → state-w4ex03qt.js} +9 -9
- package/dist/chunks/{ripgrep-pd3dj61d.js → state-wb50tz6w.js} +20 -20
- package/dist/chunks/{ripgrep-psazpmmj.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-zph2bqh4.js → state-wgtcm0m7.js} +4 -4
- package/dist/chunks/{ripgrep-jpb21ef2.js → state-wsefyt7b.js} +28 -28
- package/dist/chunks/{ripgrep-awvmryqd.js → state-wxdt6jme.js} +6 -6
- package/dist/chunks/{ripgrep-7jbh4qja.js → state-wz3wwytt.js} +7 -7
- package/dist/chunks/{ripgrep-x1n40ejg.js → state-wz3z8pyw.js} +5 -5
- package/dist/chunks/{ripgrep-j8zzr2am.js → state-wzg7zq6j.js} +9 -9
- package/dist/chunks/{ripgrep-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-vseyvmg6.js → state-x4gw1wa9.js} +35 -35
- package/dist/chunks/{ripgrep-gyt4m246.js → state-xcs63q7q.js} +30 -30
- package/dist/chunks/{ripgrep-wmq21ajw.js → state-xdpsmdge.js} +19 -19
- package/dist/chunks/{ripgrep-7qvcttat.js → state-xhqa6gky.js} +20 -20
- package/dist/chunks/{ripgrep-xkntkrq7.js → state-xkntkrq7.js} +2 -2
- package/dist/chunks/{ripgrep-6mjqy440.js → state-xvf9q0q1.js} +9 -9
- package/dist/chunks/{ripgrep-y54hr7f3.js → state-y15vpdnr.js} +9 -9
- package/dist/chunks/{ripgrep-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-8f0z3sdz.js → state-y76bxftd.js} +5 -5
- package/dist/chunks/{ripgrep-bqwbr744.js → state-yc0p016c.js} +22 -22
- package/dist/chunks/{ripgrep-wehfp4sa.js → state-ygbc7n1d.js} +8 -8
- package/dist/chunks/{ripgrep-90vr5b65.js → state-ynwt6cba.js} +19 -19
- package/dist/chunks/{ripgrep-mad6kbbw.js → state-yqa1vtse.js} +32 -32
- package/dist/chunks/{ripgrep-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-4mpn9kk4.js → state-ywftqwgc.js} +11 -11
- package/dist/chunks/{ripgrep-bjtzbw4r.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-pjx725p7.js → state-z72fcj4r.js} +10 -10
- package/dist/chunks/{ripgrep-8pccpkv9.js → state-z9dz7899.js} +12 -12
- package/dist/chunks/{ripgrep-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-s6191d05.js → state-zkf32p28.js} +11 -11
- package/dist/chunks/{ripgrep-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-td76kk5s.js → state-zxxtytjq.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- 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 +94 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-g7cqfbqx.js +0 -26
- package/dist/chunks/ripgrep-ht5y0zrb.js +0 -18
- package/dist/chunks/ripgrep-z4rsfxys.js +0 -252
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./state-d0k1g5nx.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service28
|
|
9
|
+
} from "./state-7vr6z7sd.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service28), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./state-x4gw1wa9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service31
|
|
7
|
+
} from "./state-dhepbqcv.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service68;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service31);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-ngynwwae.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node85
|
|
9
|
+
} from "./state-93k0x0x6.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-mjv5n8tk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service74,
|
|
21
|
+
node78
|
|
22
|
+
} from "./state-71gtvxnv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service17,
|
|
25
|
+
node21
|
|
26
|
+
} from "./state-axcvfrsj.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer3 = Layer.effect(
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service81;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service17;
|
|
65
|
+
const store = yield* Service74;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service2.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node3 = makeLocationNode({
|
|
151
|
+
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [
|
|
153
|
+
deps: [node85, llmClient2, node21, node78, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin48,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin48 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin24 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin48, exports_identity };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service67,
|
|
10
|
+
node: () => node71
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service67 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service67, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service67.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service67, node71, exports_managed_policy };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./state-ahmyyct8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service61,
|
|
10
|
+
node64
|
|
11
|
+
} from "./state-nf3zyzex.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./state-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options8,
|
|
25
|
+
Service: () => Service44,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer20,
|
|
29
|
+
node: () => node48,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service44 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service44, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const ripgrep = yield* Service61;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service44.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service44, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service78;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service44.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service44.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer20 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service78;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service44, layer: layer20(options), deps: [node82, node64] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node48 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options8, Service44, ripgrepLayer2, fffLayer2, layer20, configured8, node48, exports_search };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service31
|
|
4
|
+
} from "./state-dhepbqcv.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch2 = {};
|
|
14
14
|
__export(exports_websearch2, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin29
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin29 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service31;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin44 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin29, exports_websearch2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-jwcy2c2z.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service80,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service80 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service80.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-256nx13v.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service48,
|
|
17
|
+
node52
|
|
18
|
+
} from "./state-y15vpdnr.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service77,
|
|
21
|
+
node81
|
|
22
|
+
} from "./state-2eegacq4.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service41,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node44
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service41 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service77;
|
|
58
|
+
const image = yield* Service48;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service41.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node44 = makeLocationNode({
|
|
277
|
+
service: Service41,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node81, node52]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service41, node44, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./state-reee10jt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service15
|
|
6
|
+
} from "./state-fbst39pn.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make5
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make5 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service15;
|
|
24
|
+
const jobs = yield* Service82;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make5, exports_subagent_job };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|