@opencode/core 0.0.0-dev-791 → 0.0.0-dev-800
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{form-7hfrmca8.js → tool-output-00gatpn7.js} +3 -3
- package/dist/chunks/{form-034tev2y.js → tool-output-034tev2y.js} +2 -2
- package/dist/chunks/{form-gvrjngtk.js → tool-output-09ftaa1n.js} +5 -5
- package/dist/chunks/{form-xmx7xj34.js → tool-output-0ahs07zn.js} +4 -4
- package/dist/chunks/{form-ygjw22g4.js → tool-output-0d5r23fm.js} +17 -17
- package/dist/chunks/{form-zgq5ynfz.js → tool-output-0hxfk2gz.js} +8 -8
- package/dist/chunks/{form-0j7gp832.js → tool-output-0j7gp832.js} +1 -1
- package/dist/chunks/{form-bpn4bk7k.js → tool-output-0jwd490m.js} +18 -18
- package/dist/chunks/{form-0ma9gw4f.js → tool-output-0ma9gw4f.js} +2 -2
- package/dist/chunks/{form-amt3fy1y.js → tool-output-0p05wbgc.js} +43 -43
- package/dist/chunks/{form-q7y3b9g0.js → tool-output-0pxxc9nj.js} +8 -8
- package/dist/chunks/{form-k4efmry4.js → tool-output-0znv19w9.js} +13 -13
- package/dist/chunks/{form-3h6x4vk4.js → tool-output-0zyhbffz.js} +8 -8
- package/dist/chunks/{form-mmdz7z9c.js → tool-output-10mxdxn0.js} +17 -17
- package/dist/chunks/{form-sre2qj4k.js → tool-output-15g0nn2b.js} +3 -3
- package/dist/chunks/{form-jp4e3d39.js → tool-output-16jpq1w2.js} +26 -26
- package/dist/chunks/{form-jwj3xwfh.js → tool-output-176dn4ss.js} +23 -23
- package/dist/chunks/{form-gm32q8m8.js → tool-output-19njr4zy.js} +11 -11
- package/dist/chunks/{form-1aqsckx4.js → tool-output-1aqsckx4.js} +1 -1
- package/dist/chunks/{form-fyh94gg6.js → tool-output-1awmnwbp.js} +9 -9
- package/dist/chunks/{form-1ep2p91f.js → tool-output-1ep2p91f.js} +2 -2
- package/dist/chunks/{form-5czt8ehm.js → tool-output-1eppfhm5.js} +12 -12
- package/dist/chunks/{form-mvd4m6v7.js → tool-output-1jstszyw.js} +26 -26
- package/dist/chunks/{form-bpkxevtq.js → tool-output-1p6edb68.js} +4 -4
- package/dist/chunks/{form-1x2knyw4.js → tool-output-1x2knyw4.js} +1 -1
- package/dist/chunks/{form-dszjwkzq.js → tool-output-1y1fnkc3.js} +47 -47
- package/dist/chunks/{form-sbmqae13.js → tool-output-2339d5k7.js} +28 -28
- package/dist/chunks/{form-82p7ywwd.js → tool-output-24cepcfj.js} +2 -2
- package/dist/chunks/{form-dj2nvf49.js → tool-output-297anrjj.js} +6 -6
- package/dist/chunks/tool-output-2dkjcnxp.js +18 -0
- package/dist/chunks/{form-2fc7eemy.js → tool-output-2fc7eemy.js} +1 -1
- package/dist/chunks/{form-79tfqp9f.js → tool-output-2ka3qnnd.js} +5 -5
- package/dist/chunks/{form-weqc7sb9.js → tool-output-2n444ktb.js} +3 -3
- package/dist/chunks/{form-2p60zmnr.js → tool-output-2p60zmnr.js} +2 -2
- package/dist/chunks/{form-b14sh48k.js → tool-output-2rzc5zey.js} +13 -13
- package/dist/chunks/{form-4jenwqe1.js → tool-output-2xgrqdew.js} +27 -27
- package/dist/chunks/{form-pmxqycbb.js → tool-output-32has256.js} +28 -28
- package/dist/chunks/{form-thtgp2wh.js → tool-output-348cbjdc.js} +41 -41
- package/dist/chunks/{form-81zmd5dp.js → tool-output-34j2h60h.js} +20 -20
- package/dist/chunks/{form-24papxa4.js → tool-output-34qxyhe2.js} +30 -30
- package/dist/chunks/{form-a9vajmgg.js → tool-output-368wqvzb.js} +10 -10
- package/dist/chunks/{form-25nfhamq.js → tool-output-39sgvy3e.js} +4 -4
- package/dist/chunks/{form-rp6t20zc.js → tool-output-3adw4bt5.js} +9 -9
- package/dist/chunks/{form-dee54pyj.js → tool-output-3davsppb.js} +22 -22
- package/dist/chunks/{form-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3nnrz6f6.js → tool-output-3nnrz6f6.js} +1 -1
- package/dist/chunks/{form-qf4h7f4y.js → tool-output-3pn8jgyz.js} +20 -20
- package/dist/chunks/{form-m96ddqb0.js → tool-output-3yq83myz.js} +7 -7
- package/dist/chunks/{form-40y6dtc2.js → tool-output-40y6dtc2.js} +1 -1
- package/dist/chunks/{form-f7295des.js → tool-output-41t068gc.js} +10 -10
- package/dist/chunks/{form-44pmzq9c.js → tool-output-44pmzq9c.js} +2 -2
- package/dist/chunks/{form-jfk5jv3z.js → tool-output-45rhpgj6.js} +10 -10
- package/dist/chunks/{form-e0nv7jq6.js → tool-output-46c5ph2j.js} +4 -4
- package/dist/chunks/{form-htpmzgt8.js → tool-output-48xfn4sm.js} +16 -16
- package/dist/chunks/{form-0c7bpw4e.js → tool-output-4aq2cbca.js} +4 -4
- package/dist/chunks/{form-4dx1dgte.js → tool-output-4dx1dgte.js} +1 -1
- package/dist/chunks/{form-4f25tdd0.js → tool-output-4f25tdd0.js} +1 -1
- package/dist/chunks/{form-eh2pqcde.js → tool-output-4jfr57ka.js} +11 -11
- package/dist/chunks/{form-p8pjvayg.js → tool-output-4krr2nde.js} +3 -3
- package/dist/chunks/{form-4pyp9zr9.js → tool-output-4pyp9zr9.js} +1 -1
- package/dist/chunks/{form-t1dy5emn.js → tool-output-4qcc2z8t.js} +5 -5
- package/dist/chunks/{form-4v008n1t.js → tool-output-4v008n1t.js} +1 -1
- package/dist/chunks/{form-2ymbxe2a.js → tool-output-57bc6131.js} +22 -22
- package/dist/chunks/{form-1d86nf37.js → tool-output-57h61nvh.js} +3 -3
- package/dist/chunks/{form-feknp5zt.js → tool-output-592w34y2.js} +10 -10
- package/dist/chunks/{form-dx7w2ywp.js → tool-output-5apd5sww.js} +19 -19
- package/dist/chunks/{form-e1x810h0.js → tool-output-5g5z3qwj.js} +11 -11
- package/dist/chunks/{form-0pzjnp4k.js → tool-output-5k6yhdrg.js} +2 -2
- package/dist/chunks/{form-a8c6f01y.js → tool-output-5kp8y85f.js} +9 -9
- package/dist/chunks/{form-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-hpj67xa1.js → tool-output-5n9cf10h.js} +6 -6
- package/dist/chunks/{form-w5sfctq3.js → tool-output-5qehnf2v.js} +3 -3
- package/dist/chunks/{form-7ypjkqw5.js → tool-output-5rj0qf20.js} +4 -4
- package/dist/chunks/{form-p095z00d.js → tool-output-5xhsrdqs.js} +16 -16
- package/dist/chunks/{form-jz77ka2x.js → tool-output-696f3c8g.js} +41 -41
- package/dist/chunks/{form-01rpw1qv.js → tool-output-6d6h20kp.js} +23 -23
- package/dist/chunks/{form-2149gj6c.js → tool-output-6e4abtdh.js} +29 -29
- package/dist/chunks/{form-wd2p9ady.js → tool-output-6hn1vdyy.js} +18 -18
- package/dist/chunks/{form-8m9dyvqe.js → tool-output-6mcpyrf9.js} +6 -6
- package/dist/chunks/{form-ac3czqys.js → tool-output-6wcm65qe.js} +11 -11
- package/dist/chunks/{form-yhmtfygm.js → tool-output-6wnwfxzk.js} +5 -5
- package/dist/chunks/{form-n1qp63sd.js → tool-output-73587c04.js} +16 -16
- package/dist/chunks/{form-775hqbnd.js → tool-output-775hqbnd.js} +3 -3
- package/dist/chunks/{form-wvr8xscb.js → tool-output-79k544d0.js} +7 -7
- package/dist/chunks/{form-ktvb9mw0.js → tool-output-7aehy81s.js} +5 -5
- package/dist/chunks/{form-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-s7a9cbah.js → tool-output-7br63mcp.js} +4 -4
- package/dist/chunks/{form-tg1vr1qt.js → tool-output-7tpyp9vw.js} +4 -4
- package/dist/chunks/{form-7w2ypzdf.js → tool-output-7w2ypzdf.js} +1 -1
- package/dist/chunks/{form-9n50p2fd.js → tool-output-7w9z39vk.js} +13 -13
- package/dist/chunks/{form-7weczvnd.js → tool-output-7weczvnd.js} +1 -1
- package/dist/chunks/{form-10c0p7z3.js → tool-output-82q75xp6.js} +9 -9
- package/dist/chunks/{form-qtcppqdt.js → tool-output-88fzf3sj.js} +4 -4
- package/dist/chunks/{form-89287pr7.js → tool-output-89287pr7.js} +1 -1
- package/dist/chunks/{form-9zt6fxcw.js → tool-output-89nmx3mj.js} +36 -36
- package/dist/chunks/{form-sx5cm6q5.js → tool-output-8a900pgj.js} +11 -11
- package/dist/chunks/{form-8b3vzgkx.js → tool-output-8b3vzgkx.js} +1 -1
- package/dist/chunks/{form-k732j073.js → tool-output-8b714bza.js} +8 -8
- package/dist/chunks/{form-5whx36p1.js → tool-output-8cg7mtm3.js} +4 -4
- package/dist/chunks/{form-9v17a1m3.js → tool-output-8dcm6hb8.js} +12 -12
- package/dist/chunks/{form-c8pp1k19.js → tool-output-8j5k72b7.js} +22 -22
- package/dist/chunks/{form-a2ppfby6.js → tool-output-8p949wna.js} +23 -23
- package/dist/chunks/{form-8sxe6kv8.js → tool-output-8sxe6kv8.js} +2 -2
- package/dist/chunks/{form-3qgwywyc.js → tool-output-8t99kr38.js} +4 -4
- package/dist/chunks/{form-8wtp7s3z.js → tool-output-8wtp7s3z.js} +1 -1
- package/dist/chunks/{form-8zv0xmg5.js → tool-output-8zv0xmg5.js} +1 -1
- package/dist/chunks/{form-anvcme1c.js → tool-output-90ct6wq4.js} +4 -4
- package/dist/chunks/{form-n9fe6bxj.js → tool-output-935j3xmr.js} +12 -12
- package/dist/chunks/{form-963hk181.js → tool-output-963hk181.js} +2 -2
- package/dist/chunks/{form-w9gbtwvg.js → tool-output-97bx2n6d.js} +13 -13
- package/dist/chunks/{form-nrk34cdy.js → tool-output-9kabvxh0.js} +9 -9
- package/dist/chunks/{form-kht0bw8h.js → tool-output-9wd36kb7.js} +18 -18
- package/dist/chunks/{form-r2jsee34.js → tool-output-a1qwck5h.js} +8 -8
- package/dist/chunks/{form-55g2q5p5.js → tool-output-a3fn0gmm.js} +2 -2
- package/dist/chunks/{form-19b2ztj7.js → tool-output-a4mr5xkt.js} +11 -11
- package/dist/chunks/{form-k1fk9gak.js → tool-output-a83yeza8.js} +4 -4
- package/dist/chunks/{form-y1knm9fe.js → tool-output-ahf6zgn1.js} +38 -38
- package/dist/chunks/{form-xbknznh5.js → tool-output-anj1x7ga.js} +6 -6
- package/dist/chunks/{form-srrmv808.js → tool-output-app930w4.js} +5 -5
- package/dist/chunks/{form-r00x6xar.js → tool-output-awp7tmwz.js} +30 -30
- package/dist/chunks/{form-ayjs7tqn.js → tool-output-ayjs7tqn.js} +2 -2
- package/dist/chunks/{form-dkpjsqx5.js → tool-output-b09zhmpv.js} +6 -6
- package/dist/chunks/{form-yes8byrk.js → tool-output-b0waw5mq.js} +29 -29
- package/dist/chunks/{form-b26ddj6h.js → tool-output-b26ddj6h.js} +4 -4
- package/dist/chunks/{form-9me36f2x.js → tool-output-b6d19y94.js} +8 -8
- package/dist/chunks/{form-67wwskyb.js → tool-output-babktaw3.js} +4 -4
- package/dist/chunks/{form-7stykpj4.js → tool-output-bc22xx18.js} +33 -33
- package/dist/chunks/{form-5j8ph1qd.js → tool-output-bdphxvsm.js} +32 -32
- package/dist/chunks/{form-nctbn4kr.js → tool-output-bnevgcsv.js} +15 -15
- package/dist/chunks/{form-a5shfyb2.js → tool-output-bp1pabqt.js} +9 -9
- package/dist/chunks/{form-z36g0r9d.js → tool-output-bph8xj74.js} +15 -15
- package/dist/chunks/{form-bstexjd6.js → tool-output-bstexjd6.js} +1 -1
- package/dist/chunks/{form-zpdbqgja.js → tool-output-by8ty0bx.js} +4 -4
- package/dist/chunks/{form-8jrrxtbx.js → tool-output-byn2k991.js} +6 -6
- package/dist/chunks/{form-qn3nex76.js → tool-output-c01am9qn.js} +12 -12
- package/dist/chunks/{form-t7zcy0tw.js → tool-output-c5wzwdm9.js} +5 -5
- package/dist/chunks/{form-c7cw818c.js → tool-output-c7cw818c.js} +2 -2
- package/dist/chunks/{form-twm7m2ma.js → tool-output-c85tehfk.js} +18 -18
- package/dist/chunks/{form-s974wghs.js → tool-output-c87rwc7k.js} +27 -27
- package/dist/chunks/{form-na8r46wf.js → tool-output-c8crzrbm.js} +9 -9
- package/dist/chunks/{form-19v0kb1w.js → tool-output-cj91abxn.js} +11 -11
- package/dist/chunks/{form-ckn0kvtp.js → tool-output-ckn0kvtp.js} +3 -3
- package/dist/chunks/{form-9dd5622s.js → tool-output-cmaf8vzc.js} +23 -23
- package/dist/chunks/{form-bhfd478d.js → tool-output-cr4rfj9z.js} +4 -4
- package/dist/chunks/{form-zkf772vp.js → tool-output-csme09bw.js} +21 -21
- package/dist/chunks/{form-cwrgdav8.js → tool-output-cwrgdav8.js} +2 -2
- package/dist/chunks/{form-d4v9tmah.js → tool-output-d4v9tmah.js} +2 -2
- package/dist/chunks/{form-9x63vb7q.js → tool-output-df5tjyse.js} +19 -19
- package/dist/chunks/{form-jgkp38kk.js → tool-output-dqntn6h8.js} +12 -12
- package/dist/chunks/{form-dt77769w.js → tool-output-dt77769w.js} +1 -1
- package/dist/chunks/{form-97efk2he.js → tool-output-dthnxv2s.js} +29 -29
- package/dist/chunks/{form-g63xhc1v.js → tool-output-dy1gwgx4.js} +31 -31
- package/dist/chunks/{form-xaynk9n5.js → tool-output-dzgs3hgq.js} +16 -16
- package/dist/chunks/{form-22bgjs7d.js → tool-output-dzhftqze.js} +5 -5
- package/dist/chunks/{form-w99myxkr.js → tool-output-e1pv367s.js} +5 -5
- package/dist/chunks/{form-5wmmx33t.js → tool-output-e5yb3nnv.js} +9 -9
- package/dist/chunks/{form-yse1kzrm.js → tool-output-e715zxe5.js} +82 -82
- package/dist/chunks/{form-djtzg767.js → tool-output-e7sxqbbn.js} +25 -25
- package/dist/chunks/{form-hfcy1fgt.js → tool-output-e7xvh9ee.js} +8 -8
- package/dist/chunks/{form-e834z07m.js → tool-output-e834z07m.js} +1 -1
- package/dist/chunks/{form-xhkbh2m4.js → tool-output-eeyqp6kg.js} +11 -11
- package/dist/chunks/{form-8d70nmw5.js → tool-output-ek6j6j1m.js} +11 -11
- package/dist/chunks/{form-eqw4pqj1.js → tool-output-eqw4pqj1.js} +2 -2
- package/dist/chunks/{form-spjexxm5.js → tool-output-er7hkvqd.js} +1 -1
- package/dist/chunks/{form-6f6jm3cp.js → tool-output-etrnj9s7.js} +6 -6
- package/dist/chunks/{form-7b6h81bb.js → tool-output-ex7f1hjm.js} +5 -5
- package/dist/chunks/{form-v8nw92bz.js → tool-output-ezsq17wt.js} +41 -41
- package/dist/chunks/{form-nt927v07.js → tool-output-f3f0k5rs.js} +15 -15
- package/dist/chunks/{form-t5fmgy39.js → tool-output-f3tz6v5v.js} +15 -15
- package/dist/chunks/{form-cjhteg90.js → tool-output-f7f1qr45.js} +7 -7
- package/dist/chunks/{form-tb44hknz.js → tool-output-ff03tfj4.js} +14 -14
- package/dist/chunks/{form-fffv3p7h.js → tool-output-fffv3p7h.js} +1 -1
- package/dist/chunks/{form-prq7xxp2.js → tool-output-fg9p65nk.js} +6 -6
- package/dist/chunks/{form-fnm34e0k.js → tool-output-fnm34e0k.js} +2 -2
- package/dist/chunks/{form-6y38v4f2.js → tool-output-fp6k4vq8.js} +7 -7
- package/dist/chunks/{form-39n7peaz.js → tool-output-fvqxtqfh.js} +23 -23
- package/dist/chunks/{form-2jjfs7g5.js → tool-output-fwc5tj9a.js} +4 -4
- package/dist/chunks/{form-e8d4rb7h.js → tool-output-fwtajqwc.js} +18 -18
- package/dist/chunks/{form-gbjdnr5j.js → tool-output-gbjdnr5j.js} +2 -2
- package/dist/chunks/{form-ghrv1g9c.js → tool-output-ghrv1g9c.js} +1 -1
- package/dist/chunks/{form-7cwm169k.js → tool-output-ghsvjrjb.js} +28 -28
- package/dist/chunks/{form-ccxyytbx.js → tool-output-grp9cnfp.js} +5 -5
- package/dist/chunks/{form-h9xvjfqn.js → tool-output-gx76kxxn.js} +11 -11
- package/dist/chunks/{form-y3wh9epp.js → tool-output-gzbtcfe6.js} +21 -21
- package/dist/chunks/{form-nc4w622v.js → tool-output-h4bcmp71.js} +18 -18
- package/dist/chunks/{form-75nzay9j.js → tool-output-h9gb1w78.js} +25 -25
- package/dist/chunks/{form-hgzwgvze.js → tool-output-hgzwgvze.js} +2 -2
- package/dist/chunks/{form-csytqz48.js → tool-output-hmym85wh.js} +15 -15
- package/dist/chunks/{form-sx2yhfq6.js → tool-output-hqrtscb3.js} +4 -4
- package/dist/chunks/{form-e1gzcs88.js → tool-output-hrr92jwk.js} +17 -17
- package/dist/chunks/{form-j9nxzz3g.js → tool-output-j9nxzz3g.js} +3 -3
- package/dist/chunks/{form-jm70asfg.js → tool-output-jm70asfg.js} +1 -1
- package/dist/chunks/{form-sqmtsnc0.js → tool-output-jpaxfht6.js} +20 -20
- package/dist/chunks/{form-vg4q9z25.js → tool-output-jvwd76pm.js} +9 -9
- package/dist/chunks/{form-vbngttk8.js → tool-output-jz7tvnn1.js} +26 -26
- package/dist/chunks/{form-q26nxxn1.js → tool-output-k4wf71s3.js} +7 -7
- package/dist/chunks/{form-t7pxmh1n.js → tool-output-kdn6g5qp.js} +6 -6
- package/dist/chunks/{form-qfz6bxfd.js → tool-output-kj9n5bvh.js} +4 -4
- package/dist/chunks/tool-output-kqm150dg.js +265 -0
- package/dist/chunks/{form-k1ngrrvr.js → tool-output-ktttccqw.js} +4 -4
- package/dist/chunks/{form-7hqvmvs7.js → tool-output-kw49mnjm.js} +20 -20
- package/dist/chunks/{form-5hrkd4hp.js → tool-output-kyw0k2fs.js} +11 -11
- package/dist/chunks/{form-kzczzf4v.js → tool-output-kzczzf4v.js} +1 -1
- package/dist/chunks/{form-8h5tjk24.js → tool-output-m13pyqxe.js} +5 -5
- package/dist/chunks/{form-m1714858.js → tool-output-m1714858.js} +1 -1
- package/dist/chunks/{form-495vdj1c.js → tool-output-m3emfr1b.js} +8 -8
- package/dist/chunks/{form-wm4c88gv.js → tool-output-m4718zdf.js} +10 -10
- package/dist/chunks/{form-sm06k54w.js → tool-output-m65kx7ee.js} +15 -15
- package/dist/chunks/{form-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-mb7mbhnz.js → tool-output-mb7mbhnz.js} +3 -3
- package/dist/chunks/{form-nw5eecxx.js → tool-output-me215f18.js} +1 -1
- package/dist/chunks/{form-5870dma9.js → tool-output-me21w1z6.js} +11 -11
- package/dist/chunks/{form-mm06edep.js → tool-output-mm06edep.js} +1 -1
- package/dist/chunks/{form-msd2a3qm.js → tool-output-msd2a3qm.js} +4 -4
- package/dist/chunks/{form-05d441b2.js → tool-output-mxnrvehb.js} +44 -36
- package/dist/chunks/{form-3sj1dac3.js → tool-output-n0xk4xqg.js} +12 -12
- package/dist/chunks/{form-v2abt96x.js → tool-output-n24rn8jt.js} +16 -16
- package/dist/chunks/{form-bbmj4mnh.js → tool-output-n2q881ha.js} +183 -183
- package/dist/chunks/{form-xvn8mnch.js → tool-output-n320gsn2.js} +4 -4
- package/dist/chunks/{form-vedxzeza.js → tool-output-nasfnzhc.js} +9 -9
- package/dist/chunks/{form-0aqjddd3.js → tool-output-njgf9f4z.js} +7 -7
- package/dist/chunks/{form-k5daehwd.js → tool-output-nqqmmck9.js} +11 -11
- package/dist/chunks/{form-mmynath4.js → tool-output-nrgvcv2e.js} +12 -12
- package/dist/chunks/{form-kn4zqwcq.js → tool-output-nt907s04.js} +3 -3
- package/dist/chunks/{form-d8p3t516.js → tool-output-nttn14j9.js} +4 -4
- package/dist/chunks/{form-cqfxst5x.js → tool-output-nveht78a.js} +26 -26
- package/dist/chunks/{form-qa8wq1bx.js → tool-output-p2tvx8t7.js} +9 -9
- package/dist/chunks/{form-zdewxzj9.js → tool-output-p4w20eb6.js} +34 -34
- package/dist/chunks/{form-xcg3rj9z.js → tool-output-p7tv03gv.js} +14 -14
- package/dist/chunks/{form-1yq9hg58.js → tool-output-p7vhpwh8.js} +5 -5
- package/dist/chunks/{form-xa7agtm7.js → tool-output-pajz94ty.js} +27 -27
- package/dist/chunks/{form-yje62p5e.js → tool-output-phwdbyvz.js} +5 -5
- package/dist/chunks/{form-dc1wkmnt.js → tool-output-pkh3btbv.js} +8 -8
- package/dist/chunks/{form-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{form-kmrmenc1.js → tool-output-prwv77eb.js} +35 -35
- package/dist/chunks/{form-90wkhppp.js → tool-output-psnkvp9k.js} +5 -5
- package/dist/chunks/{form-f8vchc90.js → tool-output-pw5md3s4.js} +19 -19
- package/dist/chunks/{form-erppfcw0.js → tool-output-q64qbpnf.js} +15 -15
- package/dist/chunks/{form-nv9tsjma.js → tool-output-qah7t4da.js} +6 -6
- package/dist/chunks/{form-er2n76ej.js → tool-output-qd0gqrzc.js} +12 -12
- package/dist/chunks/{form-jv5cg5jm.js → tool-output-qfx1p0mx.js} +1 -1
- package/dist/chunks/{form-dcqztyc0.js → tool-output-qk23gzkr.js} +16 -16
- package/dist/chunks/{form-f4krjp8e.js → tool-output-qk5sk9d1.js} +5 -5
- package/dist/chunks/{form-2mf0etys.js → tool-output-qm6xztak.js} +59 -59
- package/dist/chunks/{form-qp7r0hxv.js → tool-output-qp7r0hxv.js} +1 -1
- package/dist/chunks/{form-qwcxdf4f.js → tool-output-qpda8css.js} +33 -33
- package/dist/chunks/{form-xdnd5bjh.js → tool-output-qw7j67c1.js} +6 -6
- package/dist/chunks/tool-output-qyqs1tn3.js +577 -0
- package/dist/chunks/{form-ytj9msyr.js → tool-output-r3e8njhp.js} +30 -30
- package/dist/chunks/{form-r41sfy63.js → tool-output-r41sfy63.js} +2 -2
- package/dist/chunks/{form-n3j33rb6.js → tool-output-r7zrbnjn.js} +4 -4
- package/dist/chunks/{form-rb9dy4dg.js → tool-output-rb9dy4dg.js} +1 -1
- package/dist/chunks/{form-rgc9cx3e.js → tool-output-rgc9cx3e.js} +2 -2
- package/dist/chunks/{form-px7qpgcn.js → tool-output-rj7j5fvs.js} +4 -4
- package/dist/chunks/{form-6qmwk56z.js → tool-output-rnywn3f8.js} +46 -46
- package/dist/chunks/{form-kyd5p4kc.js → tool-output-rqzwhz21.js} +7 -7
- package/dist/chunks/{form-trsw7mcc.js → tool-output-rr5qx8hv.js} +46 -46
- package/dist/chunks/{form-f26b0hvj.js → tool-output-rr9be025.js} +10 -10
- package/dist/chunks/{form-jbygarch.js → tool-output-rsqe55wk.js} +9 -9
- package/dist/chunks/{form-rt5dr6hb.js → tool-output-rt5dr6hb.js} +1 -1
- package/dist/chunks/{form-c09y0a8j.js → tool-output-rv4tgmgh.js} +11 -11
- package/dist/chunks/{form-fs4enjx7.js → tool-output-rywtd92c.js} +16 -16
- package/dist/chunks/{form-pb9fhdan.js → tool-output-s3hbfvvq.js} +49 -49
- package/dist/chunks/{form-7rv4jjk5.js → tool-output-s6jhgxaj.js} +38 -38
- package/dist/chunks/{form-sbya78hr.js → tool-output-sbya78hr.js} +1 -1
- package/dist/chunks/{form-svcy3p9a.js → tool-output-svcy3p9a.js} +1 -1
- package/dist/chunks/{form-nryt75sa.js → tool-output-svs4rqf8.js} +16 -16
- package/dist/chunks/{form-tf9vm30n.js → tool-output-sy6v0xdp.js} +12 -12
- package/dist/chunks/{form-7agpffk8.js → tool-output-sy9rxy5q.js} +6 -6
- package/dist/chunks/{form-4wzmybmb.js → tool-output-szffvwph.js} +15 -15
- package/dist/chunks/{form-t48jrnqq.js → tool-output-t48jrnqq.js} +1 -1
- package/dist/chunks/{form-de87a3dm.js → tool-output-t59wk97z.js} +8 -8
- package/dist/chunks/{form-jv5ccajn.js → tool-output-t8erkws8.js} +5 -5
- package/dist/chunks/{form-26wfx3k0.js → tool-output-tb2mrvc9.js} +4 -4
- package/dist/chunks/{form-tbpn7jtk.js → tool-output-tbpn7jtk.js} +1 -1
- package/dist/chunks/{form-tczq8hjw.js → tool-output-tczq8hjw.js} +1 -1
- package/dist/chunks/{form-tg7s7b5t.js → tool-output-tg7s7b5t.js} +1 -1
- package/dist/chunks/tool-output-tk9g4b01.js +26 -0
- package/dist/chunks/{form-8rg9h9rf.js → tool-output-tm1z2th2.js} +28 -28
- package/dist/chunks/{form-tr8x705m.js → tool-output-tr8x705m.js} +1 -1
- package/dist/chunks/{form-twssxy5n.js → tool-output-twssxy5n.js} +2 -2
- package/dist/chunks/{form-49d4rty4.js → tool-output-tzpkd0p8.js} +38 -38
- package/dist/chunks/{form-v2r1d0zg.js → tool-output-v2r1d0zg.js} +1 -1
- package/dist/chunks/{form-xypxsy7p.js → tool-output-v656297n.js} +16 -16
- package/dist/chunks/{form-1p6cc7cx.js → tool-output-v6v59545.js} +21 -21
- package/dist/chunks/{form-qmet73b8.js → tool-output-v9qfgfnp.js} +13 -13
- package/dist/chunks/{form-9fjscgt9.js → tool-output-vj1ysqw1.js} +53 -53
- package/dist/chunks/{form-vjf35v1f.js → tool-output-vjf35v1f.js} +1 -1
- package/dist/chunks/{form-fqg2m573.js → tool-output-vk3c6w2m.js} +4 -4
- package/dist/chunks/{form-6qsc8bte.js → tool-output-vkt32kkc.js} +18 -18
- package/dist/chunks/{form-vq0qa3sh.js → tool-output-vq0qa3sh.js} +2 -2
- package/dist/chunks/{form-egvq556q.js → tool-output-vq4dj0mm.js} +1 -1
- package/dist/chunks/{form-bexj7x6s.js → tool-output-vt039dxx.js} +9 -9
- package/dist/chunks/{form-6t6n7z4g.js → tool-output-vy8jb89p.js} +22 -22
- package/dist/chunks/{form-dq8yjqh8.js → tool-output-vz7ac4nx.js} +19 -19
- package/dist/chunks/{form-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-my4fcshq.js → tool-output-w5zs328z.js} +12 -12
- package/dist/chunks/{form-hzvjaebq.js → tool-output-w6brw106.js} +12 -12
- package/dist/chunks/{form-w79nt68w.js → tool-output-w79nt68w.js} +1 -1
- package/dist/chunks/{form-w7jfwa7t.js → tool-output-w7jfwa7t.js} +2 -2
- package/dist/chunks/{form-gatjdcn9.js → tool-output-wa518hwf.js} +23 -23
- package/dist/chunks/{form-wakvkjy4.js → tool-output-wakvkjy4.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{form-wegkxhrn.js → tool-output-wegkxhrn.js} +2 -2
- package/dist/chunks/{form-wfdx5ztx.js → tool-output-wfdx5ztx.js} +1 -1
- package/dist/chunks/{form-e4ah3ejq.js → tool-output-wgmc14qx.js} +23 -23
- package/dist/chunks/{form-nzfywte0.js → tool-output-wqne25gn.js} +8 -8
- package/dist/chunks/{form-w687dnns.js → tool-output-wr3re1en.js} +4 -4
- package/dist/chunks/{form-b7rebrt2.js → tool-output-x124x9bx.js} +45 -45
- package/dist/chunks/{form-7nqkf5r1.js → tool-output-x4mcewfn.js} +4 -4
- package/dist/chunks/{form-vrw307mm.js → tool-output-xad1gvt8.js} +7 -7
- package/dist/chunks/{form-r6dpxxw1.js → tool-output-xajt2tff.js} +36 -36
- package/dist/chunks/{form-xjr6c8m4.js → tool-output-xjr6c8m4.js} +1 -1
- package/dist/chunks/{form-88pbdasn.js → tool-output-xktarqay.js} +6 -6
- package/dist/chunks/{form-6z00g8bn.js → tool-output-xp4j2yrx.js} +4 -4
- package/dist/chunks/{form-hdc2a5xz.js → tool-output-xq9qnz05.js} +31 -31
- package/dist/chunks/{form-xt638z52.js → tool-output-xqngkfsr.js} +29 -29
- package/dist/chunks/{form-p76me67c.js → tool-output-xsact9zs.js} +4 -4
- package/dist/chunks/{form-ch7k79dh.js → tool-output-xts9am0v.js} +8 -8
- package/dist/chunks/{form-cvb39fh3.js → tool-output-y0e0z9b0.js} +10 -10
- package/dist/chunks/{form-785kt1nq.js → tool-output-y0r8045r.js} +30 -30
- package/dist/chunks/{form-t1pcdn2a.js → tool-output-y1dzyw3r.js} +15 -15
- package/dist/chunks/{form-sjta0jj4.js → tool-output-y5hkmh23.js} +26 -26
- package/dist/chunks/{form-yb20nhc3.js → tool-output-yb20nhc3.js} +1 -1
- package/dist/chunks/{form-dnk8746q.js → tool-output-yeft56ag.js} +87 -87
- package/dist/chunks/{form-665akccg.js → tool-output-yerpx92p.js} +17 -17
- package/dist/chunks/{form-7rr5h0zr.js → tool-output-ykpbx9ea.js} +11 -11
- package/dist/chunks/{form-n3jp0npr.js → tool-output-ymwsdc83.js} +2 -2
- package/dist/chunks/{form-z7yksqyp.js → tool-output-yqmes6pb.js} +43 -43
- package/dist/chunks/{form-yr705xyq.js → tool-output-yr705xyq.js} +1 -1
- package/dist/chunks/{form-yvtc2x31.js → tool-output-yvtc2x31.js} +1 -1
- package/dist/chunks/{form-139nhzzp.js → tool-output-z23z7x13.js} +23 -23
- package/dist/chunks/{form-fqms6rvt.js → tool-output-z2r0ds3x.js} +15 -15
- package/dist/chunks/{form-c5chrm98.js → tool-output-z34vmd35.js} +30 -30
- package/dist/chunks/{form-gtr6916j.js → tool-output-z972mz6z.js} +13 -13
- package/dist/chunks/{form-1qs0jgz8.js → tool-output-zdd04hp4.js} +14 -14
- package/dist/chunks/{form-2jmys8k9.js → tool-output-zpgmwa93.js} +36 -36
- package/dist/chunks/{form-8cnjhhhz.js → tool-output-zrtnhe6f.js} +22 -22
- package/dist/chunks/{form-g3zv75fm.js → tool-output-zsfxnkm4.js} +75 -75
- package/dist/chunks/{form-erfxr3zn.js → tool-output-zt1m2jpy.js} +15 -15
- package/dist/chunks/{form-kmgb3tdh.js → tool-output-zxqfdgcw.js} +26 -26
- package/dist/chunks/{form-nyerw5g8.js → tool-output-zz5613za.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +88 -88
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +127 -127
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +94 -94
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +182 -182
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +419 -419
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +169 -169
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +102 -102
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +234 -234
- package/dist/tool/plugin/edit.js +168 -168
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +170 -170
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +169 -169
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/form-e35tjqxj.js +0 -577
- package/dist/chunks/form-gv6z28ma.js +0 -265
- package/dist/chunks/form-jexvg71v.js +0 -26
- package/dist/chunks/form-me0dhgxs.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-108x4f4w.js → tool-output-108x4f4w.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kah00gy.js → tool-output-1kah00gy.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3af0jn4w.js → tool-output-3af0jn4w.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4qk9sjk2.js → tool-output-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5w3e23ze.js → tool-output-5w3e23ze.js} +0 -0
- /package/dist/chunks/{form-6agm2x70.js → tool-output-6agm2x70.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-beh6qq61.js → tool-output-beh6qq61.js} +0 -0
- /package/dist/chunks/{form-bhmrqjy3.js → tool-output-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cqv5kn06.js → tool-output-cqv5kn06.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-ean2d8b5.js → tool-output-ean2d8b5.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fkpq3x5p.js → tool-output-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jwr30sdr.js → tool-output-jwr30sdr.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-nh4v3znn.js → tool-output-nh4v3znn.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-p71gwv9c.js → tool-output-p71gwv9c.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-syrav9an.js → tool-output-syrav9an.js} +0 -0
- /package/dist/chunks/{form-t03h4f5z.js → tool-output-t03h4f5z.js} +0 -0
- /package/dist/chunks/{form-ty7weeps.js → tool-output-ty7weeps.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-vtarvj67.js → tool-output-vtarvj67.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x4th4bpe.js → tool-output-x4th4bpe.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-z0h12gs8.js → tool-output-z0h12gs8.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
- /package/dist/chunks/{form-zxpyjp51.js → tool-output-zxpyjp51.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-ktttccqw.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-n320gsn2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
Service83,
|
|
15
15
|
node87,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event18
|
|
17
|
+
} from "./tool-output-f3f0k5rs.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service86,
|
|
20
|
+
node90
|
|
21
|
+
} from "./tool-output-p7tv03gv.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider5 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider5, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
|
+
ID: () => ID17,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service82,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider5, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node86,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -331,8 +331,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
335
|
-
var
|
|
334
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
335
|
+
var ID17 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
338
338
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -577,9 +577,9 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info25 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service82 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,10 +592,10 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service91;
|
|
597
597
|
const integrations = yield* Service83;
|
|
598
|
-
const location = yield*
|
|
598
|
+
const location = yield* Service86;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info25.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID18.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service82.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service81, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node86 = makeLocationNode({ service: Service82, layer, deps: [node95, node87, node90] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID17, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info25, Service82, node86, exports_provider5, Event17 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref5
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-p7tv03gv.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service56,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node58,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service56 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service56, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node58 = LayerNode.unbound(Service56, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service56;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -48,4 +48,4 @@ function canonical3(ref) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service56, node58, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./tool-output-1y1fnkc3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./tool-output-z23z7x13.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-mm06edep.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin42
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin42 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service71;
|
|
27
|
+
const snapshot = yield* Service49;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin41 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin42, exports_snapshot };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-2fc7eemy.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID18,
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-f3f0k5rs.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
|
-
InvalidRequestError: () =>
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
16
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
+
Service: () => Service15,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer9,
|
|
21
|
+
node: () => node17
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -26,23 +26,23 @@ import {
|
|
|
26
26
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
27
27
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
28
28
|
import { Context, Effect, Layer, Redacted, Schema } from "effect";
|
|
29
|
-
class
|
|
29
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestError", {
|
|
30
30
|
message: Schema.String
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer9 = Layer.effect(Service15, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
44
|
const integrations = yield* Service83;
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID18.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -65,12 +65,12 @@ var layer27 = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
65
65
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
66
66
|
const engine = Realtime.engine(input.model);
|
|
67
67
|
if (!engine)
|
|
68
|
-
return yield* new
|
|
68
|
+
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError2({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,13 +79,13 @@ var layer27 = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service15.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
86
|
+
var node17 = makeLocationNode({
|
|
87
|
+
service: Service15,
|
|
88
|
+
layer: layer9,
|
|
89
89
|
deps: [node87, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service15, layer9, node17, exports_voice };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/tools/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
ToolHooks: () => exports_hooks,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make14
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make14(pending) {
|
|
12
12
|
const before = async (input) => {
|
|
13
13
|
if (input.hook_event_name === "PreToolUse")
|
|
14
14
|
pending.before(input.tool_use_id, input.tool_name);
|
|
@@ -28,4 +28,4 @@ function make12(pending) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make14, exports_hooks };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-output-5rj0qf20.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID12,
|
|
17
|
+
Info: () => Info15,
|
|
18
|
+
NotFoundError: () => NotFoundError11,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node70
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID12 = PermissionSaved.ID;
|
|
29
|
+
var Info15 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID12,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service92).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID12.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service68.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node70 = makeGlobalNode({ service: Service68, layer, deps: [node96] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID12, Info15, NotFoundError11, ConflictError2, Service68, node70, exports_saved };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
node94
|
|
6
|
-
} from "./form-hzvjaebq.js";
|
|
7
|
-
import {
|
|
8
|
-
Service88,
|
|
9
5
|
node92
|
|
10
|
-
} from "./
|
|
6
|
+
} from "./tool-output-w6brw106.js";
|
|
7
|
+
import {
|
|
8
|
+
Service86,
|
|
9
|
+
node90
|
|
10
|
+
} from "./tool-output-p7tv03gv.js";
|
|
11
11
|
import {
|
|
12
12
|
create4
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-40y6dtc2.js";
|
|
14
14
|
import {
|
|
15
15
|
make22
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-phwdbyvz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service23,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node27
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service23 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service86;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make22;
|
|
40
40
|
const state = create4({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service23.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node27 = makeLocationNode({
|
|
61
|
+
service: Service23,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node90, Global.node, node92, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service23, node27, exports_strategies };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-0d5r23fm.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./tool-output-348cbjdc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/tool/plugin/question.ts
|
|
13
13
|
var exports_question = {};
|
|
14
14
|
__export(exports_question, {
|
|
15
15
|
CancelledError: () => CancelledError2,
|
|
16
|
-
Input: () =>
|
|
16
|
+
Input: () => Input15,
|
|
17
17
|
Output: () => Output11,
|
|
18
18
|
Plugin: () => Plugin55,
|
|
19
19
|
QuestionTool: () => exports_question,
|
|
20
20
|
description: () => description8,
|
|
21
|
-
name: () =>
|
|
21
|
+
name: () => name15,
|
|
22
22
|
toModelContent: () => toModelContent7
|
|
23
23
|
});
|
|
24
24
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
26
|
import { Question } from "@opencode/schema/question";
|
|
27
|
-
var
|
|
27
|
+
var name15 = "question";
|
|
28
28
|
var description8 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
29
29
|
1. Gather user preferences or requirements
|
|
30
30
|
2. Clarify ambiguous instructions
|
|
@@ -35,7 +35,7 @@ Usage notes:
|
|
|
35
35
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
36
36
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
37
37
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
38
|
-
var
|
|
38
|
+
var Input15 = Schema.Struct({
|
|
39
39
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
40
40
|
});
|
|
41
41
|
var Output11 = Schema.Struct({
|
|
@@ -55,12 +55,12 @@ var Plugin55 = {
|
|
|
55
55
|
id: "opencode.tool.question",
|
|
56
56
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
57
57
|
const forms = yield* Service85;
|
|
58
|
-
const permission = yield*
|
|
58
|
+
const permission = yield* Service66;
|
|
59
59
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
60
|
-
name:
|
|
60
|
+
name: name15,
|
|
61
61
|
options: { codemode: false },
|
|
62
62
|
description: description8,
|
|
63
|
-
input:
|
|
63
|
+
input: Input15,
|
|
64
64
|
output: Output11,
|
|
65
65
|
execute: (input, context) => permission.assert({
|
|
66
66
|
action: "question",
|
|
@@ -116,4 +116,4 @@ function toField(question, index) {
|
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { name15, description8, Input15, Output11, CancelledError2, toModelContent7, Plugin55, exports_question };
|