@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,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./reference-j6wkh22k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service69,
|
|
7
|
+
node72
|
|
8
|
+
} from "./reference-r0eebq39.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service25,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node28
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service25 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service83;
|
|
70
|
+
const kv = yield* Service69;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service25.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node28 = makeLocationNode({
|
|
188
|
+
service: Service25,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node87, node72]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service25, node28, exports_websearch3, Event6 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service45
|
|
4
|
+
} from "./reference-7wzym38v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./reference-hvr28mne.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin14
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin14 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service45;
|
|
27
|
+
const output = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin22 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin14, exports_tool_output };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./reference-knr7pyte.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin32,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin32 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service57;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin10 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input11, Plugin32, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-hs41a4tz.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./reference-05qzyfy0.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-xstzgqxx.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-sn87wmz8.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service79;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./reference-j6wkh22k.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-v8ys44m2.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service24,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
available: () => available2,
|
|
25
|
+
configured: () => configured4,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
node: () => node27
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,26 +35,26 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service24 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service82, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service82, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service82, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service24.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service82, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer12 = makeLayer();
|
|
263
|
+
var configured4 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service24,
|
|
265
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
266
|
+
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node27 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError4, Service24, layer12, configured4, node27, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render3,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make15, exports_instructions5 };
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-sn87wmz8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service75,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node79
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service75 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service75.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node79 = makeLocationNode({ service: Service75, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service75, locationLayer2, node79, exports_aisdk };
|