@opencode/core 0.0.0-dev-20162 → 0.0.0-dev-20163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{reference-46c3760n.js → config-09dpnta2.js} +35 -35
- package/dist/chunks/{reference-egvk2tm3.js → config-0a5prme8.js} +17 -17
- package/dist/chunks/{reference-4gwesgvk.js → config-0ajjd2sc.js} +10 -10
- package/dist/chunks/{reference-z7gkyp1n.js → config-0dda1jmb.js} +11 -11
- package/dist/chunks/{reference-7xrebrp4.js → config-0mtekjp2.js} +4 -4
- package/dist/chunks/{reference-as206x49.js → config-0mtfkzvk.js} +14 -14
- package/dist/chunks/{reference-eq0vda6f.js → config-0nz73kd9.js} +47 -47
- package/dist/chunks/{reference-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-ffwxfrj0.js → config-0qx3jgen.js} +28 -28
- package/dist/chunks/{reference-bgxcxs0p.js → config-0r7yqxbf.js} +5 -5
- package/dist/chunks/{reference-3p3vnky8.js → config-0srn37tb.js} +11 -11
- package/dist/chunks/{reference-qz8v4has.js → config-1550v4nk.js} +47 -47
- package/dist/chunks/{reference-r59w9cr0.js → config-191eynk5.js} +18 -18
- package/dist/chunks/{reference-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-cv4vwhby.js → config-1j08d8wp.js} +6 -6
- package/dist/chunks/{reference-3fkr61hr.js → config-1pxa4nss.js} +8 -8
- package/dist/chunks/{reference-sb9w1qj8.js → config-1rvnc3g4.js} +6 -6
- package/dist/chunks/{reference-56gdpj1q.js → config-1ygqh575.js} +9 -9
- package/dist/chunks/{reference-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{reference-d02z46y2.js → config-27my81vf.js} +8 -8
- package/dist/chunks/{reference-1kn1kk3r.js → config-27t4zbz5.js} +8 -8
- package/dist/chunks/{reference-62c64d0f.js → config-29pep8r5.js} +15 -15
- package/dist/chunks/{reference-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-a0n8sp6n.js → config-2bgtrqpj.js} +9 -9
- package/dist/chunks/{reference-3f72df5w.js → config-2bhzq30a.js} +21 -21
- package/dist/chunks/{reference-91xrs62w.js → config-2cm39q5q.js} +3 -3
- package/dist/chunks/{reference-nf7k385e.js → config-2hed35ym.js} +5 -5
- package/dist/chunks/{reference-cezasygy.js → config-2jrdnx2f.js} +34 -34
- package/dist/chunks/{reference-dt2x0zh0.js → config-2p8k3371.js} +5 -5
- package/dist/chunks/{reference-qh436n0b.js → config-2saqjfxf.js} +24 -24
- package/dist/chunks/{reference-ytys1bh6.js → config-2vk2a4tq.js} +19 -19
- package/dist/chunks/{reference-bscb95cy.js → config-2y34zzjz.js} +4 -4
- package/dist/chunks/{reference-b1n688j8.js → config-341r3sh7.js} +4 -4
- package/dist/chunks/{reference-dt9mh0bm.js → config-391a84vc.js} +4 -4
- package/dist/chunks/{reference-964jcbyv.js → config-3a4shs48.js} +18 -18
- package/dist/chunks/{reference-evbgk2k8.js → config-3cfzdc8e.js} +5 -5
- package/dist/chunks/{reference-wq5mx1s6.js → config-3efy5fas.js} +17 -17
- package/dist/chunks/{reference-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-qj1xz12p.js → config-3gmyvx2t.js} +4 -4
- package/dist/chunks/{reference-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-88tdds3s.js → config-3myvd198.js} +46 -46
- package/dist/chunks/{reference-51t1nk0w.js → config-3nf27jkp.js} +20 -20
- package/dist/chunks/{reference-bxbcym62.js → config-3pks5218.js} +16 -16
- package/dist/chunks/{reference-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-a3x70673.js → config-3xt0gpq2.js} +23 -23
- package/dist/chunks/{reference-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-j8y55bdm.js → config-4bw31ana.js} +31 -31
- package/dist/chunks/{reference-82t62krp.js → config-4c6p8qe3.js} +10 -10
- package/dist/chunks/{reference-g9b34w1m.js → config-4ca0desf.js} +9 -9
- package/dist/chunks/{reference-22sd1qqc.js → config-4e8vs6eh.js} +8 -8
- package/dist/chunks/{reference-8nk0jvjq.js → config-4jxtnjc8.js} +12 -12
- package/dist/chunks/{reference-12gpr7d5.js → config-4pkf9s6k.js} +8 -8
- package/dist/chunks/{reference-0gx7vwr2.js → config-4tw3xr5g.js} +14 -14
- package/dist/chunks/{reference-96y032zk.js → config-5143n705.js} +9 -9
- package/dist/chunks/{reference-2fgn2we9.js → config-57ez7d0k.js} +9 -9
- package/dist/chunks/{reference-4t6dvhtz.js → config-5cx5mghm.js} +15 -15
- package/dist/chunks/{reference-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-826wxmg7.js → config-5kb038m0.js} +34 -34
- package/dist/chunks/{reference-d8ek7das.js → config-5np739fs.js} +3 -3
- package/dist/chunks/{reference-c43a01n5.js → config-5pmjgeea.js} +30 -30
- package/dist/chunks/{reference-adr897hr.js → config-5svcdy10.js} +20 -20
- package/dist/chunks/{reference-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-1ft6zanx.js → config-5tmjy8g0.js} +35 -35
- package/dist/chunks/{reference-n1ka8r9d.js → config-5xpznt2d.js} +4 -4
- package/dist/chunks/config-619r8v3y.js +18 -0
- package/dist/chunks/{reference-53b1aas6.js → config-63hq6j90.js} +6 -6
- package/dist/chunks/{reference-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{reference-ejhs522f.js → config-69yhtrb3.js} +15 -15
- package/dist/chunks/{reference-y6f0p4jw.js → config-6bsje7ws.js} +3 -3
- package/dist/chunks/{reference-5b84avn1.js → config-6c7yw9pm.js} +8 -8
- package/dist/chunks/{reference-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{reference-vtj7y5ay.js → config-6hhsdfpv.js} +29 -29
- package/dist/chunks/{reference-fqcgpcra.js → config-6hjx5zpb.js} +9 -9
- package/dist/chunks/config-6kdq0pjd.js +4 -0
- package/dist/chunks/{reference-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-9f53fa7g.js → config-6y7ymps1.js} +3 -3
- package/dist/chunks/{reference-5422n3t7.js → config-6z52wrjc.js} +24 -24
- package/dist/chunks/{reference-m2h158as.js → config-76a3kx5e.js} +9 -9
- package/dist/chunks/{reference-ypxg5ew0.js → config-7bczgskn.js} +5 -5
- package/dist/chunks/{reference-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-7dqw4kz8.js → config-7dqw4kz8.js} +1 -1
- package/dist/chunks/{reference-847b4gce.js → config-7yhjqnc9.js} +9 -9
- package/dist/chunks/{reference-8v842n89.js → config-7zsfxkzx.js} +13 -13
- package/dist/chunks/{reference-k10yg983.js → config-82z7scvq.js} +9 -9
- package/dist/chunks/{reference-vdanqmfn.js → config-85apd54q.js} +9 -9
- package/dist/chunks/{reference-n0w1s0p8.js → config-87dqewmc.js} +14 -14
- package/dist/chunks/{reference-8ac1ch0a.js → config-8d5190ka.js} +16 -16
- package/dist/chunks/{reference-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-6zkkrft8.js → config-8f5hwpwq.js} +35 -35
- package/dist/chunks/{reference-dwq6ryhm.js → config-8mfdap3f.js} +8 -8
- package/dist/chunks/{reference-07w59vex.js → config-8q9myf25.js} +6 -6
- package/dist/chunks/{reference-nrbetfhp.js → config-8weywzx2.js} +9 -9
- package/dist/chunks/{reference-94ek1h2f.js → config-94ek1h2f.js} +2 -2
- package/dist/chunks/{reference-gdgd201h.js → config-952j3b5h.js} +11 -11
- package/dist/chunks/{reference-43b73ppw.js → config-97hg6zht.js} +48 -48
- package/dist/chunks/{reference-7ah923bx.js → config-9dp61419.js} +34 -34
- package/dist/chunks/{reference-g21r4nge.js → config-9e4j78a5.js} +15 -15
- package/dist/chunks/{reference-3r15x7gc.js → config-9g00fehr.js} +14 -14
- package/dist/chunks/{reference-8v6pyhej.js → config-9hn6k4tm.js} +8 -8
- package/dist/chunks/{reference-c9fprm0x.js → config-9s8mzn52.js} +2 -2
- package/dist/chunks/{reference-rzxqnzwt.js → config-9ssc61wq.js} +18 -18
- package/dist/chunks/{reference-t54k9pq0.js → config-9tr9p23y.js} +1 -1
- package/dist/chunks/{reference-qqd9nqt4.js → config-9z9trrse.js} +24 -24
- package/dist/chunks/{reference-r5x6zcsm.js → config-a1gpj94z.js} +3 -3
- package/dist/chunks/{reference-fqb2p7cx.js → config-a46v4e4v.js} +4 -4
- package/dist/chunks/{reference-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-r4xhx5yy.js → config-ab9rd8f1.js} +12 -12
- package/dist/chunks/{reference-c49cqfqd.js → config-ajqzvdgx.js} +10 -10
- package/dist/chunks/{reference-j12s1dt6.js → config-akrnn5pm.js} +8 -8
- package/dist/chunks/{reference-9qygrp94.js → config-akxghxm2.js} +10 -10
- package/dist/chunks/{reference-f0s79xst.js → config-andx0whv.js} +24 -24
- package/dist/chunks/{reference-psgxw3jt.js → config-areyx2cx.js} +5 -5
- package/dist/chunks/{reference-m3k0s26c.js → config-ax8jf6wh.js} +6 -6
- package/dist/chunks/{reference-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-x6vfkpfk.js → config-b6z64nx6.js} +26 -26
- package/dist/chunks/{reference-zhmyjth5.js → config-b90ja75w.js} +11 -11
- package/dist/chunks/{reference-yqhaceyq.js → config-bdm4x938.js} +9 -9
- package/dist/chunks/{reference-ct1p0e3y.js → config-bgm8582g.js} +25 -25
- package/dist/chunks/{reference-ebe412tk.js → config-c2dxfrbp.js} +329 -329
- package/dist/chunks/{reference-pk2nqkv1.js → config-c6x07p5x.js} +15 -15
- package/dist/chunks/{reference-dcx1sf8q.js → config-c83556ad.js} +7 -7
- package/dist/chunks/{reference-dgk138jj.js → config-c85bkqez.js} +11 -11
- package/dist/chunks/{reference-tweg7shc.js → config-cctby3wr.js} +12 -12
- package/dist/chunks/{reference-8bhj9fqm.js → config-cjme43bx.js} +1 -1
- package/dist/chunks/{reference-ckecvw8r.js → config-ckecvw8r.js} +2 -2
- package/dist/chunks/{reference-2mq1h16s.js → config-cpneeje0.js} +9 -9
- package/dist/chunks/{reference-z3as9k27.js → config-crj7t10d.js} +28 -28
- package/dist/chunks/{reference-sm5gt5gy.js → config-d23rw8y2.js} +11 -11
- package/dist/chunks/{reference-2y2njx4h.js → config-dc90x61j.js} +6 -6
- package/dist/chunks/{reference-vdcvmm1j.js → config-djcyjyas.js} +8 -8
- package/dist/chunks/{reference-b669rhzj.js → config-dkv69pj9.js} +17 -17
- package/dist/chunks/{reference-0ecm74t9.js → config-dx758kx7.js} +24 -24
- package/dist/chunks/{reference-c38bjq8c.js → config-e2v0tjas.js} +31 -31
- package/dist/chunks/{reference-dx8786a0.js → config-e3n088rr.js} +10 -10
- package/dist/chunks/{reference-ynnjenk0.js → config-e7tpz29y.js} +12 -12
- package/dist/chunks/{reference-qmc2sv0z.js → config-ebvj30mf.js} +8 -8
- package/dist/chunks/{reference-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{reference-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-xnbmy0b6.js → config-efmek94c.js} +17 -17
- package/dist/chunks/{reference-re8n8mvq.js → config-epgnpn45.js} +70 -70
- package/dist/chunks/{reference-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-j34dxvpb.js → config-ex0pka66.js} +5 -5
- package/dist/chunks/{reference-8t5wqk0x.js → config-eykerdw1.js} +13 -13
- package/dist/chunks/{reference-b09hzw3k.js → config-ff0svapt.js} +2 -2
- package/dist/chunks/{reference-4twm1v8c.js → config-fgb7zg94.js} +15 -15
- package/dist/chunks/{reference-akyrbgpn.js → config-fnr6z4w1.js} +23 -23
- package/dist/chunks/{reference-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-zfq801h6.js → config-gkk129yf.js} +6 -6
- package/dist/chunks/{reference-d0j2a5wc.js → config-grfrd8dm.js} +17 -17
- package/dist/chunks/{reference-s2wnrmgh.js → config-gtt51geh.js} +33 -33
- package/dist/chunks/{reference-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{reference-3s6dz3zh.js → config-h5cqn5dn.js} +10 -10
- package/dist/chunks/{reference-h6r3nrb9.js → config-h6r3nrb9.js} +1 -1
- package/dist/chunks/{reference-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-b7b4ctej.js → config-hbyhqfhs.js} +5 -5
- package/dist/chunks/{reference-0amqtv85.js → config-he3h4zb1.js} +17 -17
- package/dist/chunks/{reference-gbxwt4zb.js → config-hendpx1y.js} +20 -20
- package/dist/chunks/{reference-n3kpww26.js → config-hs6hss1g.js} +39 -39
- package/dist/chunks/{reference-7ky71vec.js → config-hvpdc0sp.js} +11 -11
- package/dist/chunks/{reference-jr3qt0m1.js → config-hxyrv1jb.js} +3 -3
- package/dist/chunks/{reference-v7m9x23a.js → config-j0p8q6br.js} +32 -32
- package/dist/chunks/{reference-nq7qbqzc.js → config-j3s2z371.js} +9 -9
- package/dist/chunks/{reference-49yzscfc.js → config-j41whdzd.js} +10 -10
- package/dist/chunks/{reference-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-rhs1s70h.js → config-j75kj7v0.js} +19 -19
- package/dist/chunks/{reference-0v53mg2y.js → config-j83byb14.js} +4 -4
- package/dist/chunks/{reference-7tgakezr.js → config-j9ty9cws.js} +1 -1
- package/dist/chunks/{reference-nw1wp5ck.js → config-ja9xt0y7.js} +4 -4
- package/dist/chunks/{reference-csaq20vk.js → config-jav3yb7b.js} +43 -43
- package/dist/chunks/{reference-epg42mqj.js → config-jj5yanh9.js} +13 -13
- package/dist/chunks/config-jm84vjjd.js +252 -0
- package/dist/chunks/{reference-hbzkwv96.js → config-jnakyatf.js} +9 -9
- package/dist/chunks/{reference-y68kb7s2.js → config-jnk2jfbv.js} +28 -28
- package/dist/chunks/{reference-py3kkmfq.js → config-jws6fkes.js} +8 -8
- package/dist/chunks/{reference-tgxh7826.js → config-k58htxs6.js} +10 -10
- package/dist/chunks/{reference-1pjwb51h.js → config-kfpgr0a9.js} +22 -22
- package/dist/chunks/{reference-wryz29p9.js → config-kgn9tatw.js} +12 -12
- package/dist/chunks/{reference-a7szthnd.js → config-kthqrwz5.js} +6 -6
- package/dist/chunks/{reference-wsjfscnr.js → config-kyxhhp43.js} +18 -18
- package/dist/chunks/{reference-tq9cs6qv.js → config-m08j2e3y.js} +22 -22
- package/dist/chunks/config-m0gp2a18.js +26 -0
- package/dist/chunks/{reference-zqd4qn9t.js → config-m241b8yp.js} +3 -3
- package/dist/chunks/{reference-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{reference-2mjwbfp5.js → config-m6g7p1z9.js} +20 -20
- package/dist/chunks/{reference-rdecwvm0.js → config-m6nec9qq.js} +4 -4
- package/dist/chunks/{reference-g558e3ha.js → config-m7844kbn.js} +23 -23
- package/dist/chunks/{reference-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-ntwwz3xg.js → config-mh8443k9.js} +2 -2
- package/dist/chunks/{reference-mzrbxmyd.js → config-mp4gry6m.js} +11 -11
- package/dist/chunks/{reference-90bn1v09.js → config-n9qjhx81.js} +4 -4
- package/dist/chunks/{reference-7gc63ees.js → config-nanbsj68.js} +48 -48
- package/dist/chunks/{reference-bpp3ryfj.js → config-nfqmy5b6.js} +13 -13
- package/dist/chunks/{reference-tv601men.js → config-nh68k07w.js} +26 -26
- package/dist/chunks/{reference-5fre3x80.js → config-nkr9tsat.js} +1 -1
- package/dist/chunks/{reference-hkfg6fzm.js → config-nxhqveyz.js} +5 -5
- package/dist/chunks/{reference-k3c624dm.js → config-nzks3jc8.js} +3 -3
- package/dist/chunks/{reference-3cfg471a.js → config-p3y8c77m.js} +7 -7
- package/dist/chunks/{reference-kysnx2fh.js → config-p7w3hz34.js} +16 -16
- package/dist/chunks/{reference-p7d3n4tx.js → config-paz8pf0s.js} +33 -33
- package/dist/chunks/{reference-r2pcxk2q.js → config-pb6j0kax.js} +11 -11
- package/dist/chunks/{reference-9x77fmbz.js → config-pcxghkgz.js} +4 -4
- package/dist/chunks/{reference-qbqbaz6q.js → config-ph842b28.js} +4 -4
- package/dist/chunks/{reference-984xje6x.js → config-phc8pspp.js} +3 -3
- package/dist/chunks/{reference-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{reference-nwdmwc9e.js → config-pr720m8d.js} +39 -39
- package/dist/chunks/{reference-2yy3z0jy.js → config-psbhqdve.js} +15 -15
- package/dist/chunks/{reference-q2s2k355.js → config-px3bsd12.js} +39 -39
- package/dist/chunks/{reference-6hb7b85m.js → config-q3d453fr.js} +29 -29
- package/dist/chunks/{reference-e2hjzebn.js → config-q5asdkn4.js} +4 -4
- package/dist/chunks/{reference-qw0a87jh.js → config-qhr4ys9v.js} +20 -20
- package/dist/chunks/{reference-jw80jp6b.js → config-qj8eh1ht.js} +4 -4
- package/dist/chunks/{reference-xfkkasph.js → config-qqeeq2t9.js} +7 -7
- package/dist/chunks/{reference-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-4j3q3gy0.js → config-qy7d9sb7.js} +28 -28
- package/dist/chunks/{reference-cpy6gm2a.js → config-r33ff4dw.js} +4 -4
- package/dist/chunks/{reference-pgdff0n2.js → config-r6awj1nk.js} +18 -18
- package/dist/chunks/{reference-7n3h8z8x.js → config-rczk70st.js} +27 -27
- package/dist/chunks/{reference-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-8aw490j5.js → config-rh49mrr9.js} +3 -3
- package/dist/chunks/{reference-yp2x3t23.js → config-rhraev7y.js} +4 -4
- package/dist/chunks/{reference-6a13jgj0.js → config-rv3ers6p.js} +13 -13
- package/dist/chunks/{reference-zeente5n.js → config-s0tjnb05.js} +20 -20
- package/dist/chunks/{reference-t550f9t1.js → config-s8d7rejh.js} +4 -4
- package/dist/chunks/{reference-5hcyjm69.js → config-snzwe59h.js} +8 -8
- package/dist/chunks/{reference-s179y50x.js → config-stxbhw19.js} +1 -1
- package/dist/chunks/{reference-3bkkhtex.js → config-t7v71wrn.js} +22 -22
- package/dist/chunks/{reference-xx4gy9g2.js → config-ta8av7gg.js} +10 -10
- package/dist/chunks/{reference-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-hzmk18ty.js → config-tc3ts9ah.js} +25 -25
- package/dist/chunks/{reference-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{reference-va3k01c5.js → config-te5kh89r.js} +10 -10
- package/dist/chunks/{reference-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-x3gqap9d.js → config-v7z2bvyd.js} +4 -4
- package/dist/chunks/{reference-zt9e00je.js → config-vcrhrphe.js} +10 -10
- package/dist/chunks/{reference-td88ers4.js → config-vd01k5jq.js} +23 -23
- package/dist/chunks/{reference-69t6210w.js → config-veevhm8d.js} +16 -16
- package/dist/chunks/{reference-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-xatqgmg5.js → config-vmky7h7j.js} +83 -83
- package/dist/chunks/{reference-5pd7ahqb.js → config-vv1h20h2.js} +10 -10
- package/dist/chunks/{reference-1v6wmkfd.js → config-vy4zg7qh.js} +12 -12
- package/dist/chunks/{reference-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-d6bxb51r.js → config-w1v3pp9p.js} +23 -23
- package/dist/chunks/{reference-zkgb0eff.js → config-w2pn7q0g.js} +19 -19
- package/dist/chunks/{reference-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-wd3x2cqz.js → config-wd3x2cqz.js} +2 -2
- package/dist/chunks/{reference-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{reference-5qsvmyhn.js → config-wdrw2805.js} +86 -86
- package/dist/chunks/{reference-k7v87v4h.js → config-whyarb4n.js} +11 -11
- package/dist/chunks/{reference-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-1z0e90kj.js → config-x370qp4h.js} +15 -15
- package/dist/chunks/{reference-w45dy96y.js → config-x63hdkmq.js} +23 -23
- package/dist/chunks/{reference-nf7y2nv3.js → config-x6k34qeq.js} +3 -3
- package/dist/chunks/{reference-8fypk95p.js → config-x85taj0w.js} +150 -150
- package/dist/chunks/{reference-kyev7ve5.js → config-xcdcxew8.js} +3 -3
- package/dist/chunks/{reference-9mfgef28.js → config-xcn85n4f.js} +1 -1
- package/dist/chunks/{reference-f1080f95.js → config-xekpbczy.js} +9 -9
- package/dist/chunks/{reference-xkntkrq7.js → config-xkntkrq7.js} +2 -2
- package/dist/chunks/{reference-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-5xhn02sj.js → config-y3edmtj1.js} +15 -15
- package/dist/chunks/{reference-dpkg50ah.js → config-y71avatq.js} +4 -4
- package/dist/chunks/{reference-66ysksfg.js → config-y8hck43r.js} +11 -11
- package/dist/chunks/{reference-engh8x4k.js → config-y9034cbw.js} +6 -6
- package/dist/chunks/{reference-n4jtts10.js → config-yhqk4s98.js} +29 -29
- package/dist/chunks/{reference-6j4qz43p.js → config-yjdhv57g.js} +27 -27
- package/dist/chunks/{reference-mj8gsvpt.js → config-yk92z034.js} +29 -29
- package/dist/chunks/{reference-8wy5hk7w.js → config-yq7nmdyq.js} +11 -11
- package/dist/chunks/{reference-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-k607ew7q.js → config-yrnrtvb9.js} +30 -30
- package/dist/chunks/{reference-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-qe26s0zb.js → config-yvvvp4gn.js} +8 -8
- package/dist/chunks/{reference-qyrqhvab.js → config-yx7mb06z.js} +22 -22
- package/dist/chunks/{reference-01x1ys4d.js → config-yzyc98yn.js} +6 -6
- package/dist/chunks/{reference-z07pqspn.js → config-z07pqspn.js} +3 -3
- package/dist/chunks/{reference-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-dkhbyg2v.js → config-z1n525st.js} +10 -10
- package/dist/chunks/{reference-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{reference-y0zsxj1p.js → config-zdg4hh7e.js} +43 -43
- package/dist/chunks/{reference-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-16bbg7ec.js → config-zhxfxw39.js} +37 -37
- package/dist/chunks/{reference-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-3v7e0nj5.js → config-zwhemmnn.js} +18 -18
- package/dist/chunks/{reference-zxq2ej10.js → config-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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/reference-1zxhsznx.js +0 -26
- package/dist/chunks/reference-91h3g1xt.js +0 -252
- package/dist/chunks/reference-f81tjggh.js +0 -18
- package/dist/chunks/reference-qapv375x.js +0 -4
- /package/dist/chunks/{reference-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-ja9xt0y7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./config-3pks5218.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node55
|
|
12
|
+
} from "./config-dx758kx7.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service44,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node47
|
|
20
|
+
} from "./config-t7v71wrn.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service73,
|
|
23
|
+
node77
|
|
24
|
+
} from "./config-4e8vs6eh.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service43,
|
|
27
|
+
node46
|
|
28
|
+
} from "./config-yvvvp4gn.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-6bsje7ws.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service60,
|
|
35
|
+
node64
|
|
36
|
+
} from "./config-pr720m8d.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-ab9rd8f1.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service42,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node45
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service42 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service44;
|
|
95
|
+
const environment = yield* Service51;
|
|
96
|
+
const hooks = yield* Service73;
|
|
97
|
+
const environments = yield* Service43;
|
|
98
|
+
const config = yield* Service60;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError5({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service42.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node45 = makeLocationNode({
|
|
329
|
+
service: Service42,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
|
-
|
|
333
|
+
node84,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
node47,
|
|
336
|
+
node55,
|
|
337
|
+
node77,
|
|
338
|
+
node46,
|
|
339
|
+
node64,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service42, cleanup2, node45, exports_shell4 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-2cm39q5q.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-ja9xt0y7.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID15 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info30({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info30({
|
|
80
|
+
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service78, node82, exports_credential };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info14 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info10 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info14, exports_provider2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./config-pr720m8d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./config-bdm4x938.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service60;
|
|
26
|
+
const image = yield* Service47;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin12 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin35, exports_image };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-ja9xt0y7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./config-3pks5218.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service72,
|
|
12
|
+
node76
|
|
13
|
+
} from "./config-2bhzq30a.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError9
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-phc8pspp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service71,
|
|
19
|
+
node75
|
|
20
|
+
} from "./config-9g00fehr.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service70,
|
|
26
|
+
node74
|
|
27
|
+
} from "./config-grfrd8dm.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service73,
|
|
30
|
+
node77
|
|
31
|
+
} from "./config-4e8vs6eh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./config-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,8 +42,8 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID9,
|
|
47
47
|
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
@@ -51,21 +51,21 @@ __export(exports_permission2, {
|
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service69,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node73
|
|
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 Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
|
+
var Source5 = 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: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID9,
|
|
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: ID9,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID9
|
|
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 Service69 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service80;
|
|
133
|
+
const agents = yield* Service72;
|
|
134
|
+
const sessions = yield* Service71;
|
|
135
|
+
const saved = yield* Service70;
|
|
136
|
+
const hooks = yield* Service73;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID9.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service64, 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 ?? ID9.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service64, 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 Service69.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node73 = makeLocationNode({
|
|
303
|
+
service: Service69,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node84, node76, node75, node74, node77]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node73, exports_permission2, Rule3, Ruleset2, Event15 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-yx7mb06z.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./config-pr720m8d.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin9,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin9 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info7.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info7.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service60;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin9, exports_skill };
|