@opencode/core 0.0.0-dev-19900 → 0.0.0-dev-19901
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{instruction-discovery-eaj1djv9.js → tool-output-02nrjc1r.js} +4 -4
- package/dist/chunks/{instruction-discovery-0ey4gza8.js → tool-output-06hvzpqw.js} +19 -19
- package/dist/chunks/{instruction-discovery-r6a5m96p.js → tool-output-06p361q7.js} +3 -3
- package/dist/chunks/{instruction-discovery-j8sp74qn.js → tool-output-081ek8fx.js} +3 -3
- package/dist/chunks/{instruction-discovery-fd093cwy.js → tool-output-0a1zy6wp.js} +8 -8
- package/dist/chunks/{instruction-discovery-dbncea3f.js → tool-output-0b2dkfpa.js} +26 -26
- package/dist/chunks/{instruction-discovery-fps5zk9a.js → tool-output-0dsvprc7.js} +17 -17
- package/dist/chunks/{instruction-discovery-n564ge7k.js → tool-output-0gpx1yng.js} +76 -76
- package/dist/chunks/{instruction-discovery-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{instruction-discovery-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
- package/dist/chunks/{instruction-discovery-y15vpdnr.js → tool-output-0tmgye68.js} +9 -9
- package/dist/chunks/tool-output-1675q44e.js +492 -0
- package/dist/chunks/{instruction-discovery-e59d23kr.js → tool-output-17fex99v.js} +47 -47
- package/dist/chunks/{instruction-discovery-t8e7hrdd.js → tool-output-19gaxc1a.js} +43 -43
- package/dist/chunks/{instruction-discovery-rhraev7y.js → tool-output-1acjjqhc.js} +4 -4
- package/dist/chunks/{instruction-discovery-r5x6zcsm.js → tool-output-1bbkgx8g.js} +3 -3
- package/dist/chunks/{instruction-discovery-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{instruction-discovery-8rqycdgd.js → tool-output-1g7epwpd.js} +4 -4
- package/dist/chunks/{instruction-discovery-1hc11dc4.js → tool-output-1hc11dc4.js} +1 -1
- package/dist/chunks/{instruction-discovery-c6ds0c94.js → tool-output-1rmaqtrx.js} +4 -4
- package/dist/chunks/{instruction-discovery-jnvtr24d.js → tool-output-1ts8rgva.js} +9 -9
- package/dist/chunks/{instruction-discovery-78ntkc3g.js → tool-output-1wvycs1y.js} +15 -15
- package/dist/chunks/{instruction-discovery-56gdpj1q.js → tool-output-1ygqh575.js} +9 -9
- package/dist/chunks/{instruction-discovery-21r38tys.js → tool-output-21r38tys.js} +1 -1
- package/dist/chunks/{instruction-discovery-ddbatmq7.js → tool-output-245b80zk.js} +16 -16
- package/dist/chunks/{instruction-discovery-1mfb1fj9.js → tool-output-27qhgprp.js} +11 -11
- package/dist/chunks/{instruction-discovery-d7k7sx54.js → tool-output-28bqvbmz.js} +1 -1
- package/dist/chunks/{instruction-discovery-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{instruction-discovery-2v1pe63m.js → tool-output-2dstrcn9.js} +8 -8
- package/dist/chunks/{instruction-discovery-2jz473v5.js → tool-output-2jz473v5.js} +1 -1
- package/dist/chunks/{instruction-discovery-bwh2gxn7.js → tool-output-2t2mkpra.js} +14 -14
- package/dist/chunks/{instruction-discovery-hs89yfgw.js → tool-output-2vd2dv33.js} +27 -27
- package/dist/chunks/{instruction-discovery-85wjywk1.js → tool-output-30d0gec6.js} +13 -13
- package/dist/chunks/{instruction-discovery-zcakg7q8.js → tool-output-333bq2wg.js} +10 -10
- package/dist/chunks/{instruction-discovery-m6wkxvak.js → tool-output-33zseqes.js} +9 -9
- package/dist/chunks/{instruction-discovery-qwkytnft.js → tool-output-34x4s2w1.js} +3 -3
- package/dist/chunks/{instruction-discovery-hvar7jas.js → tool-output-380fkrs4.js} +10 -10
- package/dist/chunks/{instruction-discovery-qtjzhv84.js → tool-output-3bdjg33f.js} +9 -9
- package/dist/chunks/{instruction-discovery-ae47t9tr.js → tool-output-3cp94b2x.js} +18 -18
- package/dist/chunks/{instruction-discovery-4w936hdb.js → tool-output-3cxbdjpt.js} +33 -33
- package/dist/chunks/{instruction-discovery-vsr8n5q5.js → tool-output-3f39ggam.js} +8 -8
- package/dist/chunks/{instruction-discovery-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-vfn1w7ss.js → tool-output-3hjdpwrp.js} +15 -15
- package/dist/chunks/{instruction-discovery-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{instruction-discovery-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{instruction-discovery-nva2p24e.js → tool-output-3w4a2kbh.js} +27 -27
- package/dist/chunks/{instruction-discovery-4vsrrm82.js → tool-output-41c5hffj.js} +14 -14
- package/dist/chunks/{instruction-discovery-hm2kbhva.js → tool-output-44f1cw7y.js} +11 -11
- package/dist/chunks/{instruction-discovery-fcqfjr0s.js → tool-output-48z5eyx9.js} +20 -20
- package/dist/chunks/{instruction-discovery-dphr9ftm.js → tool-output-496as97q.js} +20 -20
- package/dist/chunks/{instruction-discovery-9kyym00p.js → tool-output-4ajrfae2.js} +35 -35
- package/dist/chunks/{instruction-discovery-safxhdh0.js → tool-output-4czfwtvw.js} +10 -10
- package/dist/chunks/{instruction-discovery-9k2sbvrc.js → tool-output-4dhr5kmg.js} +27 -27
- package/dist/chunks/{instruction-discovery-gfhhve88.js → tool-output-4drgpw32.js} +5 -5
- package/dist/chunks/{instruction-discovery-j3v3kc3q.js → tool-output-4dt747xw.js} +18 -18
- package/dist/chunks/{instruction-discovery-6qbtmb9x.js → tool-output-4e105jgy.js} +88 -88
- package/dist/chunks/{instruction-discovery-2tfmgkzg.js → tool-output-4p8fzzdy.js} +4 -4
- package/dist/chunks/{instruction-discovery-42nnd79y.js → tool-output-4pg6vk4d.js} +28 -28
- package/dist/chunks/{instruction-discovery-pajsw32r.js → tool-output-4vfg1jh9.js} +16 -16
- package/dist/chunks/{instruction-discovery-0rge4enf.js → tool-output-4zzpnmyc.js} +17 -17
- package/dist/chunks/{instruction-discovery-ax8kytpb.js → tool-output-5218j1mp.js} +3 -3
- package/dist/chunks/{instruction-discovery-xdqt2g5m.js → tool-output-54d63j77.js} +18 -18
- package/dist/chunks/{instruction-discovery-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{instruction-discovery-ycd3jqfs.js → tool-output-5ejf4r5a.js} +5 -5
- package/dist/chunks/{instruction-discovery-b3hz27q2.js → tool-output-5j26zdd4.js} +35 -35
- package/dist/chunks/{instruction-discovery-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/{instruction-discovery-f4kpt639.js → tool-output-63d1yb06.js} +11 -11
- package/dist/chunks/{instruction-discovery-669tq793.js → tool-output-669tq793.js} +1 -1
- package/dist/chunks/{instruction-discovery-ggbxvbfp.js → tool-output-6f77yy2d.js} +2 -2
- package/dist/chunks/{instruction-discovery-6h73sxmp.js → tool-output-6h73sxmp.js} +1 -1
- package/dist/chunks/tool-output-6kdq0pjd.js +4 -0
- package/dist/chunks/{instruction-discovery-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
- package/dist/chunks/{instruction-discovery-fwq3s2k2.js → tool-output-6mt29rwn.js} +24 -24
- package/dist/chunks/{instruction-discovery-spgs59mc.js → tool-output-6wk7cv4v.js} +29 -29
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-87acsesb.js → tool-output-7h5pm557.js} +28 -28
- package/dist/chunks/{instruction-discovery-drkyv896.js → tool-output-7k4p3msd.js} +29 -29
- package/dist/chunks/{instruction-discovery-6n67ebsj.js → tool-output-7q2hdn5f.js} +5 -5
- package/dist/chunks/{instruction-discovery-wqr29zjb.js → tool-output-7s2v97aj.js} +10 -10
- package/dist/chunks/{instruction-discovery-d9p0aq9s.js → tool-output-7wdyxh4v.js} +8 -8
- package/dist/chunks/{instruction-discovery-sdv0qq99.js → tool-output-7wht8r80.js} +11 -11
- package/dist/chunks/{instruction-discovery-qgt6ar0x.js → tool-output-7x0e4a3e.js} +10 -10
- package/dist/chunks/{instruction-discovery-hzm29e1k.js → tool-output-808ncq51.js} +9 -9
- package/dist/chunks/{instruction-discovery-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{instruction-discovery-gw91bphe.js → tool-output-8fy70dyx.js} +13 -13
- package/dist/chunks/{instruction-discovery-2rdpeq7m.js → tool-output-8gfzv65x.js} +58 -58
- package/dist/chunks/{instruction-discovery-dj2t23y0.js → tool-output-8p4f9s12.js} +2 -2
- package/dist/chunks/{instruction-discovery-0kk0ravz.js → tool-output-8pj9g4aw.js} +13 -13
- package/dist/chunks/{instruction-discovery-m1ssxc8j.js → tool-output-8pkffp7a.js} +1 -1
- package/dist/chunks/{instruction-discovery-5g1kh4hh.js → tool-output-8qmmky1n.js} +11 -11
- package/dist/chunks/{instruction-discovery-qsxs4axe.js → tool-output-8vmcfqt4.js} +16 -16
- package/dist/chunks/{instruction-discovery-08cpxpnw.js → tool-output-90vha74g.js} +20 -20
- package/dist/chunks/tool-output-9sh4wc5j.js +18 -0
- package/dist/chunks/{instruction-discovery-5c4hm403.js → tool-output-a1bz86dw.js} +3 -3
- package/dist/chunks/{instruction-discovery-ba684aqx.js → tool-output-a359dbf8.js} +23 -23
- package/dist/chunks/{instruction-discovery-9rsz42x0.js → tool-output-a3j4x1tw.js} +20 -20
- package/dist/chunks/{instruction-discovery-1pknbyyk.js → tool-output-aa7sjynz.js} +11 -11
- package/dist/chunks/{instruction-discovery-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{instruction-discovery-vc7d60mr.js → tool-output-b51hwsdf.js} +41 -41
- package/dist/chunks/{instruction-discovery-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{instruction-discovery-pt4q7hgj.js → tool-output-b7tg6v9h.js} +7 -7
- package/dist/chunks/{instruction-discovery-bxgy70qw.js → tool-output-b86wdy9s.js} +24 -24
- package/dist/chunks/{instruction-discovery-pa4xnpep.js → tool-output-bh0wz0k3.js} +3 -3
- package/dist/chunks/{instruction-discovery-x8hq59sm.js → tool-output-bpc8xye1.js} +10 -10
- package/dist/chunks/{instruction-discovery-d38peksj.js → tool-output-bzfzcg95.js} +19 -19
- package/dist/chunks/{instruction-discovery-zc2z59sj.js → tool-output-c9fags9s.js} +29 -29
- package/dist/chunks/{instruction-discovery-m0jqrx5p.js → tool-output-cfpkc3c9.js} +2 -2
- package/dist/chunks/{instruction-discovery-cpj0znwe.js → tool-output-cpj0znwe.js} +1 -1
- package/dist/chunks/{instruction-discovery-cwxsjhem.js → tool-output-crr7bgqk.js} +20 -20
- package/dist/chunks/{instruction-discovery-cwa6csj7.js → tool-output-cwa6csj7.js} +2 -2
- package/dist/chunks/{instruction-discovery-vcja6beq.js → tool-output-d5cct5w2.js} +4 -4
- package/dist/chunks/{instruction-discovery-7nv22mqq.js → tool-output-d96v7e0b.js} +24 -24
- package/dist/chunks/{instruction-discovery-y8dx4hw7.js → tool-output-dbchr83k.js} +7 -7
- package/dist/chunks/{instruction-discovery-t0fxg8b9.js → tool-output-dj9sq318.js} +5 -5
- package/dist/chunks/tool-output-dk18nfnt.js +252 -0
- package/dist/chunks/{instruction-discovery-mxpy5kqj.js → tool-output-dn23cswn.js} +9 -9
- package/dist/chunks/{instruction-discovery-erjwy5a4.js → tool-output-dqp45rz8.js} +16 -16
- package/dist/chunks/{instruction-discovery-drwq78ky.js → tool-output-drwq78ky.js} +1 -1
- package/dist/chunks/{instruction-discovery-g6c9v916.js → tool-output-e7bm6crp.js} +6 -6
- package/dist/chunks/{instruction-discovery-rmdyxgmk.js → tool-output-eeaf82dq.js} +8 -8
- package/dist/chunks/{instruction-discovery-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{instruction-discovery-zpzdfdvk.js → tool-output-enqehpm9.js} +42 -42
- package/dist/chunks/{instruction-discovery-gzwveqb0.js → tool-output-enshc74s.js} +11 -11
- package/dist/chunks/{instruction-discovery-y67gsgy6.js → tool-output-epaqsvmn.js} +4 -4
- package/dist/chunks/{instruction-discovery-22bcdqxp.js → tool-output-epkpsq8q.js} +6 -6
- package/dist/chunks/{instruction-discovery-dcc5kmch.js → tool-output-epxzab81.js} +22 -22
- package/dist/chunks/{instruction-discovery-erw5rpbs.js → tool-output-erw5rpbs.js} +2 -2
- package/dist/chunks/{instruction-discovery-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{instruction-discovery-5g7h90tq.js → tool-output-etykttqy.js} +17 -17
- package/dist/chunks/{instruction-discovery-bzbc6d81.js → tool-output-f6zdrpqa.js} +11 -11
- package/dist/chunks/{instruction-discovery-0th4gdda.js → tool-output-f71ps7j0.js} +9 -9
- package/dist/chunks/{instruction-discovery-hdnk95c8.js → tool-output-f828m53h.js} +2 -2
- package/dist/chunks/{instruction-discovery-6e2tn9ff.js → tool-output-fd0e6drk.js} +36 -36
- package/dist/chunks/{instruction-discovery-brmbj7e7.js → tool-output-fdc9xy8k.js} +43 -43
- package/dist/chunks/{instruction-discovery-n37c4crj.js → tool-output-fdms3n6w.js} +9 -9
- package/dist/chunks/{instruction-discovery-qg0jgkcp.js → tool-output-fhs97t90.js} +9 -9
- package/dist/chunks/{instruction-discovery-e8qyrgb1.js → tool-output-fhz5gfgy.js} +5 -5
- package/dist/chunks/{instruction-discovery-w7t3m5yz.js → tool-output-fk3g28fa.js} +5 -5
- package/dist/chunks/{instruction-discovery-a6v99qxw.js → tool-output-fng9e0je.js} +4 -4
- package/dist/chunks/{instruction-discovery-fbn8vq8y.js → tool-output-fqg3000w.js} +51 -51
- package/dist/chunks/{instruction-discovery-heravr3y.js → tool-output-ftb756d7.js} +9 -9
- package/dist/chunks/{instruction-discovery-3dw6jwe7.js → tool-output-fx7xv9ry.js} +2 -2
- package/dist/chunks/{instruction-discovery-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-zcyfwxd8.js → tool-output-fymfmzvm.js} +22 -22
- package/dist/chunks/{instruction-discovery-y81sbrd6.js → tool-output-g405kcwd.js} +9 -9
- package/dist/chunks/{instruction-discovery-61hj3hc6.js → tool-output-gbj63fq2.js} +10 -10
- package/dist/chunks/{instruction-discovery-gp6eacnx.js → tool-output-gbwbz775.js} +2 -2
- package/dist/chunks/{instruction-discovery-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{instruction-discovery-xg9t41r3.js → tool-output-ggwd74jc.js} +2 -2
- package/dist/chunks/{instruction-discovery-b31avp8j.js → tool-output-gmgzcr5s.js} +25 -25
- package/dist/chunks/{instruction-discovery-6t7adkhd.js → tool-output-gr0cg7q6.js} +8 -8
- package/dist/chunks/{instruction-discovery-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
- package/dist/chunks/{instruction-discovery-km9g08hw.js → tool-output-gws4b7r9.js} +48 -48
- package/dist/chunks/{instruction-discovery-4586v85s.js → tool-output-gx9e308d.js} +3 -3
- package/dist/chunks/{instruction-discovery-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{instruction-discovery-7zrc25mc.js → tool-output-hcxtz2cn.js} +6 -6
- package/dist/chunks/{instruction-discovery-xs6j62r2.js → tool-output-he6djx1j.js} +25 -25
- package/dist/chunks/{instruction-discovery-efpq0zzc.js → tool-output-hf2j770k.js} +11 -11
- package/dist/chunks/{instruction-discovery-04a8qnpg.js → tool-output-hh2gqd14.js} +13 -13
- package/dist/chunks/{instruction-discovery-0f9afca0.js → tool-output-hkfg6fzm.js} +5 -5
- package/dist/chunks/{instruction-discovery-xb4b135n.js → tool-output-hmc3077v.js} +17 -17
- package/dist/chunks/{instruction-discovery-hprg1gtw.js → tool-output-hp296tng.js} +13 -13
- package/dist/chunks/{instruction-discovery-8q9myf25.js → tool-output-hq8zt1th.js} +6 -6
- package/dist/chunks/{instruction-discovery-ypw6dm2q.js → tool-output-j313d1gp.js} +33 -33
- package/dist/chunks/{instruction-discovery-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{instruction-discovery-94rmqvaz.js → tool-output-j5fs6qp9.js} +8 -8
- package/dist/chunks/{instruction-discovery-ra8aazcz.js → tool-output-j6ynvstg.js} +15 -15
- package/dist/chunks/{instruction-discovery-r4bbfj0a.js → tool-output-j78cd4c2.js} +11 -11
- package/dist/chunks/{instruction-discovery-rcaf9vmp.js → tool-output-jd5ad6jn.js} +20 -20
- package/dist/chunks/{instruction-discovery-mmf7z9cm.js → tool-output-jdgt8b9h.js} +18 -18
- package/dist/chunks/{instruction-discovery-ecep5xn0.js → tool-output-jhqs8np0.js} +17 -17
- package/dist/chunks/{instruction-discovery-c3h8wfdp.js → tool-output-jk0t2mrd.js} +20 -20
- package/dist/chunks/{instruction-discovery-pwrndqkq.js → tool-output-jst88djk.js} +18 -18
- package/dist/chunks/{instruction-discovery-d9wx0zpv.js → tool-output-jz5sxy2v.js} +7 -7
- package/dist/chunks/{instruction-discovery-h7dcmjj9.js → tool-output-k0qwsmnp.js} +4 -4
- package/dist/chunks/{instruction-discovery-k3c624dm.js → tool-output-k3c624dm.js} +3 -3
- package/dist/chunks/{instruction-discovery-y03jrrsm.js → tool-output-k6mfdkmd.js} +23 -23
- package/dist/chunks/{instruction-discovery-j6afddsv.js → tool-output-khjxa8a8.js} +8 -8
- package/dist/chunks/{instruction-discovery-fkjmw100.js → tool-output-knb7evpn.js} +6 -6
- package/dist/chunks/{instruction-discovery-d3dfkvzz.js → tool-output-kq8anxe4.js} +8 -8
- package/dist/chunks/{instruction-discovery-1j33dhda.js → tool-output-krqv6p8z.js} +22 -22
- package/dist/chunks/{instruction-discovery-vadan2xk.js → tool-output-ktk6m7yv.js} +12 -12
- package/dist/chunks/{instruction-discovery-kycnkrz5.js → tool-output-kzr6x06e.js} +6 -6
- package/dist/chunks/{instruction-discovery-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
- package/dist/chunks/{instruction-discovery-ghdygspd.js → tool-output-m73r9x6c.js} +24 -24
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-nrdmrqsx.js → tool-output-magykp64.js} +4 -4
- package/dist/chunks/{instruction-discovery-t7tbz147.js → tool-output-meryqakt.js} +6 -6
- package/dist/chunks/{instruction-discovery-x2ssjezq.js → tool-output-mhm5nxpj.js} +25 -25
- package/dist/chunks/{instruction-discovery-z6fxfjsh.js → tool-output-mkg7sf6a.js} +4 -4
- package/dist/chunks/{instruction-discovery-3jqkyynh.js → tool-output-mncc1266.js} +44 -44
- package/dist/chunks/{instruction-discovery-5308q9ah.js → tool-output-mtwjx8d5.js} +3 -3
- package/dist/chunks/{instruction-discovery-hpfswxd7.js → tool-output-n049gm8z.js} +8 -8
- package/dist/chunks/{instruction-discovery-4w5f3qm5.js → tool-output-n0tq777j.js} +8 -8
- package/dist/chunks/{instruction-discovery-6yg4wga3.js → tool-output-n1ktpaa9.js} +12 -12
- package/dist/chunks/{instruction-discovery-fkzrgswq.js → tool-output-n7vp38gt.js} +4 -4
- package/dist/chunks/{instruction-discovery-1z9x3rn3.js → tool-output-ngk7ft1f.js} +21 -21
- package/dist/chunks/{instruction-discovery-tw7yweqw.js → tool-output-nmpm9ry4.js} +15 -15
- package/dist/chunks/{instruction-discovery-vxb87yez.js → tool-output-ny6ggxa6.js} +30 -30
- package/dist/chunks/{instruction-discovery-adqvsp1z.js → tool-output-nyvg7fdv.js} +8 -8
- package/dist/chunks/{instruction-discovery-zqezt8f0.js → tool-output-p2d6c6bb.js} +15 -15
- package/dist/chunks/{instruction-discovery-vcepthm9.js → tool-output-p2gbehyw.js} +3 -3
- package/dist/chunks/{instruction-discovery-cmwkp3r5.js → tool-output-p37cw4rj.js} +8 -8
- package/dist/chunks/{instruction-discovery-a68v6zx7.js → tool-output-pb1eahw5.js} +8 -8
- package/dist/chunks/{instruction-discovery-m8m4z3yp.js → tool-output-pd65cknd.js} +26 -26
- package/dist/chunks/{instruction-discovery-n3g2ny2j.js → tool-output-pd85y656.js} +18 -18
- package/dist/chunks/{instruction-discovery-wj76ss2k.js → tool-output-ph842b28.js} +4 -4
- package/dist/chunks/{instruction-discovery-hkjf8z9r.js → tool-output-phpw85vv.js} +6 -6
- package/dist/chunks/{instruction-discovery-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instruction-discovery-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-q2b1ymqp.js → tool-output-pmr4s4kc.js} +4 -4
- package/dist/chunks/{instruction-discovery-q18rqdhp.js → tool-output-pnhjcye8.js} +18 -18
- package/dist/chunks/{instruction-discovery-526bqhsm.js → tool-output-pz615jzp.js} +35 -35
- package/dist/chunks/{instruction-discovery-j92t2mfa.js → tool-output-pz8xdsk0.js} +92 -92
- package/dist/chunks/{instruction-discovery-9wzvj5v9.js → tool-output-q2xhn23d.js} +7 -7
- package/dist/chunks/{instruction-discovery-81swgkk7.js → tool-output-q3q4fawj.js} +9 -9
- package/dist/chunks/{instruction-discovery-4e1qnwf8.js → tool-output-q8epdb8w.js} +18 -18
- package/dist/chunks/{instruction-discovery-exzk6jzs.js → tool-output-q9cdy8tv.js} +9 -9
- package/dist/chunks/{instruction-discovery-n2r5jww1.js → tool-output-qamdyatg.js} +13 -13
- package/dist/chunks/{instruction-discovery-qq4e6q1v.js → tool-output-qec9hvjm.js} +148 -148
- package/dist/chunks/{instruction-discovery-evnqb7wv.js → tool-output-qfqsp29t.js} +19 -19
- package/dist/chunks/{instruction-discovery-qgn6gcr1.js → tool-output-qgn6gcr1.js} +1 -1
- package/dist/chunks/{instruction-discovery-0r7yqxbf.js → tool-output-qjnxxf51.js} +5 -5
- package/dist/chunks/{instruction-discovery-3sbvtyy1.js → tool-output-qkc1cvv7.js} +27 -27
- package/dist/chunks/{instruction-discovery-bw0vgseb.js → tool-output-qp3v07n2.js} +5 -5
- package/dist/chunks/{instruction-discovery-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{instruction-discovery-5ng1186e.js → tool-output-r263x78e.js} +9 -9
- package/dist/chunks/{instruction-discovery-smf1jdzn.js → tool-output-r52tak3e.js} +1 -1
- package/dist/chunks/{instruction-discovery-hz0qet22.js → tool-output-r6qre0sb.js} +32 -32
- package/dist/chunks/{instruction-discovery-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{instruction-discovery-az2wwzwz.js → tool-output-rvbptfp6.js} +2 -2
- package/dist/chunks/{instruction-discovery-dfvnyc1p.js → tool-output-s5kb3k8e.js} +12 -12
- package/dist/chunks/{instruction-discovery-83p2mfqs.js → tool-output-sa1fyfn4.js} +13 -13
- package/dist/chunks/{instruction-discovery-5gd7c1r2.js → tool-output-sg8a7ymw.js} +4 -4
- package/dist/chunks/{instruction-discovery-myt6z8bz.js → tool-output-t3bygzqy.js} +10 -10
- package/dist/chunks/{instruction-discovery-99p8z2n6.js → tool-output-t3fdem4h.js} +18 -18
- package/dist/chunks/{instruction-discovery-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{instruction-discovery-p28j5sbe.js → tool-output-tbz0fdvh.js} +5 -5
- package/dist/chunks/{instruction-discovery-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{instruction-discovery-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{instruction-discovery-52an44af.js → tool-output-tjjwpfh5.js} +1 -1
- package/dist/chunks/{instruction-discovery-je6n49gk.js → tool-output-tk3z30t0.js} +29 -29
- package/dist/chunks/{instruction-discovery-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
- package/dist/chunks/{instruction-discovery-fte74qth.js → tool-output-v16qm9q2.js} +15 -15
- package/dist/chunks/{instruction-discovery-xybdjdjw.js → tool-output-vbsn5z78.js} +23 -23
- package/dist/chunks/{instruction-discovery-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{instruction-discovery-0g324dnv.js → tool-output-vggs0s0j.js} +16 -16
- package/dist/chunks/{instruction-discovery-qqes52tx.js → tool-output-vvzwb0bn.js} +26 -26
- package/dist/chunks/{instruction-discovery-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-d4472sqx.js → tool-output-wp04yf6p.js} +48 -48
- package/dist/chunks/{instruction-discovery-sw062jys.js → tool-output-wpfcz72r.js} +1 -1
- package/dist/chunks/{instruction-discovery-r7wvrq5n.js → tool-output-wtrs3vw2.js} +28 -28
- package/dist/chunks/{instruction-discovery-bks7jzz2.js → tool-output-ww5tpm6f.js} +13 -13
- package/dist/chunks/{instruction-discovery-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
- package/dist/chunks/tool-output-x57dpdjd.js +26 -0
- package/dist/chunks/{instruction-discovery-vjeczn16.js → tool-output-x7bv5qy9.js} +16 -16
- package/dist/chunks/{instruction-discovery-ar4sv4wr.js → tool-output-xdj8fn82.js} +9 -9
- package/dist/chunks/{instruction-discovery-c02f66qn.js → tool-output-xgm2h5c0.js} +14 -14
- package/dist/chunks/{instruction-discovery-0vz77pwa.js → tool-output-xgq1v614.js} +6 -6
- package/dist/chunks/{instruction-discovery-44m3xyse.js → tool-output-xkg5p1bf.js} +11 -11
- package/dist/chunks/{instruction-discovery-9ger9kq1.js → tool-output-xxkgr1pf.js} +40 -40
- package/dist/chunks/{instruction-discovery-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instruction-discovery-418e4qyw.js → tool-output-y3w47xgk.js} +25 -25
- package/dist/chunks/{instruction-discovery-dpkg50ah.js → tool-output-y71avatq.js} +4 -4
- package/dist/chunks/{instruction-discovery-99ckvcg4.js → tool-output-yb7ywnjc.js} +18 -18
- package/dist/chunks/{instruction-discovery-z4fmegtg.js → tool-output-ym688k4s.js} +44 -44
- package/dist/chunks/{instruction-discovery-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
- package/dist/chunks/{instruction-discovery-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
- package/dist/chunks/{instruction-discovery-h6a8fqwt.js → tool-output-yvqb1n05.js} +6 -6
- package/dist/chunks/{instruction-discovery-40w4c332.js → tool-output-yz94qm7h.js} +40 -40
- package/dist/chunks/{instruction-discovery-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instruction-discovery-j7wq2tw5.js → tool-output-z5ntc05q.js} +3 -3
- package/dist/chunks/{instruction-discovery-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
- package/dist/chunks/{instruction-discovery-4x92kyrg.js → tool-output-z974etmn.js} +24 -24
- package/dist/chunks/{instruction-discovery-ckf8nxjz.js → tool-output-zav06jzw.js} +4 -4
- package/dist/chunks/{instruction-discovery-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
- package/dist/chunks/{instruction-discovery-wa06t0jy.js → tool-output-zpztgtkd.js} +9 -9
- package/dist/chunks/{instruction-discovery-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instruction-discovery-x1xcpfha.js → tool-output-zskgmyr0.js} +14 -14
- package/dist/chunks/{instruction-discovery-zxq2ej10.js → tool-output-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 +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +90 -90
- 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 +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +94 -94
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +92 -92
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +221 -221
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- 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 +91 -91
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-6r3amyyd.js +0 -4
- package/dist/chunks/instruction-discovery-9zdhvgqs.js +0 -18
- package/dist/chunks/instruction-discovery-ntrtanyh.js +0 -26
- package/dist/chunks/instruction-discovery-vx946gkh.js +0 -252
- package/dist/chunks/instruction-discovery-w0cvk0vm.js +0 -492
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-922hggd3.js → tool-output-922hggd3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
|
-
node85
|
|
4
|
-
} from "./instruction-discovery-n2r5jww1.js";
|
|
5
|
-
import {
|
|
6
|
-
Service80,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./tool-output-qamdyatg.js";
|
|
5
|
+
import {
|
|
6
|
+
Service69,
|
|
7
|
+
node72
|
|
8
|
+
} from "./tool-output-hh2gqd14.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node23
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service20 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service81;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service69;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service20.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node23 = makeLocationNode({
|
|
188
|
+
service: Service20,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node84, node72]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node23, exports_websearch3, Event5 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./tool-output-hmc3077v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service25
|
|
6
|
+
} from "./tool-output-pz8xdsk0.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service25;
|
|
24
|
+
const jobs = yield* Service68;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make6 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-496as97q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service58,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node61
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -138,9 +138,9 @@ function initError(providerID) {
|
|
|
138
138
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
class
|
|
141
|
+
class Service58 extends Context.Service()("@opencode/AISDK") {
|
|
142
142
|
}
|
|
143
|
-
var locationLayer2 = Layer.effect(
|
|
143
|
+
var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
144
144
|
let sdkHooks = [];
|
|
145
145
|
let languageHooks = [];
|
|
146
146
|
const languages = new Map;
|
|
@@ -178,7 +178,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
178
178
|
}
|
|
179
179
|
return event;
|
|
180
180
|
});
|
|
181
|
-
const service =
|
|
181
|
+
const service = Service58.of({
|
|
182
182
|
hook: {
|
|
183
183
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
184
184
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -819,6 +819,6 @@ function providerErrorMessage(error) {
|
|
|
819
819
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
820
820
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
821
821
|
}
|
|
822
|
-
var
|
|
822
|
+
var node61 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
|
|
823
823
|
|
|
824
|
-
export { InitError2,
|
|
824
|
+
export { InitError2, Service58, locationLayer2, node61, exports_aisdk };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./tool-output-8vmcfqt4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service54
|
|
11
|
+
} from "./tool-output-6mt29rwn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./tool-output-pd85y656.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service21,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-hp296tng.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./tool-output-fqg3000w.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service18,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-yb7ywnjc.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin38,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin38 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service54;
|
|
112
|
+
const access = yield* Service18;
|
|
113
|
+
const fileMutation = yield* Service21;
|
|
114
|
+
const formatter = yield* Service22;
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service72;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin25 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output2, toModelContent2, Plugin38, exports_patch };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./tool-output-xxkgr1pf.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service64
|
|
16
|
-
} from "./instruction-discovery-xb4b135n.js";
|
|
12
|
+
Service54
|
|
13
|
+
} from "./tool-output-6mt29rwn.js";
|
|
17
14
|
import {
|
|
18
15
|
Service68
|
|
19
|
-
} from "./
|
|
16
|
+
} from "./tool-output-hmc3077v.js";
|
|
17
|
+
import {
|
|
18
|
+
Service72
|
|
19
|
+
} from "./tool-output-fqg3000w.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-yb7ywnjc.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-output-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service57,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-output-j6ynvstg.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service39
|
|
37
|
+
} from "./tool-output-gws4b7r9.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./tool-output-pz8xdsk0.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-output-n7vp38gt.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin37,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input2 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin37 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service25;
|
|
122
|
+
const jobs = yield* Service68;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service54;
|
|
125
|
+
const access = yield* Service18;
|
|
126
|
+
const shell = yield* Service39;
|
|
127
|
+
const shellSelect = yield* Service57;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service72;
|
|
130
|
+
const config = yield* Service41;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin22 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name2,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin22 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name2,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input2,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin22 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name2,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name2];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin37, exports_shell2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service2,
|
|
13
|
+
node: () => node3
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service2 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service2.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service2, node3, exports_update };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node10, exports_discovery };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin14,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin14 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin14, exports_tool_input_repair };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-8pkffp7a.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-meryqakt.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|