@opencode-ai/core 0.0.0-beta-18999 → 0.0.0-beta-19086
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/{model-resolver-0n1ech8q.js → schema-078tha6v.js} +89 -89
- package/dist/chunks/{model-resolver-0ag03ecw.js → schema-0ag03ecw.js} +2 -2
- package/dist/chunks/{model-resolver-nr5fgbs6.js → schema-0nhdpq2e.js} +7 -7
- package/dist/chunks/{model-resolver-0pc4kdn1.js → schema-0pc4kdn1.js} +2 -2
- package/dist/chunks/{model-resolver-0rz7yd7x.js → schema-0rz7yd7x.js} +1 -1
- package/dist/chunks/{model-resolver-gst5vhy7.js → schema-11qadcdt.js} +12 -12
- package/dist/chunks/{model-resolver-67ndm1z2.js → schema-1escsep2.js} +51 -51
- package/dist/chunks/{model-resolver-gfr7wgjb.js → schema-1j302hhe.js} +7 -7
- package/dist/chunks/{model-resolver-qp4cj2b0.js → schema-1jjzsk9c.js} +4 -4
- package/dist/chunks/{model-resolver-8gv3hynm.js → schema-1nf5m1zv.js} +13 -13
- package/dist/chunks/{model-resolver-czskr0xw.js → schema-1qtszg6j.js} +3 -3
- package/dist/chunks/{model-resolver-81kadfkq.js → schema-22x56hdn.js} +2 -2
- package/dist/chunks/{model-resolver-264e1nfp.js → schema-264e1nfp.js} +2 -2
- package/dist/chunks/{model-resolver-8ezmrsyj.js → schema-273erafq.js} +6 -2
- package/dist/chunks/{model-resolver-td9hry5r.js → schema-2c5k0n78.js} +4 -4
- package/dist/chunks/{model-resolver-tmfv98ar.js → schema-2g4twk0n.js} +8 -8
- package/dist/chunks/{model-resolver-2sqw2jjm.js → schema-2sqw2jjm.js} +3 -3
- package/dist/chunks/{model-resolver-326j4s6w.js → schema-326j4s6w.js} +2 -2
- package/dist/chunks/{model-resolver-4fhh1fay.js → schema-32ypdbhb.js} +8 -8
- package/dist/chunks/{model-resolver-3chx3ng6.js → schema-3chx3ng6.js} +1 -1
- package/dist/chunks/{model-resolver-3ep0k87g.js → schema-3ep0k87g.js} +3 -3
- package/dist/chunks/{model-resolver-3mc1hhwa.js → schema-3mc1hhwa.js} +3 -3
- package/dist/chunks/{model-resolver-rmrmrh60.js → schema-3rcd4hwd.js} +10 -10
- package/dist/chunks/{model-resolver-42zyazrq.js → schema-42zyazrq.js} +1 -1
- package/dist/chunks/{model-resolver-4fr8jywp.js → schema-43f3kvve.js} +2 -2
- package/dist/chunks/{model-resolver-c71vnwdm.js → schema-45pacypk.js} +3 -3
- package/dist/chunks/{model-resolver-p7kv5kq9.js → schema-4hbpra3r.js} +22 -22
- package/dist/chunks/{model-resolver-4v6g3p22.js → schema-4v6g3p22.js} +1 -1
- package/dist/chunks/{model-resolver-4w0ckvbq.js → schema-4w0ckvbq.js} +3 -3
- package/dist/chunks/{model-resolver-w53bf3d8.js → schema-4wg4838e.js} +6 -6
- package/dist/chunks/{model-resolver-nz4de5b9.js → schema-4xf915ct.js} +3 -9
- package/dist/chunks/{model-resolver-51t2tyks.js → schema-51t2tyks.js} +1 -1
- package/dist/chunks/{model-resolver-53jxjgr1.js → schema-53jxjgr1.js} +2 -2
- package/dist/chunks/{model-resolver-qa2w238n.js → schema-56r3658h.js} +3 -3
- package/dist/chunks/{model-resolver-zz8p0qp8.js → schema-57a903bc.js} +3 -3
- package/dist/chunks/{model-resolver-a8ftngxw.js → schema-57j2wsfm.js} +10 -10
- package/dist/chunks/{model-resolver-t3r0ngmb.js → schema-5djqxq12.js} +8 -7
- package/dist/chunks/{model-resolver-5swfpf97.js → schema-5j084t57.js} +3 -3
- package/dist/chunks/{model-resolver-r32713pr.js → schema-5qrxwkqv.js} +6 -6
- package/dist/chunks/{model-resolver-9w1bs40q.js → schema-5r9z69ez.js} +6 -6
- package/dist/chunks/{model-resolver-5vbk082d.js → schema-5vbk082d.js} +2 -2
- package/dist/chunks/{model-resolver-5y5kqjze.js → schema-5y5kqjze.js} +1 -1
- package/dist/chunks/{model-resolver-7qpdgm16.js → schema-600p3j5r.js} +96 -96
- package/dist/chunks/{model-resolver-1qdep925.js → schema-62kj29x0.js} +6 -6
- package/dist/chunks/schema-63c3fvvm.js +49 -0
- package/dist/chunks/{model-resolver-yr82tean.js → schema-65mjrg75.js} +12 -11
- package/dist/chunks/{model-resolver-66mds5ht.js → schema-66mds5ht.js} +1 -1
- package/dist/chunks/{model-resolver-nj6yqve1.js → schema-683rspwx.js} +10 -5
- package/dist/chunks/{model-resolver-68yag814.js → schema-68yag814.js} +1 -1
- package/dist/chunks/{model-resolver-1pfcdes2.js → schema-69tvj744.js} +4 -4
- package/dist/chunks/{model-resolver-0vkt3tck.js → schema-6b7ybj1y.js} +6 -6
- package/dist/chunks/{model-resolver-n120nzhy.js → schema-6bwmg5am.js} +2 -2
- package/dist/chunks/{model-resolver-6bxzghb6.js → schema-6bxzghb6.js} +1 -1
- package/dist/chunks/{model-resolver-6hppa3xw.js → schema-6hppa3xw.js} +2 -2
- package/dist/chunks/{model-resolver-6vbv4je1.js → schema-6vbv4je1.js} +2 -2
- package/dist/chunks/{model-resolver-6wsfy4sp.js → schema-6wsfy4sp.js} +2 -2
- package/dist/chunks/{model-resolver-qjkhdsbm.js → schema-7480bqmm.js} +7 -7
- package/dist/chunks/{model-resolver-ath9jwvp.js → schema-766yrv8h.js} +8 -8
- package/dist/chunks/{model-resolver-m721zqr5.js → schema-79anhy2w.js} +5 -5
- package/dist/chunks/{model-resolver-3rvvyz0j.js → schema-7cnts1xz.js} +24 -46
- package/dist/chunks/{model-resolver-7myqjfx6.js → schema-7myqjfx6.js} +1 -1
- package/dist/chunks/{model-resolver-z5qwd455.js → schema-7nm0rjt9.js} +2 -2
- package/dist/chunks/{model-resolver-xn34k971.js → schema-7vrvnzaw.js} +7 -7
- package/dist/chunks/{model-resolver-bsksdwjr.js → schema-82xa3tgg.js} +3 -3
- package/dist/chunks/{model-resolver-89ttfx5q.js → schema-89ttfx5q.js} +2 -2
- package/dist/chunks/{model-resolver-7hg4wk1y.js → schema-8ahgknnv.js} +4 -4
- package/dist/chunks/{model-resolver-m3k5wttq.js → schema-8c5xq4gn.js} +6 -6
- package/dist/chunks/{model-resolver-7fndj6sb.js → schema-8e4szv2f.js} +1 -1
- package/dist/chunks/{model-resolver-qtvfzxt9.js → schema-8egdkw7k.js} +6 -6
- package/dist/chunks/{model-resolver-8manx9kj.js → schema-8manx9kj.js} +2 -2
- package/dist/chunks/{model-resolver-tn3vtv4h.js → schema-8scqw7rh.js} +3 -3
- package/dist/chunks/{model-resolver-vsg6fsmg.js → schema-8tmvw628.js} +4 -4
- package/dist/chunks/{model-resolver-8y5vxhk7.js → schema-8y5vxhk7.js} +1 -1
- package/dist/chunks/{model-resolver-9dbv6hqn.js → schema-9dbv6hqn.js} +2 -2
- package/dist/chunks/{model-resolver-vbaqktrz.js → schema-9kt3hna5.js} +2 -2
- package/dist/chunks/{model-resolver-3tg0cqem.js → schema-a42y10z7.js} +5 -2
- package/dist/chunks/{model-resolver-wz5907jr.js → schema-a4wk7wxx.js} +7 -7
- package/dist/chunks/{model-resolver-nx1h5ew3.js → schema-a6mq1kfm.js} +17 -17
- package/dist/chunks/{model-resolver-a6xqkezx.js → schema-a6xqkezx.js} +1 -1
- package/dist/chunks/{model-resolver-tmcx57d7.js → schema-aeh43dyz.js} +4 -4
- package/dist/chunks/{model-resolver-pnesahrw.js → schema-aep5wxg9.js} +4 -4
- package/dist/chunks/{model-resolver-af42tqdk.js → schema-af42tqdk.js} +2 -2
- package/dist/chunks/{model-resolver-pk53j7qk.js → schema-aseryw3y.js} +11 -6
- package/dist/chunks/{model-resolver-r48cnx81.js → schema-attsg8d3.js} +2 -2
- package/dist/chunks/schema-axwdyrw6.js +173 -0
- package/dist/chunks/{model-resolver-h3jh27nc.js → schema-az8m3c6n.js} +2 -2
- package/dist/chunks/{model-resolver-qnbjsbym.js → schema-b4v20za7.js} +64 -60
- package/dist/chunks/{model-resolver-158s554p.js → schema-b9bp1awf.js} +9 -9
- package/dist/chunks/{model-resolver-y6z22yy0.js → schema-bbd9spwe.js} +2 -2
- package/dist/chunks/{model-resolver-36pw8tps.js → schema-bbwsb44a.js} +4 -4
- package/dist/chunks/{model-resolver-bd2mvb8t.js → schema-bd2mvb8t.js} +2 -2
- package/dist/chunks/{model-resolver-bnha4c96.js → schema-bnha4c96.js} +1 -1
- package/dist/chunks/{model-resolver-whbgthyk.js → schema-br63wb0q.js} +14 -14
- package/dist/chunks/{model-resolver-qc9f9sqe.js → schema-by2e2whs.js} +3 -3
- package/dist/chunks/{model-resolver-c54e84vp.js → schema-c54e84vp.js} +1 -1
- package/dist/chunks/{model-resolver-c55cgmsp.js → schema-c55cgmsp.js} +2 -2
- package/dist/chunks/{model-resolver-8tcjfzdf.js → schema-c5m7vmrw.js} +8 -8
- package/dist/chunks/{model-resolver-c8ya26sa.js → schema-c8ya26sa.js} +2 -2
- package/dist/chunks/{model-resolver-f4vh7ye9.js → schema-cdy2ypjf.js} +5 -5
- package/dist/chunks/{model-resolver-pm5ge93v.js → schema-ce4hyqkb.js} +12 -12
- package/dist/chunks/{model-resolver-vsqc2j7q.js → schema-chf795vd.js} +6 -7
- package/dist/chunks/{model-resolver-ckcq38kt.js → schema-ckcq38kt.js} +2 -2
- package/dist/chunks/{model-resolver-ax34jjm3.js → schema-ctegtqnq.js} +9 -9
- package/dist/chunks/{model-resolver-t54q55m1.js → schema-d26zqcqt.js} +7 -7
- package/dist/chunks/{model-resolver-d4h7vwhh.js → schema-d4h7vwhh.js} +2 -2
- package/dist/chunks/{model-resolver-18medfkf.js → schema-d6pj50wp.js} +6 -4
- package/dist/chunks/{model-resolver-psa1vmjb.js → schema-db3nafyd.js} +5 -5
- package/dist/chunks/{model-resolver-dexm22yg.js → schema-dexm22yg.js} +1 -1
- package/dist/chunks/{model-resolver-xq6chnhm.js → schema-df3kvyqj.js} +4 -4
- package/dist/chunks/{model-resolver-6a909wmz.js → schema-dj1xm95f.js} +2 -2
- package/dist/chunks/{model-resolver-dyax5m0p.js → schema-dkkkrjgz.js} +2 -2
- package/dist/chunks/{model-resolver-hwtjfpwk.js → schema-dt5yw4ma.js} +11 -13
- package/dist/chunks/{model-resolver-dtm6fkaa.js → schema-dtm6fkaa.js} +2 -2
- package/dist/chunks/{model-resolver-3ebhgms6.js → schema-dwvtf5ds.js} +6 -5
- package/dist/chunks/{model-resolver-dyhtrhy2.js → schema-dyhtrhy2.js} +1 -1
- package/dist/chunks/{model-resolver-e0n16vwa.js → schema-e0n16vwa.js} +2 -2
- package/dist/chunks/{model-resolver-m6rc87ej.js → schema-e2jftvbf.js} +11 -11
- package/dist/chunks/{model-resolver-50zp5qas.js → schema-e7nnc03a.js} +5 -5
- package/dist/chunks/{model-resolver-eb87q0yv.js → schema-eb87q0yv.js} +1 -1
- package/dist/chunks/{model-resolver-edxnhgvj.js → schema-edxnhgvj.js} +1 -1
- package/dist/chunks/{model-resolver-v1bt6mkm.js → schema-egn23jh0.js} +7 -7
- package/dist/chunks/{model-resolver-vcygwjbr.js → schema-enmke0a7.js} +5 -5
- package/dist/chunks/{model-resolver-p9kbbxty.js → schema-erys6mk6.js} +6 -6
- package/dist/chunks/{model-resolver-esv5q40e.js → schema-esv5q40e.js} +1 -1
- package/dist/chunks/{model-resolver-etbnsc4s.js → schema-etbnsc4s.js} +2 -2
- package/dist/chunks/{model-resolver-8gd72fyf.js → schema-eyr78tzb.js} +5 -5
- package/dist/chunks/{model-resolver-f2nhxfjt.js → schema-f2nhxfjt.js} +2 -2
- package/dist/chunks/{model-resolver-r6sdn3zs.js → schema-f3dqxhwr.js} +5 -5
- package/dist/chunks/{model-resolver-f8wvq04h.js → schema-f8wvq04h.js} +1 -1
- package/dist/chunks/{model-resolver-b2mj9w79.js → schema-fjb24bmd.js} +4 -4
- package/dist/chunks/{model-resolver-fqehnn9p.js → schema-fqehnn9p.js} +2 -2
- package/dist/chunks/{model-resolver-ns8veh4z.js → schema-fxa7vmmn.js} +5 -5
- package/dist/chunks/schema-g1j3gwgp.js +74 -0
- package/dist/chunks/{model-resolver-48xfm273.js → schema-g4r9xws8.js} +3 -3
- package/dist/chunks/{model-resolver-136c8mz3.js → schema-g70ev3a2.js} +4 -4
- package/dist/chunks/{model-resolver-g9dd0fv6.js → schema-g9dd0fv6.js} +2 -2
- package/dist/chunks/{model-resolver-gb1z7yet.js → schema-gb1z7yet.js} +2 -2
- package/dist/chunks/{model-resolver-gc513wew.js → schema-gc513wew.js} +2 -2
- package/dist/chunks/{model-resolver-bztt47zv.js → schema-gfvhypam.js} +4 -4
- package/dist/chunks/{model-resolver-njadyfry.js → schema-gn7btdpk.js} +21 -19
- package/dist/chunks/{model-resolver-grfz4hhj.js → schema-grfz4hhj.js} +1 -1
- package/dist/chunks/{model-resolver-03ddbsr9.js → schema-gtyed076.js} +65 -34
- package/dist/chunks/{model-resolver-hqw3c13n.js → schema-h08da7w8.js} +15 -15
- package/dist/chunks/{model-resolver-ef1eacza.js → schema-h0f1t520.js} +3 -3
- package/dist/chunks/{model-resolver-7g3szxan.js → schema-h3y8g5ka.js} +3 -3
- package/dist/chunks/{model-resolver-bb4yrkhg.js → schema-h4g121et.js} +4 -4
- package/dist/chunks/{model-resolver-dpwr0jqv.js → schema-h650edej.js} +5 -5
- package/dist/chunks/{model-resolver-kr9vgar1.js → schema-hbtzhcxr.js} +13 -5
- package/dist/chunks/{model-resolver-hgr9y616.js → schema-hgr9y616.js} +1 -1
- package/dist/chunks/{model-resolver-hpkeh7wf.js → schema-hpkeh7wf.js} +1 -1
- package/dist/chunks/{model-resolver-hs51b0fc.js → schema-hs51b0fc.js} +1 -1
- package/dist/chunks/{model-resolver-htmhxvv7.js → schema-htmhxvv7.js} +1 -1
- package/dist/chunks/{model-resolver-hvydqsq5.js → schema-hvydqsq5.js} +2 -2
- package/dist/chunks/{model-resolver-hy5n5jcn.js → schema-hy5n5jcn.js} +1 -1
- package/dist/chunks/{model-resolver-hzag9ake.js → schema-hzag9ake.js} +1 -1
- package/dist/chunks/{model-resolver-hzwx8p6y.js → schema-hzwx8p6y.js} +1 -1
- package/dist/chunks/{model-resolver-j0feex7e.js → schema-j0feex7e.js} +1 -1
- package/dist/chunks/{model-resolver-eqn19kbv.js → schema-j2a9eaz5.js} +3 -3
- package/dist/chunks/{model-resolver-dyrfpcd0.js → schema-j6s3yjyb.js} +68 -20
- package/dist/chunks/{model-resolver-n3ej23f6.js → schema-j8tff6ta.js} +5 -5
- package/dist/chunks/{model-resolver-jar52fmb.js → schema-jar52fmb.js} +3 -3
- package/dist/chunks/{model-resolver-h01zxzks.js → schema-jepqtr73.js} +6 -6
- package/dist/chunks/schema-jfv5epsj.js +60 -0
- package/dist/chunks/{model-resolver-pmxa1kd1.js → schema-jgzett5g.js} +4 -4
- package/dist/chunks/{model-resolver-yt21b5ce.js → schema-jq0ga1pd.js} +20 -18
- package/dist/chunks/{model-resolver-jqhp3fpz.js → schema-jqhp3fpz.js} +2 -2
- package/dist/chunks/{model-resolver-js6tcg3t.js → schema-jrpamtww.js} +4 -4
- package/dist/chunks/{model-resolver-djyc2dvw.js → schema-k030pceh.js} +6 -6
- package/dist/chunks/{model-resolver-k7hkdbw5.js → schema-k7hkdbw5.js} +2 -2
- package/dist/chunks/{model-resolver-kq3q54gz.js → schema-kq3q54gz.js} +1 -1
- package/dist/chunks/{model-resolver-je7dmgwr.js → schema-kwh3ary7.js} +14 -14
- package/dist/chunks/{model-resolver-4wsyak3y.js → schema-kx19mrsa.js} +7 -7
- package/dist/chunks/{model-resolver-dc1577g0.js → schema-kxb4nqfb.js} +3 -3
- package/dist/chunks/{model-resolver-m6a7zjhr.js → schema-m6a7zjhr.js} +1 -1
- package/dist/chunks/{model-resolver-m7jtgrng.js → schema-m7jtgrng.js} +2 -2
- package/dist/chunks/{model-resolver-mf0hyk7z.js → schema-mf0hyk7z.js} +1 -1
- package/dist/chunks/{model-resolver-mnyszbxc.js → schema-mnyszbxc.js} +1 -1
- package/dist/chunks/{model-resolver-mv81kt5z.js → schema-mv81kt5z.js} +2 -2
- package/dist/chunks/{model-resolver-7a4wqe5w.js → schema-mw1qz6py.js} +5 -5
- package/dist/chunks/{model-resolver-my53s247.js → schema-my53s247.js} +1 -1
- package/dist/chunks/{model-resolver-emt5rhx5.js → schema-nec1705c.js} +6 -6
- package/dist/chunks/{model-resolver-895xgr1f.js → schema-ng85ggsa.js} +5 -5
- package/dist/chunks/{model-resolver-ngzr6ypz.js → schema-ngzr6ypz.js} +2 -2
- package/dist/chunks/{model-resolver-136r7v3c.js → schema-nj42wcp7.js} +7 -7
- package/dist/chunks/{model-resolver-nn16cgj7.js → schema-nn16cgj7.js} +1 -1
- package/dist/chunks/{model-resolver-ntev5d3k.js → schema-ntev5d3k.js} +3 -3
- package/dist/chunks/{model-resolver-7ke4vm17.js → schema-p0ye3rhn.js} +4 -4
- package/dist/chunks/{model-resolver-p1m5qwvv.js → schema-p1m5qwvv.js} +1 -1
- package/dist/chunks/{model-resolver-p5gyct0y.js → schema-p5gyct0y.js} +1 -1
- package/dist/chunks/{model-resolver-jsmyr6k0.js → schema-p6fb92cp.js} +5 -5
- package/dist/chunks/{model-resolver-y251tsy9.js → schema-paqdssck.js} +4 -4
- package/dist/chunks/{model-resolver-pves38xm.js → schema-pves38xm.js} +2 -2
- package/dist/chunks/{model-resolver-6htxnd6w.js → schema-pxfvvnmb.js} +9 -9
- package/dist/chunks/{model-resolver-kcz5s2sc.js → schema-q1h731cc.js} +43 -82
- package/dist/chunks/{model-resolver-q606pcse.js → schema-q606pcse.js} +3 -3
- package/dist/chunks/{model-resolver-15077vr8.js → schema-q8tyzv5h.js} +154 -154
- package/dist/chunks/{model-resolver-m1hg7kzv.js → schema-qa1y9c59.js} +9 -9
- package/dist/chunks/{model-resolver-zt42x7wk.js → schema-qbpdt1wp.js} +4 -4
- package/dist/chunks/{model-resolver-s2avg5mp.js → schema-qc2gqwkb.js} +4 -4
- package/dist/chunks/{model-resolver-qf52r0wh.js → schema-qf52r0wh.js} +1 -1
- package/dist/chunks/{model-resolver-qfvp8zq7.js → schema-qfvp8zq7.js} +1 -1
- package/dist/chunks/{model-resolver-vwkqrtae.js → schema-qgxnt6e7.js} +9 -9
- package/dist/chunks/{model-resolver-qpxzqy01.js → schema-qpxzqy01.js} +1 -1
- package/dist/chunks/{model-resolver-rtktz058.js → schema-qqxqwwkk.js} +4 -4
- package/dist/chunks/{model-resolver-s7cdvjvw.js → schema-qst7098g.js} +9 -9
- package/dist/chunks/{model-resolver-qz5gwjr7.js → schema-qz5gwjr7.js} +3 -3
- package/dist/chunks/{model-resolver-qen4dbg3.js → schema-qzbgfz7c.js} +6 -6
- package/dist/chunks/{model-resolver-r7a2r1m6.js → schema-r7a2r1m6.js} +2 -2
- package/dist/chunks/{model-resolver-r7z6wjth.js → schema-r7z6wjth.js} +1 -1
- package/dist/chunks/{model-resolver-r9d3d23r.js → schema-r9d3d23r.js} +1 -1
- package/dist/chunks/{model-resolver-mvw9jqgs.js → schema-r9srg7kj.js} +16 -16
- package/dist/chunks/{model-resolver-d88sh0qh.js → schema-ra2q36zd.js} +4 -4
- package/dist/chunks/{model-resolver-rahat93a.js → schema-rahat93a.js} +1 -1
- package/dist/chunks/{model-resolver-cs1jwk5c.js → schema-rfxr8z2j.js} +90 -29
- package/dist/chunks/{model-resolver-eh2wdxrj.js → schema-rgnjkg8c.js} +80 -20
- package/dist/chunks/{model-resolver-jr5m26np.js → schema-rpa95wsa.js} +14 -15
- package/dist/chunks/{model-resolver-rr7wbarq.js → schema-rr7wbarq.js} +1 -1
- package/dist/chunks/{model-resolver-z50wtwd6.js → schema-rrqa2v85.js} +33 -33
- package/dist/chunks/{model-resolver-k92s0cap.js → schema-rw7fhbhq.js} +19 -19
- package/dist/chunks/{model-resolver-s32nnj3r.js → schema-s32nnj3r.js} +1 -1
- package/dist/chunks/{model-resolver-fxa9gsr7.js → schema-s5c7wyma.js} +4 -4
- package/dist/chunks/{model-resolver-9d52kcc6.js → schema-saecaj3m.js} +3 -3
- package/dist/chunks/{model-resolver-fet3yrh0.js → schema-sdyyem7m.js} +59 -21
- package/dist/chunks/{model-resolver-aqjetpt7.js → schema-serjdnzw.js} +3 -3
- package/dist/chunks/{model-resolver-hfdhxhjt.js → schema-sjfp0nb7.js} +7 -7
- package/dist/chunks/{model-resolver-yrzmcphh.js → schema-snxnyba1.js} +6 -6
- package/dist/chunks/{model-resolver-0gpahtwn.js → schema-svrgfpe2.js} +2 -2
- package/dist/chunks/{model-resolver-e1252xh0.js → schema-syzvtymk.js} +13 -13
- package/dist/chunks/{model-resolver-ybr4xq6z.js → schema-t2za4q0q.js} +51 -31
- package/dist/chunks/{model-resolver-xghrvkpy.js → schema-tbzs2pmr.js} +6 -6
- package/dist/chunks/{model-resolver-1n8ee09s.js → schema-tm2rcafg.js} +11 -11
- package/dist/chunks/{model-resolver-myqa85b0.js → schema-v6sre6kn.js} +2 -2
- package/dist/chunks/{model-resolver-v9qxqszp.js → schema-v9qxqszp.js} +3 -3
- package/dist/chunks/{model-resolver-vcwr2vpf.js → schema-vcwr2vpf.js} +1 -1
- package/dist/chunks/{model-resolver-rr20669x.js → schema-vpm0h4mx.js} +10 -10
- package/dist/chunks/{model-resolver-d35eame8.js → schema-vq0y3v9f.js} +8 -8
- package/dist/chunks/{model-resolver-vynk8zbr.js → schema-vynk8zbr.js} +1 -1
- package/dist/chunks/{model-resolver-2kthdmar.js → schema-vytq6tc6.js} +8 -8
- package/dist/chunks/{model-resolver-w5r9s7kx.js → schema-w5r9s7kx.js} +1 -1
- package/dist/chunks/{model-resolver-2v2tc4x7.js → schema-wb7ccp3j.js} +2 -2
- package/dist/chunks/{model-resolver-wbkt8qpj.js → schema-wbkt8qpj.js} +1 -1
- package/dist/chunks/{model-resolver-yxwnec9y.js → schema-wdn309nm.js} +10 -10
- package/dist/chunks/{model-resolver-wdqva41w.js → schema-wdqva41w.js} +1 -1
- package/dist/chunks/{model-resolver-wf5w4wph.js → schema-wf5w4wph.js} +1 -1
- package/dist/chunks/{model-resolver-wmxdh12w.js → schema-wmxdh12w.js} +1 -1
- package/dist/chunks/{model-resolver-x3vb5b1t.js → schema-x3vb5b1t.js} +1 -1
- package/dist/chunks/{model-resolver-x4az4y7r.js → schema-x4az4y7r.js} +1 -1
- package/dist/chunks/{model-resolver-qmw35mw3.js → schema-x4jfk7d8.js} +18 -18
- package/dist/chunks/{model-resolver-mz3md7e9.js → schema-x958486m.js} +13 -13
- package/dist/chunks/{model-resolver-165g8spq.js → schema-xbmv659f.js} +8 -8
- package/dist/chunks/{model-resolver-xdb88cdw.js → schema-xdb88cdw.js} +2 -2
- package/dist/chunks/{model-resolver-xe02v0q7.js → schema-xe02v0q7.js} +2 -2
- package/dist/chunks/{model-resolver-89rn8xzn.js → schema-xe5n6qar.js} +22 -22
- package/dist/chunks/{model-resolver-j44smbby.js → schema-xp4wtg3g.js} +3 -3
- package/dist/chunks/{model-resolver-2qq12ds3.js → schema-xvqr7khp.js} +3 -3
- package/dist/chunks/{model-resolver-xws7arpm.js → schema-xws7arpm.js} +1 -1
- package/dist/chunks/{model-resolver-f1jj19e8.js → schema-xx9qfgev.js} +1 -0
- package/dist/chunks/{model-resolver-mndv4v9k.js → schema-xyydncve.js} +10 -10
- package/dist/chunks/{model-resolver-c8n0v0wx.js → schema-y2b04s9v.js} +3 -3
- package/dist/chunks/{model-resolver-9ybkn4f3.js → schema-y41ny6h1.js} +10 -10
- package/dist/chunks/{model-resolver-egjtzeas.js → schema-y71jz153.js} +7 -7
- package/dist/chunks/{model-resolver-m0hk48gq.js → schema-ycjmzejc.js} +3 -3
- package/dist/chunks/{model-resolver-se5h029t.js → schema-ync59mnp.js} +5 -5
- package/dist/chunks/{model-resolver-ryxrw20d.js → schema-yp4wxmaw.js} +16 -15
- package/dist/chunks/{model-resolver-m0zebzgf.js → schema-z0nmzarz.js} +3 -3
- package/dist/chunks/{model-resolver-z8c1ty6e.js → schema-z8c1ty6e.js} +1 -1
- package/dist/chunks/{model-resolver-zbqqnp0n.js → schema-zbqqnp0n.js} +1 -1
- package/dist/chunks/{model-resolver-jpjemq2p.js → schema-zdrrxqy8.js} +4 -4
- package/dist/chunks/{model-resolver-zmbmd7xf.js → schema-zmbmd7xf.js} +2 -2
- package/dist/chunks/{model-resolver-zn935gjz.js → schema-zn935gjz.js} +1 -1
- package/dist/chunks/{model-resolver-ranv4wm0.js → schema-zqt2cp2e.js} +3 -3
- package/dist/chunks/schema-zr29p06e.js +136 -0
- package/dist/chunks/{model-resolver-zseh86v1.js → schema-zseh86v1.js} +2 -2
- package/dist/chunks/{model-resolver-t9t544b9.js → schema-zwfcr2t4.js} +3 -1
- package/dist/chunks/{model-resolver-eptw9fc8.js → schema-zwp7atcb.js} +3 -3
- package/dist/chunks/{model-resolver-zyyhrfr9.js → schema-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/discovery.js +79 -79
- package/dist/config/markdown.js +2 -2
- package/dist/config/normalize.js +20 -20
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +211 -115
- package/dist/config/plugin/compaction.js +169 -168
- package/dist/config/plugin/entry-observer.js +111 -111
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +128 -128
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/variable.js +4 -4
- package/dist/config/watch.js +2 -2
- package/dist/config.js +110 -110
- 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 +21 -21
- 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 +75 -75
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +1 -1
- package/dist/effect/app-node-builder.js +347 -344
- 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 +219 -219
- 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 +20 -20
- 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 +346 -343
- 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 +347 -344
- 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/modal/models.js +11 -0
- 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 +216 -216
- package/dist/plugin/instance.js +2 -2
- package/dist/plugin/internal.js +319 -315
- 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 +120 -120
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +116 -116
- 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 +87 -84
- 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 +117 -117
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/modal.js +85 -0
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +117 -117
- 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 +117 -117
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +157 -156
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +2 -2
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +2 -2
- package/dist/plugin/supervisor.js +334 -330
- 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 +111 -111
- 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 +217 -217
- 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 +14 -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 -73
- package/dist/session/compaction.js +139 -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 +211 -213
- package/dist/session/execution.js +117 -117
- package/dist/session/generate.js +153 -153
- 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 +127 -82
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +115 -115
- 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 +226 -226
- 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 +76 -74
- 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 +173 -173
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- 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 +8 -4
- package/dist/session/subagent-job.js +216 -0
- 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 +215 -213
- package/dist/session/usage.js +2 -2
- package/dist/session.js +207 -207
- 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 +32 -4
- package/dist/shell/select.js +4 -4
- package/dist/shell.js +129 -129
- 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 +4 -2
- 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 +2 -2
- 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 +210 -210
- package/dist/tool/plugin/skill.js +97 -97
- package/dist/tool/plugin/subagent.js +210 -209
- 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/config/plugin/command.d.ts +3 -1
- package/dist/types/modal/models.d.ts +3 -0
- package/dist/types/plugin/provider/github-copilot.d.ts +6 -0
- package/dist/types/plugin/provider/modal.d.ts +3 -0
- package/dist/types/session/history.d.ts +32 -0
- package/dist/types/session/model-request.d.ts +3 -0
- package/dist/types/session/move.d.ts +15 -11
- package/dist/types/session/runner/retry.d.ts +7 -0
- package/dist/types/session/subagent-completion.d.ts +3 -0
- package/dist/types/session/subagent-job.d.ts +13 -0
- package/dist/types/session/transfer.d.ts +46 -0
- package/dist/types/session.d.ts +2 -8
- package/dist/types/state.d.ts +18 -0
- package/dist/types/tool/plugin/subagent.d.ts +2 -2
- package/dist/types/v1/config/migrate.d.ts +3 -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 +7 -7
- package/dist/chunks/model-resolver-pr1927s1.js +0 -68
- package/dist/chunks/model-resolver-zfc8v838.js +0 -34
- /package/dist/chunks/{model-resolver-0cgt0xh2.js → schema-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{model-resolver-0f48qthw.js → schema-0f48qthw.js} +0 -0
- /package/dist/chunks/{model-resolver-0zz82cjq.js → schema-0zz82cjq.js} +0 -0
- /package/dist/chunks/{model-resolver-1fb7bmpf.js → schema-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{model-resolver-1wcz8fvj.js → schema-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{model-resolver-29n7vfk2.js → schema-29n7vfk2.js} +0 -0
- /package/dist/chunks/{model-resolver-2qdx6zz3.js → schema-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{model-resolver-2xb0r1c6.js → schema-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{model-resolver-39ktntah.js → schema-39ktntah.js} +0 -0
- /package/dist/chunks/{model-resolver-3g3rpp2x.js → schema-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{model-resolver-3w3ybtfd.js → schema-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{model-resolver-47ty4mvs.js → schema-47ty4mvs.js} +0 -0
- /package/dist/chunks/{model-resolver-4b2tz2m9.js → schema-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{model-resolver-5a5ch9ts.js → schema-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{model-resolver-5va1yh78.js → schema-5va1yh78.js} +0 -0
- /package/dist/chunks/{model-resolver-61ek4hj9.js → schema-61ek4hj9.js} +0 -0
- /package/dist/chunks/{model-resolver-69qrqpw0.js → schema-69qrqpw0.js} +0 -0
- /package/dist/chunks/{model-resolver-6zqxzw0a.js → schema-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{model-resolver-7n9qwqk4.js → schema-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{model-resolver-8nn8kqcn.js → schema-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{model-resolver-8rpfd2h6.js → schema-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{model-resolver-8sj3ajy5.js → schema-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{model-resolver-8w9tzfz1.js → schema-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{model-resolver-906y0b6d.js → schema-906y0b6d.js} +0 -0
- /package/dist/chunks/{model-resolver-9dct5xhx.js → schema-9dct5xhx.js} +0 -0
- /package/dist/chunks/{model-resolver-9maxscqf.js → schema-9maxscqf.js} +0 -0
- /package/dist/chunks/{model-resolver-9sdtsapf.js → schema-9sdtsapf.js} +0 -0
- /package/dist/chunks/{model-resolver-a02svayp.js → schema-a02svayp.js} +0 -0
- /package/dist/chunks/{model-resolver-a83yvq99.js → schema-a83yvq99.js} +0 -0
- /package/dist/chunks/{model-resolver-ayevdmef.js → schema-ayevdmef.js} +0 -0
- /package/dist/chunks/{model-resolver-b02txbh8.js → schema-b02txbh8.js} +0 -0
- /package/dist/chunks/{model-resolver-bbqs2y60.js → schema-bbqs2y60.js} +0 -0
- /package/dist/chunks/{model-resolver-bjwj8hwv.js → schema-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{model-resolver-brsh5f65.js → schema-brsh5f65.js} +0 -0
- /package/dist/chunks/{model-resolver-bxdhjb3y.js → schema-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{model-resolver-bybkghrn.js → schema-bybkghrn.js} +0 -0
- /package/dist/chunks/{model-resolver-c77ad0vh.js → schema-c77ad0vh.js} +0 -0
- /package/dist/chunks/{model-resolver-cm67rqy2.js → schema-cm67rqy2.js} +0 -0
- /package/dist/chunks/{model-resolver-df3v2q6j.js → schema-df3v2q6j.js} +0 -0
- /package/dist/chunks/{model-resolver-dhcq6c44.js → schema-dhcq6c44.js} +0 -0
- /package/dist/chunks/{model-resolver-dht5baf0.js → schema-dht5baf0.js} +0 -0
- /package/dist/chunks/{model-resolver-dkmkay92.js → schema-dkmkay92.js} +0 -0
- /package/dist/chunks/{model-resolver-ehj9csmv.js → schema-ehj9csmv.js} +0 -0
- /package/dist/chunks/{model-resolver-em6xpscd.js → schema-em6xpscd.js} +0 -0
- /package/dist/chunks/{model-resolver-emmqknsm.js → schema-emmqknsm.js} +0 -0
- /package/dist/chunks/{model-resolver-ezs3tagn.js → schema-ezs3tagn.js} +0 -0
- /package/dist/chunks/{model-resolver-f14r7hfz.js → schema-f14r7hfz.js} +0 -0
- /package/dist/chunks/{model-resolver-f4cp4g4a.js → schema-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{model-resolver-faypg4r1.js → schema-faypg4r1.js} +0 -0
- /package/dist/chunks/{model-resolver-fg7fz4q3.js → schema-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{model-resolver-fgbfdq62.js → schema-fgbfdq62.js} +0 -0
- /package/dist/chunks/{model-resolver-g23fad86.js → schema-g23fad86.js} +0 -0
- /package/dist/chunks/{model-resolver-gd5xeqc2.js → schema-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{model-resolver-ghm4673n.js → schema-ghm4673n.js} +0 -0
- /package/dist/chunks/{model-resolver-ghwjy7my.js → schema-ghwjy7my.js} +0 -0
- /package/dist/chunks/{model-resolver-gy500k2r.js → schema-gy500k2r.js} +0 -0
- /package/dist/chunks/{model-resolver-hzeg9cfr.js → schema-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{model-resolver-j07kk359.js → schema-j07kk359.js} +0 -0
- /package/dist/chunks/{model-resolver-jqms80b0.js → schema-jqms80b0.js} +0 -0
- /package/dist/chunks/{model-resolver-jve7t217.js → schema-jve7t217.js} +0 -0
- /package/dist/chunks/{model-resolver-k3e42drn.js → schema-k3e42drn.js} +0 -0
- /package/dist/chunks/{model-resolver-k8b45nas.js → schema-k8b45nas.js} +0 -0
- /package/dist/chunks/{model-resolver-kpdbz7gn.js → schema-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{model-resolver-kxy11nzk.js → schema-kxy11nzk.js} +0 -0
- /package/dist/chunks/{model-resolver-kyyqvx4s.js → schema-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{model-resolver-m8cbvarh.js → schema-m8cbvarh.js} +0 -0
- /package/dist/chunks/{model-resolver-ma60vzgv.js → schema-ma60vzgv.js} +0 -0
- /package/dist/chunks/{model-resolver-n3m50c2t.js → schema-n3m50c2t.js} +0 -0
- /package/dist/chunks/{model-resolver-nkm1m8dz.js → schema-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{model-resolver-nsc0c3zb.js → schema-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{model-resolver-qaarhjrp.js → schema-qaarhjrp.js} +0 -0
- /package/dist/chunks/{model-resolver-qc167nrn.js → schema-qc167nrn.js} +0 -0
- /package/dist/chunks/{model-resolver-qp95y4jb.js → schema-qp95y4jb.js} +0 -0
- /package/dist/chunks/{model-resolver-r8f4w671.js → schema-r8f4w671.js} +0 -0
- /package/dist/chunks/{model-resolver-rdfev9jy.js → schema-rdfev9jy.js} +0 -0
- /package/dist/chunks/{model-resolver-s7whb9gt.js → schema-s7whb9gt.js} +0 -0
- /package/dist/chunks/{model-resolver-se76j685.js → schema-se76j685.js} +0 -0
- /package/dist/chunks/{model-resolver-sem2g21k.js → schema-sem2g21k.js} +0 -0
- /package/dist/chunks/{model-resolver-snpn6bap.js → schema-snpn6bap.js} +0 -0
- /package/dist/chunks/{model-resolver-sp575ygv.js → schema-sp575ygv.js} +0 -0
- /package/dist/chunks/{model-resolver-tmb1f636.js → schema-tmb1f636.js} +0 -0
- /package/dist/chunks/{model-resolver-ttxf0gsy.js → schema-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{model-resolver-tvmhrvfj.js → schema-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{model-resolver-v2adqbbe.js → schema-v2adqbbe.js} +0 -0
- /package/dist/chunks/{model-resolver-vac9eqd2.js → schema-vac9eqd2.js} +0 -0
- /package/dist/chunks/{model-resolver-vpjkya7h.js → schema-vpjkya7h.js} +0 -0
- /package/dist/chunks/{model-resolver-wj4sxzqa.js → schema-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{model-resolver-wwntjmk1.js → schema-wwntjmk1.js} +0 -0
- /package/dist/chunks/{model-resolver-wyqjaaa5.js → schema-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{model-resolver-x4q807cx.js → schema-x4q807cx.js} +0 -0
- /package/dist/chunks/{model-resolver-yrqrg4vp.js → schema-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{model-resolver-z47nswr2.js → schema-z47nswr2.js} +0 -0
- /package/dist/chunks/{model-resolver-zsf8rs93.js → schema-zsf8rs93.js} +0 -0
package/dist/tool.js
CHANGED
|
@@ -8,120 +8,120 @@ import {
|
|
|
8
8
|
TextContent,
|
|
9
9
|
exports_tool,
|
|
10
10
|
node
|
|
11
|
-
} from "./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/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
66
|
-
import"./chunks/
|
|
67
|
-
import"./chunks/
|
|
68
|
-
import"./chunks/
|
|
69
|
-
import"./chunks/
|
|
70
|
-
import"./chunks/
|
|
71
|
-
import"./chunks/
|
|
72
|
-
import"./chunks/
|
|
73
|
-
import"./chunks/
|
|
74
|
-
import"./chunks/
|
|
75
|
-
import"./chunks/
|
|
76
|
-
import"./chunks/
|
|
77
|
-
import"./chunks/
|
|
78
|
-
import"./chunks/
|
|
79
|
-
import"./chunks/
|
|
80
|
-
import"./chunks/
|
|
81
|
-
import"./chunks/
|
|
82
|
-
import"./chunks/
|
|
83
|
-
import"./chunks/
|
|
84
|
-
import"./chunks/
|
|
85
|
-
import"./chunks/
|
|
86
|
-
import"./chunks/
|
|
87
|
-
import"./chunks/
|
|
88
|
-
import"./chunks/
|
|
89
|
-
import"./chunks/
|
|
90
|
-
import"./chunks/
|
|
91
|
-
import"./chunks/
|
|
92
|
-
import"./chunks/
|
|
93
|
-
import"./chunks/
|
|
94
|
-
import"./chunks/
|
|
95
|
-
import"./chunks/
|
|
96
|
-
import"./chunks/
|
|
97
|
-
import"./chunks/
|
|
98
|
-
import"./chunks/
|
|
99
|
-
import"./chunks/
|
|
100
|
-
import"./chunks/
|
|
101
|
-
import"./chunks/
|
|
102
|
-
import"./chunks/
|
|
103
|
-
import"./chunks/
|
|
104
|
-
import"./chunks/
|
|
105
|
-
import"./chunks/
|
|
106
|
-
import"./chunks/
|
|
107
|
-
import"./chunks/
|
|
108
|
-
import"./chunks/
|
|
109
|
-
import"./chunks/
|
|
110
|
-
import"./chunks/
|
|
111
|
-
import"./chunks/
|
|
112
|
-
import"./chunks/
|
|
113
|
-
import"./chunks/
|
|
114
|
-
import"./chunks/
|
|
115
|
-
import"./chunks/
|
|
116
|
-
import"./chunks/
|
|
117
|
-
import"./chunks/
|
|
118
|
-
import"./chunks/
|
|
119
|
-
import"./chunks/
|
|
120
|
-
import"./chunks/
|
|
121
|
-
import"./chunks/
|
|
122
|
-
import"./chunks/
|
|
123
|
-
import"./chunks/
|
|
124
|
-
import"./chunks/
|
|
11
|
+
} from "./chunks/schema-y71jz153.js";
|
|
12
|
+
import"./chunks/schema-svrgfpe2.js";
|
|
13
|
+
import"./chunks/schema-rr7wbarq.js";
|
|
14
|
+
import"./chunks/schema-xx9qfgev.js";
|
|
15
|
+
import"./chunks/schema-22x56hdn.js";
|
|
16
|
+
import"./chunks/schema-1nf5m1zv.js";
|
|
17
|
+
import"./chunks/schema-a4wk7wxx.js";
|
|
18
|
+
import"./chunks/schema-ctegtqnq.js";
|
|
19
|
+
import"./chunks/schema-2sqw2jjm.js";
|
|
20
|
+
import"./chunks/schema-8c5xq4gn.js";
|
|
21
|
+
import"./chunks/schema-264e1nfp.js";
|
|
22
|
+
import"./chunks/schema-5j084t57.js";
|
|
23
|
+
import"./chunks/schema-d4h7vwhh.js";
|
|
24
|
+
import"./chunks/schema-edxnhgvj.js";
|
|
25
|
+
import"./chunks/schema-q606pcse.js";
|
|
26
|
+
import"./chunks/schema-p6fb92cp.js";
|
|
27
|
+
import"./chunks/schema-8rpfd2h6.js";
|
|
28
|
+
import"./chunks/schema-a83yvq99.js";
|
|
29
|
+
import"./chunks/schema-s5c7wyma.js";
|
|
30
|
+
import"./chunks/schema-enmke0a7.js";
|
|
31
|
+
import"./chunks/schema-7myqjfx6.js";
|
|
32
|
+
import"./chunks/schema-bbwsb44a.js";
|
|
33
|
+
import"./chunks/schema-rahat93a.js";
|
|
34
|
+
import"./chunks/schema-c54e84vp.js";
|
|
35
|
+
import"./chunks/schema-xws7arpm.js";
|
|
36
|
+
import"./chunks/schema-bjwj8hwv.js";
|
|
37
|
+
import"./chunks/schema-qa1y9c59.js";
|
|
38
|
+
import"./chunks/schema-6wsfy4sp.js";
|
|
39
|
+
import"./chunks/schema-hvydqsq5.js";
|
|
40
|
+
import"./chunks/schema-jqhp3fpz.js";
|
|
41
|
+
import"./chunks/schema-vynk8zbr.js";
|
|
42
|
+
import"./chunks/schema-nj42wcp7.js";
|
|
43
|
+
import"./chunks/schema-zyyhrfr9.js";
|
|
44
|
+
import"./chunks/schema-61ek4hj9.js";
|
|
45
|
+
import"./chunks/schema-9kt3hna5.js";
|
|
46
|
+
import"./chunks/schema-2g4twk0n.js";
|
|
47
|
+
import"./chunks/schema-m7jtgrng.js";
|
|
48
|
+
import"./chunks/schema-gb1z7yet.js";
|
|
49
|
+
import"./chunks/schema-c8ya26sa.js";
|
|
50
|
+
import"./chunks/schema-zbqqnp0n.js";
|
|
51
|
+
import"./chunks/schema-qz5gwjr7.js";
|
|
52
|
+
import"./chunks/schema-k3e42drn.js";
|
|
53
|
+
import"./chunks/schema-j6s3yjyb.js";
|
|
54
|
+
import"./chunks/schema-j07kk359.js";
|
|
55
|
+
import"./chunks/schema-sem2g21k.js";
|
|
56
|
+
import"./chunks/schema-grfz4hhj.js";
|
|
57
|
+
import"./chunks/schema-fjb24bmd.js";
|
|
58
|
+
import"./chunks/schema-zsf8rs93.js";
|
|
59
|
+
import"./chunks/schema-66mds5ht.js";
|
|
60
|
+
import"./chunks/schema-8scqw7rh.js";
|
|
61
|
+
import"./chunks/schema-g4r9xws8.js";
|
|
62
|
+
import"./chunks/schema-ttxf0gsy.js";
|
|
63
|
+
import"./chunks/schema-57a903bc.js";
|
|
64
|
+
import"./chunks/schema-kxb4nqfb.js";
|
|
65
|
+
import"./chunks/schema-8e4szv2f.js";
|
|
66
|
+
import"./chunks/schema-az8m3c6n.js";
|
|
67
|
+
import"./chunks/schema-syzvtymk.js";
|
|
68
|
+
import"./chunks/schema-j0feex7e.js";
|
|
69
|
+
import"./chunks/schema-vcwr2vpf.js";
|
|
70
|
+
import"./chunks/schema-s7whb9gt.js";
|
|
71
|
+
import"./chunks/schema-hgr9y616.js";
|
|
72
|
+
import"./chunks/schema-0f48qthw.js";
|
|
73
|
+
import"./chunks/schema-wbkt8qpj.js";
|
|
74
|
+
import"./chunks/schema-k8b45nas.js";
|
|
75
|
+
import"./chunks/schema-bxdhjb3y.js";
|
|
76
|
+
import"./chunks/schema-078tha6v.js";
|
|
77
|
+
import"./chunks/schema-kyyqvx4s.js";
|
|
78
|
+
import"./chunks/schema-nsc0c3zb.js";
|
|
79
|
+
import"./chunks/schema-1fb7bmpf.js";
|
|
80
|
+
import"./chunks/schema-8nn8kqcn.js";
|
|
81
|
+
import"./chunks/schema-5va1yh78.js";
|
|
82
|
+
import"./chunks/schema-cm67rqy2.js";
|
|
83
|
+
import"./chunks/schema-dhcq6c44.js";
|
|
84
|
+
import"./chunks/schema-2xb0r1c6.js";
|
|
85
|
+
import"./chunks/schema-em6xpscd.js";
|
|
86
|
+
import"./chunks/schema-wyqjaaa5.js";
|
|
87
|
+
import"./chunks/schema-3g3rpp2x.js";
|
|
88
|
+
import"./chunks/schema-z47nswr2.js";
|
|
89
|
+
import"./chunks/schema-x4q807cx.js";
|
|
90
|
+
import"./chunks/schema-69qrqpw0.js";
|
|
91
|
+
import"./chunks/schema-6zqxzw0a.js";
|
|
92
|
+
import"./chunks/schema-fgbfdq62.js";
|
|
93
|
+
import"./chunks/schema-2qdx6zz3.js";
|
|
94
|
+
import"./chunks/schema-47ty4mvs.js";
|
|
95
|
+
import"./chunks/schema-29n7vfk2.js";
|
|
96
|
+
import"./chunks/schema-yrqrg4vp.js";
|
|
97
|
+
import"./chunks/schema-tmb1f636.js";
|
|
98
|
+
import"./chunks/schema-f4cp4g4a.js";
|
|
99
|
+
import"./chunks/schema-ma60vzgv.js";
|
|
100
|
+
import"./chunks/schema-faypg4r1.js";
|
|
101
|
+
import"./chunks/schema-qc167nrn.js";
|
|
102
|
+
import"./chunks/schema-8sj3ajy5.js";
|
|
103
|
+
import"./chunks/schema-9dct5xhx.js";
|
|
104
|
+
import"./chunks/schema-emmqknsm.js";
|
|
105
|
+
import"./chunks/schema-ghm4673n.js";
|
|
106
|
+
import"./chunks/schema-f14r7hfz.js";
|
|
107
|
+
import"./chunks/schema-nkm1m8dz.js";
|
|
108
|
+
import"./chunks/schema-3w3ybtfd.js";
|
|
109
|
+
import"./chunks/schema-ayevdmef.js";
|
|
110
|
+
import"./chunks/schema-ghwjy7my.js";
|
|
111
|
+
import"./chunks/schema-v2adqbbe.js";
|
|
112
|
+
import"./chunks/schema-gd5xeqc2.js";
|
|
113
|
+
import"./chunks/schema-kpdbz7gn.js";
|
|
114
|
+
import"./chunks/schema-se76j685.js";
|
|
115
|
+
import"./chunks/schema-dht5baf0.js";
|
|
116
|
+
import"./chunks/schema-qp95y4jb.js";
|
|
117
|
+
import"./chunks/schema-906y0b6d.js";
|
|
118
|
+
import"./chunks/schema-wwntjmk1.js";
|
|
119
|
+
import"./chunks/schema-9sdtsapf.js";
|
|
120
|
+
import"./chunks/schema-b02txbh8.js";
|
|
121
|
+
import"./chunks/schema-n3m50c2t.js";
|
|
122
|
+
import"./chunks/schema-kxy11nzk.js";
|
|
123
|
+
import"./chunks/schema-39ktntah.js";
|
|
124
|
+
import"./chunks/schema-vpjkya7h.js";
|
|
125
125
|
export {
|
|
126
126
|
CallID,
|
|
127
127
|
Content,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * as ConfigCommandPlugin from "./command.js";
|
|
2
2
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
3
|
+
import { Agent } from "../../agent.js";
|
|
3
4
|
import { Config } from "../../config.js";
|
|
4
5
|
import { Location } from "../../location.js";
|
|
6
|
+
import { Session } from "../../session.js";
|
|
5
7
|
import { ShellSelect } from "../../shell/select.js";
|
|
6
8
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
7
|
-
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | FSUtil.Service | AppProcess.Service | Location.Service | Config.Service | ShellSelect.Service>;
|
|
9
|
+
export declare const Plugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | FSUtil.Service | AppProcess.Service | Location.Service | Agent.Service | Config.Service | ShellSelect.Service | Session.Service | import("../../job.js").Service>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * as ModalModels from "./models.js";
|
|
2
|
+
import { Model } from "../model.js";
|
|
3
|
+
export declare function get(baseURL: string, apiKey: string, existing: readonly Model.Info[]): Promise<Map<string & import("effect/Brand").Brand<"Model.ID">, import("@opencode-ai/schema/model").Info>>;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import type { SessionRequestKind } from "@opencode-ai/plugin/effect/session";
|
|
1
2
|
import { Catalog } from "../../catalog.js";
|
|
2
3
|
import { Bus } from "../../bus.js";
|
|
3
4
|
import { App } from "../../app.js";
|
|
4
5
|
export declare const GithubCopilotPlugin: import("@opencode-ai/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | Bus.Service | Catalog.Service>;
|
|
6
|
+
export declare function copilotEntitlementError(user: {
|
|
7
|
+
chat_enabled?: boolean;
|
|
8
|
+
can_signup_for_limited?: boolean;
|
|
9
|
+
}): "This GitHub account is not signed up for GitHub Copilot. Sign up for Copilot Free at https://github.com/features/copilot/plans and connect again." | "This GitHub account does not have GitHub Copilot access. It needs an active Copilot subscription or a seat assigned by an organization." | undefined;
|
|
5
10
|
export declare function copilotBaseURL(metadata?: Readonly<Record<string, unknown>>): string;
|
|
6
11
|
type Fetch = (input: Parameters<typeof fetch>[0], init?: RequestInit) => Promise<Response>;
|
|
7
12
|
export declare function copilotFetch(token: string | undefined, upstream: Fetch | undefined, app: App.Info): Fetch;
|
|
13
|
+
export declare function interactionType(kind: SessionRequestKind, child: boolean): "conversation-background" | "conversation-compaction" | "conversation-subagent" | "conversation-agent";
|
|
8
14
|
export {};
|
|
@@ -336,6 +336,14 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
336
336
|
readonly metadata?: {
|
|
337
337
|
readonly [x: string]: unknown;
|
|
338
338
|
} | undefined;
|
|
339
|
+
readonly model?: {
|
|
340
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
341
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
342
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
343
|
+
} | undefined;
|
|
344
|
+
readonly providerState?: {
|
|
345
|
+
readonly [x: string]: unknown;
|
|
346
|
+
} | undefined;
|
|
339
347
|
} | {
|
|
340
348
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
341
349
|
readonly type: "compaction";
|
|
@@ -684,6 +692,14 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
684
692
|
readonly metadata?: {
|
|
685
693
|
readonly [x: string]: unknown;
|
|
686
694
|
} | undefined;
|
|
695
|
+
readonly model?: {
|
|
696
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
697
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
698
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
699
|
+
} | undefined;
|
|
700
|
+
readonly providerState?: {
|
|
701
|
+
readonly [x: string]: unknown;
|
|
702
|
+
} | undefined;
|
|
687
703
|
} | {
|
|
688
704
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
689
705
|
readonly type: "compaction";
|
|
@@ -1036,6 +1052,14 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1036
1052
|
readonly metadata?: {
|
|
1037
1053
|
readonly [x: string]: unknown;
|
|
1038
1054
|
} | undefined;
|
|
1055
|
+
readonly model?: {
|
|
1056
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1057
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1058
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1059
|
+
} | undefined;
|
|
1060
|
+
readonly providerState?: {
|
|
1061
|
+
readonly [x: string]: unknown;
|
|
1062
|
+
} | undefined;
|
|
1039
1063
|
} | {
|
|
1040
1064
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1041
1065
|
readonly type: "compaction";
|
|
@@ -1388,6 +1412,14 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1388
1412
|
readonly metadata?: {
|
|
1389
1413
|
readonly [x: string]: unknown;
|
|
1390
1414
|
} | undefined;
|
|
1415
|
+
readonly model?: {
|
|
1416
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
1417
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1418
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
readonly providerState?: {
|
|
1421
|
+
readonly [x: string]: unknown;
|
|
1422
|
+
} | undefined;
|
|
1391
1423
|
} | {
|
|
1392
1424
|
readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1393
1425
|
readonly type: "compaction";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as SessionModelRequest from "./model-request.js";
|
|
2
2
|
import { LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
|
|
3
3
|
import type { StreamOptions } from "@opencode-ai/ai/route";
|
|
4
|
+
import type { SessionRequestKind } from "@opencode-ai/plugin/effect/session";
|
|
4
5
|
import type { Agent } from "@opencode-ai/schema/agent";
|
|
5
6
|
import type { Model } from "@opencode-ai/schema/model";
|
|
6
7
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -25,6 +26,8 @@ export interface Prepared {
|
|
|
25
26
|
readonly executeTool: (input: Parameters<Tool.Snapshot["execute"]>[0]) => Effect.Effect<Tool.NormalizedResult, ExecuteError>;
|
|
26
27
|
}
|
|
27
28
|
interface PrepareInput {
|
|
29
|
+
/** Which Session flow issues this request; request hooks receive it alongside the Session identity. */
|
|
30
|
+
readonly kind: SessionRequestKind;
|
|
28
31
|
readonly scope: {
|
|
29
32
|
readonly session: SessionSchema.Info;
|
|
30
33
|
readonly agentID: Agent.ID;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
export * as SessionMove from "./move.js";
|
|
2
2
|
import type { Session } from "@opencode-ai/schema/session";
|
|
3
|
-
import
|
|
4
|
-
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
5
|
-
import { Global } from "@opencode-ai/util/global";
|
|
6
|
-
import { Cause, Effect, Schema } from "effect";
|
|
3
|
+
import { Cause, Context, Effect, Schema } from "effect";
|
|
7
4
|
import { Location } from "../location.js";
|
|
8
|
-
import { LocationServiceMap } from "../location-service-map.js";
|
|
9
|
-
import { Project } from "../project.js";
|
|
10
5
|
import { AbsolutePath } from "../schema.js";
|
|
6
|
+
import { NotFoundError } from "./error.js";
|
|
7
|
+
import { SessionInbox } from "./inbox.js";
|
|
11
8
|
declare const DestinationNotFoundError_base: Schema.Class<DestinationNotFoundError, Schema.TaggedStruct<"Session.DestinationNotFoundError", {
|
|
12
9
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13
10
|
}>, Cause.YieldableError>;
|
|
@@ -23,8 +20,15 @@ declare const DestinationUnavailableError_base: Schema.Class<DestinationUnavaila
|
|
|
23
20
|
}>, Cause.YieldableError>;
|
|
24
21
|
export declare class DestinationUnavailableError extends DestinationUnavailableError_base {
|
|
25
22
|
}
|
|
26
|
-
export
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
export interface Interface {
|
|
24
|
+
readonly move: (input: {
|
|
25
|
+
sessionID: Session.ID;
|
|
26
|
+
directory: AbsolutePath;
|
|
27
|
+
workspaceID?: Location.Ref["workspaceID"];
|
|
28
|
+
delivery?: SessionInbox.Delivery;
|
|
29
|
+
}) => Effect.Effect<void, NotFoundError | DestinationNotFoundError | DestinationNotDirectoryError | DestinationUnavailableError>;
|
|
30
|
+
}
|
|
31
|
+
declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionMove", Interface>;
|
|
32
|
+
export declare class Service extends Service_base {
|
|
33
|
+
}
|
|
34
|
+
export declare const node: import("@opencode-ai/util/effect/layer-node").Provider<Service, never, import("@opencode-ai/util/effect/layer-node").Tag<"global">>;
|
|
@@ -22,6 +22,13 @@ export interface Decision {
|
|
|
22
22
|
readonly delay: number;
|
|
23
23
|
}
|
|
24
24
|
export declare function isRetryable(error: AIError): boolean;
|
|
25
|
+
export declare const policy: (sessionID: SessionSchema.ID) => Effect.Effect<(input: Input) => Effect.Effect<{
|
|
26
|
+
retry: false;
|
|
27
|
+
} | {
|
|
28
|
+
retry: true;
|
|
29
|
+
attempt: number;
|
|
30
|
+
delay: number;
|
|
31
|
+
}, never, never>, never, never>;
|
|
25
32
|
export declare const make: (bus: Bus.Interface, sessionID: SessionSchema.ID) => Effect.Effect<{
|
|
26
33
|
decide: (input: Input) => Effect.Effect<{
|
|
27
34
|
retry: false;
|
|
@@ -2,6 +2,9 @@ export * as SubagentCompletion from "./subagent-completion.js";
|
|
|
2
2
|
import { Effect } from "effect";
|
|
3
3
|
import type { Job } from "../job.js";
|
|
4
4
|
import type { Session } from "../session.js";
|
|
5
|
+
import type { SessionMessage } from "./message.js";
|
|
6
|
+
export declare const NO_TEXT = "Subagent completed without a text response.";
|
|
7
|
+
export declare function text(message: SessionMessage.Info | undefined): string;
|
|
5
8
|
export declare const deliver: (sessions: Pick<Session.Interface, "synthetic">, jobs: Pick<Job.Interface, "completeBackground">, input: Pick<Job.Info, "status" | "output" | "error" | "notificationID"> & {
|
|
6
9
|
recovery: Extract<Job.Recovery, {
|
|
7
10
|
kind: "subagent";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * as SubagentJob from "./subagent-job.js";
|
|
2
|
+
import { Effect, Scope } from "effect";
|
|
3
|
+
import { Job } from "../job.js";
|
|
4
|
+
import { Session } from "../session.js";
|
|
5
|
+
type Recovery = Extract<Job.Recovery, {
|
|
6
|
+
kind: "subagent";
|
|
7
|
+
}>;
|
|
8
|
+
interface Runner {
|
|
9
|
+
start: (recovery: Recovery) => Effect.Effect<Job.Info>;
|
|
10
|
+
background: (recovery: Recovery) => Effect.Effect<void>;
|
|
11
|
+
notify: (recovery: Recovery, startedAt: number) => Effect.Effect<void>;
|
|
12
|
+
}
|
|
13
|
+
export declare const make: Effect.Effect<Runner, never, Session.Service | Job.Service | Scope.Scope>;
|
|
@@ -721,6 +721,52 @@ export declare const Data: Schema.Struct<{
|
|
|
721
721
|
}>, Schema.Struct<{
|
|
722
722
|
readonly status: Schema.tag<"completed">;
|
|
723
723
|
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;
|
|
724
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
725
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
726
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
727
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
728
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
729
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
730
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
731
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
732
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
733
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
734
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
735
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
736
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
737
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
738
|
+
};
|
|
739
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
740
|
+
}> & {
|
|
741
|
+
parse: (input: string) => {
|
|
742
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
743
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
744
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
745
|
+
};
|
|
746
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
747
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
748
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
749
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
750
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
751
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
752
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
753
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
754
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
755
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
756
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
757
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
758
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
759
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
760
|
+
};
|
|
761
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
762
|
+
}> & {
|
|
763
|
+
parse: (input: string) => {
|
|
764
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
765
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
766
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
767
|
+
};
|
|
768
|
+
}>, never, never>;
|
|
769
|
+
readonly providerState: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
724
770
|
readonly summary: Schema.String;
|
|
725
771
|
readonly recent: Schema.String;
|
|
726
772
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
package/dist/types/session.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { Location } from "./location.js";
|
|
|
7
7
|
import { SessionMessage } from "./session/message.js";
|
|
8
8
|
import { PromptInput } from "@opencode-ai/schema/prompt-input";
|
|
9
9
|
import { SessionSchema } from "./session/schema.js";
|
|
10
|
-
import { AbsolutePath } from "./schema.js";
|
|
11
10
|
import { Agent } from "@opencode-ai/schema/agent";
|
|
12
11
|
import { SessionRunner } from "./session/runner/index.js";
|
|
13
12
|
import { SessionStore } from "./session/store.js";
|
|
@@ -17,7 +16,7 @@ import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
|
17
16
|
import { SessionEvent } from "./session/event.js";
|
|
18
17
|
import { SessionInbox } from "./session/inbox.js";
|
|
19
18
|
import { SessionGenerate } from "./session/generate.js";
|
|
20
|
-
import { DestinationNotFoundError, DestinationNotDirectoryError, DestinationUnavailableError } from "./session/move.js";
|
|
19
|
+
import { SessionMove, DestinationNotFoundError, DestinationNotDirectoryError, DestinationUnavailableError } from "./session/move.js";
|
|
21
20
|
import { Snapshot } from "./snapshot.js";
|
|
22
21
|
import { Session } from "./session/session.js";
|
|
23
22
|
import type { EventLog } from "@opencode-ai/schema/event-log";
|
|
@@ -176,12 +175,7 @@ export interface Interface {
|
|
|
176
175
|
sessionID: SessionSchema.ID;
|
|
177
176
|
title: string;
|
|
178
177
|
}) => Effect.Effect<void, NotFoundError>;
|
|
179
|
-
readonly move:
|
|
180
|
-
sessionID: SessionSchema.ID;
|
|
181
|
-
directory: AbsolutePath;
|
|
182
|
-
workspaceID?: Location.Ref["workspaceID"];
|
|
183
|
-
delivery?: SessionInbox.Delivery;
|
|
184
|
-
}) => Effect.Effect<void, NotFoundError | DestinationNotFoundError | DestinationNotDirectoryError | DestinationUnavailableError>;
|
|
178
|
+
readonly move: SessionMove.Interface["move"];
|
|
185
179
|
readonly prompt: (input: Parameters<Session.Handle["prompt"]>[0] & {
|
|
186
180
|
sessionID: SessionSchema.ID;
|
|
187
181
|
}) => ReturnType<Session.Handle["prompt"]>;
|
package/dist/types/state.d.ts
CHANGED
|
@@ -22,6 +22,24 @@ export interface Transformable<Editor> {
|
|
|
22
22
|
readonly transform: Transform<Editor>;
|
|
23
23
|
readonly reload: Reload;
|
|
24
24
|
}
|
|
25
|
+
export interface Failure {
|
|
26
|
+
readonly state: string;
|
|
27
|
+
readonly cause: unknown;
|
|
28
|
+
}
|
|
29
|
+
type GroupedRegistration = {
|
|
30
|
+
readonly remove: () => boolean;
|
|
31
|
+
readonly notify: Effect.Effect<void>;
|
|
32
|
+
};
|
|
33
|
+
type RegistrationGroup = {
|
|
34
|
+
failed: boolean;
|
|
35
|
+
readonly registrations: Set<GroupedRegistration>;
|
|
36
|
+
readonly report: (failure: Failure, refresh: Effect.Effect<void>) => void;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Groups registrations without coupling State to plugin identity or asynchronous cleanup.
|
|
40
|
+
* A failed group is detached synchronously; its supervisor must run refresh and close its scope.
|
|
41
|
+
*/
|
|
42
|
+
export declare function group(report: RegistrationGroup["report"]): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, never>>;
|
|
25
43
|
/** Coalesces notifications until the effect completes. Reads inside stay fresh; nothing is rolled back. */
|
|
26
44
|
export declare function batch<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R>;
|
|
27
45
|
/** Runs the effect as shutdown: States changed inside it close permanently and never notify again. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * as SubagentTool from "./subagent.js";
|
|
2
2
|
import type { Context } from "@opencode-ai/plugin/effect/plugin";
|
|
3
|
-
import { Effect, Schema
|
|
3
|
+
import { Effect, Schema } from "effect";
|
|
4
4
|
import { Agent } from "../../agent.js";
|
|
5
5
|
import { Config } from "../../config.js";
|
|
6
6
|
import { Job } from "../../job.js";
|
|
@@ -28,5 +28,5 @@ export declare const Output: Schema.Struct<{
|
|
|
28
28
|
export declare const description: string;
|
|
29
29
|
export declare const Plugin: {
|
|
30
30
|
id: string;
|
|
31
|
-
effect: (ctx: Context) => Effect.Effect<void, never, Scope.Scope | Agent.Service | Config.Service | Permission.Service | Session.Service | Job.Service>;
|
|
31
|
+
effect: (ctx: Context) => Effect.Effect<void, never, import("effect/Scope").Scope | Agent.Service | Config.Service | Permission.Service | Session.Service | Job.Service>;
|
|
32
32
|
};
|
|
@@ -18,7 +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?: "
|
|
21
|
+
readonly update?: "disable" | "notify" | undefined;
|
|
22
22
|
readonly commands?: {
|
|
23
23
|
readonly [x: string]: {
|
|
24
24
|
readonly template: string;
|
|
@@ -28,6 +28,7 @@ export declare function migrate(info: typeof ConfigV1.Info.Type): {
|
|
|
28
28
|
readonly model: string;
|
|
29
29
|
readonly variant?: string | undefined;
|
|
30
30
|
} | undefined;
|
|
31
|
+
readonly subagent?: boolean | undefined;
|
|
31
32
|
readonly agent?: string | undefined;
|
|
32
33
|
readonly subtask?: boolean | undefined;
|
|
33
34
|
};
|
|
@@ -323,7 +324,7 @@ export declare function commands(info?: Readonly<Record<string, ConfigCommandV1.
|
|
|
323
324
|
providerID: string;
|
|
324
325
|
model: string;
|
|
325
326
|
} | undefined;
|
|
326
|
-
|
|
327
|
+
subagent: boolean | undefined;
|
|
327
328
|
};
|
|
328
329
|
} | undefined;
|
|
329
330
|
export declare function migrateMcp(info: ConfigMCPV1.Info): {
|
package/dist/util/array.js
CHANGED
package/dist/util/error.js
CHANGED
package/dist/util/identifier.js
CHANGED