@opencode/core 0.0.0-dev-21002 → 0.0.0-dev-21003
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 +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{vcs-7my99p8s.js → reference-045azavn.js} +4 -4
- package/dist/chunks/{vcs-yf6j18bb.js → reference-05k2b1xp.js} +13 -13
- package/dist/chunks/{vcs-6r24rnsz.js → reference-05qzyfy0.js} +15 -15
- package/dist/chunks/{vcs-1fmrbde1.js → reference-07770t2t.js} +6 -6
- package/dist/chunks/{vcs-pwjkxr2p.js → reference-0f0tjfsd.js} +19 -19
- package/dist/chunks/{vcs-qmfsx01y.js → reference-0j98sf6a.js} +17 -17
- package/dist/chunks/{vcs-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-n1t890sy.js → reference-0yjtcscn.js} +16 -16
- package/dist/chunks/{vcs-xxbenbth.js → reference-11a129ht.js} +11 -11
- package/dist/chunks/{vcs-xna3ex39.js → reference-11ewysrm.js} +11 -11
- package/dist/chunks/{vcs-fpwpwt2j.js → reference-15k4azwb.js} +9 -9
- package/dist/chunks/{vcs-1acjjqhc.js → reference-1acjjqhc.js} +1 -1
- package/dist/chunks/{vcs-jpk4djz3.js → reference-1b7p194a.js} +35 -35
- package/dist/chunks/{vcs-3cqwnyj9.js → reference-1bmjn0qh.js} +8 -8
- package/dist/chunks/{vcs-1pxz8ven.js → reference-1pxz8ven.js} +2 -2
- package/dist/chunks/{vcs-af56v9fc.js → reference-1thc74wz.js} +13 -13
- package/dist/chunks/{vcs-vxj5642t.js → reference-1w3r4bph.js} +4 -4
- package/dist/chunks/{vcs-rbf82wfg.js → reference-22vjgegp.js} +3 -3
- package/dist/chunks/{vcs-wkybzx6c.js → reference-2d2g0b80.js} +66 -66
- package/dist/chunks/{vcs-a7k6dqkw.js → reference-2q15wf76.js} +27 -27
- package/dist/chunks/{vcs-7914kyvb.js → reference-2wt7exxd.js} +28 -28
- package/dist/chunks/{vcs-sykc9y4a.js → reference-35ng7dkh.js} +5 -5
- package/dist/chunks/{vcs-frmg48nv.js → reference-38y3j0a6.js} +2 -2
- package/dist/chunks/{vcs-ztfgfgr6.js → reference-3a1k2atw.js} +15 -15
- package/dist/chunks/{vcs-z3yra0za.js → reference-3a63wq34.js} +19 -19
- package/dist/chunks/{vcs-355z8nep.js → reference-3espnbnx.js} +12 -12
- package/dist/chunks/{vcs-c4p0ejxz.js → reference-3fax4j2d.js} +9 -9
- package/dist/chunks/{vcs-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-nj1prxx4.js → reference-3fk86aw7.js} +10 -10
- package/dist/chunks/{vcs-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → reference-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-sjzt1pp5.js → reference-3kfmszx4.js} +32 -32
- package/dist/chunks/{vcs-21f3b3bt.js → reference-3m53d28j.js} +8 -8
- package/dist/chunks/{vcs-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-xyf2nmx4.js → reference-3x2feh1y.js} +51 -51
- package/dist/chunks/{vcs-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-z6bhmn1n.js → reference-4b6jte38.js} +13 -13
- package/dist/chunks/{vcs-z5xtbmpj.js → reference-4fx8cncx.js} +10 -10
- package/dist/chunks/{vcs-5n53gnyw.js → reference-4jfd8c3z.js} +1 -1
- package/dist/chunks/{vcs-ebv5d12z.js → reference-4my8r6he.js} +8 -8
- package/dist/chunks/{vcs-ms053xne.js → reference-4pjps8v2.js} +50 -50
- package/dist/chunks/{vcs-6be83pym.js → reference-4pw1s8mb.js} +10 -10
- package/dist/chunks/{vcs-ez5ycv5n.js → reference-4xnzgvdv.js} +32 -32
- package/dist/chunks/{vcs-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-tg53gppx.js → reference-5563pnry.js} +23 -23
- package/dist/chunks/{vcs-xfkkasph.js → reference-57b9ws8p.js} +7 -7
- package/dist/chunks/{vcs-ej2rm2ej.js → reference-59n1fapm.js} +9 -9
- package/dist/chunks/{vcs-4bamcyxc.js → reference-5h88vxg7.js} +32 -32
- package/dist/chunks/{vcs-dffwzhx3.js → reference-5jvj1mv1.js} +14 -14
- package/dist/chunks/{vcs-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-twy8zm6z.js → reference-5mdamk89.js} +14 -14
- package/dist/chunks/{vcs-mmcd3y25.js → reference-5p5gqk74.js} +12 -12
- package/dist/chunks/{vcs-83jvwe6t.js → reference-5srtxftc.js} +12 -12
- package/dist/chunks/{vcs-q7ws7jse.js → reference-63fpqb2s.js} +27 -27
- package/dist/chunks/{vcs-2a1faant.js → reference-65mpxnxp.js} +15 -15
- package/dist/chunks/{vcs-9tjft692.js → reference-67wx5dm0.js} +35 -35
- package/dist/chunks/{vcs-r4x4sr0r.js → reference-69pqp2ta.js} +4 -4
- package/dist/chunks/{vcs-xjph4n23.js → reference-6d7dy7s4.js} +13 -13
- package/dist/chunks/{vcs-5zmbjzdj.js → reference-6dh0zb0s.js} +9 -9
- package/dist/chunks/{vcs-9zk4wsj7.js → reference-6dp98m1b.js} +13 -13
- package/dist/chunks/{vcs-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-8gt7cws4.js → reference-73qsq1xc.js} +1 -1
- package/dist/chunks/{vcs-v63z3jcx.js → reference-743qse5p.js} +6 -6
- package/dist/chunks/{vcs-775gj3j1.js → reference-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-f9eadqnm.js → reference-7bep4ber.js} +45 -45
- package/dist/chunks/{vcs-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-cbgrb52t.js → reference-7w8dwfyw.js} +90 -90
- package/dist/chunks/{vcs-fkkypdmj.js → reference-7wzym38v.js} +48 -48
- package/dist/chunks/{vcs-k5k3dna5.js → reference-7x8122dn.js} +15 -15
- package/dist/chunks/{vcs-g686f6pq.js → reference-80z0vyq9.js} +9 -9
- package/dist/chunks/{vcs-twk45vqh.js → reference-81ga0fy1.js} +2 -2
- package/dist/chunks/{vcs-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{vcs-7ktkhff1.js → reference-8k0z7ge9.js} +35 -35
- package/dist/chunks/{vcs-8m6m0r52.js → reference-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-d216944b.js → reference-8rqycdgd.js} +4 -4
- package/dist/chunks/{vcs-ysjjvdxz.js → reference-8sw4wp74.js} +13 -13
- package/dist/chunks/{vcs-zn34g9bn.js → reference-8vrmbnrg.js} +8 -8
- package/dist/chunks/{vcs-s43x1grm.js → reference-98nkzpyj.js} +4 -4
- package/dist/chunks/{vcs-y12qzxr1.js → reference-9as5mz56.js} +28 -28
- package/dist/chunks/{vcs-jvpnvmvq.js → reference-9c7asnz7.js} +19 -19
- package/dist/chunks/{vcs-djxw1hj9.js → reference-9dwgfb1r.js} +15 -15
- package/dist/chunks/{vcs-ygdna4kr.js → reference-9hwaqfsw.js} +5 -5
- package/dist/chunks/{vcs-fz68r6p6.js → reference-9nw2ws3v.js} +2 -2
- package/dist/chunks/{vcs-0f1tk7nc.js → reference-9wq61tcj.js} +9 -9
- package/dist/chunks/{vcs-p8c9e5me.js → reference-a873kzar.js} +11 -11
- package/dist/chunks/{vcs-addxnjmp.js → reference-addxnjmp.js} +1 -1
- package/dist/chunks/{vcs-3h28gq8t.js → reference-aeccth9c.js} +7 -7
- package/dist/chunks/{vcs-40pbfvyp.js → reference-akjh0ytn.js} +3 -3
- package/dist/chunks/{vcs-0nrt08cy.js → reference-avxp0dmd.js} +40 -40
- package/dist/chunks/{vcs-grp94e1z.js → reference-azsz2md7.js} +5 -5
- package/dist/chunks/{vcs-1jpbcgyh.js → reference-b6keqepk.js} +12 -12
- package/dist/chunks/{vcs-k76fn4kw.js → reference-baaqp4zd.js} +4 -4
- package/dist/chunks/{vcs-1y283654.js → reference-bacyadyn.js} +4 -4
- package/dist/chunks/{vcs-463mk8vn.js → reference-bvvg1rh8.js} +25 -25
- package/dist/chunks/{vcs-c1fqxshp.js → reference-c1fqxshp.js} +3 -3
- package/dist/chunks/{vcs-vx3jgdek.js → reference-c2sed5cq.js} +3 -3
- package/dist/chunks/{vcs-sjds2abp.js → reference-c85twgwa.js} +10 -10
- package/dist/chunks/{vcs-hpav9v7j.js → reference-cpc5j1az.js} +10 -10
- package/dist/chunks/{vcs-48ene32n.js → reference-cpjvpb3f.js} +4 -4
- package/dist/chunks/{vcs-rbhwerj0.js → reference-cs9en2hq.js} +3 -3
- package/dist/chunks/{vcs-bpwpdmp6.js → reference-d3n9z6py.js} +35 -35
- package/dist/chunks/{vcs-hbs8g1ay.js → reference-d606da0a.js} +15 -15
- package/dist/chunks/{vcs-9cyjs5rw.js → reference-d7x4wa82.js} +16 -16
- package/dist/chunks/{vcs-dgp81j3t.js → reference-d9vgm7je.js} +2 -2
- package/dist/chunks/{vcs-fs46k7ky.js → reference-dckhq1hb.js} +9 -9
- package/dist/chunks/{vcs-dqxsqydv.js → reference-dqxsqydv.js} +1 -1
- package/dist/chunks/{vcs-by48qtem.js → reference-dsqe59pg.js} +3 -3
- package/dist/chunks/{vcs-5g4rv73e.js → reference-dv357ym8.js} +88 -88
- package/dist/chunks/{vcs-h8xcjdck.js → reference-dxrd75ee.js} +25 -25
- package/dist/chunks/{vcs-0hf9g8pg.js → reference-dzse07y5.js} +6 -6
- package/dist/chunks/{vcs-qgnky12e.js → reference-e09akz1d.js} +22 -22
- package/dist/chunks/{vcs-tbwe2c9a.js → reference-e2znmbmd.js} +142 -142
- package/dist/chunks/{vcs-x1ydr56b.js → reference-e330pyve.js} +16 -16
- package/dist/chunks/{vcs-ed1g29hy.js → reference-e80seqcp.js} +3 -3
- package/dist/chunks/{vcs-yn8db219.js → reference-ea3x7rwa.js} +3 -3
- package/dist/chunks/{vcs-fkc59c5t.js → reference-ebjm2wn5.js} +17 -17
- package/dist/chunks/{vcs-eej6y6fw.js → reference-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-4yc8p7kb.js → reference-ej4ab3hk.js} +15 -15
- package/dist/chunks/{vcs-668ztq2j.js → reference-ekmm8y3n.js} +15 -15
- package/dist/chunks/{vcs-1cyzrn9t.js → reference-epev154h.js} +5 -5
- package/dist/chunks/{vcs-hk8a3prq.js → reference-eqrps7ff.js} +1 -1
- package/dist/chunks/{vcs-96kj8cwg.js → reference-es4zr9pq.js} +8 -8
- package/dist/chunks/{vcs-gher5wzq.js → reference-ex32qt72.js} +22 -22
- package/dist/chunks/{vcs-5f99jg87.js → reference-f7avxq1w.js} +32 -32
- package/dist/chunks/{vcs-0pavs806.js → reference-fbzf1q28.js} +3 -3
- package/dist/chunks/{vcs-j23bpn8n.js → reference-feat9d3m.js} +16 -16
- package/dist/chunks/{vcs-shg4d3s3.js → reference-fnrmyyfx.js} +18 -18
- package/dist/chunks/{vcs-th6tgexx.js → reference-fpr0n1zf.js} +10 -10
- package/dist/chunks/{vcs-q59b6c1g.js → reference-g1wkew17.js} +26 -26
- package/dist/chunks/{vcs-x8y695va.js → reference-g57505q5.js} +11 -11
- package/dist/chunks/{vcs-djszqvmq.js → reference-g6q9qykm.js} +9 -9
- package/dist/chunks/{vcs-vnew7dg2.js → reference-g7ejj7wn.js} +24 -24
- package/dist/chunks/{vcs-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-zsfebgt3.js → reference-gh1krvjx.js} +5 -5
- package/dist/chunks/{vcs-ac9h05bq.js → reference-gh545k69.js} +32 -32
- package/dist/chunks/{vcs-neeg6wsf.js → reference-ghmgawy4.js} +19 -19
- package/dist/chunks/{vcs-9sp61vrq.js → reference-gjr9q959.js} +30 -30
- package/dist/chunks/{vcs-pvk9h7ye.js → reference-gqrspt88.js} +7 -7
- package/dist/chunks/{vcs-jkf2fp4f.js → reference-gt5bakd5.js} +18 -18
- package/dist/chunks/{vcs-y16p1w2y.js → reference-h5m7e0fe.js} +9 -9
- package/dist/chunks/{vcs-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-h7s7r6s9.js → reference-h7s7r6s9.js} +2 -2
- package/dist/chunks/{vcs-z6gjdbzs.js → reference-h8brdaj3.js} +23 -23
- package/dist/chunks/{vcs-whpwsaa5.js → reference-hgag3gzg.js} +15 -15
- package/dist/chunks/{vcs-hgz4x7wa.js → reference-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-q4f67jkn.js → reference-hkm4q0k4.js} +3 -3
- package/dist/chunks/{vcs-6gmz5a5h.js → reference-hs41a4tz.js} +8 -8
- package/dist/chunks/{vcs-7zkbhs7g.js → reference-hvr28mne.js} +11 -11
- package/dist/chunks/{vcs-vg9s5fc7.js → reference-hw5hqadp.js} +13 -13
- package/dist/chunks/{vcs-jdydegya.js → reference-hywf2c4r.js} +11 -11
- package/dist/chunks/{vcs-91qna3x0.js → reference-j09zfasm.js} +3 -3
- package/dist/chunks/{vcs-8gcentdn.js → reference-j3zdfp7k.js} +3 -3
- package/dist/chunks/{vcs-ah8rvg4c.js → reference-j6wkh22k.js} +12 -12
- package/dist/chunks/{vcs-m9ddf5g9.js → reference-j9mnae36.js} +27 -27
- package/dist/chunks/{vcs-jk540des.js → reference-jk540des.js} +2 -2
- package/dist/chunks/{vcs-mqbt890h.js → reference-jpg3m0rz.js} +8 -8
- package/dist/chunks/{vcs-ydkvqwzr.js → reference-k0w1apbg.js} +5 -5
- package/dist/chunks/reference-keaa5ges.js +253 -0
- package/dist/chunks/{vcs-khmqacep.js → reference-khmqacep.js} +1 -1
- package/dist/chunks/{vcs-gwecef78.js → reference-kj7j5fxd.js} +36 -36
- package/dist/chunks/{vcs-mbe1eyf2.js → reference-kna3qw76.js} +46 -46
- package/dist/chunks/{vcs-x3gqap9d.js → reference-knevfgda.js} +4 -4
- package/dist/chunks/{vcs-jqvkw7r1.js → reference-knr7pyte.js} +55 -55
- package/dist/chunks/{vcs-61bk2h8h.js → reference-kpnh5rdh.js} +25 -25
- package/dist/chunks/{vcs-y88c22bj.js → reference-kqx1b4hy.js} +4 -4
- package/dist/chunks/{vcs-csz055n1.js → reference-m0vm465r.js} +18 -18
- package/dist/chunks/{vcs-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → reference-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-5pyjqqve.js → reference-mb14aw74.js} +2 -2
- package/dist/chunks/{vcs-1bpgfjg6.js → reference-mfcg9zf8.js} +11 -11
- package/dist/chunks/{vcs-nsfmz8tt.js → reference-mq8pyd3z.js} +27 -27
- package/dist/chunks/{vcs-s2z0d44b.js → reference-mv3hx7wz.js} +4 -4
- package/dist/chunks/{vcs-b35pq53q.js → reference-mztsg71c.js} +12 -12
- package/dist/chunks/{vcs-zezt0m7y.js → reference-n0r2pe7t.js} +30 -30
- package/dist/chunks/reference-n95b3jav.js +18 -0
- package/dist/chunks/{vcs-evsjv0a1.js → reference-nc4qeq29.js} +4 -4
- package/dist/chunks/{vcs-yhq47pcp.js → reference-ngyrtr94.js} +6 -6
- package/dist/chunks/{vcs-y668eja4.js → reference-nj1fyrr5.js} +9 -9
- package/dist/chunks/{vcs-3d0ff5fp.js → reference-nr3t94ek.js} +20 -20
- package/dist/chunks/{vcs-k497z0vf.js → reference-nsv0y1w2.js} +34 -34
- package/dist/chunks/{vcs-djtt3s3s.js → reference-nts5xxr4.js} +4 -4
- package/dist/chunks/{vcs-tpw6cwsb.js → reference-p4mj4rdp.js} +8 -8
- package/dist/chunks/{vcs-re73r274.js → reference-pgcdf3yp.js} +53 -53
- package/dist/chunks/{vcs-y8k0zd8p.js → reference-ph7ntgm1.js} +17 -17
- package/dist/chunks/{vcs-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-dss74jhr.js → reference-pmne06ks.js} +11 -11
- package/dist/chunks/{vcs-v0n06dx3.js → reference-pnqhs0ew.js} +334 -334
- package/dist/chunks/{vcs-he27pt63.js → reference-pnzf6mjf.js} +1 -1
- package/dist/chunks/{vcs-nd1r567p.js → reference-pz7v2etc.js} +6 -6
- package/dist/chunks/{vcs-9vjjhptz.js → reference-q0nrsbdj.js} +10 -10
- package/dist/chunks/{vcs-z2nkd1pg.js → reference-q0vvbzs6.js} +22 -22
- package/dist/chunks/{vcs-q0xm7vwc.js → reference-q0xm7vwc.js} +2 -2
- package/dist/chunks/{vcs-tzj08y6r.js → reference-q41vf2xe.js} +19 -19
- package/dist/chunks/{vcs-160vbk35.js → reference-q8zknr33.js} +6 -6
- package/dist/chunks/{vcs-24he9v5v.js → reference-qbant2sw.js} +36 -36
- package/dist/chunks/{vcs-4w5f3qm5.js → reference-qby9dwvd.js} +8 -8
- package/dist/chunks/{vcs-0jwsre1p.js → reference-qgn6gcr1.js} +5 -5
- package/dist/chunks/{vcs-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-8b2wme7z.js → reference-qp4vhx24.js} +14 -14
- package/dist/chunks/{vcs-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-n2n4nd65.js → reference-r0eebq39.js} +10 -10
- package/dist/chunks/{vcs-6j6s0xdp.js → reference-r81p8d0w.js} +10 -10
- package/dist/chunks/{vcs-q97gq07c.js → reference-r8ebydnz.js} +13 -13
- package/dist/chunks/{vcs-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-rert0e01.js → reference-rert0e01.js} +2 -2
- package/dist/chunks/{vcs-cqr7kh8r.js → reference-rgpm01ny.js} +17 -17
- package/dist/chunks/{vcs-s8d7rejh.js → reference-rhjbct0v.js} +4 -4
- package/dist/chunks/{vcs-rj3eygr5.js → reference-rj3eygr5.js} +2 -2
- package/dist/chunks/{vcs-c4zj21p5.js → reference-rwnpnfnn.js} +3 -3
- package/dist/chunks/{vcs-04gb909q.js → reference-ry7dydwt.js} +7 -7
- package/dist/chunks/{vcs-zw8422t3.js → reference-s15r0dtj.js} +21 -21
- package/dist/chunks/{vcs-h71w788e.js → reference-s1kvmffy.js} +9 -9
- package/dist/chunks/{vcs-sa8ekw3f.js → reference-sa8ekw3f.js} +2 -2
- package/dist/chunks/{vcs-pjg2w144.js → reference-smzrgrqh.js} +12 -12
- package/dist/chunks/{vcs-ddjjpas1.js → reference-sn87wmz8.js} +22 -22
- package/dist/chunks/{vcs-am4ws78j.js → reference-sqwzxhmw.js} +16 -16
- package/dist/chunks/{vcs-kpfmcdxe.js → reference-st5htmmp.js} +11 -11
- package/dist/chunks/{vcs-1578bcx0.js → reference-st8026tp.js} +22 -22
- package/dist/chunks/{vcs-x4qxakd8.js → reference-sxw208y2.js} +14 -14
- package/dist/chunks/{vcs-syv4x271.js → reference-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-edq05rv2.js → reference-szmcdvhr.js} +18 -18
- package/dist/chunks/{vcs-pcyhycxt.js → reference-t8sv6mhx.js} +21 -21
- package/dist/chunks/{vcs-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-r7p6qdsv.js → reference-tbwt21ap.js} +18 -18
- package/dist/chunks/{vcs-89znhe33.js → reference-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-ragh3dks.js → reference-tdxdfn5s.js} +11 -11
- package/dist/chunks/{vcs-fgpmrr18.js → reference-tgv0byre.js} +42 -42
- package/dist/chunks/{vcs-tm0kqsz3.js → reference-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-htg2se70.js → reference-twq12gq3.js} +20 -20
- package/dist/chunks/{vcs-tyytaxap.js → reference-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-v0es1rhs.js → reference-v0es1rhs.js} +2 -2
- package/dist/chunks/{vcs-n82j69hc.js → reference-v5zagma4.js} +3 -3
- package/dist/chunks/{vcs-v7p4zvkq.js → reference-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-25krrqea.js → reference-v8ys44m2.js} +13 -13
- package/dist/chunks/{vcs-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-md7fw8q5.js → reference-vw1awvyn.js} +20 -20
- package/dist/chunks/{vcs-4tp410qx.js → reference-vxrvct7x.js} +9 -9
- package/dist/chunks/{vcs-fz44abvp.js → reference-vyjxqysr.js} +13 -13
- package/dist/chunks/{vcs-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-bqtfkyfr.js → reference-w1b1nwq4.js} +24 -24
- package/dist/chunks/{vcs-z3q900tv.js → reference-w260pzdb.js} +16 -16
- package/dist/chunks/{vcs-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-eeaf82dq.js → reference-w3x9v1nk.js} +8 -8
- package/dist/chunks/{vcs-8sze2n9a.js → reference-w92k2e0p.js} +4 -4
- package/dist/chunks/{vcs-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-hdkng2sj.js → reference-wecqtg5s.js} +5 -5
- package/dist/chunks/{vcs-0y9178sh.js → reference-wsn7wktm.js} +27 -27
- package/dist/chunks/{vcs-z1hjjtmz.js → reference-xg451pjv.js} +14 -14
- package/dist/chunks/{vcs-zjcy1aag.js → reference-xrdz75pd.js} +29 -29
- package/dist/chunks/{vcs-avm6ejk6.js → reference-xstzgqxx.js} +21 -21
- package/dist/chunks/{vcs-s7bft2a2.js → reference-xwmnfh3r.js} +28 -28
- package/dist/chunks/{vcs-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-1tbax5fx.js → reference-y1w1rhnk.js} +1 -1
- package/dist/chunks/{vcs-zw3g3g1x.js → reference-y3emh7vm.js} +22 -22
- package/dist/chunks/{vcs-yfx3py7k.js → reference-y3j594wr.js} +24 -24
- package/dist/chunks/{vcs-y71avatq.js → reference-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-dek3yszd.js → reference-ybmjar5a.js} +8 -8
- package/dist/chunks/{vcs-rm3jnwwg.js → reference-ygcyyk2q.js} +33 -33
- package/dist/chunks/{vcs-1tb1v5ev.js → reference-yn5sjats.js} +6 -6
- package/dist/chunks/{vcs-zsr4wwhv.js → reference-yrcj3v3g.js} +4 -4
- package/dist/chunks/{vcs-c58szjs1.js → reference-ys9049bt.js} +26 -26
- package/dist/chunks/{vcs-nfkwcmre.js → reference-yv5nr5jj.js} +11 -11
- package/dist/chunks/{vcs-ywt8jp22.js → reference-ywt8jp22.js} +2 -2
- package/dist/chunks/{vcs-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-2k1h8dtt.js → reference-z5wabbt8.js} +20 -20
- package/dist/chunks/{vcs-yg6fz6yh.js → reference-z6shxvkg.js} +6 -6
- package/dist/chunks/{vcs-pp2en8g7.js → reference-z9x144hn.js} +33 -33
- package/dist/chunks/{vcs-88gzfjcr.js → reference-zfa7ynd8.js} +15 -15
- package/dist/chunks/{vcs-nh4kxwt0.js → reference-zfy1gwfz.js} +9 -9
- package/dist/chunks/{vcs-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-mdyw7nvd.js → reference-zrxnpg3c.js} +31 -31
- package/dist/chunks/{vcs-wd0x0wcx.js → reference-zwe1k0ej.js} +47 -47
- package/dist/chunks/{vcs-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- 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 +120 -120
- 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 +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- 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 +79 -79
- 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 +363 -363
- 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 +95 -95
- 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 +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 +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +93 -93
- 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 +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +96 -96
- package/dist/models-dev.js +105 -105
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +137 -137
- 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 +125 -125
- package/dist/session/generate.js +156 -156
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- 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 +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +128 -128
- 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 +124 -124
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- 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 +16 -16
- 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 +2 -2
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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/vcs-619r8v3y.js +0 -18
- package/dist/chunks/vcs-k1gaen1k.js +0 -253
- /package/dist/chunks/{vcs-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → reference-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → reference-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./reference-nr3t94ek.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./reference-7wzym38v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service17,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-q0nrsbdj.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./reference-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/module.ts
|
|
20
20
|
var exports_module = {};
|
|
21
21
|
__export(exports_module, {
|
|
22
22
|
LoadError: () => LoadError2,
|
|
23
23
|
PluginModule: () => exports_module,
|
|
24
|
-
make: () =>
|
|
24
|
+
make: () => make9
|
|
25
25
|
});
|
|
26
26
|
import { Host } from "@opencode/plugin/host";
|
|
27
27
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -30,10 +30,10 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
30
30
|
import path from "path";
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
33
|
-
var
|
|
34
|
-
const config = yield*
|
|
35
|
-
const managed = yield*
|
|
36
|
-
const watcher = yield*
|
|
33
|
+
var make9 = Effect.fn("PluginModule.make")(function* () {
|
|
34
|
+
const config = yield* Service45;
|
|
35
|
+
const managed = yield* Service17;
|
|
36
|
+
const watcher = yield* Service46;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -118,4 +118,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
118
118
|
};
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { make9, LoadError2, exports_module };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node74
|
|
9
|
+
} from "./reference-g7ejj7wn.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service70,
|
|
24
|
+
node: () => node73
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service70 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service71;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service70.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node73 = makeLocationNode({ service: Service70, layer, deps: [node74, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service70, node73, exports_ripgrep };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-dsqe59pg.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-c1fqxshp.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-3m53d28j.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-mb14aw74.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service59,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node62
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service59 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service85;
|
|
59
|
-
return
|
|
59
|
+
return Service59.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node62 = makeGlobalNode({ service: Service59, layer, deps: [node89] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service59, node62, exports_store };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-hs41a4tz.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-ywt8jp22.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin38,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint6
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin38 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin35 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin35 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint6, Plugin38, exports_tinyfish };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service78,
|
|
4
|
+
node82
|
|
5
|
+
} from "./reference-xstzgqxx.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./reference-sn87wmz8.js";
|
|
21
|
+
import {
|
|
18
22
|
Service75,
|
|
19
23
|
node79
|
|
20
|
-
} from "./
|
|
21
|
-
import {
|
|
22
|
-
Service73,
|
|
23
|
-
node77
|
|
24
|
-
} from "./vcs-nh4kxwt0.js";
|
|
24
|
+
} from "./reference-zfy1gwfz.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service76,
|
|
30
|
+
node80,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./reference-t8sv6mhx.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./reference-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service74,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer26,
|
|
52
|
+
node: () => node78,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service74 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -271,12 +271,12 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer26 = Layer.effect(Service74, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service77;
|
|
276
|
+
const models = yield* Service76;
|
|
277
|
+
const integrations = yield* Service78;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service75;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
282
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -306,7 +306,7 @@ var layer24 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service74.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node78 = makeLocationNode({
|
|
327
|
+
service: Service74,
|
|
328
|
+
layer: layer26,
|
|
329
|
+
deps: [node81, node80, node82, Npm.node, node79]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service74, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer26, node78, exports_model_resolver };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node50
|
|
4
|
+
} from "./reference-nr3t94ek.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./reference-sxw208y2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node49
|
|
12
|
+
} from "./reference-7wzym38v.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
@@ -36,10 +36,10 @@ import { fileURLToPath, pathToFileURL } from "url";
|
|
|
36
36
|
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
38
|
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
39
|
+
const config = yield* Service45;
|
|
40
|
+
const watcher = yield* Service46;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -73,7 +73,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
73
73
|
var node6 = makeLocationNode({
|
|
74
74
|
service: Service4,
|
|
75
75
|
layer: layer5,
|
|
76
|
-
deps: [
|
|
76
|
+
deps: [node49, FSUtil.node, node50, node85]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
79
|
service: Service4,
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-dsqe59pg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./reference-j6wkh22k.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./reference-xg451pjv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node55
|
|
16
|
+
} from "./reference-dzse07y5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./reference-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service50
|
|
26
|
+
} from "./reference-baaqp4zd.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service59,
|
|
29
|
+
node62
|
|
30
|
+
} from "./reference-5p5gqk74.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-azsz2md7.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./reference-vw1awvyn.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./reference-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service49,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
46
|
layer: () => layer22,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node53,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service49 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var layer22 = Layer.effect(
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer22 = Layer.effect(Service49, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service59;
|
|
64
|
+
const instances = yield* Service52;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
|
+
const jobs = yield* Service54;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service50.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service49.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer22 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
126
|
+
var node53 = makeGlobalNode({
|
|
127
|
+
service: Service49,
|
|
128
128
|
layer: layer22,
|
|
129
|
-
deps: [
|
|
129
|
+
deps: [node62, node55, node87, node89, node57]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service49, Service49.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service49, terminal2, layer22, node53, noopLayer3, exports_execution };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-smzrgrqh.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make5 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make10 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make5();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make5, LMStudioPlugin2 };
|