@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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./reference-j6wkh22k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./reference-sxw208y2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service60,
|
|
12
|
+
node63
|
|
13
|
+
} from "./reference-y3j594wr.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./reference-ngyrtr94.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node62
|
|
20
|
+
} from "./reference-5p5gqk74.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service58,
|
|
26
|
+
node61
|
|
27
|
+
} from "./reference-d606da0a.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service66,
|
|
30
|
+
node69
|
|
31
|
+
} from "./reference-qby9dwvd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./reference-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,30 +42,30 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event12,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service57,
|
|
55
|
+
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node60
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
|
+
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service57 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
|
+
const location = yield* Service81;
|
|
133
|
+
const agents = yield* Service60;
|
|
134
|
+
const sessions = yield* Service59;
|
|
135
|
+
const saved = yield* Service58;
|
|
136
|
+
const hooks = yield* Service66;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service57.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node60 = makeLocationNode({
|
|
303
|
+
service: Service57,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node85, node63, node62, node61, node69]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service57, node60, exports_permission2, Rule3, Ruleset2, Event12 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service60
|
|
4
|
+
} from "./reference-y3j594wr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./reference-sxw208y2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service45
|
|
10
|
+
} from "./reference-7wzym38v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service63,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-v8ys44m2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service29
|
|
17
|
+
} from "./reference-7w8dwfyw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./reference-ghmgawy4.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin13
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin13 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service45;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin31 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service81;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service63;
|
|
60
|
+
const sessions = yield* Service29;
|
|
61
|
+
const agents = yield* Service60;
|
|
62
|
+
const subagents = yield* Service9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin31 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin13, exports_command };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-c1fqxshp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-hs41a4tz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./reference-j6wkh22k.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./reference-05qzyfy0.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-addxnjmp.js";
|
|
15
15
|
import {
|
|
16
16
|
ID14,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-xstzgqxx.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
23
|
ID13,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service77
|
|
25
|
+
} from "./reference-sn87wmz8.js";
|
|
26
26
|
import {
|
|
27
27
|
ID12
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./reference-t8sv6mhx.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./reference-q8zknr33.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make8(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
@@ -72,9 +72,9 @@ function make9(endpoints = {
|
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
73
|
const configured = yield* configuredSettings2(ID13.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service83;
|
|
76
|
+
const credentials = yield* Service79;
|
|
77
|
+
const providers = yield* Service77;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -312,7 +312,7 @@ function make9(endpoints = {
|
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make8();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make8, AzurePlugin2 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-c2sed5cq.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-y3j594wr.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent2 = {};
|
|
12
12
|
__export(exports_agent2, {
|
|
13
13
|
AgentPlugin: () => exports_agent2,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin41
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -81,7 +81,7 @@ Rules:
|
|
|
81
81
|
- Never ask questions or add new questions
|
|
82
82
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
83
83
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
84
|
-
var
|
|
84
|
+
var Plugin41 = define({
|
|
85
85
|
id: "opencode.agent",
|
|
86
86
|
effect: Effect.fn(function* (ctx) {
|
|
87
87
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -91,32 +91,32 @@ var Plugin40 = define({
|
|
|
91
91
|
item.mode = "primary";
|
|
92
92
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
93
93
|
});
|
|
94
|
-
editor.update(
|
|
94
|
+
editor.update(ID9.make("general"), (item) => {
|
|
95
95
|
item.name = Name3.make("General");
|
|
96
96
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
97
97
|
item.mode = "subagent";
|
|
98
98
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
99
99
|
});
|
|
100
|
-
editor.update(
|
|
100
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
101
101
|
item.name = Name3.make("Explore");
|
|
102
102
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
103
103
|
item.system = PROMPT_EXPLORE;
|
|
104
104
|
item.mode = "subagent";
|
|
105
105
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
106
106
|
});
|
|
107
|
-
editor.update(
|
|
107
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
108
108
|
item.name = Name3.make("Compaction");
|
|
109
109
|
item.mode = "primary";
|
|
110
110
|
item.hidden = true;
|
|
111
111
|
});
|
|
112
|
-
editor.update(
|
|
112
|
+
editor.update(ID9.make("title"), (item) => {
|
|
113
113
|
item.name = Name3.make("Title");
|
|
114
114
|
item.mode = "primary";
|
|
115
115
|
item.hidden = true;
|
|
116
116
|
item.system = PROMPT_TITLE;
|
|
117
117
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
118
118
|
});
|
|
119
|
-
editor.update(
|
|
119
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
120
120
|
item.name = Name3.make("Summary");
|
|
121
121
|
item.mode = "primary";
|
|
122
122
|
item.hidden = true;
|
|
@@ -127,4 +127,4 @@ var Plugin40 = define({
|
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { Plugin41, exports_agent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-dsqe59pg.js";
|
|
8
|
+
import {
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./reference-j6wkh22k.js";
|
|
8
12
|
import {
|
|
9
13
|
Service84,
|
|
10
14
|
node88
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service81,
|
|
14
|
-
node85
|
|
15
|
-
} from "./vcs-1jpbcgyh.js";
|
|
15
|
+
} from "./reference-b6keqepk.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./reference-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./reference-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -38,12 +38,12 @@ __export(exports_project, {
|
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID17,
|
|
40
40
|
Info: () => Info28,
|
|
41
|
-
NotFoundError: () =>
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node86,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -62,7 +62,7 @@ var Current2 = Current3;
|
|
|
62
62
|
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
66
|
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,11 +98,11 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service84;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service83;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -171,7 +171,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
176
|
yield* bus.publish(Event21.Updated, project);
|
|
177
177
|
return project;
|
|
@@ -304,20 +304,20 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
304
304
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service82.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node86 = makeGlobalNode({
|
|
310
|
+
service: Service82,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node87, node89, FSUtil.node, node88, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service82;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node86]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export { ID17, Vcs2, Current2, Info28, UpdateInput3,
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, sweepNode2, exports_project };
|