@opencode/core 0.0.0-dev-21003 → 0.0.0-dev-21009
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{reference-dxrd75ee.js → state-0459jf51.js} +24 -24
- package/dist/chunks/{reference-38y3j0a6.js → state-0pnnt7d9.js} +4 -4
- package/dist/chunks/{reference-z9x144hn.js → state-0ssmrtzc.js} +26 -26
- package/dist/chunks/{reference-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{reference-hw5hqadp.js → state-1baxmn5d.js} +13 -13
- package/dist/chunks/state-1dtj47kj.js +253 -0
- package/dist/chunks/{reference-35ng7dkh.js → state-1q5awywt.js} +5 -5
- package/dist/chunks/{reference-pmne06ks.js → state-1trdtce6.js} +11 -11
- package/dist/chunks/{reference-ry7dydwt.js → state-1xk6wedh.js} +7 -7
- package/dist/chunks/{reference-ea3x7rwa.js → state-233w7mxv.js} +22 -22
- package/dist/chunks/{reference-j9mnae36.js → state-26j8sc83.js} +25 -25
- package/dist/chunks/{reference-st8026tp.js → state-28dwcykx.js} +19 -19
- package/dist/chunks/{reference-e2znmbmd.js → state-2910nsk0.js} +181 -181
- package/dist/chunks/{reference-tdxdfn5s.js → state-29gc7pfd.js} +11 -11
- package/dist/chunks/{reference-q8zknr33.js → state-2ncd5bhh.js} +6 -6
- package/dist/chunks/{reference-sxw208y2.js → state-2sfc2842.js} +2 -2
- package/dist/chunks/{reference-h7s7r6s9.js → state-31xfzrxg.js} +5 -5
- package/dist/chunks/{reference-743qse5p.js → state-36zsp7wt.js} +4 -4
- package/dist/chunks/{reference-3fax4j2d.js → state-37gkaztk.js} +9 -9
- package/dist/chunks/{reference-y3j594wr.js → state-39v2tedr.js} +24 -24
- package/dist/chunks/{reference-mfcg9zf8.js → state-3f2m75s5.js} +14 -14
- package/dist/chunks/{reference-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
- package/dist/chunks/{reference-05qzyfy0.js → state-3nfzk0qa.js} +33 -33
- package/dist/chunks/{reference-ekmm8y3n.js → state-3q7f1x34.js} +17 -17
- package/dist/chunks/{reference-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-dsqe59pg.js → state-3sn1tjkz.js} +3 -3
- package/dist/chunks/{reference-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-e330pyve.js → state-3wfkz6s1.js} +16 -16
- package/dist/chunks/{reference-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-1thc74wz.js → state-412yfsac.js} +13 -13
- package/dist/chunks/{reference-c85twgwa.js → state-44swrvp1.js} +19 -19
- package/dist/chunks/{reference-k0w1apbg.js → state-461nxmbv.js} +5 -5
- package/dist/chunks/{reference-1w3r4bph.js → state-468w6mzd.js} +4 -4
- package/dist/chunks/{reference-c2sed5cq.js → state-48kw51zw.js} +3 -3
- package/dist/chunks/{reference-nr3t94ek.js → state-4kvet074.js} +22 -22
- package/dist/chunks/{reference-dzse07y5.js → state-4mwpykj0.js} +6 -6
- package/dist/chunks/{reference-fnrmyyfx.js → state-4scw7yhd.js} +14 -14
- package/dist/chunks/{reference-1pxz8ven.js → state-4xpgt2w9.js} +5 -5
- package/dist/chunks/{reference-3fk86aw7.js → state-4z23ab3a.js} +4 -4
- package/dist/chunks/{reference-8k0z7ge9.js → state-4z92mb94.js} +32 -32
- package/dist/chunks/{reference-kj7j5fxd.js → state-4zchtw5z.js} +37 -37
- package/dist/chunks/{reference-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{reference-g57505q5.js → state-55t5gfwz.js} +11 -11
- package/dist/chunks/{reference-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/state-5ykcsxae.js +26 -0
- package/dist/chunks/{reference-z6shxvkg.js → state-62mp1sb5.js} +11 -11
- package/dist/chunks/{reference-2q15wf76.js → state-699dywbp.js} +20 -20
- package/dist/chunks/{reference-4pw1s8mb.js → state-6hj0q4cz.js} +8 -8
- package/dist/chunks/{reference-s1kvmffy.js → state-6hjx5zpb.js} +9 -9
- package/dist/chunks/{reference-xg451pjv.js → state-6s0n9v0f.js} +16 -16
- package/dist/chunks/{reference-9nw2ws3v.js → state-6vcva7hs.js} +9 -9
- package/dist/chunks/{reference-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{reference-8vrmbnrg.js → state-6zgzw1pt.js} +8 -8
- package/dist/chunks/{reference-r0eebq39.js → state-71f49j0g.js} +10 -10
- package/dist/chunks/{reference-775gj3j1.js → state-775gj3j1.js} +2 -2
- package/dist/chunks/{reference-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-pnqhs0ew.js → state-7rtv58sh.js} +330 -330
- package/dist/chunks/{reference-tbwt21ap.js → state-7tdp8yk2.js} +23 -23
- package/dist/chunks/{reference-pnzf6mjf.js → state-7zt5x37y.js} +1 -1
- package/dist/chunks/{reference-nts5xxr4.js → state-7zy47b61.js} +4 -4
- package/dist/chunks/{reference-63fpqb2s.js → state-86e23919.js} +45 -45
- package/dist/chunks/{reference-cpc5j1az.js → state-8b6w8cc4.js} +10 -10
- package/dist/chunks/{reference-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{reference-045azavn.js → state-8raxsvkz.js} +4 -4
- package/dist/chunks/{reference-w92k2e0p.js → state-8sze2n9a.js} +4 -4
- package/dist/chunks/{reference-hs41a4tz.js → state-8xrzt693.js} +11 -11
- package/dist/chunks/{reference-j09zfasm.js → state-91qna3x0.js} +3 -3
- package/dist/chunks/{reference-r81p8d0w.js → state-96pr1f0k.js} +12 -12
- package/dist/chunks/{reference-3x2feh1y.js → state-9hwsx7sz.js} +43 -43
- package/dist/chunks/{reference-0yjtcscn.js → state-9mxpbgmg.js} +38 -38
- package/dist/chunks/{reference-t8sv6mhx.js → state-9rpz2hw9.js} +33 -33
- package/dist/chunks/{reference-qby9dwvd.js → state-a2qe2ev9.js} +8 -8
- package/dist/chunks/{reference-59n1fapm.js → state-a4hhctr7.js} +13 -13
- package/dist/chunks/{reference-w260pzdb.js → state-adv4y98c.js} +16 -16
- package/dist/chunks/{reference-ej4ab3hk.js → state-akbvn2q2.js} +15 -15
- package/dist/chunks/{reference-j3zdfp7k.js → state-as456vm3.js} +5 -5
- package/dist/chunks/{reference-3espnbnx.js → state-aw5wphbn.js} +22 -22
- package/dist/chunks/{reference-0f0tjfsd.js → state-axe469zx.js} +16 -16
- package/dist/chunks/{reference-vw1awvyn.js → state-b1kaysck.js} +27 -27
- package/dist/chunks/{reference-wecqtg5s.js → state-b3f8fkhc.js} +5 -5
- package/dist/chunks/{reference-xstzgqxx.js → state-b69axjbw.js} +33 -33
- package/dist/chunks/{reference-zfy1gwfz.js → state-b7tca0vw.js} +11 -11
- package/dist/chunks/{reference-epev154h.js → state-bap0endh.js} +5 -5
- package/dist/chunks/{reference-9c7asnz7.js → state-bbb0pzjs.js} +21 -21
- package/dist/chunks/{reference-q41vf2xe.js → state-bc42rdv0.js} +22 -22
- package/dist/chunks/{reference-1bmjn0qh.js → state-bfegkxfd.js} +8 -8
- package/dist/chunks/{reference-ywt8jp22.js → state-bjx1sjef.js} +9 -9
- package/dist/chunks/{reference-mv3hx7wz.js → state-bmr56wjg.js} +4 -4
- package/dist/chunks/{reference-8sw4wp74.js → state-bst6928h.js} +13 -13
- package/dist/chunks/{reference-gjr9q959.js → state-bsvaasas.js} +20 -20
- package/dist/chunks/{reference-hgag3gzg.js → state-btc7z31r.js} +22 -22
- package/dist/chunks/{reference-4my8r6he.js → state-bwpn7kg9.js} +8 -8
- package/dist/chunks/{reference-80z0vyq9.js → state-bxqk5pf5.js} +8 -8
- package/dist/chunks/state-by5v678g.js +18 -0
- package/dist/chunks/{reference-yn5sjats.js → state-bybntgg6.js} +6 -6
- package/dist/chunks/{reference-c1fqxshp.js → state-c1fqxshp.js} +3 -3
- package/dist/chunks/{reference-hvr28mne.js → state-c60ns7m9.js} +11 -11
- package/dist/chunks/{reference-s15r0dtj.js → state-caywxy8s.js} +25 -25
- package/dist/chunks/{reference-azsz2md7.js → state-cccpa7j0.js} +5 -5
- package/dist/chunks/{reference-98nkzpyj.js → state-cczz7jj2.js} +4 -4
- package/dist/chunks/{reference-szmcdvhr.js → state-cy4fvjtm.js} +20 -20
- package/dist/chunks/{reference-qbant2sw.js → state-cy6fv8hx.js} +34 -34
- package/dist/chunks/{reference-zfa7ynd8.js → state-d5fw341f.js} +20 -20
- package/dist/chunks/{reference-3a1k2atw.js → state-d7mw2e25.js} +13 -13
- package/dist/chunks/{reference-4xnzgvdv.js → state-dkh8aq6g.js} +29 -29
- package/dist/chunks/{reference-9wq61tcj.js → state-dkyft7f8.js} +9 -9
- package/dist/chunks/{reference-dqxsqydv.js → state-dqxsqydv.js} +1 -1
- package/dist/chunks/{reference-11a129ht.js → state-dtvsbb8r.js} +11 -11
- package/dist/chunks/{reference-h5m7e0fe.js → state-dvep9rg9.js} +9 -9
- package/dist/chunks/{reference-6dh0zb0s.js → state-e0ynfkzs.js} +7 -7
- package/dist/chunks/{reference-81ga0fy1.js → state-e197ggya.js} +5 -5
- package/dist/chunks/{reference-rhjbct0v.js → state-eaj1djv9.js} +8 -8
- package/dist/chunks/{reference-h8brdaj3.js → state-ebee5761.js} +19 -19
- package/dist/chunks/{reference-eej6y6fw.js → state-eej6y6fw.js} +2 -2
- package/dist/chunks/{reference-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-15k4azwb.js → state-en8t5366.js} +17 -17
- package/dist/chunks/{reference-feat9d3m.js → state-enztmqw1.js} +12 -12
- package/dist/chunks/{reference-07770t2t.js → state-eq20ba7x.js} +6 -6
- package/dist/chunks/{reference-gt5bakd5.js → state-ex0n3awc.js} +15 -15
- package/dist/chunks/{reference-ghmgawy4.js → state-f24gb5bq.js} +19 -19
- package/dist/chunks/{reference-fpr0n1zf.js → state-f747k6ef.js} +21 -21
- package/dist/chunks/{reference-hywf2c4r.js → state-fatn83ad.js} +11 -11
- package/dist/chunks/{reference-qgn6gcr1.js → state-fcrkznn8.js} +5 -5
- package/dist/chunks/{reference-xwmnfh3r.js → state-fv0c2at4.js} +26 -26
- package/dist/chunks/{reference-khmqacep.js → state-fxaymqdw.js} +4 -4
- package/dist/chunks/{reference-p4mj4rdp.js → state-g0445xdp.js} +8 -8
- package/dist/chunks/{reference-twq12gq3.js → state-gbt3zgba.js} +23 -23
- package/dist/chunks/{reference-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-gh545k69.js → state-gdqt70vf.js} +23 -23
- package/dist/chunks/{reference-addxnjmp.js → state-gqtdsdt7.js} +4 -4
- package/dist/chunks/{reference-yrcj3v3g.js → state-gw7cjrad.js} +4 -4
- package/dist/chunks/{reference-9dwgfb1r.js → state-gxn02pch.js} +11 -11
- package/dist/chunks/{reference-7bep4ber.js → state-gychpwz0.js} +39 -39
- package/dist/chunks/{reference-st5htmmp.js → state-h1rgn063.js} +8 -8
- package/dist/chunks/{reference-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-kqx1b4hy.js → state-hbk0ph6g.js} +4 -4
- package/dist/chunks/{reference-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
- package/dist/chunks/{reference-jpg3m0rz.js → state-hmj70r58.js} +8 -8
- package/dist/chunks/{reference-fbzf1q28.js → state-hqqj3jg8.js} +5 -5
- package/dist/chunks/{reference-tgv0byre.js → state-hrqq7wtc.js} +42 -42
- package/dist/chunks/{reference-es4zr9pq.js → state-hsjvmpjh.js} +5 -5
- package/dist/chunks/{reference-69pqp2ta.js → state-hwms0995.js} +4 -4
- package/dist/chunks/{reference-knevfgda.js → state-j34bs4nz.js} +4 -4
- package/dist/chunks/{reference-v5zagma4.js → state-j45y3r9x.js} +3 -3
- package/dist/chunks/{reference-ph7ntgm1.js → state-japjqhmp.js} +15 -15
- package/dist/chunks/{reference-jk540des.js → state-jk540des.js} +2 -2
- package/dist/chunks/{reference-5jvj1mv1.js → state-jsd15znb.js} +14 -14
- package/dist/chunks/{reference-v8ys44m2.js → state-jsfpkejg.js} +22 -22
- package/dist/chunks/{reference-avxp0dmd.js → state-jxzdswa4.js} +47 -47
- package/dist/chunks/{reference-zwe1k0ej.js → state-k1441ryq.js} +44 -44
- package/dist/chunks/{reference-ygcyyk2q.js → state-k1df0snj.js} +33 -33
- package/dist/chunks/{reference-05k2b1xp.js → state-kcrfwvke.js} +11 -11
- package/dist/chunks/{reference-65mpxnxp.js → state-kpk4pj14.js} +22 -22
- package/dist/chunks/{reference-mq8pyd3z.js → state-kre9xjyw.js} +14 -14
- package/dist/chunks/{reference-d9vgm7je.js → state-kwft1sg7.js} +2 -2
- package/dist/chunks/{reference-xrdz75pd.js → state-kyabj12g.js} +31 -31
- package/dist/chunks/{reference-pgcdf3yp.js → state-m2gc894p.js} +54 -54
- package/dist/chunks/{reference-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{reference-4b6jte38.js → state-mbganbbe.js} +13 -13
- package/dist/chunks/{reference-z5wabbt8.js → state-mc9ntjar.js} +20 -20
- package/dist/chunks/{reference-11ewysrm.js → state-mcj02nxj.js} +9 -9
- package/dist/chunks/{reference-7w8dwfyw.js → state-mdqzwza3.js} +86 -86
- package/dist/chunks/{reference-pz7v2etc.js → state-mfzxjtt0.js} +3 -3
- package/dist/chunks/{reference-kna3qw76.js → state-mkk9p8j3.js} +32 -32
- package/dist/chunks/{reference-nj1fyrr5.js → state-mkrpb653.js} +9 -9
- package/dist/chunks/{reference-hkm4q0k4.js → state-mpkqfp7v.js} +3 -3
- package/dist/chunks/{reference-rwnpnfnn.js → state-mrh1dx2s.js} +3 -3
- package/dist/chunks/{reference-d7x4wa82.js → state-mswaxh11.js} +28 -28
- package/dist/chunks/{reference-a873kzar.js → state-mt9qx574.js} +8 -8
- package/dist/chunks/{reference-1b7p194a.js → state-mzmrm6vj.js} +33 -33
- package/dist/chunks/{reference-5h88vxg7.js → state-n4pbfpj5.js} +30 -30
- package/dist/chunks/{reference-5srtxftc.js → state-n51ng4sf.js} +9 -9
- package/dist/chunks/{reference-aeccth9c.js → state-n5b2wwq8.js} +11 -11
- package/dist/chunks/{reference-9as5mz56.js → state-n5xbav3a.js} +26 -26
- package/dist/chunks/{reference-5563pnry.js → state-ndtd5qrz.js} +32 -32
- package/dist/chunks/{reference-2wt7exxd.js → state-nfyst927.js} +23 -23
- package/dist/chunks/{reference-e80seqcp.js → state-nma959mg.js} +3 -3
- package/dist/chunks/{reference-gh1krvjx.js → state-pck7vvdx.js} +5 -5
- package/dist/chunks/{reference-bacyadyn.js → state-ph842b28.js} +4 -4
- package/dist/chunks/{reference-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{reference-ebjm2wn5.js → state-pn82kknm.js} +15 -15
- package/dist/chunks/{reference-0j98sf6a.js → state-psw8jam6.js} +15 -15
- package/dist/chunks/{reference-22vjgegp.js → state-pxfcehez.js} +3 -3
- package/dist/chunks/{reference-q0xm7vwc.js → state-q0xm7vwc.js} +2 -2
- package/dist/chunks/{reference-smzrgrqh.js → state-q1tvsgae.js} +12 -12
- package/dist/chunks/{reference-kpnh5rdh.js → state-q8t4c571.js} +26 -26
- package/dist/chunks/{reference-m0vm465r.js → state-qbxb7qd6.js} +47 -47
- package/dist/chunks/{reference-gqrspt88.js → state-qcmwxm77.js} +7 -7
- package/dist/chunks/{reference-qp4vhx24.js → state-qjk7rny4.js} +11 -11
- package/dist/chunks/{reference-y1w1rhnk.js → state-qnbwvk35.js} +3 -3
- package/dist/chunks/{reference-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{reference-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-cs9en2hq.js → state-qv9j2mcm.js} +23 -23
- package/dist/chunks/{reference-d606da0a.js → state-qwtxsz6h.js} +15 -15
- package/dist/chunks/{reference-g6q9qykm.js → state-r2m716tb.js} +8 -8
- package/dist/chunks/{reference-akjh0ytn.js → state-r5n5j0f6.js} +5 -5
- package/dist/chunks/{reference-y3emh7vm.js → state-rdd5jy1e.js} +22 -22
- package/dist/chunks/{reference-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-rert0e01.js → state-rert0e01.js} +2 -2
- package/dist/chunks/{reference-w1b1nwq4.js → state-rfh5dkmr.js} +21 -21
- package/dist/chunks/{reference-rj3eygr5.js → state-rj3eygr5.js} +2 -2
- package/dist/chunks/{reference-mb14aw74.js → state-rqa1jxse.js} +2 -2
- package/dist/chunks/{reference-g1wkew17.js → state-rxqq4vmb.js} +21 -21
- package/dist/chunks/{reference-6d7dy7s4.js → state-s2a95s6w.js} +19 -19
- package/dist/chunks/{reference-67wx5dm0.js → state-s8nse3sh.js} +40 -40
- package/dist/chunks/{reference-r8ebydnz.js → state-s9n56xqt.js} +23 -23
- package/dist/chunks/{reference-sa8ekw3f.js → state-sa8ekw3f.js} +2 -2
- package/dist/chunks/{reference-vyjxqysr.js → state-sdtdanhm.js} +14 -14
- package/dist/chunks/{reference-4fx8cncx.js → state-sgfwww2a.js} +13 -13
- package/dist/chunks/{reference-w3x9v1nk.js → state-sm965ndy.js} +8 -8
- package/dist/chunks/{reference-b6keqepk.js → state-svcw9x3w.js} +12 -12
- package/dist/chunks/{reference-3m53d28j.js → state-sw0cpgwh.js} +8 -8
- package/dist/chunks/{reference-nsv0y1w2.js → state-syfte0ky.js} +27 -27
- package/dist/chunks/{reference-syv4x271.js → state-syv4x271.js} +1 -1
- package/dist/chunks/{reference-q0nrsbdj.js → state-t32deht2.js} +10 -10
- package/dist/chunks/{reference-4pjps8v2.js → state-t5br7zt2.js} +50 -50
- package/dist/chunks/{reference-7wzym38v.js → state-t96xapfm.js} +47 -46
- package/dist/chunks/{reference-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-3kfmszx4.js → state-tdgts0x2.js} +33 -33
- package/dist/chunks/{reference-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{reference-bvvg1rh8.js → state-teqqnftj.js} +17 -17
- package/dist/chunks/{reference-ybmjar5a.js → state-tjntatma.js} +20 -20
- package/dist/chunks/{reference-3a63wq34.js → state-tjx18q08.js} +29 -29
- package/dist/chunks/{reference-8rqycdgd.js → state-tkmwgdpd.js} +4 -4
- package/dist/chunks/{reference-tm0kqsz3.js → state-tm0kqsz3.js} +1 -1
- package/dist/chunks/{reference-ngyrtr94.js → state-twwzjqdf.js} +6 -6
- package/dist/chunks/{reference-tyytaxap.js → state-tyytaxap.js} +1 -1
- package/dist/chunks/{reference-v0es1rhs.js → state-v0es1rhs.js} +2 -2
- package/dist/chunks/{reference-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
- package/dist/chunks/{reference-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-dv357ym8.js → state-vgmdqk35.js} +81 -81
- package/dist/chunks/{reference-5p5gqk74.js → state-vjvwfxwz.js} +12 -12
- package/dist/chunks/{reference-j6wkh22k.js → state-vxrbht7e.js} +12 -12
- package/dist/chunks/{reference-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-84txncab.js → state-w1eejvng.js} +5 -5
- package/dist/chunks/{reference-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-cpjvpb3f.js → state-w53s0d5e.js} +4 -4
- package/dist/chunks/{reference-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{reference-2d2g0b80.js → state-whtn744p.js} +71 -71
- package/dist/chunks/{reference-4jfd8c3z.js → state-wk4eqn65.js} +5 -5
- package/dist/chunks/{reference-f7avxq1w.js → state-ws9zqs95.js} +32 -32
- package/dist/chunks/{reference-dckhq1hb.js → state-wtag1fy8.js} +9 -9
- package/dist/chunks/{reference-zrxnpg3c.js → state-wvce6prw.js} +27 -27
- package/dist/chunks/{reference-vxrvct7x.js → state-wvdx2ek6.js} +9 -9
- package/dist/chunks/{reference-rgpm01ny.js → state-x004tdjz.js} +20 -20
- package/dist/chunks/{reference-q0vvbzs6.js → state-x28btc3q.js} +22 -22
- package/dist/chunks/{reference-73qsq1xc.js → state-x4k5jtsf.js} +1 -1
- package/dist/chunks/{reference-sn87wmz8.js → state-x5y4snx4.js} +321 -321
- package/dist/chunks/{reference-nc4qeq29.js → state-xahyd3q0.js} +4 -4
- package/dist/chunks/{reference-wsn7wktm.js → state-xc05z2m7.js} +29 -29
- package/dist/chunks/{reference-57b9ws8p.js → state-xfkkasph.js} +7 -7
- package/dist/chunks/{reference-d3n9z6py.js → state-xwmagqs5.js} +30 -30
- package/dist/chunks/{reference-6dp98m1b.js → state-y15tw7vc.js} +11 -11
- package/dist/chunks/{reference-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-ex32qt72.js → state-y6877jmf.js} +20 -20
- package/dist/chunks/{reference-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{reference-ys9049bt.js → state-yfgf9xhk.js} +21 -21
- package/dist/chunks/{reference-9hwaqfsw.js → state-ygdna4kr.js} +5 -5
- package/dist/chunks/{reference-7x8122dn.js → state-yntsa6by.js} +15 -15
- package/dist/chunks/{reference-1acjjqhc.js → state-yp2x3t23.js} +4 -4
- package/dist/chunks/{reference-eqrps7ff.js → state-ypb1yt5b.js} +1 -1
- package/dist/chunks/{reference-g7ejj7wn.js → state-ypy7t2zt.js} +21 -21
- package/dist/chunks/{reference-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-yv5nr5jj.js → state-z4vev6b8.js} +11 -11
- package/dist/chunks/{reference-baaqp4zd.js → state-zcrspsvn.js} +4 -4
- package/dist/chunks/{reference-e09akz1d.js → state-zf0999f0.js} +20 -20
- package/dist/chunks/{reference-n0r2pe7t.js → state-zfwgv53e.js} +40 -40
- package/dist/chunks/{reference-knr7pyte.js → state-zk57ev3y.js} +57 -57
- package/dist/chunks/{reference-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-sqwzxhmw.js → state-zw7vdsjy.js} +18 -18
- package/dist/chunks/{reference-5mdamk89.js → state-zws9m538.js} +18 -18
- package/dist/chunks/{reference-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- 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 +104 -104
- package/dist/form.js +86 -86
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- 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 +117 -117
- 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 +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/config/discovery.d.ts +1 -0
- package/dist/types/config.d.ts +1 -0
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/reference-keaa5ges.js +0 -253
- package/dist/chunks/reference-mztsg71c.js +0 -26
- package/dist/chunks/reference-n95b3jav.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{reference-pyv0edze.js → state-pyv0edze.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-8xrzt693.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./state-vxrbht7e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./state-3nfzk0qa.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-gqtdsdt7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-b69axjbw.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service55
|
|
21
|
+
} from "./state-t32deht2.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-x5y4snx4.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-9rpz2hw9.js";
|
|
30
30
|
import {
|
|
31
31
|
ID4,
|
|
32
32
|
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./state-yfgf9xhk.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -108,7 +108,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
108
108
|
}
|
|
109
109
|
function oauth(http) {
|
|
110
110
|
return {
|
|
111
|
-
integrationID:
|
|
111
|
+
integrationID: ID9.make("opencode"),
|
|
112
112
|
method: {
|
|
113
113
|
id: methodID,
|
|
114
114
|
type: "oauth",
|
|
@@ -172,10 +172,10 @@ function oauth(http) {
|
|
|
172
172
|
var OpencodePlugin2 = define({
|
|
173
173
|
id: "opencode.provider.opencode",
|
|
174
174
|
effect: Effect.fn(function* (ctx) {
|
|
175
|
-
const bus = yield*
|
|
175
|
+
const bus = yield* Service84;
|
|
176
176
|
const client = yield* HttpClient.HttpClient;
|
|
177
177
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
178
|
+
const managed = yield* Service55;
|
|
179
179
|
const scope = yield* Scope.Scope;
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
181
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
providers.update(providerID, (provider) => {
|
|
228
228
|
if (source && source.provider !== provider)
|
|
229
229
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
230
|
-
provider.integrationID =
|
|
230
|
+
provider.integrationID = ID9.make("opencode");
|
|
231
231
|
if (item.canonical !== undefined)
|
|
232
232
|
provider.canonical = item.canonical;
|
|
233
233
|
if (item.name !== undefined)
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
sourceConnection: snapshot.connection
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
|
-
const item = providers.get(
|
|
296
|
+
const item = providers.get(ID8.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -305,7 +305,7 @@ var OpencodePlugin2 = define({
|
|
|
305
305
|
});
|
|
306
306
|
});
|
|
307
307
|
yield* ctx.model.transform((models) => {
|
|
308
|
-
const item = models.provider.get(
|
|
308
|
+
const item = models.provider.get(ID8.opencode);
|
|
309
309
|
if (!item)
|
|
310
310
|
return;
|
|
311
311
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -394,10 +394,10 @@ var OpencodePlugin2 = define({
|
|
|
394
394
|
});
|
|
395
395
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
396
396
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
397
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
397
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
398
|
});
|
|
399
399
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
400
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
401
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
402
|
})
|
|
403
403
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-x5y4snx4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./state-9rpz2hw9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin16,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin16 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service64;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin16, exports_verbosity };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service6,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
13
|
node: () => node7
|
|
14
14
|
});
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service6.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var node7 = makeGlobalNode({ service:
|
|
153
|
+
var node7 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service6, node7, exports_discovery };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service34,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service34 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service34.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service34, awaitActivation2, exports_service };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-rj3eygr5.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service65,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node68
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service65 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service65.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node68 = makeLocationNode({
|
|
137
|
+
service: Service65,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service65, node68, exports_tool_output2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-zk57ev3y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service36,
|
|
12
|
+
node39
|
|
13
|
+
} from "./state-k1441ryq.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./state-fv0c2at4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service27,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node31
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service36;
|
|
68
|
+
return Service27.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -86,7 +86,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node31 = makeLocationNode({ service: Service27, layer: layer12, deps: [node39] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service27, layer12, node31, exports_instructions3 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-twwzjqdf.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-zk57ev3y.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-b69axjbw.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-86e23919.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-mbganbbe.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-q1tvsgae.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make5 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make5();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service48,
|
|
3
|
+
node51
|
|
4
|
+
} from "./state-kyabj12g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service28,
|
|
20
|
+
node: () => node32
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service28 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service48;
|
|
64
|
+
return Service28.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make21({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node32 = makeLocationNode({ service: Service28, layer, deps: [node51] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service28, node32, exports_instructions4 };
|