@opencode/core 0.0.0-dev-20682 → 0.0.0-dev-20684
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-resolver-a7bcxdzj.js → location-lifecycle-02khppbe.js} +9 -9
- package/dist/chunks/{model-resolver-10c97xc6.js → location-lifecycle-05gsqr97.js} +9 -9
- package/dist/chunks/{model-resolver-zf19209g.js → location-lifecycle-063h6gxx.js} +5 -5
- package/dist/chunks/{model-resolver-rp6bd9wq.js → location-lifecycle-06r90ppk.js} +11 -11
- package/dist/chunks/{model-resolver-gd0tnyjc.js → location-lifecycle-075nkgpd.js} +1 -1
- package/dist/chunks/{model-resolver-qgn6gcr1.js → location-lifecycle-0jwsre1p.js} +5 -5
- package/dist/chunks/{model-resolver-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0vbcp93d.js → location-lifecycle-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-wbtjy708.js → location-lifecycle-0vmmsz07.js} +44 -44
- package/dist/chunks/{model-resolver-r01t9b5y.js → location-lifecycle-0w1gqsy8.js} +6 -6
- package/dist/chunks/{model-resolver-8kddseeh.js → location-lifecycle-0wpwzxxn.js} +10 -10
- package/dist/chunks/{model-resolver-38g0pyy9.js → location-lifecycle-0yac1820.js} +4 -4
- package/dist/chunks/{model-resolver-11hct9f4.js → location-lifecycle-0zkygwfx.js} +36 -36
- package/dist/chunks/{model-resolver-8htghz5d.js → location-lifecycle-10cxwvde.js} +14 -14
- package/dist/chunks/{model-resolver-1acjjqhc.js → location-lifecycle-1acjjqhc.js} +1 -1
- package/dist/chunks/{model-resolver-g0445xdp.js → location-lifecycle-1ajx6rf5.js} +8 -8
- package/dist/chunks/{model-resolver-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-84h8c373.js → location-lifecycle-1dvck2a7.js} +2 -2
- package/dist/chunks/{model-resolver-69fj14ep.js → location-lifecycle-1jnd0kpw.js} +24 -24
- package/dist/chunks/{model-resolver-tk14y25j.js → location-lifecycle-1pxz8ven.js} +5 -5
- package/dist/chunks/{model-resolver-dxqyj49f.js → location-lifecycle-1tkxjym4.js} +3 -3
- package/dist/chunks/{model-resolver-gpnd5mkj.js → location-lifecycle-1w4qtqrn.js} +9 -9
- package/dist/chunks/{model-resolver-qhf50je4.js → location-lifecycle-20h11dtt.js} +24 -24
- package/dist/chunks/{model-resolver-wzmhb02r.js → location-lifecycle-226eh3y5.js} +22 -22
- package/dist/chunks/{model-resolver-mw9atry4.js → location-lifecycle-26a57194.js} +12 -12
- package/dist/chunks/{model-resolver-h4a7s26t.js → location-lifecycle-26ye3vwj.js} +5 -5
- package/dist/chunks/{model-resolver-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-ep06henm.js → location-lifecycle-2ahzvgw1.js} +18 -18
- package/dist/chunks/{model-resolver-jrqb24zm.js → location-lifecycle-2bfa9kaw.js} +11 -11
- package/dist/chunks/{model-resolver-t32zyhfe.js → location-lifecycle-2hvzr5ar.js} +7 -7
- package/dist/chunks/{model-resolver-2txn9rvg.js → location-lifecycle-2rvp7s7b.js} +3 -3
- package/dist/chunks/{model-resolver-t29swve2.js → location-lifecycle-2s7ybbgh.js} +3 -3
- package/dist/chunks/{model-resolver-0tpcnmcw.js → location-lifecycle-2vbg8t8g.js} +6 -6
- package/dist/chunks/{model-resolver-ssrgjt3e.js → location-lifecycle-2xmwdb14.js} +16 -16
- package/dist/chunks/{model-resolver-kax3gvj5.js → location-lifecycle-2zk65mq5.js} +19 -19
- package/dist/chunks/{model-resolver-hh65bbrn.js → location-lifecycle-32psh0q2.js} +21 -21
- package/dist/chunks/{model-resolver-dm21k72n.js → location-lifecycle-337zht14.js} +9 -9
- package/dist/chunks/{model-resolver-d8tgnve2.js → location-lifecycle-35ec284s.js} +13 -13
- package/dist/chunks/{model-resolver-hnyhndd0.js → location-lifecycle-3a2m6res.js} +5 -5
- package/dist/chunks/{model-resolver-66hc15ng.js → location-lifecycle-3b8j6ss7.js} +33 -33
- package/dist/chunks/{model-resolver-8bgdgvzg.js → location-lifecycle-3egv5ypg.js} +19 -19
- package/dist/chunks/{model-resolver-wgrcm666.js → location-lifecycle-3ex7axyr.js} +27 -27
- package/dist/chunks/{model-resolver-tg3ranp2.js → location-lifecycle-3f1961x7.js} +23 -23
- package/dist/chunks/{model-resolver-y0qr5jf7.js → location-lifecycle-3f8vzngw.js} +5 -5
- package/dist/chunks/{model-resolver-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-ypnjcb15.js → location-lifecycle-3p8ay4bf.js} +37 -37
- package/dist/chunks/{model-resolver-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-ds811dtb.js → location-lifecycle-41pxaskz.js} +5 -5
- package/dist/chunks/{model-resolver-bth1fran.js → location-lifecycle-48hq3w28.js} +11 -11
- package/dist/chunks/{model-resolver-bmd39q5q.js → location-lifecycle-4c5kx5jf.js} +15 -15
- package/dist/chunks/{model-resolver-fd7cqx9x.js → location-lifecycle-4ckeh75z.js} +13 -13
- package/dist/chunks/{model-resolver-yyk24bey.js → location-lifecycle-4hkjffgj.js} +17 -17
- package/dist/chunks/{model-resolver-z0r25cb3.js → location-lifecycle-4qjpxqqa.js} +14 -14
- package/dist/chunks/{model-resolver-ngghfn62.js → location-lifecycle-4sa8jbrs.js} +5 -5
- package/dist/chunks/{model-resolver-2ccvkpx1.js → location-lifecycle-4ts7tf6z.js} +2 -2
- package/dist/chunks/{model-resolver-6m42r3np.js → location-lifecycle-50mzsvk4.js} +21 -21
- package/dist/chunks/{model-resolver-31xw4se4.js → location-lifecycle-51g1atb3.js} +1 -1
- package/dist/chunks/{model-resolver-dwyev0pn.js → location-lifecycle-531cyra5.js} +33 -33
- package/dist/chunks/{model-resolver-r94pvvab.js → location-lifecycle-54ma36ye.js} +4 -4
- package/dist/chunks/location-lifecycle-55bz3zr2.js +253 -0
- package/dist/chunks/{model-resolver-p5qcrc4c.js → location-lifecycle-5bcb55yf.js} +6 -6
- package/dist/chunks/{model-resolver-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/location-lifecycle-5fxk43wy.js +507 -0
- package/dist/chunks/{model-resolver-8y31xnqm.js → location-lifecycle-5hx7d1d6.js} +5 -5
- package/dist/chunks/{model-resolver-g3g4kd0v.js → location-lifecycle-5jvwydpq.js} +17 -17
- package/dist/chunks/{model-resolver-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-f00eh3k7.js → location-lifecycle-5ngaw42y.js} +14 -14
- package/dist/chunks/{model-resolver-vepq4dqg.js → location-lifecycle-5pjp1k1g.js} +60 -60
- package/dist/chunks/{model-resolver-e3qxr5gk.js → location-lifecycle-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-vsn506cm.js → location-lifecycle-5qnej2js.js} +18 -18
- package/dist/chunks/{model-resolver-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-g7rd8z26.js → location-lifecycle-60jf5vcr.js} +4 -4
- package/dist/chunks/{model-resolver-8nn1yj6z.js → location-lifecycle-6b1rhtd5.js} +11 -11
- package/dist/chunks/{model-resolver-km7an3ep.js → location-lifecycle-6bvm89f4.js} +24 -24
- package/dist/chunks/{model-resolver-5kp4xrh9.js → location-lifecycle-6d8pmp5n.js} +9 -9
- package/dist/chunks/{model-resolver-3rd28rcz.js → location-lifecycle-6kgskxtw.js} +11 -11
- package/dist/chunks/{model-resolver-btak5zqv.js → location-lifecycle-6svbk6pm.js} +10 -10
- package/dist/chunks/{model-resolver-6xb47vfp.js → location-lifecycle-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-33dajdt0.js → location-lifecycle-6xcdvqxh.js} +98 -98
- package/dist/chunks/{model-resolver-4dfbsgcw.js → location-lifecycle-6y9gnpfg.js} +19 -19
- package/dist/chunks/{model-resolver-f75zav2x.js → location-lifecycle-71az546q.js} +2 -2
- package/dist/chunks/{model-resolver-83009cjb.js → location-lifecycle-78cd284a.js} +35 -35
- package/dist/chunks/{model-resolver-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-gz16832s.js → location-lifecycle-7hdckppd.js} +24 -24
- package/dist/chunks/{model-resolver-tttwfjc6.js → location-lifecycle-86a9aqm7.js} +5 -5
- package/dist/chunks/{model-resolver-2becn8wt.js → location-lifecycle-87af0jnx.js} +7 -7
- package/dist/chunks/{model-resolver-tcezcvh9.js → location-lifecycle-89znhe33.js} +4 -4
- package/dist/chunks/{model-resolver-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-9g5xkymg.js → location-lifecycle-8dqzgcf3.js} +2 -2
- package/dist/chunks/{model-resolver-yfa68f7n.js → location-lifecycle-8f67g1dm.js} +43 -43
- package/dist/chunks/{model-resolver-x38qdzk1.js → location-lifecycle-8g3g94ah.js} +48 -48
- package/dist/chunks/{model-resolver-rwegcfpf.js → location-lifecycle-8jkabng0.js} +16 -16
- package/dist/chunks/{model-resolver-wdr7g53b.js → location-lifecycle-8jsp840a.js} +30 -30
- package/dist/chunks/{model-resolver-m6f3t844.js → location-lifecycle-8paq7gnc.js} +8 -8
- package/dist/chunks/{model-resolver-kb9j3d72.js → location-lifecycle-9e5bzkjp.js} +3 -3
- package/dist/chunks/{model-resolver-4twwj3gr.js → location-lifecycle-9ng1f03y.js} +16 -16
- package/dist/chunks/{model-resolver-yp8tn9p0.js → location-lifecycle-9r2jpf9t.js} +20 -20
- package/dist/chunks/{model-resolver-vbwbd6d7.js → location-lifecycle-9sgp6b5z.js} +9 -9
- package/dist/chunks/{model-resolver-9n8a201b.js → location-lifecycle-9vbq82tv.js} +78 -78
- package/dist/chunks/{model-resolver-e8sy2har.js → location-lifecycle-9xdh3x8b.js} +35 -35
- package/dist/chunks/{model-resolver-ge7bq23y.js → location-lifecycle-9xssfh81.js} +32 -32
- package/dist/chunks/{model-resolver-6qcr098f.js → location-lifecycle-9y5b0gtx.js} +5 -5
- package/dist/chunks/{model-resolver-dmghp31x.js → location-lifecycle-9yb256cm.js} +27 -27
- package/dist/chunks/location-lifecycle-9zdhvgqs.js +18 -0
- package/dist/chunks/{model-resolver-j028xdjb.js → location-lifecycle-a1gpj94z.js} +3 -3
- package/dist/chunks/{model-resolver-wj76ss2k.js → location-lifecycle-a89e0tac.js} +4 -4
- package/dist/chunks/{model-resolver-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-h14zrqyq.js → location-lifecycle-apzzd3ax.js} +23 -23
- package/dist/chunks/{model-resolver-jjwtv0ah.js → location-lifecycle-aw1j1f4r.js} +11 -11
- package/dist/chunks/{model-resolver-vbdkyqz4.js → location-lifecycle-b0dt9z8w.js} +4 -4
- package/dist/chunks/{model-resolver-8sze2n9a.js → location-lifecycle-b4twkq7r.js} +2 -2
- package/dist/chunks/{model-resolver-n8vdnqrc.js → location-lifecycle-b674v2dg.js} +5 -5
- package/dist/chunks/{model-resolver-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-dafg2r43.js → location-lifecycle-b8agvgd6.js} +38 -38
- package/dist/chunks/{model-resolver-7s2tn799.js → location-lifecycle-bh0zzf2s.js} +8 -8
- package/dist/chunks/{model-resolver-e5s5dhnn.js → location-lifecycle-bm7qbsac.js} +11 -11
- package/dist/chunks/{model-resolver-63db42yp.js → location-lifecycle-brk5xemp.js} +2 -2
- package/dist/chunks/{model-resolver-fd65jbzw.js → location-lifecycle-bspqpb0c.js} +11 -11
- package/dist/chunks/{model-resolver-pbwe4c5d.js → location-lifecycle-bvydwcnj.js} +91 -91
- package/dist/chunks/{model-resolver-19y7fb49.js → location-lifecycle-bw3ab5h2.js} +15 -15
- package/dist/chunks/{model-resolver-v3n49zdf.js → location-lifecycle-by37hsaf.js} +17 -17
- package/dist/chunks/{model-resolver-4z58m4b4.js → location-lifecycle-c35597j6.js} +4 -4
- package/dist/chunks/{model-resolver-grwyepjm.js → location-lifecycle-c9n2nen5.js} +35 -35
- package/dist/chunks/{model-resolver-110b8ek2.js → location-lifecycle-cbcehkva.js} +32 -32
- package/dist/chunks/{model-resolver-mtf9y83c.js → location-lifecycle-ccaf0804.js} +11 -11
- package/dist/chunks/{model-resolver-909p1r3q.js → location-lifecycle-d1mtykxg.js} +6 -6
- package/dist/chunks/{model-resolver-fm2qvscf.js → location-lifecycle-d216944b.js} +7 -7
- package/dist/chunks/{model-resolver-cxsfdq8a.js → location-lifecycle-d94vkxnx.js} +26 -26
- package/dist/chunks/{model-resolver-afjydgk3.js → location-lifecycle-d9sgy5v4.js} +4 -4
- package/dist/chunks/{model-resolver-kne8f3cn.js → location-lifecycle-ddt2bs9e.js} +4 -4
- package/dist/chunks/{model-resolver-ss358qx3.js → location-lifecycle-dgma0v0g.js} +3 -3
- package/dist/chunks/{model-resolver-azd5zvnq.js → location-lifecycle-djdtsz5x.js} +20 -20
- package/dist/chunks/{model-resolver-6c6jf3me.js → location-lifecycle-dkbtsjnq.js} +24 -24
- package/dist/chunks/{model-resolver-xkntkrq7.js → location-lifecycle-dmqcgk4z.js} +5 -5
- package/dist/chunks/{model-resolver-11nrpngx.js → location-lifecycle-dnezdd38.js} +11 -11
- package/dist/chunks/{model-resolver-08d6azjt.js → location-lifecycle-e6cvegzg.js} +9 -9
- package/dist/chunks/{model-resolver-tptdvtpk.js → location-lifecycle-edm9s4jn.js} +20 -20
- package/dist/chunks/{model-resolver-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-sgksxw7g.js → location-lifecycle-ej6h7vq7.js} +3 -3
- package/dist/chunks/{model-resolver-14p1364x.js → location-lifecycle-et3fks45.js} +32 -32
- package/dist/chunks/{model-resolver-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-c9kv66wf.js → location-lifecycle-etyaes4m.js} +25 -25
- package/dist/chunks/{model-resolver-211z80cq.js → location-lifecycle-ex7zhkfb.js} +7 -7
- package/dist/chunks/{model-resolver-e53gjx43.js → location-lifecycle-ezqzpjms.js} +48 -48
- package/dist/chunks/{model-resolver-av7v7zb0.js → location-lifecycle-eztpkhjq.js} +23 -23
- package/dist/chunks/{model-resolver-0bg0bx69.js → location-lifecycle-fpecnkgp.js} +7 -7
- package/dist/chunks/{model-resolver-z4ztj7g0.js → location-lifecycle-ftjf86m5.js} +8 -8
- package/dist/chunks/{model-resolver-tjscfx4m.js → location-lifecycle-fz63517n.js} +30 -30
- package/dist/chunks/{model-resolver-xfkkasph.js → location-lifecycle-g5w8qwbj.js} +4 -4
- package/dist/chunks/{model-resolver-cwa6csj7.js → location-lifecycle-g6q9qykm.js} +9 -9
- package/dist/chunks/{model-resolver-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-2ex9v4dz.js → location-lifecycle-gd6d6gzq.js} +32 -32
- package/dist/chunks/{model-resolver-nqc2a42y.js → location-lifecycle-gh5z95q3.js} +9 -9
- package/dist/chunks/{model-resolver-pnaxc6j9.js → location-lifecycle-gs3s1a1g.js} +8 -8
- package/dist/chunks/{model-resolver-rs7zj18r.js → location-lifecycle-gtbprh07.js} +17 -17
- package/dist/chunks/{model-resolver-3cegwx68.js → location-lifecycle-h2b79v29.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-eatejewc.js → location-lifecycle-hafepx0m.js} +12 -12
- package/dist/chunks/{model-resolver-1p1pjvaa.js → location-lifecycle-hbp9e5gh.js} +35 -35
- package/dist/chunks/{model-resolver-dmkm46ch.js → location-lifecycle-hdr6pzp4.js} +13 -13
- package/dist/chunks/{model-resolver-nvkjfv9x.js → location-lifecycle-hhqxc54w.js} +18 -18
- package/dist/chunks/{model-resolver-b3pet2zg.js → location-lifecycle-hjdfbhvj.js} +4 -4
- package/dist/chunks/{model-resolver-eyxk1qnq.js → location-lifecycle-hpp5kapg.js} +35 -35
- package/dist/chunks/{model-resolver-hv8xeme1.js → location-lifecycle-hvvc8a2w.js} +9 -9
- package/dist/chunks/{model-resolver-2vecpzew.js → location-lifecycle-hz5tq5t5.js} +18 -18
- package/dist/chunks/{model-resolver-wbprqre7.js → location-lifecycle-j0957gea.js} +13 -13
- package/dist/chunks/{model-resolver-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-2f659e5x.js → location-lifecycle-jmcmn6kx.js} +11 -11
- package/dist/chunks/{model-resolver-8z06avg2.js → location-lifecycle-jnzzg47p.js} +15 -15
- package/dist/chunks/location-lifecycle-js13ey7k.js +26 -0
- package/dist/chunks/{model-resolver-zwcyw4cb.js → location-lifecycle-k7wh6m2v.js} +4 -4
- package/dist/chunks/{model-resolver-kx9rc79n.js → location-lifecycle-k9hdpf1d.js} +23 -23
- package/dist/chunks/{model-resolver-k4asghnp.js → location-lifecycle-kcbhgjfd.js} +16 -16
- package/dist/chunks/{model-resolver-qqbg84xg.js → location-lifecycle-kdp23qt0.js} +17 -17
- package/dist/chunks/{model-resolver-77jv0j1h.js → location-lifecycle-kwsqnjcj.js} +11 -11
- package/dist/chunks/{model-resolver-0364ndsb.js → location-lifecycle-m1edx7vx.js} +49 -49
- package/dist/chunks/{model-resolver-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-xbmhsw7f.js → location-lifecycle-mc094nv4.js} +31 -31
- package/dist/chunks/{model-resolver-amehwh5s.js → location-lifecycle-mfgthqa8.js} +9 -9
- package/dist/chunks/{model-resolver-56gdpj1q.js → location-lifecycle-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-resolver-txqvqyew.js → location-lifecycle-mhd024zz.js} +45 -45
- package/dist/chunks/{model-resolver-40fy2d9q.js → location-lifecycle-mmtzy2cx.js} +1 -1
- package/dist/chunks/{model-resolver-8nwvde6v.js → location-lifecycle-mx2aqj59.js} +8 -8
- package/dist/chunks/{model-resolver-m9wbq610.js → location-lifecycle-mxbg3ygs.js} +40 -40
- package/dist/chunks/{model-resolver-ypjnx83w.js → location-lifecycle-mxw8m4vv.js} +185 -185
- package/dist/chunks/{model-resolver-pj9tg3xc.js → location-lifecycle-mz0r50hh.js} +29 -29
- package/dist/chunks/{model-resolver-zny3dpd0.js → location-lifecycle-n0yjf684.js} +8 -8
- package/dist/chunks/{model-resolver-h76ep6gq.js → location-lifecycle-n7nkg0mk.js} +11 -11
- package/dist/chunks/{model-resolver-3jbr2x8z.js → location-lifecycle-nm0wvxtq.js} +15 -15
- package/dist/chunks/{model-resolver-xjd9n2sp.js → location-lifecycle-nm2f9wrr.js} +32 -32
- package/dist/chunks/{model-resolver-x2d9qy7d.js → location-lifecycle-npwy0cf6.js} +5 -5
- package/dist/chunks/{model-resolver-dy92ps29.js → location-lifecycle-nraamc83.js} +6 -6
- package/dist/chunks/{model-resolver-dpkg50ah.js → location-lifecycle-nxm207yx.js} +4 -4
- package/dist/chunks/{model-resolver-wyy60m0y.js → location-lifecycle-pf32sebb.js} +3 -3
- package/dist/chunks/{model-resolver-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-7y628me3.js → location-lifecycle-pngk9xk6.js} +36 -36
- package/dist/chunks/{model-resolver-je7fg4hd.js → location-lifecycle-pyjrn7r3.js} +20 -20
- package/dist/chunks/{model-resolver-0j77ygfz.js → location-lifecycle-q0xm7vwc.js} +6 -6
- package/dist/chunks/{model-resolver-1y9c9szs.js → location-lifecycle-q1h3h95e.js} +24 -24
- package/dist/chunks/{model-resolver-3dygqxay.js → location-lifecycle-qb5a6frm.js} +11 -11
- package/dist/chunks/{model-resolver-7ecay89j.js → location-lifecycle-qgc4rrcj.js} +18 -18
- package/dist/chunks/{model-resolver-qnc92qwc.js → location-lifecycle-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-nv85q5yc.js → location-lifecycle-qqqy3pvs.js} +13 -13
- package/dist/chunks/{model-resolver-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-qxjc9qry.js → location-lifecycle-qxjc9qry.js} +3 -3
- package/dist/chunks/{model-resolver-r54yw92w.js → location-lifecycle-qyt1w9k6.js} +11 -11
- package/dist/chunks/{model-resolver-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-meahagrb.js → location-lifecycle-rk51z9mh.js} +43 -43
- package/dist/chunks/{model-resolver-q8nwznbs.js → location-lifecycle-rt1b0z2g.js} +4 -4
- package/dist/chunks/{model-resolver-yvehv8j4.js → location-lifecycle-rykbmd5h.js} +22 -22
- package/dist/chunks/{model-resolver-0ybx6e4j.js → location-lifecycle-s08b3w1e.js} +19 -19
- package/dist/chunks/{model-resolver-4warvet6.js → location-lifecycle-s19wcxkc.js} +25 -25
- package/dist/chunks/{model-resolver-es92z2hg.js → location-lifecycle-s612q12g.js} +6 -6
- package/dist/chunks/{model-resolver-fvp47qe4.js → location-lifecycle-s8b189qv.js} +22 -22
- package/dist/chunks/{model-resolver-wv396vej.js → location-lifecycle-s8d7rejh.js} +8 -8
- package/dist/chunks/{model-resolver-yc5k47t6.js → location-lifecycle-sahbbq5s.js} +21 -21
- package/dist/chunks/{model-resolver-fzz3hcr3.js → location-lifecycle-sfn58asn.js} +28 -28
- package/dist/chunks/{model-resolver-0q2fecvk.js → location-lifecycle-sj78244k.js} +15 -15
- package/dist/chunks/{model-resolver-ht2a8fky.js → location-lifecycle-spbjn7pa.js} +11 -11
- package/dist/chunks/{model-resolver-evbj9t57.js → location-lifecycle-swntjeps.js} +47 -47
- package/dist/chunks/{model-resolver-y6v1v83p.js → location-lifecycle-sz15h4sp.js} +11 -11
- package/dist/chunks/{model-resolver-s6v33hhs.js → location-lifecycle-sza4v6bf.js} +8 -8
- package/dist/chunks/{model-resolver-ymr5aw12.js → location-lifecycle-t62pw5c1.js} +18 -18
- package/dist/chunks/{model-resolver-6x448rs9.js → location-lifecycle-t95mj38p.js} +35 -35
- package/dist/chunks/{model-resolver-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-hhxvcfmq.js → location-lifecycle-tbmkjjbj.js} +4 -4
- package/dist/chunks/{model-resolver-2weqyc98.js → location-lifecycle-tcth2cmk.js} +24 -24
- package/dist/chunks/{model-resolver-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-a4jzv6pb.js → location-lifecycle-txk44qj0.js} +27 -27
- package/dist/chunks/{model-resolver-zf4p7bms.js → location-lifecycle-v5m63bep.js} +24 -24
- package/dist/chunks/{model-resolver-24kyvzj3.js → location-lifecycle-v6vkzzt1.js} +60 -60
- package/dist/chunks/{model-resolver-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-nw91k3fh.js → location-lifecycle-vfjhn2wd.js} +4 -4
- package/dist/chunks/{model-resolver-5120j63r.js → location-lifecycle-vjm1nyv7.js} +10 -10
- package/dist/chunks/{model-resolver-gaav3xfc.js → location-lifecycle-vtkehqnv.js} +13 -13
- package/dist/chunks/{model-resolver-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-84txncab.js → location-lifecycle-w1eejvng.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-x623mxjj.js → location-lifecycle-w4zz6nd0.js} +17 -17
- package/dist/chunks/{model-resolver-2mn1ra9m.js → location-lifecycle-w98pcy5g.js} +38 -38
- package/dist/chunks/{model-resolver-f5en7f74.js → location-lifecycle-wa0hznzt.js} +5 -5
- package/dist/chunks/{model-resolver-ynx1sbyb.js → location-lifecycle-wa80y0bh.js} +8 -8
- package/dist/chunks/{model-resolver-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-b3f8fkhc.js → location-lifecycle-wecqtg5s.js} +5 -5
- package/dist/chunks/{model-resolver-h182e1ya.js → location-lifecycle-ws6ndszr.js} +12 -12
- package/dist/chunks/{model-resolver-4yxeygct.js → location-lifecycle-wxc0khkc.js} +9 -9
- package/dist/chunks/{model-resolver-4x518902.js → location-lifecycle-wye7nvcy.js} +35 -35
- package/dist/chunks/{model-resolver-h5eb1stf.js → location-lifecycle-wysxdp34.js} +51 -51
- package/dist/chunks/{model-resolver-w7zyscj3.js → location-lifecycle-xc20pkzj.js} +11 -11
- package/dist/chunks/{model-resolver-yg62bcth.js → location-lifecycle-xcmk6yw7.js} +11 -11
- package/dist/chunks/{model-resolver-94mn3p3s.js → location-lifecycle-xj71rk50.js} +11 -11
- package/dist/chunks/{model-resolver-ctzssw83.js → location-lifecycle-xs12am9p.js} +8 -8
- package/dist/chunks/{model-resolver-vb454w7p.js → location-lifecycle-y0c4c2h5.js} +3 -3
- package/dist/chunks/{model-resolver-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-16zkvp84.js → location-lifecycle-y3c20489.js} +37 -37
- package/dist/chunks/{model-resolver-d355hkrp.js → location-lifecycle-y4a37d1e.js} +44 -44
- package/dist/chunks/{model-resolver-jmskrp9g.js → location-lifecycle-yez4jscq.js} +27 -27
- package/dist/chunks/{model-resolver-g2qj6ddr.js → location-lifecycle-yme16cyz.js} +25 -25
- package/dist/chunks/{model-resolver-f53vpfqg.js → location-lifecycle-yrx1a3r0.js} +21 -21
- package/dist/chunks/{model-resolver-e6vcv3sh.js → location-lifecycle-ys0rdjsq.js} +36 -36
- package/dist/chunks/{model-resolver-8cv9sccg.js → location-lifecycle-ytr85qwh.js} +28 -28
- package/dist/chunks/{model-resolver-bd819fhp.js → location-lifecycle-yv3x7tkh.js} +8 -8
- package/dist/chunks/{model-resolver-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-h0wm3sd5.js → location-lifecycle-z7rvg8nx.js} +4 -4
- package/dist/chunks/{model-resolver-5vs2d7gx.js → location-lifecycle-ze9cz0xh.js} +21 -21
- package/dist/chunks/{model-resolver-0me0fk48.js → location-lifecycle-zfs8ae4p.js} +4 -4
- package/dist/chunks/{model-resolver-55vcwskv.js → location-lifecycle-zfsa101a.js} +10 -10
- package/dist/chunks/{model-resolver-3qnt817w.js → location-lifecycle-zmc286va.js} +12 -12
- package/dist/chunks/{model-resolver-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-sgg17eyk.js → location-lifecycle-ztne98yc.js} +22 -22
- package/dist/chunks/{model-resolver-x661k3y3.js → location-lifecycle-zw2hpfmh.js} +4 -4
- package/dist/chunks/{model-resolver-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-8wf1bn9q.js → location-lifecycle-zzk5q109.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +115 -115
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/model-resolver-7mcy0e9k.js +0 -26
- package/dist/chunks/model-resolver-ctefx7dc.js +0 -18
- package/dist/chunks/model-resolver-n66nyqav.js +0 -253
- package/dist/chunks/model-resolver-yvv17s0z.js +0 -507
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → location-lifecycle-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./location-lifecycle-ezqzpjms.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./location-lifecycle-dkbtsjnq.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service45
|
|
16
|
+
} from "./location-lifecycle-9ng1f03y.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./location-lifecycle-5pjp1k1g.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service59,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-t62pw5c1.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service56,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-lifecycle-jnzzg47p.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service48
|
|
37
|
+
} from "./location-lifecycle-wysxdp34.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./location-lifecycle-6xcdvqxh.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-lifecycle-z7rvg8nx.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-lifecycle-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: () => Input9,
|
|
53
|
+
Plugin: () => Plugin44,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "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 Input9 = 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."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin44 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service22;
|
|
123
|
+
const jobs = yield* Service45;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service77;
|
|
126
|
+
const access = yield* Service59;
|
|
127
|
+
const shell = yield* Service48;
|
|
128
|
+
const shellSelect = yield* Service56;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service65;
|
|
131
|
+
const config = yield* Service50;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin32 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name9,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin32 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name9,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input9,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin32 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name9,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name9];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin44, exports_shell2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-t95mj38p.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-78cd284a.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available3,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service42,
|
|
12
|
+
node44
|
|
13
|
+
} from "./location-lifecycle-d94vkxnx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service31,
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node34
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service31 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service42;
|
|
67
|
+
return Service31.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make21({
|
|
71
|
+
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node44] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service31, node34, exports_instructions4 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-lifecycle-kcbhgjfd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key3,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service29,
|
|
19
|
+
node: () => node33
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service29 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service79;
|
|
29
|
+
return Service29.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make21({
|
|
41
|
+
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node33 = makeLocationNode({ service: Service29, layer, deps: [Global.node, node83] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service29, node33, exports_builtins };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./location-lifecycle-xj71rk50.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./location-lifecycle-2xmwdb14.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./location-lifecycle-d1mtykxg.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID14,
|
|
15
|
+
Service72
|
|
16
|
+
} from "./location-lifecycle-7hdckppd.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-lifecycle-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-lifecycle-337zht14.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-lifecycle-9e5bzkjp.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,12 +41,12 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
45
|
-
const database = yield*
|
|
46
|
-
const bus = yield*
|
|
44
|
+
const instances = yield* Service39;
|
|
45
|
+
const database = yield* Service84;
|
|
46
|
+
const bus = yield* Service83;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
49
|
-
const original = input.session.revert?.snapshot ?
|
|
48
|
+
const snapshot = yield* Service72;
|
|
49
|
+
const original = input.session.revert?.snapshot ? ID14.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
52
52
|
if (original) {
|
|
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
77
|
-
const bus = yield*
|
|
76
|
+
const instances = yield* Service39;
|
|
77
|
+
const bus = yield* Service83;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service72;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
|
-
const original = session.revert.snapshot ?
|
|
82
|
+
const original = session.revert.snapshot ? ID14.make(session.revert.snapshot) : undefined;
|
|
83
83
|
if (original)
|
|
84
84
|
yield* snapshot.restore({
|
|
85
85
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
110
110
|
continue;
|
|
111
111
|
for (const file of message.snapshot.files ?? [])
|
|
112
112
|
if (!files.has(file))
|
|
113
|
-
files.set(file,
|
|
113
|
+
files.set(file, ID14.make(message.snapshot.start));
|
|
114
114
|
}
|
|
115
115
|
return files;
|
|
116
116
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-d94vkxnx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID5.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./location-lifecycle-2xmwdb14.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./location-lifecycle-7hdckppd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./location-lifecycle-etyaes4m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./location-lifecycle-xcmk6yw7.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-337zht14.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-lifecycle-86a9aqm7.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-lifecycle-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-lifecycle-2s7ybbgh.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-lifecycle-wecqtg5s.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service72;
|
|
58
|
+
const toolOutput = yield* Service52;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|