@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-kq8anxe4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-qamdyatg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event15
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-x7bv5qy9.js";
|
|
11
11
|
import {
|
|
12
12
|
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-q8epdb8w.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
19
|
ID8
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-496as97q.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-epkpsq8q.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
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/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./tool-output-qamdyatg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node81
|
|
8
|
+
} from "./tool-output-8vmcfqt4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./tool-output-6mt29rwn.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service57,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node60
|
|
20
|
+
} from "./tool-output-j6ynvstg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service76,
|
|
23
|
+
node79
|
|
24
|
+
} from "./tool-output-n0tq777j.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service40,
|
|
27
|
+
node43
|
|
28
|
+
} from "./tool-output-eeaf82dq.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-z5ntc05q.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service41,
|
|
35
|
+
node44
|
|
36
|
+
} from "./tool-output-xxkgr1pf.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./tool-output-s5kb3k8e.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-output-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: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service39,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node42
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service39 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service39, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service81;
|
|
91
|
-
const location = yield*
|
|
91
|
+
const location = yield* Service78;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service57;
|
|
94
|
+
const environment = yield* Service54;
|
|
95
|
+
const hooks = yield* Service76;
|
|
96
|
+
const environments = yield* Service40;
|
|
97
|
+
const config = yield* Service41;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError6({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service39.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node42 = makeLocationNode({
|
|
320
|
+
service: Service39,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node84,
|
|
324
|
+
node81,
|
|
325
325
|
Global.node,
|
|
326
|
+
node60,
|
|
327
|
+
node57,
|
|
326
328
|
node79,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
node40,
|
|
330
|
-
node41,
|
|
329
|
+
node43,
|
|
330
|
+
node44,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service39, cleanup2, node42, exports_shell4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./tool-output-qkc1cvv7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-kq8anxe4.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service61
|
|
7
|
+
} from "./tool-output-x7bv5qy9.js";
|
|
8
8
|
import {
|
|
9
9
|
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-q8epdb8w.js";
|
|
12
12
|
import {
|
|
13
13
|
ID8,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-output-496as97q.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service61;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./tool-output-fqg3000w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service56
|
|
10
|
+
} from "./tool-output-0b2dkfpa.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input12,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin48,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description5,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name12,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name12 = "skill";
|
|
30
|
+
var Input12 = Schema.Struct({
|
|
31
|
+
id: ID7.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin48 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service56;
|
|
51
|
+
const permission = yield* Service72;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name12,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description5,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input12,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name12,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin29 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name12, Input12, Output8, description5, toModelOutput2, Plugin48, exports_skill3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service41
|
|
4
|
+
} from "./tool-output-xxkgr1pf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./tool-output-j6ynvstg.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin25
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin25 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service41;
|
|
27
|
+
const shell = yield* Service57;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin6 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin25, exports_shell };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-output-7wht8r80.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service69,
|
|
17
|
+
node: () => node72
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service69 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service83).db;
|
|
26
|
+
return Service69.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node72 = makeGlobalNode({ service: Service69, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service69, node72, exports_kv };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
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/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node72
|
|
7
|
+
} from "./tool-output-hh2gqd14.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-z5ntc05q.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service68,
|
|
23
|
+
make: () => make19,
|
|
24
|
+
node: () => node71
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service68 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make19 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service69;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service68.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service68, make19);
|
|
362
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node72] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service68, make19, node71, exports_job };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
node57
|
|
7
|
+
} from "./tool-output-6mt29rwn.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node24,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service21 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service54;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service21.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node24 = makeLocationNode({ service: Service21, layer, deps: [node57] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service21, readText2, syncTextBom2, node24, exports_file_mutation };
|