@opencode-ai/core 0.0.0-beta-18866 → 0.0.0-beta-18965
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 +2 -2
- package/dist/agent.js +70 -70
- package/dist/aisdk-native.js +3 -3
- package/dist/aisdk.js +4 -4
- package/dist/app.js +2 -2
- package/dist/bus.js +68 -68
- package/dist/catalog.js +78 -78
- package/dist/chunks/{reference-9vqgpz70.js → aisdk-046tpp0z.js} +6 -6
- package/dist/chunks/{reference-0ag03ecw.js → aisdk-0ag03ecw.js} +2 -2
- package/dist/chunks/{reference-3529n0tr.js → aisdk-0awdwz49.js} +15 -15
- package/dist/chunks/{reference-vczm1m9n.js → aisdk-0cx9n61w.js} +3 -3
- package/dist/chunks/{reference-0gpahtwn.js → aisdk-0gpahtwn.js} +2 -2
- package/dist/chunks/{reference-kemcf5mw.js → aisdk-0msaz5jv.js} +8 -8
- package/dist/chunks/{reference-0pc4kdn1.js → aisdk-0pc4kdn1.js} +2 -2
- package/dist/chunks/{reference-0rz7yd7x.js → aisdk-0rz7yd7x.js} +1 -1
- package/dist/chunks/{reference-136c8mz3.js → aisdk-136c8mz3.js} +3 -3
- package/dist/chunks/{reference-8zsay21d.js → aisdk-1q6h3772.js} +3 -3
- package/dist/chunks/{reference-fkdrrz2d.js → aisdk-1rvp214c.js} +8 -5
- package/dist/chunks/{reference-an1f8bbd.js → aisdk-2322sp5n.js} +92 -92
- package/dist/chunks/{reference-e2kekfkw.js → aisdk-23hmgfme.js} +23 -20
- package/dist/chunks/{reference-x7g08g2m.js → aisdk-24zwwgjw.js} +3 -3
- package/dist/chunks/{reference-264e1nfp.js → aisdk-264e1nfp.js} +2 -2
- package/dist/chunks/{reference-jsb6y3ce.js → aisdk-27z7ht8a.js} +3 -3
- package/dist/chunks/{reference-g7dw4rk5.js → aisdk-2b26j3gv.js} +9 -9
- package/dist/chunks/{reference-pw0qjder.js → aisdk-2kt0a5er.js} +13 -13
- package/dist/chunks/{reference-6f6thqyy.js → aisdk-2qq12ds3.js} +5 -5
- package/dist/chunks/{reference-2sqw2jjm.js → aisdk-2sqw2jjm.js} +3 -3
- package/dist/chunks/{reference-bwqptwn6.js → aisdk-2vg4raz5.js} +5 -5
- package/dist/chunks/{reference-pp6802x5.js → aisdk-2xaaqh5g.js} +2 -2
- package/dist/chunks/{reference-je5g7w6t.js → aisdk-30247vtq.js} +2 -2
- package/dist/chunks/{reference-326j4s6w.js → aisdk-326j4s6w.js} +2 -2
- package/dist/chunks/{reference-30f47jbp.js → aisdk-395w7gw6.js} +10 -21
- package/dist/chunks/{reference-3chx3ng6.js → aisdk-3chx3ng6.js} +1 -1
- package/dist/chunks/{reference-7y13h7qh.js → aisdk-3ebhgms6.js} +3 -3
- package/dist/chunks/{reference-3ep0k87g.js → aisdk-3ep0k87g.js} +3 -3
- package/dist/chunks/{reference-df9ps1ev.js → aisdk-3hxswawt.js} +3 -3
- package/dist/chunks/{reference-a7swh0z4.js → aisdk-3jp0syc9.js} +6 -6
- package/dist/chunks/{reference-w7agyzeg.js → aisdk-3kan537b.js} +12 -8
- package/dist/chunks/{reference-3mc1hhwa.js → aisdk-3mc1hhwa.js} +3 -3
- package/dist/chunks/aisdk-3tg0cqem.js +51 -0
- package/dist/chunks/{reference-9nyt8zyy.js → aisdk-3v3gqb4q.js} +6 -6
- package/dist/chunks/{reference-fkf3c53e.js → aisdk-3vaxt6sf.js} +9 -9
- package/dist/chunks/{reference-42zyazrq.js → aisdk-42zyazrq.js} +1 -1
- package/dist/chunks/{reference-yyskhrw5.js → aisdk-4449p5t9.js} +6 -6
- package/dist/chunks/{reference-mxhs55xx.js → aisdk-4e1savhv.js} +28 -27
- package/dist/chunks/{reference-xwpxh8hr.js → aisdk-4eb5ep2q.js} +18 -8
- package/dist/chunks/{reference-4v6g3p22.js → aisdk-4v6g3p22.js} +1 -1
- package/dist/chunks/{reference-e4ve50r5.js → aisdk-4vyvk81b.js} +2 -2
- package/dist/chunks/{reference-63teb4w1.js → aisdk-4w0ckvbq.js} +9 -9
- package/dist/chunks/{reference-tr2gzb1w.js → aisdk-51t2tyks.js} +4 -12
- package/dist/chunks/{reference-0kz3ajyp.js → aisdk-524csryr.js} +29 -29
- package/dist/chunks/{reference-j9ymnb9b.js → aisdk-53jxjgr1.js} +2 -2
- package/dist/chunks/{reference-9s00a4cy.js → aisdk-58hm31pf.js} +3 -3
- package/dist/chunks/{reference-s4nkbdgv.js → aisdk-5awx9562.js} +9 -9
- package/dist/chunks/{reference-wv8n739s.js → aisdk-5dctyyh4.js} +6 -6
- package/dist/chunks/{reference-98a24b06.js → aisdk-5e89kmj8.js} +92 -92
- package/dist/chunks/{reference-088y9cbk.js → aisdk-5mct8kyt.js} +6 -6
- package/dist/chunks/{reference-byc4rwvh.js → aisdk-5vbk082d.js} +2 -2
- package/dist/chunks/{reference-5400f3k2.js → aisdk-5xcbjpr3.js} +8 -8
- package/dist/chunks/{reference-5y5kqjze.js → aisdk-5y5kqjze.js} +1 -1
- package/dist/chunks/{reference-66mds5ht.js → aisdk-66mds5ht.js} +1 -1
- package/dist/chunks/{reference-zq5w46q0.js → aisdk-68yag814.js} +2 -2
- package/dist/chunks/{reference-90je674c.js → aisdk-69xb812k.js} +8 -8
- package/dist/chunks/{reference-jqd42x9x.js → aisdk-6a909wmz.js} +8 -10
- package/dist/chunks/{reference-5n97c1kz.js → aisdk-6bjdjsdc.js} +3 -3
- package/dist/chunks/{reference-6bxzghb6.js → aisdk-6bxzghb6.js} +1 -1
- package/dist/chunks/{reference-6hppa3xw.js → aisdk-6hppa3xw.js} +2 -2
- package/dist/chunks/{reference-424hja68.js → aisdk-6na2bbpn.js} +13 -9
- package/dist/chunks/{reference-893c53jd.js → aisdk-6npa32e4.js} +12 -9
- package/dist/chunks/{reference-h292hczs.js → aisdk-6sx19hk0.js} +14 -14
- package/dist/chunks/{reference-6vbv4je1.js → aisdk-6vbv4je1.js} +2 -2
- package/dist/chunks/{reference-6wsfy4sp.js → aisdk-6wsfy4sp.js} +2 -2
- package/dist/chunks/{reference-1e3g1ft9.js → aisdk-71c3fy12.js} +9 -9
- package/dist/chunks/{reference-mhxjtrfr.js → aisdk-726vkb77.js} +26 -26
- package/dist/chunks/{reference-dvqebtf1.js → aisdk-74jm1yvj.js} +8 -5
- package/dist/chunks/{reference-8g6k80zr.js → aisdk-76wk8mbh.js} +4 -4
- package/dist/chunks/{reference-jcc5a2z4.js → aisdk-78wmkgff.js} +21 -5
- package/dist/chunks/{reference-f85kjf82.js → aisdk-798tse46.js} +19 -19
- package/dist/chunks/{reference-7myqjfx6.js → aisdk-7myqjfx6.js} +1 -1
- package/dist/chunks/{reference-89ttfx5q.js → aisdk-89ttfx5q.js} +2 -2
- package/dist/chunks/{reference-8ezmrsyj.js → aisdk-8ezmrsyj.js} +2 -2
- package/dist/chunks/{reference-8ck72gm8.js → aisdk-8manx9kj.js} +2 -2
- package/dist/chunks/{reference-3vc9vmpv.js → aisdk-8wywmgtm.js} +16 -15
- package/dist/chunks/{reference-r932pxqs.js → aisdk-8y5vxhk7.js} +1 -1
- package/dist/chunks/{reference-3y28g1fq.js → aisdk-8y9bav0p.js} +7 -7
- package/dist/chunks/{reference-z1x5ppqv.js → aisdk-9dbv6hqn.js} +2 -2
- package/dist/chunks/{reference-rw2ay6e7.js → aisdk-9h861fk8.js} +5 -5
- package/dist/chunks/{reference-ramface9.js → aisdk-a5rtdw1c.js} +6 -6
- package/dist/chunks/{reference-a6xqkezx.js → aisdk-a6xqkezx.js} +1 -1
- package/dist/chunks/{reference-thngpag9.js → aisdk-ad2ggc93.js} +4 -4
- package/dist/chunks/{reference-af42tqdk.js → aisdk-af42tqdk.js} +2 -2
- package/dist/chunks/{reference-wvzafhct.js → aisdk-an1thxgn.js} +6 -6
- package/dist/chunks/{reference-wkcm2121.js → aisdk-aqq7me5d.js} +14 -6
- package/dist/chunks/{reference-bd2mvb8t.js → aisdk-bd2mvb8t.js} +2 -2
- package/dist/chunks/{reference-bnha4c96.js → aisdk-bnha4c96.js} +1 -1
- package/dist/chunks/{reference-kek3rf55.js → aisdk-bp604jy8.js} +8 -8
- package/dist/chunks/{reference-c54e84vp.js → aisdk-c54e84vp.js} +1 -1
- package/dist/chunks/{reference-hfzsp55z.js → aisdk-c55cgmsp.js} +2 -2
- package/dist/chunks/{reference-9kywsdzv.js → aisdk-c58y1j1b.js} +6 -6
- package/dist/chunks/{reference-c8ya26sa.js → aisdk-c8ya26sa.js} +2 -2
- package/dist/chunks/{reference-g6q238va.js → aisdk-ckcq38kt.js} +2 -2
- package/dist/chunks/{reference-pg6rcx6v.js → aisdk-cnk52shz.js} +11 -11
- package/dist/chunks/{reference-c8z1ewty.js → aisdk-ct828ed8.js} +2 -2
- package/dist/chunks/{reference-2syg46b4.js → aisdk-cy9sv9qn.js} +8 -8
- package/dist/chunks/{reference-jesbcz0e.js → aisdk-d3jhter6.js} +2 -2
- package/dist/chunks/{reference-m8dxe63b.js → aisdk-d48sqyk1.js} +19 -21
- package/dist/chunks/{reference-d4h7vwhh.js → aisdk-d4h7vwhh.js} +2 -2
- package/dist/chunks/{reference-bhk5bpxq.js → aisdk-d7v67mge.js} +4 -4
- package/dist/chunks/{reference-qvh7d3mm.js → aisdk-dagxnbzc.js} +8 -8
- package/dist/chunks/{reference-dexm22yg.js → aisdk-dexm22yg.js} +1 -1
- package/dist/chunks/{reference-fddsdmdf.js → aisdk-dpdf4zw3.js} +2 -2
- package/dist/chunks/{reference-dtm6fkaa.js → aisdk-dtm6fkaa.js} +2 -2
- package/dist/chunks/{reference-9ex87gzq.js → aisdk-dw81mx6k.js} +14 -14
- package/dist/chunks/{reference-dyhtrhy2.js → aisdk-dyhtrhy2.js} +1 -1
- package/dist/chunks/aisdk-dyrfpcd0.js +114 -0
- package/dist/chunks/{reference-b1f1x5nb.js → aisdk-e0n16vwa.js} +8 -8
- package/dist/chunks/{reference-ez1a90zg.js → aisdk-e5egep24.js} +88 -88
- package/dist/chunks/{reference-vd8gzy68.js → aisdk-e9hz5j20.js} +17 -16
- package/dist/chunks/{reference-pj0nw4b1.js → aisdk-eb87q0yv.js} +1 -1
- package/dist/chunks/{reference-edxnhgvj.js → aisdk-edxnhgvj.js} +1 -1
- package/dist/chunks/{reference-0bw2p3eg.js → aisdk-egcn562v.js} +3 -3
- package/dist/chunks/{reference-8ze61944.js → aisdk-egr0d9z8.js} +11 -11
- package/dist/chunks/{reference-4z6b1r7t.js → aisdk-ejhchn8a.js} +22 -22
- package/dist/chunks/{reference-9dpm0ypj.js → aisdk-ejv8pqye.js} +8 -9
- package/dist/chunks/{reference-hgf74c4y.js → aisdk-eq3t7cqt.js} +10 -10
- package/dist/chunks/aisdk-esv5q40e.js +18 -0
- package/dist/chunks/{reference-etbnsc4s.js → aisdk-etbnsc4s.js} +2 -2
- package/dist/chunks/{reference-0enfz0ma.js → aisdk-ew2f4d89.js} +10 -10
- package/dist/chunks/{reference-f2nhxfjt.js → aisdk-f2nhxfjt.js} +2 -2
- package/dist/chunks/{reference-p4fwfknn.js → aisdk-f4h7s1h5.js} +5 -5
- package/dist/chunks/{reference-wx0fv060.js → aisdk-f53znwd4.js} +9 -9
- package/dist/chunks/{reference-f8wvq04h.js → aisdk-f8wvq04h.js} +1 -1
- package/dist/chunks/{reference-z427xjvx.js → aisdk-fa6mffz8.js} +11 -11
- package/dist/chunks/{reference-ty5gs0vf.js → aisdk-fk21s3y7.js} +32 -20
- package/dist/chunks/{reference-567c56db.js → aisdk-fnbnz4sm.js} +5 -5
- package/dist/chunks/{reference-c1qrh1pd.js → aisdk-fq2jz3e3.js} +5 -5
- package/dist/chunks/{reference-fqehnn9p.js → aisdk-fqehnn9p.js} +2 -2
- package/dist/chunks/{reference-xzp0zmzd.js → aisdk-fs6mzspw.js} +8 -8
- package/dist/chunks/{reference-gat33t0e.js → aisdk-fwrcvh0s.js} +10 -10
- package/dist/chunks/{reference-3t5c6jt3.js → aisdk-fx3za2rk.js} +8 -8
- package/dist/chunks/{reference-g9dd0fv6.js → aisdk-g9dd0fv6.js} +2 -2
- package/dist/chunks/{reference-gb1z7yet.js → aisdk-gb1z7yet.js} +2 -2
- package/dist/chunks/{reference-gc513wew.js → aisdk-gc513wew.js} +2 -2
- package/dist/chunks/{reference-wghtbf73.js → aisdk-gpd89psw.js} +12 -12
- package/dist/chunks/{reference-grfz4hhj.js → aisdk-grfz4hhj.js} +1 -1
- package/dist/chunks/{reference-z83gsyf2.js → aisdk-gzwdd9gr.js} +3 -3
- package/dist/chunks/{reference-rancn5ng.js → aisdk-h01zxzks.js} +5 -5
- package/dist/chunks/{reference-hgr9y616.js → aisdk-hgr9y616.js} +1 -1
- package/dist/chunks/{reference-pdq2xh3y.js → aisdk-hn510kmp.js} +7 -7
- package/dist/chunks/{reference-hpkeh7wf.js → aisdk-hpkeh7wf.js} +1 -1
- package/dist/chunks/{reference-hs51b0fc.js → aisdk-hs51b0fc.js} +1 -1
- package/dist/chunks/{reference-vyxqdbzy.js → aisdk-htaqsvng.js} +5 -5
- package/dist/chunks/{reference-4qz7zhx0.js → aisdk-htmhxvv7.js} +31 -196
- package/dist/chunks/{reference-hvydqsq5.js → aisdk-hvydqsq5.js} +2 -2
- package/dist/chunks/{reference-z5p8bt57.js → aisdk-hxr43x7t.js} +6 -6
- package/dist/chunks/{reference-hy5n5jcn.js → aisdk-hy5n5jcn.js} +1 -1
- package/dist/chunks/{reference-s2kjqxd3.js → aisdk-hzag9ake.js} +1 -1
- package/dist/chunks/{reference-s6ck6xts.js → aisdk-hzwx8p6y.js} +5 -4
- package/dist/chunks/{reference-j0feex7e.js → aisdk-j0feex7e.js} +1 -1
- package/dist/chunks/{reference-vem6fgbh.js → aisdk-j2b08km2.js} +5 -4
- package/dist/chunks/{reference-g0z4yfdj.js → aisdk-j2yp1r0h.js} +53 -49
- package/dist/chunks/{reference-80jq34sk.js → aisdk-j74x50h7.js} +4 -4
- package/dist/chunks/{reference-750jzgaa.js → aisdk-jar52fmb.js} +3 -3
- package/dist/chunks/{reference-f821qzap.js → aisdk-jmeq6dxt.js} +5 -5
- package/dist/chunks/{reference-jqhp3fpz.js → aisdk-jqhp3fpz.js} +2 -2
- package/dist/chunks/{reference-jr5m26np.js → aisdk-jr5m26np.js} +2 -2
- package/dist/chunks/{reference-5gzv38nr.js → aisdk-jtp8p0gd.js} +12 -12
- package/dist/chunks/{reference-khswz5rb.js → aisdk-jtxb810x.js} +14 -14
- package/dist/chunks/{reference-38cv1e1c.js → aisdk-jx8ms3vm.js} +11 -11
- package/dist/chunks/{reference-7f09d21b.js → aisdk-k60qsnvc.js} +4 -4
- package/dist/chunks/{reference-k7hkdbw5.js → aisdk-k7hkdbw5.js} +2 -2
- package/dist/chunks/{reference-m48hb2tb.js → aisdk-kc6qze1s.js} +16 -13
- package/dist/chunks/{reference-rzv103sq.js → aisdk-kjf8vaxa.js} +7 -4
- package/dist/chunks/{reference-z1959vye.js → aisdk-km8dd814.js} +5 -5
- package/dist/chunks/{reference-kq3q54gz.js → aisdk-kq3q54gz.js} +1 -1
- package/dist/chunks/{reference-kr9vgar1.js → aisdk-kr9vgar1.js} +1 -1
- package/dist/chunks/{reference-dxcg1gpj.js → aisdk-kx5nctx9.js} +2 -2
- package/dist/chunks/{reference-pkvv3k6x.js → aisdk-kz3ktmxp.js} +4 -4
- package/dist/chunks/{reference-2cehtecm.js → aisdk-m2sez5sb.js} +6 -6
- package/dist/chunks/{reference-z65x5xn8.js → aisdk-m3k0wh38.js} +16 -11
- package/dist/chunks/{reference-m3k5wttq.js → aisdk-m3k5wttq.js} +4 -4
- package/dist/chunks/{reference-30st6gwt.js → aisdk-m6a7zjhr.js} +1 -1
- package/dist/chunks/{reference-m7jtgrng.js → aisdk-m7jtgrng.js} +2 -2
- package/dist/chunks/{reference-mf0hyk7z.js → aisdk-mf0hyk7z.js} +1 -1
- package/dist/chunks/{reference-sawwddx8.js → aisdk-mhne2nrr.js} +17 -17
- package/dist/chunks/{reference-1btf37k0.js → aisdk-mmnzh4s0.js} +6 -6
- package/dist/chunks/{reference-mnyszbxc.js → aisdk-mnyszbxc.js} +1 -1
- package/dist/chunks/{reference-hhxh8pdx.js → aisdk-mv81kt5z.js} +2 -2
- package/dist/chunks/{reference-7z97vfjw.js → aisdk-my53s247.js} +3 -3
- package/dist/chunks/{reference-7w4qx9zy.js → aisdk-n91926fc.js} +4 -4
- package/dist/chunks/{reference-ngzr6ypz.js → aisdk-ngzr6ypz.js} +2 -2
- package/dist/chunks/{reference-jjepj7kz.js → aisdk-nj6yqve1.js} +9 -3
- package/dist/chunks/{reference-nn16cgj7.js → aisdk-nn16cgj7.js} +1 -1
- package/dist/chunks/{reference-xfk2eagt.js → aisdk-ntev5d3k.js} +9 -9
- package/dist/chunks/{reference-f410cv5t.js → aisdk-ny7wzm3x.js} +13 -13
- package/dist/chunks/{reference-8r263vtv.js → aisdk-nz4de5b9.js} +5 -5
- package/dist/chunks/{reference-2xn0r9vb.js → aisdk-p0asjctg.js} +16 -16
- package/dist/chunks/{reference-p1m5qwvv.js → aisdk-p1m5qwvv.js} +1 -1
- package/dist/chunks/{reference-p5gyct0y.js → aisdk-p5gyct0y.js} +1 -1
- package/dist/chunks/{reference-jghhn6h0.js → aisdk-p87673dz.js} +4 -4
- package/dist/chunks/{reference-0emrnx66.js → aisdk-pk32mz2v.js} +5 -5
- package/dist/chunks/{reference-pk53j7qk.js → aisdk-pk53j7qk.js} +2 -2
- package/dist/chunks/{reference-kggc3hrm.js → aisdk-pves38xm.js} +8 -8
- package/dist/chunks/{reference-qf5b2gmg.js → aisdk-pxjen4wd.js} +13 -13
- package/dist/chunks/{reference-xxphcf1f.js → aisdk-pz49dv9m.js} +11 -11
- package/dist/chunks/{reference-k85ch1vg.js → aisdk-pznym66m.js} +3 -3
- package/dist/chunks/{reference-q606pcse.js → aisdk-q606pcse.js} +3 -3
- package/dist/chunks/{reference-zqygmzvz.js → aisdk-qcfrnhfy.js} +8 -8
- package/dist/chunks/{reference-qf52r0wh.js → aisdk-qf52r0wh.js} +1 -1
- package/dist/chunks/{reference-qfvp8zq7.js → aisdk-qfvp8zq7.js} +1 -1
- package/dist/chunks/{reference-zgfz4nwa.js → aisdk-qjw573hg.js} +13 -13
- package/dist/chunks/{reference-xh0dkm7j.js → aisdk-qpxzqy01.js} +1 -1
- package/dist/chunks/{reference-73zc7acq.js → aisdk-qszswz6j.js} +4 -4
- package/dist/chunks/{reference-qz5gwjr7.js → aisdk-qz5gwjr7.js} +3 -3
- package/dist/chunks/{reference-y1yqxy0w.js → aisdk-r1yqtt9g.js} +10 -10
- package/dist/chunks/{reference-4v53bvyt.js → aisdk-r5g0eg31.js} +18 -20
- package/dist/chunks/{reference-ftjbsen0.js → aisdk-r6zgyyks.js} +3 -3
- package/dist/chunks/{reference-gte2a4bk.js → aisdk-r7a2r1m6.js} +18 -33
- package/dist/chunks/{reference-r7z6wjth.js → aisdk-r7z6wjth.js} +1 -1
- package/dist/chunks/{reference-r9d3d23r.js → aisdk-r9d3d23r.js} +1 -1
- package/dist/chunks/{reference-rahat93a.js → aisdk-rahat93a.js} +1 -1
- package/dist/chunks/{reference-k3b0087g.js → aisdk-rcbvtsva.js} +10 -10
- package/dist/chunks/{reference-k5r2vn1t.js → aisdk-re3tnyhv.js} +9 -9
- package/dist/chunks/{reference-n256kz7s.js → aisdk-rgtj2rve.js} +32 -21
- package/dist/chunks/{reference-rr7wbarq.js → aisdk-rr7wbarq.js} +1 -1
- package/dist/chunks/{reference-gq0njyjb.js → aisdk-rs74c49y.js} +41 -43
- package/dist/chunks/{reference-9z5kkd1v.js → aisdk-rv983qnw.js} +12 -12
- package/dist/chunks/{reference-s32nnj3r.js → aisdk-s32nnj3r.js} +1 -1
- package/dist/chunks/{reference-v1q61tmm.js → aisdk-sgyp8ncd.js} +10 -10
- package/dist/chunks/{reference-j32vdj8r.js → aisdk-snpn6bap.js} +3 -6
- package/dist/chunks/{reference-ayh0b6nc.js → aisdk-ss69724p.js} +15 -15
- package/dist/chunks/{reference-ka1ze8e7.js → aisdk-st9m0r5x.js} +3 -3
- package/dist/chunks/{reference-vmf3mwf0.js → aisdk-svf3xmjw.js} +5 -5
- package/dist/chunks/{reference-ak8kj9h3.js → aisdk-t0tzarny.js} +29 -28
- package/dist/chunks/{reference-e5r3hp5p.js → aisdk-tqg8w6z3.js} +22 -16
- package/dist/chunks/{reference-2nszkqak.js → aisdk-tv521g8r.js} +8 -8
- package/dist/chunks/{reference-t5rvtmq7.js → aisdk-v0bpzf7m.js} +61 -61
- package/dist/chunks/{reference-tt4qnzy6.js → aisdk-v1d93kh1.js} +6 -7
- package/dist/chunks/{reference-hyfbxc6f.js → aisdk-v9jp7n76.js} +1 -1
- package/dist/chunks/{reference-vcwr2vpf.js → aisdk-vcwr2vpf.js} +1 -1
- package/dist/chunks/{reference-qp1z2q9w.js → aisdk-vp58t579.js} +25 -33
- package/dist/chunks/{reference-vynk8zbr.js → aisdk-vynk8zbr.js} +1 -1
- package/dist/chunks/{reference-f6687h7n.js → aisdk-w5bszccf.js} +47 -47
- package/dist/chunks/{reference-w5r9s7kx.js → aisdk-w5r9s7kx.js} +1 -1
- package/dist/chunks/{reference-qx3jf2qk.js → aisdk-w8hy6wsd.js} +7 -7
- package/dist/chunks/{reference-46azr2y9.js → aisdk-w9a3w5xf.js} +3 -3
- package/dist/chunks/{reference-wbkt8qpj.js → aisdk-wbkt8qpj.js} +1 -1
- package/dist/chunks/{reference-wdqva41w.js → aisdk-wdqva41w.js} +1 -1
- package/dist/chunks/{reference-z6zhg99y.js → aisdk-wf0csb76.js} +12 -12
- package/dist/chunks/{reference-wf5w4wph.js → aisdk-wf5w4wph.js} +1 -1
- package/dist/chunks/{reference-ec0fjxjh.js → aisdk-wj0dwjdq.js} +9 -9
- package/dist/chunks/{reference-wmxdh12w.js → aisdk-wmxdh12w.js} +1 -1
- package/dist/chunks/{reference-17fnrv0p.js → aisdk-wnk3k0td.js} +8 -8
- package/dist/chunks/{reference-yt5sqzpx.js → aisdk-wpy9b1rj.js} +13 -13
- package/dist/chunks/{reference-n5yhfyk0.js → aisdk-wvq8c2n1.js} +153 -149
- package/dist/chunks/{reference-8ngkfkdx.js → aisdk-wxkbchz3.js} +2 -2
- package/dist/chunks/{reference-x3vb5b1t.js → aisdk-x3vb5b1t.js} +1 -1
- package/dist/chunks/{reference-x4az4y7r.js → aisdk-x4az4y7r.js} +1 -1
- package/dist/chunks/{reference-xdb88cdw.js → aisdk-xdb88cdw.js} +2 -2
- package/dist/chunks/{reference-2x0ckx01.js → aisdk-xe02v0q7.js} +2 -2
- package/dist/chunks/{reference-t253hdyx.js → aisdk-xhy2qknm.js} +3 -3
- package/dist/chunks/{reference-97q0eayt.js → aisdk-xqx8htq9.js} +11 -11
- package/dist/chunks/{reference-xws7arpm.js → aisdk-xws7arpm.js} +1 -1
- package/dist/chunks/{reference-fq40qrnc.js → aisdk-y2t1e6ck.js} +4 -4
- package/dist/chunks/{reference-4e9y157d.js → aisdk-y6mc84ky.js} +2 -2
- package/dist/chunks/{reference-8q7rztf6.js → aisdk-yf78bf3z.js} +45 -26
- package/dist/chunks/{reference-6qa4ddqm.js → aisdk-yns4vmk5.js} +185 -144
- package/dist/chunks/{reference-c9xhhs5v.js → aisdk-ysdasg1c.js} +50 -36
- package/dist/chunks/{reference-7epmrnkh.js → aisdk-yxwnec9y.js} +11 -11
- package/dist/chunks/{reference-np5sawwb.js → aisdk-z6ngc9f1.js} +3 -3
- package/dist/chunks/{reference-z8c1ty6e.js → aisdk-z8c1ty6e.js} +1 -1
- package/dist/chunks/{reference-zbqqnp0n.js → aisdk-zbqqnp0n.js} +1 -1
- package/dist/chunks/{reference-rv2n9m0t.js → aisdk-zmbmd7xf.js} +2 -2
- package/dist/chunks/{reference-zn935gjz.js → aisdk-zn935gjz.js} +1 -1
- package/dist/chunks/{reference-8jwkk0nn.js → aisdk-zseh86v1.js} +2 -2
- package/dist/chunks/{reference-mq1tw6ze.js → aisdk-zsj6ehbf.js} +15 -15
- package/dist/chunks/{reference-yvej0khr.js → aisdk-ztjp727a.js} +6 -6
- package/dist/chunks/{reference-zyyhrfr9.js → aisdk-zyyhrfr9.js} +1 -1
- package/dist/codemode/catalog.js +2 -2
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +4 -4
- package/dist/command.js +70 -70
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +127 -127
- package/dist/config/plugin/command.js +113 -113
- package/dist/config/plugin/compaction.js +166 -166
- package/dist/config/plugin/entry-observer.js +109 -109
- package/dist/config/plugin/formatter.js +114 -114
- package/dist/config/plugin/image.js +126 -126
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +112 -112
- package/dist/config/plugin/mcp.js +122 -122
- package/dist/config/plugin/policy.js +111 -111
- package/dist/config/plugin/provider.js +110 -110
- package/dist/config/plugin/reference.js +114 -114
- package/dist/config/plugin/shell.js +113 -113
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +130 -130
- package/dist/config/plugin/snapshot.js +112 -112
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +114 -114
- package/dist/config/plugin/websearch.js +110 -110
- package/dist/config/variable.js +4 -4
- package/dist/config.js +108 -108
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +71 -71
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/index.js +16 -16
- package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
- package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
- package/dist/database/drizzle.js +15 -15
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
- package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
- package/dist/database/migration/20260225215848_workspace.js +2 -2
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
- package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
- package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
- package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
- package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
- package/dist/database/migration/20260323234822_events.js +2 -2
- package/dist/database/migration/20260410174513_workspace-name.js +2 -2
- package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
- package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
- package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
- package/dist/database/migration/20260428004200_add_session_path.js +2 -2
- package/dist/database/migration/20260501142318_next_venus.js +2 -2
- package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
- package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
- package/dist/database/migration/20260510033149_session_usage.js +2 -2
- package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
- package/dist/database/migration/20260511173437_session-metadata.js +2 -2
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
- package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
- package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
- package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
- package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
- package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
- package/dist/database/migration/20260611035744_credential.js +2 -2
- package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
- package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
- package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
- package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
- package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
- package/dist/database/migration/20260812181746_session_inbox.js +2 -2
- package/dist/database/migration/20260812213948_worktree.js +2 -2
- package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +3 -3
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +2 -2
- package/dist/database/sqlite.js +2 -2
- package/dist/database/sqlite.node.js +2 -2
- package/dist/database/sqlite.workerd.js +2 -2
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +342 -340
- package/dist/effect/app-node-platform.js +3 -3
- package/dist/effect/keyed-mutex.js +2 -2
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +86 -86
- package/dist/environment/exec-defaults.js +3 -3
- package/dist/environment/files.js +2 -2
- package/dist/environment/index.js +88 -88
- package/dist/environment/local.js +3 -3
- package/dist/environment/memory.js +3 -3
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +2 -2
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +87 -87
- package/dist/file-retention.js +2 -2
- package/dist/file.js +2 -2
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +3 -3
- package/dist/filesystem/location-watcher.js +217 -216
- package/dist/filesystem/protected.js +2 -2
- package/dist/filesystem/search.js +91 -91
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +4 -4
- package/dist/filesystem.js +92 -92
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +80 -80
- package/dist/generate.js +84 -84
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
- package/dist/github-copilot/chat/get-response-metadata.js +2 -2
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
- package/dist/github-copilot/copilot-provider.js +18 -18
- package/dist/github-copilot/models.js +4 -4
- package/dist/github-copilot/openai-compatible-error.js +2 -2
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
- package/dist/github-copilot/responses/openai-error.js +2 -2
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
- package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
- package/dist/github-copilot/responses/tool/file-search.js +2 -2
- package/dist/github-copilot/responses/tool/image-generation.js +2 -2
- package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
- package/dist/github-copilot/responses/tool/web-search.js +2 -2
- package/dist/id/id.js +2 -2
- package/dist/image/photon-wasm.bun.js +1 -1
- package/dist/image/photon-wasm.node.js +1 -1
- package/dist/image/photon-wasm.workerd.js +1 -1
- package/dist/image/photon.js +94 -94
- package/dist/image.js +94 -94
- package/dist/instance/service.js +2 -2
- package/dist/instance.js +341 -339
- package/dist/instruction-discovery.js +72 -72
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +2 -2
- package/dist/integration/connection.js +2 -2
- package/dist/integration.js +75 -75
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +82 -82
- package/dist/location-mutation.js +79 -79
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +342 -340
- package/dist/location.js +78 -78
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +93 -93
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +2 -2
- package/dist/model-resolver.js +81 -81
- package/dist/model.js +3 -3
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +2 -2
- package/dist/permission/saved.js +71 -71
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +95 -95
- package/dist/persistent-pty/binary.bun.js +2 -2
- package/dist/persistent-pty/binary.node.js +1 -1
- package/dist/persistent-pty/binary.workerd.js +1 -1
- package/dist/persistent-pty/daemon.js +2 -2
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +214 -213
- package/dist/plugin/instance.js +2 -2
- package/dist/plugin/internal.js +313 -311
- package/dist/plugin/mcp-codemode-exclusion.js +2 -2
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +3 -3
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +2 -2
- package/dist/plugin/provider/alibaba.js +3 -3
- package/dist/plugin/provider/amazon-bedrock.js +3 -3
- package/dist/plugin/provider/anthropic.js +3 -3
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/dynamic.js +3 -3
- package/dist/plugin/provider/factory.js +2 -2
- package/dist/plugin/provider/gateway.js +3 -3
- package/dist/plugin/provider/github-copilot.js +82 -82
- package/dist/plugin/provider/gitlab.js +4 -4
- package/dist/plugin/provider/google-vertex.js +3 -3
- package/dist/plugin/provider/kilo.js +3 -3
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +77 -77
- package/dist/plugin/provider/openrouter.js +4 -4
- package/dist/plugin/provider/perplexity.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +4 -4
- package/dist/plugin/provider/sdk-factory.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +3 -3
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +11 -0
- package/dist/plugin/skill.js +127 -127
- package/dist/plugin/source-directory.js +2 -4
- package/dist/plugin/supervisor.js +328 -326
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/variant.js +3 -3
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +109 -109
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +3 -3
- package/dist/plugin.js +219 -215
- package/dist/project/schema.js +3 -3
- package/dist/project/sql.js +5 -5
- package/dist/project.js +77 -77
- package/dist/provider.js +2 -2
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/pty.bun.js +1 -1
- package/dist/pty/pty.node.js +1 -1
- package/dist/pty/pty.workerd.js +1 -1
- package/dist/pty/schema.js +2 -2
- package/dist/pty/ticket.js +2 -2
- package/dist/pty.js +84 -84
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +78 -78
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +2 -2
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +89 -89
- package/dist/rpc.js +79 -79
- package/dist/schema.js +2 -2
- package/dist/session/command.js +73 -72
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +150 -150
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +208 -207
- package/dist/session/execution.js +117 -117
- package/dist/session/generate.js +153 -152
- package/dist/session/history.js +77 -77
- package/dist/session/inbox.js +77 -77
- package/dist/session/info.js +4 -4
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +134 -134
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +80 -80
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +115 -114
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +2 -2
- package/dist/session/runner/index.js +84 -84
- package/dist/session/runner/llm.js +224 -223
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +83 -83
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +72 -72
- package/dist/session/runner/step.js +143 -143
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +2 -2
- package/dist/session/session.js +171 -170
- package/dist/session/shell.js +130 -129
- package/dist/session/skill.js +99 -98
- package/dist/session/sql.js +6 -6
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +79 -79
- package/dist/session/subagent-completion.js +2 -2
- package/dist/session/system-prompt.js +2 -2
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +207 -206
- package/dist/session/usage.js +2 -2
- package/dist/session.js +205 -204
- package/dist/shell/parse.js +7 -7
- package/dist/shell/parser-wasm.bun.js +1 -1
- package/dist/shell/parser-wasm.node.js +1 -1
- package/dist/shell/parser-wasm.workerd.js +1 -1
- package/dist/shell/result.js +2 -2
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +127 -127
- package/dist/skill/discovery.js +3 -3
- package/dist/skill/instructions.js +97 -97
- package/dist/skill.js +96 -96
- package/dist/snapshot.js +80 -80
- package/dist/state.js +8 -4
- package/dist/tool/html-markdown.js +2 -2
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +108 -108
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +111 -111
- package/dist/tool/plugin/grep.js +111 -111
- package/dist/tool/plugin/opencode.js +11 -0
- package/dist/tool/plugin/patch.js +108 -108
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +114 -114
- package/dist/tool/plugin/shell.js +208 -207
- package/dist/tool/plugin/skill.js +97 -97
- package/dist/tool/plugin/subagent.js +207 -206
- package/dist/tool/plugin/webfetch.js +98 -98
- package/dist/tool/plugin/websearch.js +100 -100
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +2 -2
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +114 -114
- package/dist/types/agent.d.ts +2 -2
- package/dist/types/catalog.d.ts +2 -2
- package/dist/types/command.d.ts +2 -2
- package/dist/types/filesystem/location-watcher-policy.d.ts +2 -2
- package/dist/types/filesystem/watcher.d.ts +4 -2
- package/dist/types/filesystem.d.ts +1 -0
- package/dist/types/formatter.d.ts +2 -2
- package/dist/types/image.d.ts +2 -2
- package/dist/types/instruction-discovery.d.ts +2 -2
- package/dist/types/integration.d.ts +2 -2
- package/dist/types/mcp/index.d.ts +2 -2
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/plugin/module.d.ts +4 -1
- package/dist/types/plugin/service.d.ts +32 -0
- package/dist/types/plugin/source-directory.d.ts +1 -2
- package/dist/types/plugin.d.ts +2 -25
- package/dist/types/provider.d.ts +1 -1
- package/dist/types/reference.d.ts +2 -2
- package/dist/types/session/compaction.d.ts +13 -12
- package/dist/types/session/model-request.d.ts +6 -5
- package/dist/types/session/runner/publish-llm-event.d.ts +2 -2
- package/dist/types/shell/select.d.ts +2 -2
- package/dist/types/skill.d.ts +2 -2
- package/dist/types/snapshot.d.ts +2 -2
- package/dist/types/state.d.ts +34 -24
- package/dist/types/tool/plugin/glob.d.ts +1 -0
- package/dist/types/tool/plugin/opencode.d.ts +14 -0
- package/dist/types/tool-output.d.ts +4 -4
- package/dist/types/tool.d.ts +7 -5
- package/dist/types/v1/config/migrate.d.ts +1 -1
- package/dist/types/vcs.d.ts +2 -2
- package/dist/types/websearch.d.ts +2 -2
- package/dist/util/array.js +1 -1
- package/dist/util/error.js +2 -2
- package/dist/util/identifier.js +1 -1
- package/dist/util/iife.js +2 -2
- package/dist/util/lazy.js +2 -2
- package/dist/util/process-lock-ffi.bun.js +1 -1
- package/dist/util/process-lock-ffi.node.js +1 -1
- package/dist/util/process-lock-ffi.workerd.js +1 -1
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +2 -2
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +2 -2
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +2 -2
- package/dist/v1/config/config.js +15 -15
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +2 -2
- package/dist/v1/config/layout.js +2 -2
- package/dist/v1/config/lsp.js +2 -2
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +19 -19
- package/dist/v1/config/permission.js +2 -2
- package/dist/v1/config/plugin.js +2 -2
- package/dist/v1/config/provider-options.js +2 -2
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +3 -3
- package/dist/v1/config/skills.js +2 -2
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +2 -2
- package/dist/vcs.js +81 -81
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +72 -72
- package/dist/workspace/driver.js +2 -2
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +69 -69
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +82 -82
- package/package.json +8 -7
- package/dist/chunks/reference-b7rje112.js +0 -139
- /package/dist/chunks/{reference-0cgt0xh2.js → aisdk-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{reference-0f48qthw.js → aisdk-0f48qthw.js} +0 -0
- /package/dist/chunks/{reference-0zz82cjq.js → aisdk-0zz82cjq.js} +0 -0
- /package/dist/chunks/{reference-1fb7bmpf.js → aisdk-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{reference-1wcz8fvj.js → aisdk-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{reference-29n7vfk2.js → aisdk-29n7vfk2.js} +0 -0
- /package/dist/chunks/{reference-2qdx6zz3.js → aisdk-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{reference-2xb0r1c6.js → aisdk-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{reference-39ktntah.js → aisdk-39ktntah.js} +0 -0
- /package/dist/chunks/{reference-3g3rpp2x.js → aisdk-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{reference-3w3ybtfd.js → aisdk-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{reference-47ty4mvs.js → aisdk-47ty4mvs.js} +0 -0
- /package/dist/chunks/{reference-4b2tz2m9.js → aisdk-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{reference-5a5ch9ts.js → aisdk-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{reference-5va1yh78.js → aisdk-5va1yh78.js} +0 -0
- /package/dist/chunks/{reference-61ek4hj9.js → aisdk-61ek4hj9.js} +0 -0
- /package/dist/chunks/{reference-69qrqpw0.js → aisdk-69qrqpw0.js} +0 -0
- /package/dist/chunks/{reference-6zqxzw0a.js → aisdk-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{reference-7n9qwqk4.js → aisdk-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{reference-8nn8kqcn.js → aisdk-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{reference-8rpfd2h6.js → aisdk-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{reference-8sj3ajy5.js → aisdk-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{reference-8w9tzfz1.js → aisdk-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{reference-906y0b6d.js → aisdk-906y0b6d.js} +0 -0
- /package/dist/chunks/{reference-9dct5xhx.js → aisdk-9dct5xhx.js} +0 -0
- /package/dist/chunks/{reference-9maxscqf.js → aisdk-9maxscqf.js} +0 -0
- /package/dist/chunks/{reference-9sdtsapf.js → aisdk-9sdtsapf.js} +0 -0
- /package/dist/chunks/{reference-a02svayp.js → aisdk-a02svayp.js} +0 -0
- /package/dist/chunks/{reference-a83yvq99.js → aisdk-a83yvq99.js} +0 -0
- /package/dist/chunks/{reference-ayevdmef.js → aisdk-ayevdmef.js} +0 -0
- /package/dist/chunks/{reference-b02txbh8.js → aisdk-b02txbh8.js} +0 -0
- /package/dist/chunks/{reference-bbqs2y60.js → aisdk-bbqs2y60.js} +0 -0
- /package/dist/chunks/{reference-bjwj8hwv.js → aisdk-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{reference-brsh5f65.js → aisdk-brsh5f65.js} +0 -0
- /package/dist/chunks/{reference-bxdhjb3y.js → aisdk-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{reference-bybkghrn.js → aisdk-bybkghrn.js} +0 -0
- /package/dist/chunks/{reference-c77ad0vh.js → aisdk-c77ad0vh.js} +0 -0
- /package/dist/chunks/{reference-cm67rqy2.js → aisdk-cm67rqy2.js} +0 -0
- /package/dist/chunks/{reference-df3v2q6j.js → aisdk-df3v2q6j.js} +0 -0
- /package/dist/chunks/{reference-dhcq6c44.js → aisdk-dhcq6c44.js} +0 -0
- /package/dist/chunks/{reference-dht5baf0.js → aisdk-dht5baf0.js} +0 -0
- /package/dist/chunks/{reference-dkmkay92.js → aisdk-dkmkay92.js} +0 -0
- /package/dist/chunks/{reference-ehj9csmv.js → aisdk-ehj9csmv.js} +0 -0
- /package/dist/chunks/{reference-em6xpscd.js → aisdk-em6xpscd.js} +0 -0
- /package/dist/chunks/{reference-emmqknsm.js → aisdk-emmqknsm.js} +0 -0
- /package/dist/chunks/{reference-ezs3tagn.js → aisdk-ezs3tagn.js} +0 -0
- /package/dist/chunks/{reference-f14r7hfz.js → aisdk-f14r7hfz.js} +0 -0
- /package/dist/chunks/{reference-f1jj19e8.js → aisdk-f1jj19e8.js} +0 -0
- /package/dist/chunks/{reference-f4cp4g4a.js → aisdk-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{reference-faypg4r1.js → aisdk-faypg4r1.js} +0 -0
- /package/dist/chunks/{reference-fg7fz4q3.js → aisdk-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{reference-fgbfdq62.js → aisdk-fgbfdq62.js} +0 -0
- /package/dist/chunks/{reference-g23fad86.js → aisdk-g23fad86.js} +0 -0
- /package/dist/chunks/{reference-gd5xeqc2.js → aisdk-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{reference-ghm4673n.js → aisdk-ghm4673n.js} +0 -0
- /package/dist/chunks/{reference-ghwjy7my.js → aisdk-ghwjy7my.js} +0 -0
- /package/dist/chunks/{reference-gy500k2r.js → aisdk-gy500k2r.js} +0 -0
- /package/dist/chunks/{reference-hzeg9cfr.js → aisdk-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{reference-j07kk359.js → aisdk-j07kk359.js} +0 -0
- /package/dist/chunks/{reference-jqms80b0.js → aisdk-jqms80b0.js} +0 -0
- /package/dist/chunks/{reference-jve7t217.js → aisdk-jve7t217.js} +0 -0
- /package/dist/chunks/{reference-k3e42drn.js → aisdk-k3e42drn.js} +0 -0
- /package/dist/chunks/{reference-k8b45nas.js → aisdk-k8b45nas.js} +0 -0
- /package/dist/chunks/{reference-kpdbz7gn.js → aisdk-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{reference-kxy11nzk.js → aisdk-kxy11nzk.js} +0 -0
- /package/dist/chunks/{reference-kyyqvx4s.js → aisdk-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{reference-m8cbvarh.js → aisdk-m8cbvarh.js} +0 -0
- /package/dist/chunks/{reference-ma60vzgv.js → aisdk-ma60vzgv.js} +0 -0
- /package/dist/chunks/{reference-n3m50c2t.js → aisdk-n3m50c2t.js} +0 -0
- /package/dist/chunks/{reference-nkm1m8dz.js → aisdk-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{reference-nsc0c3zb.js → aisdk-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{reference-qaarhjrp.js → aisdk-qaarhjrp.js} +0 -0
- /package/dist/chunks/{reference-qc167nrn.js → aisdk-qc167nrn.js} +0 -0
- /package/dist/chunks/{reference-qp95y4jb.js → aisdk-qp95y4jb.js} +0 -0
- /package/dist/chunks/{reference-r8f4w671.js → aisdk-r8f4w671.js} +0 -0
- /package/dist/chunks/{reference-rdfev9jy.js → aisdk-rdfev9jy.js} +0 -0
- /package/dist/chunks/{reference-s7whb9gt.js → aisdk-s7whb9gt.js} +0 -0
- /package/dist/chunks/{reference-se76j685.js → aisdk-se76j685.js} +0 -0
- /package/dist/chunks/{reference-sem2g21k.js → aisdk-sem2g21k.js} +0 -0
- /package/dist/chunks/{reference-sp575ygv.js → aisdk-sp575ygv.js} +0 -0
- /package/dist/chunks/{reference-tmb1f636.js → aisdk-tmb1f636.js} +0 -0
- /package/dist/chunks/{reference-ttxf0gsy.js → aisdk-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{reference-tvmhrvfj.js → aisdk-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{reference-v2adqbbe.js → aisdk-v2adqbbe.js} +0 -0
- /package/dist/chunks/{reference-vac9eqd2.js → aisdk-vac9eqd2.js} +0 -0
- /package/dist/chunks/{reference-vpjkya7h.js → aisdk-vpjkya7h.js} +0 -0
- /package/dist/chunks/{reference-wj4sxzqa.js → aisdk-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{reference-wwntjmk1.js → aisdk-wwntjmk1.js} +0 -0
- /package/dist/chunks/{reference-wyqjaaa5.js → aisdk-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{reference-x4q807cx.js → aisdk-x4q807cx.js} +0 -0
- /package/dist/chunks/{reference-yrqrg4vp.js → aisdk-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{reference-z47nswr2.js → aisdk-z47nswr2.js} +0 -0
- /package/dist/chunks/{reference-zsf8rs93.js → aisdk-zsf8rs93.js} +0 -0
|
@@ -22,14 +22,16 @@ export interface Prepared {
|
|
|
22
22
|
* One request-scoped execution operation. Unknown and hook-removed calls
|
|
23
23
|
* fail individually through the same seam.
|
|
24
24
|
*/
|
|
25
|
-
readonly executeTool: (input: Parameters<Tool.Snapshot["execute"]>[0]) => Effect.Effect<Tool.
|
|
25
|
+
readonly executeTool: (input: Parameters<Tool.Snapshot["execute"]>[0]) => Effect.Effect<Tool.NormalizedResult, ExecuteError>;
|
|
26
26
|
}
|
|
27
27
|
interface PrepareInput {
|
|
28
28
|
readonly scope: {
|
|
29
29
|
readonly session: SessionSchema.Info;
|
|
30
30
|
readonly agentID: Agent.ID;
|
|
31
|
+
/** Agent whose context an auxiliary request reuses, without changing its request-hook identity. */
|
|
32
|
+
readonly contextAgentID?: Agent.ID;
|
|
31
33
|
readonly model: SessionRunnerModel.Resolved;
|
|
32
|
-
/** Omitted for requests that carry no
|
|
34
|
+
/** Omitted for requests that carry no tool definitions, such as titles. */
|
|
33
35
|
readonly tools?: Tool.Snapshot;
|
|
34
36
|
};
|
|
35
37
|
readonly transcript: {
|
|
@@ -38,9 +40,8 @@ interface PrepareInput {
|
|
|
38
40
|
};
|
|
39
41
|
readonly toolChoice?: LLM.RequestInput["toolChoice"];
|
|
40
42
|
/**
|
|
41
|
-
* Session context hooks shape the agent conversation.
|
|
42
|
-
*
|
|
43
|
-
* pass through unchanged.
|
|
43
|
+
* Session context hooks shape the agent conversation. Standalone requests
|
|
44
|
+
* such as titles opt out; compaction uses the selected Session context.
|
|
44
45
|
*/
|
|
45
46
|
readonly contextHooks?: false;
|
|
46
47
|
/** Stateful Session WebSocket channels require an explicit durable-runner opt-in. */
|
|
@@ -10,7 +10,7 @@ import { SessionSchema } from "../schema.js";
|
|
|
10
10
|
import { SessionError } from "@opencode-ai/schema/session-error";
|
|
11
11
|
import { Money } from "@opencode-ai/schema/money";
|
|
12
12
|
import { SessionUsage } from "../usage.js";
|
|
13
|
-
import { Tool } from "
|
|
13
|
+
import type { Tool } from "../../tool.js";
|
|
14
14
|
type Input = {
|
|
15
15
|
readonly sessionID: SessionSchema.ID;
|
|
16
16
|
readonly agent: Agent.ID;
|
|
@@ -53,7 +53,7 @@ export interface StepRecord {
|
|
|
53
53
|
export declare const createLLMEventPublisher: (bus: Pick<Bus.Interface, "publish">, input: Input) => {
|
|
54
54
|
publish: (event: LLMEvent) => Effect.Effect<undefined, never, never>;
|
|
55
55
|
progress: (id: string, update: Readonly<Record<string, any>>) => Effect.Effect<undefined, never, never>;
|
|
56
|
-
toolExecution: (id: string, name: string, result: Tool.
|
|
56
|
+
toolExecution: (id: string, name: string, result: Tool.NormalizedResult) => Effect.Effect<undefined, never, never>;
|
|
57
57
|
flush: () => Effect.Effect<void, never, never>;
|
|
58
58
|
failAssistant: (error: SessionError.Error) => Effect.Effect<void, never, never>;
|
|
59
59
|
failTool: (id: string, error: SessionError.Error, metadata?: Readonly<Record<string, any>> | undefined) => Effect.Effect<boolean, never, never>;
|
|
@@ -10,13 +10,13 @@ export declare const Options: Schema.Struct<{
|
|
|
10
10
|
readonly gitbash: Schema.optional<Schema.String>;
|
|
11
11
|
}>;
|
|
12
12
|
export type Options = typeof Options.Type;
|
|
13
|
-
export type
|
|
13
|
+
export type Editor = {
|
|
14
14
|
configure: (shell: string) => void;
|
|
15
15
|
};
|
|
16
16
|
export type ResolveInput = {
|
|
17
17
|
priority: "config" | "compat";
|
|
18
18
|
};
|
|
19
|
-
export interface Interface extends State.Transformable<
|
|
19
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
20
20
|
readonly resolve: (input: ResolveInput) => Effect.Effect<string>;
|
|
21
21
|
}
|
|
22
22
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/ShellSelect", Interface>;
|
package/dist/types/skill.d.ts
CHANGED
|
@@ -73,13 +73,13 @@ export declare const prepare: (fs: FSUtil.Interface, skill: Skill.Info) => Effec
|
|
|
73
73
|
export type Data = {
|
|
74
74
|
skills: Map<ID, Types.DeepMutable<Info>>;
|
|
75
75
|
};
|
|
76
|
-
export type
|
|
76
|
+
export type Editor = {
|
|
77
77
|
list: () => readonly Types.DeepMutable<Info>[];
|
|
78
78
|
add: (skill: Info) => void;
|
|
79
79
|
update: (id: string, update: (skill: Types.DeepMutable<Info>) => void) => void;
|
|
80
80
|
remove: (id: string) => void;
|
|
81
81
|
};
|
|
82
|
-
export interface Interface extends State.Transformable<
|
|
82
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
83
83
|
readonly get: (id: ID) => Effect.Effect<Info | undefined>;
|
|
84
84
|
readonly list: () => Effect.Effect<Info[]>;
|
|
85
85
|
}
|
package/dist/types/snapshot.d.ts
CHANGED
|
@@ -24,10 +24,10 @@ export interface RestoreInput {
|
|
|
24
24
|
/** Paths are relative to the project root. */
|
|
25
25
|
readonly files: ReadonlyMap<RelativePath, ID>;
|
|
26
26
|
}
|
|
27
|
-
export type
|
|
27
|
+
export type Editor = {
|
|
28
28
|
configure: (enabled: boolean) => void;
|
|
29
29
|
};
|
|
30
|
-
export interface Interface extends State.Transformable<
|
|
30
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
31
31
|
/**
|
|
32
32
|
* Capture the current Location-scoped filesystem state as a content-addressed
|
|
33
33
|
* tree. Returns `undefined` when snapshots are disabled, unsupported, or the
|
package/dist/types/state.d.ts
CHANGED
|
@@ -1,45 +1,55 @@
|
|
|
1
1
|
export * as State from "./state.js";
|
|
2
|
-
import { Effect, Scope } from "effect";
|
|
2
|
+
import { Effect, Fiber, Scope } from "effect";
|
|
3
3
|
/**
|
|
4
|
-
* A replayable
|
|
4
|
+
* A synchronous, replayable edit to the current domain state.
|
|
5
5
|
*
|
|
6
|
-
* Domain
|
|
6
|
+
* Domain editors expose readable and writable state while preserving concise
|
|
7
7
|
* plugin/config code. Transforms synchronously rebuild derived state.
|
|
8
8
|
*/
|
|
9
|
-
type TransformCallback<
|
|
10
|
-
export type
|
|
9
|
+
type TransformCallback<Editor> = (editor: Editor) => void;
|
|
10
|
+
export type MakeEditor<State, Editor> = (state: State) => Editor;
|
|
11
11
|
export interface Registration {
|
|
12
12
|
readonly dispose: Effect.Effect<void>;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Registers
|
|
16
|
-
* the transform and
|
|
15
|
+
* Registers a scoped transform. Reads rebuild by applying every registered transform in order.
|
|
16
|
+
* Closing the owning Scope removes the transform and invalidates the current value.
|
|
17
17
|
*/
|
|
18
|
-
export type Transform<
|
|
18
|
+
export type Transform<Editor> = (transform: TransformCallback<Editor>) => Effect.Effect<Registration, never, Scope.Scope>;
|
|
19
|
+
/** Invalidates the current value after captured inputs change and notifies like a registration would. */
|
|
19
20
|
export type Reload = () => Effect.Effect<void>;
|
|
20
|
-
export interface Transformable<
|
|
21
|
-
readonly transform: Transform<
|
|
21
|
+
export interface Transformable<Editor> {
|
|
22
|
+
readonly transform: Transform<Editor>;
|
|
22
23
|
readonly reload: Reload;
|
|
23
24
|
}
|
|
24
|
-
/**
|
|
25
|
-
export declare function batch<A, E, R>(effect: Effect.Effect<A, E, R
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
/** Coalesces notifications until the effect completes. Reads inside stay fresh; nothing is rolled back. */
|
|
26
|
+
export declare function batch<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R>;
|
|
27
|
+
/** Runs the effect as shutdown: States changed inside it close permanently and never notify again. */
|
|
28
|
+
export declare function shutdown<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R>;
|
|
29
|
+
/**
|
|
30
|
+
* A `notify` body that runs resource reconciliation in the owning layer's FiberSet and awaits it, so work
|
|
31
|
+
* queued behind the layer's locks is interrupted with the layer. That interruption is not a failure.
|
|
32
|
+
*/
|
|
33
|
+
export declare function reconcile(root: Scope.Scope, fork: (effect: Effect.Effect<void>) => Fiber.Fiber<void>, work: () => Effect.Effect<void>): Effect.Effect<void>;
|
|
28
34
|
export declare const inherit: () => Effect.Effect<(<A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, never>>), never, never>;
|
|
29
|
-
export interface Options<State,
|
|
35
|
+
export interface Options<State, Editor> {
|
|
30
36
|
readonly name?: string;
|
|
31
|
-
/** Creates the base value for
|
|
37
|
+
/** Creates the empty base value for every rebuild. */
|
|
32
38
|
readonly initial: () => State;
|
|
33
|
-
/** Wraps mutable state in a domain-specific
|
|
34
|
-
readonly
|
|
39
|
+
/** Wraps mutable state in a domain-specific editor API. */
|
|
40
|
+
readonly editor: MakeEditor<State, Editor>;
|
|
35
41
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
42
|
+
* Observes the freshly rebuilt value outside the read path. Every registration, disposal, or
|
|
43
|
+
* reload notifies once it is applied; a batch coalesces them into one notification at its end.
|
|
44
|
+
* Resource reconciliation owns its execution scope and coordination.
|
|
39
45
|
*/
|
|
40
|
-
readonly
|
|
46
|
+
readonly notify?: (state: State) => Effect.Effect<void>;
|
|
41
47
|
}
|
|
42
|
-
export interface Interface<State,
|
|
48
|
+
export interface Interface<State, Editor> extends Transformable<Editor> {
|
|
49
|
+
/**
|
|
50
|
+
* Rebuilds synchronously when transforms changed since the last read. Each rebuild produces a new
|
|
51
|
+
* value and never touches earlier ones, so callers may retain what they read.
|
|
52
|
+
*/
|
|
43
53
|
readonly get: () => State;
|
|
44
54
|
}
|
|
45
|
-
export declare function create<State,
|
|
55
|
+
export declare function create<State, Editor>(options: Options<State, Editor>): Interface<State, Editor>;
|
|
@@ -10,6 +10,7 @@ export declare const name = "glob";
|
|
|
10
10
|
export declare const Input: Schema.Struct<{
|
|
11
11
|
readonly pattern: Schema.String;
|
|
12
12
|
readonly path: Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>;
|
|
13
|
+
readonly hidden: Schema.optionalKey<Schema.Boolean>;
|
|
13
14
|
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
14
15
|
}>;
|
|
15
16
|
export declare const Output: Schema.$Array<Schema.Struct<{
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * as OpenCodeTools from "./opencode.js";
|
|
2
|
+
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
|
+
import { Effect, Schema } from "effect";
|
|
4
|
+
export declare const MoveInput: Schema.Struct<{
|
|
5
|
+
readonly sessionID: Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
6
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
8
|
+
}>;
|
|
9
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const Plugin: {
|
|
12
|
+
id: string;
|
|
13
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope>;
|
|
14
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export * as ToolOutput from "./tool-output.js";
|
|
2
|
-
import type { Tool } from "
|
|
2
|
+
import type { Tool } from "./tool.js";
|
|
3
3
|
import { Context, Duration, Effect } from "effect";
|
|
4
4
|
import { State } from "./state.js";
|
|
5
5
|
export declare const MAX_LINES = 2000;
|
|
6
6
|
export declare const MAX_BYTES: number;
|
|
7
7
|
export declare const RETENTION: Duration.Duration;
|
|
8
8
|
export declare const DIRECTORY = "tool-output";
|
|
9
|
-
type Result = Tool.
|
|
9
|
+
type Result = Tool.NormalizedResult;
|
|
10
10
|
type Limits = {
|
|
11
11
|
maxLines: number;
|
|
12
12
|
maxBytes: number;
|
|
13
13
|
};
|
|
14
|
-
export type
|
|
14
|
+
export type Editor = {
|
|
15
15
|
configure: (limits: Partial<Limits>) => void;
|
|
16
16
|
};
|
|
17
|
-
export interface Interface extends State.Transformable<
|
|
17
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
18
18
|
readonly truncate: (result: Result) => Effect.Effect<Result>;
|
|
19
19
|
readonly cleanup: () => Effect.Effect<void>;
|
|
20
20
|
}
|
package/dist/types/tool.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ declare const RegistrationError_base: Schema.Class<RegistrationError, Schema.Tag
|
|
|
16
16
|
}>, import("effect/Cause").YieldableError>;
|
|
17
17
|
export declare class RegistrationError extends RegistrationError_base {
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface Editor {
|
|
20
20
|
readonly list: () => readonly (Tool.Info & {
|
|
21
21
|
readonly id: string;
|
|
22
22
|
})[];
|
|
@@ -28,9 +28,13 @@ export interface Draft {
|
|
|
28
28
|
readonly update: (id: string, update: (tool: Types.Mutable<Tool.Info>) => void) => void;
|
|
29
29
|
readonly remove: (id: string) => void;
|
|
30
30
|
}
|
|
31
|
-
export interface Interface extends State.Transformable<
|
|
31
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
32
32
|
readonly snapshot: (permissions?: Permission.Ruleset) => Effect.Effect<Snapshot>;
|
|
33
33
|
}
|
|
34
|
+
/** A local execution result after hooks and content normalization. */
|
|
35
|
+
export interface NormalizedResult extends Tool.Result {
|
|
36
|
+
readonly content: ReadonlyArray<Tool.Content>;
|
|
37
|
+
}
|
|
34
38
|
export interface Snapshot {
|
|
35
39
|
readonly definitions: ReadonlyArray<ToolDefinition>;
|
|
36
40
|
readonly codeModeCatalog?: CodeModeCatalog.Inventory;
|
|
@@ -42,9 +46,7 @@ export interface Snapshot {
|
|
|
42
46
|
readonly progress?: (update: Tool.Metadata) => Effect.Effect<void>;
|
|
43
47
|
/** Surviving request definitions, keyed by the names advertised after session context hooks. */
|
|
44
48
|
readonly definitions?: ReadonlyMap<string, ToolDefinition>;
|
|
45
|
-
}) => Effect.Effect<Tool.
|
|
46
|
-
readonly content: ReadonlyArray<Tool.Content>;
|
|
47
|
-
}, Tool.Error>;
|
|
49
|
+
}) => Effect.Effect<NormalizedResult, Tool.Error>;
|
|
48
50
|
}
|
|
49
51
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Tool", Interface>;
|
|
50
52
|
export declare class Service extends Service_base {
|
|
@@ -18,6 +18,7 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
18
18
|
readonly effect: "allow" | "deny" | "ask";
|
|
19
19
|
}[] | undefined;
|
|
20
20
|
readonly share?: "auto" | "disabled" | "manual" | undefined;
|
|
21
|
+
readonly update?: "auto" | "disable" | "notify" | undefined;
|
|
21
22
|
readonly commands?: {
|
|
22
23
|
readonly [x: string]: {
|
|
23
24
|
readonly template: string;
|
|
@@ -226,7 +227,6 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
226
227
|
} | undefined;
|
|
227
228
|
readonly $schema?: string | undefined;
|
|
228
229
|
readonly default_agent?: string | undefined;
|
|
229
|
-
readonly autoupdate?: boolean | "notify" | undefined;
|
|
230
230
|
readonly enterprise?: {
|
|
231
231
|
readonly url?: string | undefined;
|
|
232
232
|
} | undefined;
|
package/dist/types/vcs.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as Vcs from "./vcs.js";
|
|
2
2
|
import { Cause, Context, Effect, Schema } from "effect";
|
|
3
|
-
import type {
|
|
3
|
+
import type { VcsEditor } from "@opencode-ai/plugin/effect/vcs";
|
|
4
4
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
5
5
|
import { Base, BranchList, FileStatus, Info, Mode } from "@opencode-ai/schema/vcs";
|
|
6
6
|
import { State } from "./state.js";
|
|
@@ -25,7 +25,7 @@ export interface Adapter {
|
|
|
25
25
|
readonly status: () => Effect.Effect<FileStatus[]>;
|
|
26
26
|
readonly diff: (mode: Mode, options?: DiffOptions) => Effect.Effect<FileDiff.Info[], DiffError>;
|
|
27
27
|
}
|
|
28
|
-
export interface Interface extends Adapter, State.Transformable<
|
|
28
|
+
export interface Interface extends Adapter, State.Transformable<VcsEditor> {
|
|
29
29
|
readonly base: () => Effect.Effect<Base | null, DiffError>;
|
|
30
30
|
}
|
|
31
31
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Vcs", Interface>;
|
|
@@ -51,7 +51,7 @@ declare const RequestError_base: Schema.Class<RequestError, Schema.TaggedStruct<
|
|
|
51
51
|
export declare class RequestError extends RequestError_base {
|
|
52
52
|
}
|
|
53
53
|
export type Error = ProviderRequiredError | ProviderNotFoundError | DisabledError | RequestError;
|
|
54
|
-
export interface Interface extends State.Transformable<
|
|
54
|
+
export interface Interface extends State.Transformable<Editor> {
|
|
55
55
|
readonly providers: () => Effect.Effect<readonly Provider[]>;
|
|
56
56
|
readonly default: () => Effect.Effect<Provider | undefined, DisabledError>;
|
|
57
57
|
readonly select: (selection: Selection) => Effect.Effect<void>;
|
|
@@ -60,7 +60,7 @@ export interface Interface extends State.Transformable<Draft> {
|
|
|
60
60
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/WebSearch", Interface>;
|
|
61
61
|
export declare class Service extends Service_base {
|
|
62
62
|
}
|
|
63
|
-
export type
|
|
63
|
+
export type Editor = {
|
|
64
64
|
add: (provider: ProviderImplementation) => void;
|
|
65
65
|
default: {
|
|
66
66
|
get: () => Selection | undefined;
|
package/dist/util/array.js
CHANGED
package/dist/util/error.js
CHANGED
package/dist/util/identifier.js
CHANGED
package/dist/util/iife.js
CHANGED
package/dist/util/lazy.js
CHANGED
package/dist/util/slug.js
CHANGED
package/dist/util/token.js
CHANGED
package/dist/util/which.js
CHANGED
package/dist/util/wildcard.js
CHANGED
package/dist/v1/config/agent.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Info,
|
|
3
3
|
exports_agent
|
|
4
|
-
} from "../../chunks/
|
|
5
|
-
import"../../chunks/
|
|
6
|
-
import"../../chunks/
|
|
7
|
-
import"../../chunks/
|
|
4
|
+
} from "../../chunks/aisdk-3ep0k87g.js";
|
|
5
|
+
import"../../chunks/aisdk-qfvp8zq7.js";
|
|
6
|
+
import"../../chunks/aisdk-j07kk359.js";
|
|
7
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_agent as ConfigAgentV1,
|
|
10
10
|
Info
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
Image,
|
|
3
3
|
Info,
|
|
4
4
|
exports_attachment
|
|
5
|
-
} from "../../chunks/
|
|
6
|
-
import"../../chunks/
|
|
7
|
-
import"../../chunks/
|
|
5
|
+
} from "../../chunks/aisdk-ngzr6ypz.js";
|
|
6
|
+
import"../../chunks/aisdk-j07kk359.js";
|
|
7
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_attachment as ConfigAttachmentV1,
|
|
10
10
|
Image,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Info,
|
|
3
3
|
exports_command
|
|
4
|
-
} from "../../chunks/
|
|
5
|
-
import"../../chunks/
|
|
4
|
+
} from "../../chunks/aisdk-42zyazrq.js";
|
|
5
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
6
6
|
export {
|
|
7
7
|
exports_command as ConfigCommandV1,
|
|
8
8
|
Info
|
package/dist/v1/config/config.js
CHANGED
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
Info,
|
|
3
3
|
WellKnown,
|
|
4
4
|
exports_config
|
|
5
|
-
} from "../../chunks/
|
|
6
|
-
import"../../chunks/
|
|
7
|
-
import"../../chunks/
|
|
8
|
-
import"../../chunks/
|
|
9
|
-
import"../../chunks/
|
|
10
|
-
import"../../chunks/
|
|
11
|
-
import"../../chunks/
|
|
12
|
-
import"../../chunks/
|
|
13
|
-
import"../../chunks/
|
|
14
|
-
import"../../chunks/
|
|
15
|
-
import"../../chunks/
|
|
16
|
-
import"../../chunks/
|
|
17
|
-
import"../../chunks/
|
|
18
|
-
import"../../chunks/
|
|
19
|
-
import"../../chunks/
|
|
5
|
+
} from "../../chunks/aisdk-726vkb77.js";
|
|
6
|
+
import"../../chunks/aisdk-hpkeh7wf.js";
|
|
7
|
+
import"../../chunks/aisdk-g9dd0fv6.js";
|
|
8
|
+
import"../../chunks/aisdk-wdqva41w.js";
|
|
9
|
+
import"../../chunks/aisdk-x3vb5b1t.js";
|
|
10
|
+
import"../../chunks/aisdk-3ep0k87g.js";
|
|
11
|
+
import"../../chunks/aisdk-bd2mvb8t.js";
|
|
12
|
+
import"../../chunks/aisdk-4v6g3p22.js";
|
|
13
|
+
import"../../chunks/aisdk-ngzr6ypz.js";
|
|
14
|
+
import"../../chunks/aisdk-wf5w4wph.js";
|
|
15
|
+
import"../../chunks/aisdk-42zyazrq.js";
|
|
16
|
+
import"../../chunks/aisdk-qfvp8zq7.js";
|
|
17
|
+
import"../../chunks/aisdk-xdb88cdw.js";
|
|
18
|
+
import"../../chunks/aisdk-j07kk359.js";
|
|
19
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
20
20
|
export {
|
|
21
21
|
exports_config as ConfigV1,
|
|
22
22
|
Info,
|
package/dist/v1/config/error.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
JsonError,
|
|
6
6
|
RemoteAuthError,
|
|
7
7
|
exports_error
|
|
8
|
-
} from "../../chunks/
|
|
9
|
-
import"../../chunks/
|
|
10
|
-
import"../../chunks/
|
|
8
|
+
} from "../../chunks/aisdk-89ttfx5q.js";
|
|
9
|
+
import"../../chunks/aisdk-hzeg9cfr.js";
|
|
10
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_error as ConfigErrorV1,
|
|
13
13
|
DirectoryTypoError,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
Entry,
|
|
3
3
|
Info,
|
|
4
4
|
exports_formatter
|
|
5
|
-
} from "../../chunks/
|
|
6
|
-
import"../../chunks/
|
|
5
|
+
} from "../../chunks/aisdk-4v6g3p22.js";
|
|
6
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_formatter as ConfigFormatterV1,
|
|
9
9
|
Entry,
|
package/dist/v1/config/layout.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Layout,
|
|
3
3
|
exports_layout
|
|
4
|
-
} from "../../chunks/
|
|
5
|
-
import"../../chunks/
|
|
4
|
+
} from "../../chunks/aisdk-wdqva41w.js";
|
|
5
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
6
6
|
export {
|
|
7
7
|
exports_layout as ConfigLayoutV1,
|
|
8
8
|
Layout
|
package/dist/v1/config/lsp.js
CHANGED
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
builtinServerIds,
|
|
6
6
|
exports_lsp,
|
|
7
7
|
requiresExtensionsForCustomServers
|
|
8
|
-
} from "../../chunks/
|
|
9
|
-
import"../../chunks/
|
|
8
|
+
} from "../../chunks/aisdk-hpkeh7wf.js";
|
|
9
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
10
10
|
export {
|
|
11
11
|
exports_lsp as ConfigLSPV1,
|
|
12
12
|
Disabled,
|
package/dist/v1/config/mcp.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
OAuth,
|
|
5
5
|
Remote,
|
|
6
6
|
exports_mcp
|
|
7
|
-
} from "../../chunks/
|
|
8
|
-
import"../../chunks/
|
|
9
|
-
import"../../chunks/
|
|
7
|
+
} from "../../chunks/aisdk-bd2mvb8t.js";
|
|
8
|
+
import"../../chunks/aisdk-j07kk359.js";
|
|
9
|
+
import"../../chunks/aisdk-vpjkya7h.js";
|
|
10
10
|
export {
|
|
11
11
|
exports_mcp as ConfigMCPV1,
|
|
12
12
|
Info,
|