@opencode-ai/core 0.0.0-beta-18721 → 0.0.0-beta-18866
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 +4 -4
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +5 -5
- package/dist/aisdk.js +8 -8
- package/dist/app.js +8 -8
- package/dist/bus.js +78 -78
- package/dist/catalog.js +81 -81
- package/dist/chunks/{workspace-pds7pjdg.js → reference-088y9cbk.js} +8 -8
- package/dist/chunks/{workspace-3thh6229.js → reference-0ag03ecw.js} +2 -2
- package/dist/chunks/{workspace-w47r4rby.js → reference-0bw2p3eg.js} +11 -11
- package/dist/chunks/{workspace-eg3ntwpk.js → reference-0emrnx66.js} +7 -7
- package/dist/chunks/{workspace-f7q7a28y.js → reference-0enfz0ma.js} +12 -12
- package/dist/chunks/{workspace-57ej80dx.js → reference-0gpahtwn.js} +92 -15
- package/dist/chunks/{workspace-wfdy75zv.js → reference-0kz3ajyp.js} +40 -46
- package/dist/chunks/{workspace-4zzdwbaz.js → reference-0pc4kdn1.js} +2 -2
- package/dist/chunks/{workspace-2m0hgr65.js → reference-0rz7yd7x.js} +3 -3
- package/dist/chunks/{workspace-xxpvz42q.js → reference-136c8mz3.js} +12 -11
- package/dist/chunks/{workspace-vnze5mnn.js → reference-17fnrv0p.js} +74 -91
- package/dist/chunks/{workspace-e5hrgxm9.js → reference-1btf37k0.js} +6 -6
- package/dist/chunks/{workspace-z1qq43ae.js → reference-1e3g1ft9.js} +7 -7
- package/dist/chunks/{workspace-264e1nfp.js → reference-264e1nfp.js} +2 -2
- package/dist/chunks/{workspace-0yf2afmn.js → reference-2cehtecm.js} +5 -5
- package/dist/chunks/{workspace-1rexamst.js → reference-2nszkqak.js} +6 -6
- package/dist/chunks/{workspace-cgqn2mrm.js → reference-2sqw2jjm.js} +20 -20
- package/dist/chunks/{workspace-q2jbdv9f.js → reference-2syg46b4.js} +25 -42
- package/dist/chunks/{workspace-w385wtt6.js → reference-2x0ckx01.js} +2 -2
- package/dist/chunks/{workspace-9szkxgyb.js → reference-2xn0r9vb.js} +16 -94
- package/dist/chunks/{workspace-kwy8bpa6.js → reference-30f47jbp.js} +5 -5
- package/dist/chunks/{workspace-g68hwncr.js → reference-30st6gwt.js} +1 -1
- package/dist/chunks/{workspace-393a352g.js → reference-326j4s6w.js} +5 -5
- package/dist/chunks/{workspace-rhm13qbw.js → reference-3529n0tr.js} +19 -19
- package/dist/chunks/{workspace-rrhcyjvn.js → reference-38cv1e1c.js} +27 -17
- package/dist/chunks/{workspace-vz89hfgr.js → reference-3chx3ng6.js} +11 -11
- package/dist/chunks/{workspace-h5wnyjzw.js → reference-3ep0k87g.js} +5 -5
- package/dist/chunks/{workspace-j281xcgt.js → reference-3mc1hhwa.js} +5 -5
- package/dist/chunks/{workspace-byb06gyb.js → reference-3t5c6jt3.js} +39 -39
- package/dist/chunks/{workspace-sz9w0e5n.js → reference-3vc9vmpv.js} +10 -10
- package/dist/chunks/{workspace-k828h0dz.js → reference-3y28g1fq.js} +54 -37
- package/dist/chunks/reference-424hja68.js +196 -0
- package/dist/chunks/{workspace-thstd87d.js → reference-42zyazrq.js} +3 -3
- package/dist/chunks/{workspace-d6e56n2n.js → reference-46azr2y9.js} +5 -5
- package/dist/chunks/{workspace-49vfnqyj.js → reference-4e9y157d.js} +4 -4
- package/dist/chunks/{workspace-10p29vm9.js → reference-4qz7zhx0.js} +7 -7
- package/dist/chunks/{workspace-m4a2h2aa.js → reference-4v53bvyt.js} +19 -19
- package/dist/chunks/{workspace-2nmyybe0.js → reference-4v6g3p22.js} +3 -3
- package/dist/chunks/{workspace-ypm2r7kk.js → reference-4z6b1r7t.js} +42 -48
- package/dist/chunks/{workspace-v5yqeb22.js → reference-5400f3k2.js} +16 -16
- package/dist/chunks/{workspace-ccf4e63x.js → reference-567c56db.js} +8 -8
- package/dist/chunks/{workspace-a5qzhy59.js → reference-5gzv38nr.js} +34 -34
- package/dist/chunks/{workspace-ncaapae1.js → reference-5n97c1kz.js} +3 -3
- package/dist/chunks/{workspace-etvrgfqj.js → reference-5y5kqjze.js} +7 -7
- package/dist/chunks/{workspace-vqbmgfq1.js → reference-63teb4w1.js} +5 -5
- package/dist/chunks/{workspace-0kvmztkf.js → reference-66mds5ht.js} +3 -3
- package/dist/chunks/reference-6bxzghb6.js +20 -0
- package/dist/chunks/{workspace-bbhffenw.js → reference-6f6thqyy.js} +15 -15
- package/dist/chunks/{workspace-fm3b2wbt.js → reference-6hppa3xw.js} +4 -4
- package/dist/chunks/{workspace-hthr7p63.js → reference-6qa4ddqm.js} +58 -22
- package/dist/chunks/{workspace-d2gk9vpf.js → reference-6vbv4je1.js} +4 -4
- package/dist/chunks/{workspace-zxe9jjhn.js → reference-6wsfy4sp.js} +4 -4
- package/dist/chunks/{workspace-b96dby51.js → reference-73zc7acq.js} +6 -6
- package/dist/chunks/{workspace-0d4mk87s.js → reference-750jzgaa.js} +3 -3
- package/dist/chunks/{workspace-gxgtbepa.js → reference-7epmrnkh.js} +11 -11
- package/dist/chunks/{workspace-kz0c7bgg.js → reference-7f09d21b.js} +7 -7
- package/dist/chunks/{workspace-kg1345f7.js → reference-7myqjfx6.js} +4 -4
- package/dist/chunks/{workspace-qg8mqw3q.js → reference-7w4qx9zy.js} +25 -6
- package/dist/chunks/{workspace-t6ma3p1k.js → reference-7y13h7qh.js} +5 -5
- package/dist/chunks/{workspace-xj0xhwdw.js → reference-7z97vfjw.js} +3 -3
- package/dist/chunks/{workspace-spxah02e.js → reference-80jq34sk.js} +13 -13
- package/dist/chunks/{workspace-jjebnzjz.js → reference-893c53jd.js} +10 -10
- package/dist/chunks/{workspace-nr76rjj3.js → reference-89ttfx5q.js} +7 -7
- package/dist/chunks/{workspace-t683wdge.js → reference-8ck72gm8.js} +16 -16
- package/dist/chunks/{workspace-ngz3v23c.js → reference-8ezmrsyj.js} +4 -4
- package/dist/chunks/{workspace-1hfjzejj.js → reference-8g6k80zr.js} +9 -9
- package/dist/chunks/{workspace-wq5r9j83.js → reference-8jwkk0nn.js} +4 -4
- package/dist/chunks/{workspace-jvhgzz8q.js → reference-8ngkfkdx.js} +4 -4
- package/dist/chunks/reference-8q7rztf6.js +187 -0
- package/dist/chunks/{workspace-sqsnmb9f.js → reference-8r263vtv.js} +2 -2
- package/dist/chunks/{workspace-jyhpc08g.js → reference-8ze61944.js} +15 -15
- package/dist/chunks/{workspace-f3fdb301.js → reference-8zsay21d.js} +3 -3
- package/dist/chunks/{workspace-0j6xhazk.js → reference-90je674c.js} +6 -6
- package/dist/chunks/{workspace-gn1b6j0w.js → reference-97q0eayt.js} +33 -29
- package/dist/chunks/{workspace-t8aff0pg.js → reference-98a24b06.js} +109 -116
- package/dist/chunks/{workspace-pd3n9s7q.js → reference-9dpm0ypj.js} +14 -22
- package/dist/chunks/{workspace-6c4zjnsa.js → reference-9ex87gzq.js} +25 -25
- package/dist/chunks/{workspace-hrf5kjnr.js → reference-9kywsdzv.js} +5 -5
- package/dist/chunks/{workspace-t099cpyx.js → reference-9nyt8zyy.js} +6 -7
- package/dist/chunks/{workspace-kn110wfv.js → reference-9s00a4cy.js} +5 -5
- package/dist/chunks/{workspace-0r8mkfdy.js → reference-9vqgpz70.js} +6 -6
- package/dist/chunks/{workspace-pzqpm43x.js → reference-9z5kkd1v.js} +16 -16
- package/dist/chunks/{workspace-byab506k.js → reference-a6xqkezx.js} +1 -1
- package/dist/chunks/{workspace-zn8r3q6e.js → reference-a7swh0z4.js} +8 -8
- package/dist/chunks/{workspace-wps8gh8n.js → reference-af42tqdk.js} +2 -2
- package/dist/chunks/{workspace-96h2ckbg.js → reference-ak8kj9h3.js} +24 -24
- package/dist/chunks/{workspace-ydqqfkxk.js → reference-an1f8bbd.js} +126 -68
- package/dist/chunks/{workspace-vj7vg9kk.js → reference-ayh0b6nc.js} +14 -14
- package/dist/chunks/{workspace-f9wt0tjw.js → reference-b1f1x5nb.js} +4 -4
- package/dist/chunks/{workspace-x89rah0x.js → reference-b7rje112.js} +4 -4
- package/dist/chunks/{workspace-e1z9a0ts.js → reference-bd2mvb8t.js} +6 -6
- package/dist/chunks/{workspace-54jxv7ra.js → reference-bhk5bpxq.js} +10 -8
- package/dist/chunks/{workspace-y0x38cee.js → reference-bnha4c96.js} +3 -3
- package/dist/chunks/{workspace-se07g09y.js → reference-bwqptwn6.js} +8 -8
- package/dist/chunks/{workspace-n6ag8q95.js → reference-bybkghrn.js} +1 -1
- package/dist/chunks/{workspace-q66tjefk.js → reference-byc4rwvh.js} +2 -2
- package/dist/chunks/{workspace-5d6p0teb.js → reference-c1qrh1pd.js} +4 -4
- package/dist/chunks/{workspace-ec8vrfw5.js → reference-c54e84vp.js} +19 -19
- package/dist/chunks/{workspace-c8ya26sa.js → reference-c8ya26sa.js} +2 -2
- package/dist/chunks/{workspace-zdkg1k91.js → reference-c8z1ewty.js} +16 -5
- package/dist/chunks/{workspace-w3fj2cfx.js → reference-c9xhhs5v.js} +43 -43
- package/dist/chunks/{workspace-d4h7vwhh.js → reference-d4h7vwhh.js} +2 -2
- package/dist/chunks/{workspace-5rs65q6p.js → reference-dexm22yg.js} +4 -4
- package/dist/chunks/{workspace-yt7cwtxp.js → reference-df9ps1ev.js} +3 -3
- package/dist/chunks/reference-dtm6fkaa.js +54 -0
- package/dist/chunks/reference-dvqebtf1.js +37 -0
- package/dist/chunks/{workspace-0382r32z.js → reference-dxcg1gpj.js} +21 -21
- package/dist/chunks/{workspace-mxvw03gv.js → reference-dyhtrhy2.js} +1 -1
- package/dist/chunks/{workspace-4fnpr27v.js → reference-e2kekfkw.js} +14 -14
- package/dist/chunks/{workspace-b4txk059.js → reference-e4ve50r5.js} +2 -2
- package/dist/chunks/{workspace-9mp6v1qd.js → reference-e5r3hp5p.js} +16 -16
- package/dist/chunks/{workspace-z90enqha.js → reference-ec0fjxjh.js} +7 -7
- package/dist/chunks/{workspace-y67x6rf6.js → reference-edxnhgvj.js} +3 -3
- package/dist/chunks/{workspace-c4wcb9vc.js → reference-etbnsc4s.js} +5 -5
- package/dist/chunks/{workspace-ty0adcvq.js → reference-ez1a90zg.js} +88 -88
- package/dist/chunks/{workspace-qe0d689s.js → reference-f2nhxfjt.js} +2 -2
- package/dist/chunks/{workspace-tqka7tgd.js → reference-f410cv5t.js} +23 -23
- package/dist/chunks/{workspace-n2dez5xq.js → reference-f6687h7n.js} +93 -138
- package/dist/chunks/{workspace-wg766mjt.js → reference-f821qzap.js} +3 -3
- package/dist/chunks/{workspace-zwavn0q8.js → reference-f85kjf82.js} +49 -30
- package/dist/chunks/{workspace-41qzzbpz.js → reference-f8wvq04h.js} +3 -3
- package/dist/chunks/{workspace-aweppgs5.js → reference-fddsdmdf.js} +4 -4
- package/dist/chunks/reference-fkdrrz2d.js +30 -0
- package/dist/chunks/{workspace-tv8s8hx7.js → reference-fkf3c53e.js} +9 -9
- package/dist/chunks/{workspace-jdx4t1h5.js → reference-fq40qrnc.js} +21 -16
- package/dist/chunks/{workspace-smpeg8c9.js → reference-fqehnn9p.js} +2 -2
- package/dist/chunks/{workspace-6yzphrxy.js → reference-ftjbsen0.js} +11 -11
- package/dist/chunks/{workspace-23a0c1bj.js → reference-g0z4yfdj.js} +48 -104
- package/dist/chunks/{workspace-4h896fer.js → reference-g6q238va.js} +2 -2
- package/dist/chunks/{workspace-vq1jnjcx.js → reference-g7dw4rk5.js} +10 -10
- package/dist/chunks/{workspace-18pv8fg3.js → reference-g9dd0fv6.js} +5 -5
- package/dist/chunks/{workspace-bh4rpm56.js → reference-gat33t0e.js} +7 -6
- package/dist/chunks/{workspace-gb1z7yet.js → reference-gb1z7yet.js} +2 -2
- package/dist/chunks/{workspace-mnb85w6b.js → reference-gc513wew.js} +4 -4
- package/dist/chunks/{workspace-83n144wj.js → reference-gq0njyjb.js} +35 -30
- package/dist/chunks/{workspace-gd2xppx8.js → reference-grfz4hhj.js} +3 -3
- package/dist/chunks/{workspace-jv2akzxs.js → reference-gte2a4bk.js} +28 -19
- package/dist/chunks/{workspace-eyj72yq6.js → reference-h292hczs.js} +18 -18
- package/dist/chunks/{workspace-rmjj1pjh.js → reference-hfzsp55z.js} +4 -4
- package/dist/chunks/{workspace-pznyjm5b.js → reference-hgf74c4y.js} +8 -8
- package/dist/chunks/{workspace-hgr9y616.js → reference-hgr9y616.js} +1 -1
- package/dist/chunks/{workspace-02f9w0t0.js → reference-hhxh8pdx.js} +2 -2
- package/dist/chunks/{workspace-15hpbjb6.js → reference-hpkeh7wf.js} +6 -6
- package/dist/chunks/{workspace-50jxp3hw.js → reference-hs51b0fc.js} +7 -7
- package/dist/chunks/{workspace-3g8vftxb.js → reference-hvydqsq5.js} +4 -4
- package/dist/chunks/{workspace-5vcssjzn.js → reference-hy5n5jcn.js} +3 -3
- package/dist/chunks/{workspace-sc0wbnjs.js → reference-hyfbxc6f.js} +1 -1
- package/dist/chunks/{workspace-j0feex7e.js → reference-j0feex7e.js} +1 -1
- package/dist/chunks/{workspace-h6q26knr.js → reference-j9ymnb9b.js} +2 -2
- package/dist/chunks/{workspace-jcrvmhhm.js → reference-jcc5a2z4.js} +2 -2
- package/dist/chunks/reference-je5g7w6t.js +34 -0
- package/dist/chunks/{workspace-0dmbf0wy.js → reference-jesbcz0e.js} +7 -7
- package/dist/chunks/{workspace-vkgwd1zr.js → reference-jghhn6h0.js} +16 -16
- package/dist/chunks/{workspace-qwn30307.js → reference-jjepj7kz.js} +14 -11
- package/dist/chunks/{workspace-6wkzvma0.js → reference-jqd42x9x.js} +4 -4
- package/dist/chunks/{workspace-yt02w91s.js → reference-jqhp3fpz.js} +4 -4
- package/dist/chunks/{workspace-tjrfm0xh.js → reference-jr5m26np.js} +8 -8
- package/dist/chunks/{workspace-dg2044dm.js → reference-jsb6y3ce.js} +7 -7
- package/dist/chunks/{workspace-71he9c34.js → reference-k3b0087g.js} +17 -17
- package/dist/chunks/{workspace-rth9afse.js → reference-k5r2vn1t.js} +21 -21
- package/dist/chunks/{workspace-xwftk1fd.js → reference-k7hkdbw5.js} +2 -2
- package/dist/chunks/{workspace-90xaz2d8.js → reference-k85ch1vg.js} +14 -14
- package/dist/chunks/{workspace-nekhbbnv.js → reference-ka1ze8e7.js} +9 -9
- package/dist/chunks/{workspace-xjjns68s.js → reference-kek3rf55.js} +8 -8
- package/dist/chunks/{workspace-z4jgbr9s.js → reference-kemcf5mw.js} +6 -6
- package/dist/chunks/{workspace-bh1wr8rq.js → reference-kggc3hrm.js} +4 -4
- package/dist/chunks/{workspace-zzjh79ge.js → reference-khswz5rb.js} +12 -12
- package/dist/chunks/{workspace-dhphtf1x.js → reference-kq3q54gz.js} +3 -3
- package/dist/chunks/{workspace-a7zp47hx.js → reference-kr9vgar1.js} +3 -3
- package/dist/chunks/{workspace-0687t5rp.js → reference-m3k5wttq.js} +16 -16
- package/dist/chunks/{workspace-mn7qpjr2.js → reference-m48hb2tb.js} +9 -9
- package/dist/chunks/{workspace-h94zdhz8.js → reference-m7jtgrng.js} +8 -8
- package/dist/chunks/{workspace-vd1d8tva.js → reference-m8dxe63b.js} +12 -11
- package/dist/chunks/{workspace-mf0hyk7z.js → reference-mf0hyk7z.js} +1 -1
- package/dist/chunks/{workspace-cpdjx8r8.js → reference-mhxjtrfr.js} +26 -26
- package/dist/chunks/{workspace-kp1t5rcy.js → reference-mnyszbxc.js} +3 -3
- package/dist/chunks/{workspace-d6597cvr.js → reference-mq1tw6ze.js} +19 -19
- package/dist/chunks/{workspace-6jw56qh4.js → reference-mxhs55xx.js} +35 -35
- package/dist/chunks/{workspace-ttf9eg87.js → reference-n256kz7s.js} +11 -11
- package/dist/chunks/reference-n5yhfyk0.js +408 -0
- package/dist/chunks/{workspace-r3k9abhd.js → reference-ngzr6ypz.js} +4 -4
- package/dist/chunks/{workspace-sw84ckhj.js → reference-nn16cgj7.js} +5 -5
- package/dist/chunks/{workspace-yqrbzdvt.js → reference-np5sawwb.js} +8 -8
- package/dist/chunks/{workspace-hp6rpdnc.js → reference-p1m5qwvv.js} +3 -3
- package/dist/chunks/{workspace-psv6w1a0.js → reference-p4fwfknn.js} +12 -12
- package/dist/chunks/{workspace-7wcmqxrc.js → reference-p5gyct0y.js} +4 -4
- package/dist/chunks/{workspace-95ex1qdx.js → reference-pdq2xh3y.js} +11 -11
- package/dist/chunks/{workspace-9b50qpfj.js → reference-pg6rcx6v.js} +20 -20
- package/dist/chunks/{workspace-kww0mg52.js → reference-pj0nw4b1.js} +1 -1
- package/dist/chunks/{workspace-2pd1mgzx.js → reference-pk53j7qk.js} +4 -4
- package/dist/chunks/{workspace-ccwkppmm.js → reference-pkvv3k6x.js} +12 -16
- package/dist/chunks/{workspace-ngk06vjf.js → reference-pp6802x5.js} +9 -10
- package/dist/chunks/{workspace-pq48jtzb.js → reference-pw0qjder.js} +18 -18
- package/dist/chunks/{workspace-q606pcse.js → reference-q606pcse.js} +3 -3
- package/dist/chunks/{workspace-ep35cpen.js → reference-qf52r0wh.js} +5 -5
- package/dist/chunks/{workspace-adt2dd96.js → reference-qf5b2gmg.js} +16 -16
- package/dist/chunks/{workspace-v9bfv94f.js → reference-qfvp8zq7.js} +5 -5
- package/dist/chunks/{workspace-2tz67g1e.js → reference-qp1z2q9w.js} +22 -21
- package/dist/chunks/{workspace-9b76fep3.js → reference-qvh7d3mm.js} +6 -6
- package/dist/chunks/{workspace-kb2ag3w7.js → reference-qx3jf2qk.js} +7 -7
- package/dist/chunks/{workspace-dyj7wa6j.js → reference-qz5gwjr7.js} +10 -10
- package/dist/chunks/{workspace-02dbfq60.js → reference-r7z6wjth.js} +4 -4
- package/dist/chunks/{workspace-npwkm078.js → reference-r932pxqs.js} +1 -1
- package/dist/chunks/{workspace-r9d3d23r.js → reference-r9d3d23r.js} +1 -1
- package/dist/chunks/{workspace-rahat93a.js → reference-rahat93a.js} +1 -1
- package/dist/chunks/{workspace-vmqnr5ym.js → reference-ramface9.js} +6 -6
- package/dist/chunks/{workspace-fvzd795v.js → reference-rancn5ng.js} +11 -11
- package/dist/chunks/reference-rr7wbarq.js +151 -0
- package/dist/chunks/{workspace-gz9s6gpj.js → reference-rv2n9m0t.js} +2 -2
- package/dist/chunks/{workspace-t29y76c6.js → reference-rw2ay6e7.js} +21 -21
- package/dist/chunks/reference-rzv103sq.js +36 -0
- package/dist/chunks/{workspace-s2kjqxd3.js → reference-s2kjqxd3.js} +1 -1
- package/dist/chunks/{workspace-y198y2ra.js → reference-s32nnj3r.js} +12 -12
- package/dist/chunks/{workspace-0t4s47ed.js → reference-s4nkbdgv.js} +12 -12
- package/dist/chunks/{workspace-v80zsxnb.js → reference-s6ck6xts.js} +3 -3
- package/dist/chunks/{workspace-tgzdt8vx.js → reference-sawwddx8.js} +31 -27
- package/dist/chunks/{workspace-dy6avzyr.js → reference-t253hdyx.js} +5 -5
- package/dist/chunks/{workspace-7mw91s0p.js → reference-t5rvtmq7.js} +61 -61
- package/dist/chunks/{workspace-geyszmd1.js → reference-thngpag9.js} +12 -12
- package/dist/chunks/{workspace-k5e6kcej.js → reference-tr2gzb1w.js} +4 -4
- package/dist/chunks/{workspace-75jm6q42.js → reference-tt4qnzy6.js} +7 -7
- package/dist/chunks/{workspace-f45tr4gk.js → reference-ty5gs0vf.js} +14 -14
- package/dist/chunks/{workspace-dddbpkz0.js → reference-v1q61tmm.js} +9 -9
- package/dist/chunks/{workspace-vcwr2vpf.js → reference-vcwr2vpf.js} +1 -1
- package/dist/chunks/{workspace-y6vap6bx.js → reference-vczm1m9n.js} +3 -3
- package/dist/chunks/{workspace-x12tajmt.js → reference-vd8gzy68.js} +13 -13
- package/dist/chunks/{workspace-0vkr0968.js → reference-vem6fgbh.js} +20 -18
- package/dist/chunks/{workspace-v12a39vm.js → reference-vmf3mwf0.js} +14 -14
- package/dist/chunks/{workspace-xczfw7dq.js → reference-vynk8zbr.js} +6 -6
- package/dist/chunks/reference-vyxqdbzy.js +68 -0
- package/dist/chunks/{workspace-7mrpdsq5.js → reference-w5r9s7kx.js} +4 -4
- package/dist/chunks/reference-w7agyzeg.js +66 -0
- package/dist/chunks/{workspace-wbkt8qpj.js → reference-wbkt8qpj.js} +1 -1
- package/dist/chunks/{workspace-gcay93cp.js → reference-wdqva41w.js} +3 -3
- package/dist/chunks/{workspace-9f0rnpkn.js → reference-wf5w4wph.js} +3 -3
- package/dist/chunks/{workspace-xanq1mxd.js → reference-wghtbf73.js} +11 -11
- package/dist/chunks/{workspace-ns0sdez7.js → reference-wkcm2121.js} +15 -15
- package/dist/chunks/{workspace-wmxdh12w.js → reference-wmxdh12w.js} +1 -1
- package/dist/chunks/{workspace-zq1g42ep.js → reference-wv8n739s.js} +10 -10
- package/dist/chunks/{workspace-qsbnxnr4.js → reference-wvzafhct.js} +6 -7
- package/dist/chunks/{workspace-cmtnk9bc.js → reference-wx0fv060.js} +26 -11
- package/dist/chunks/{workspace-nzrjycs5.js → reference-x3vb5b1t.js} +3 -3
- package/dist/chunks/{workspace-58xdvehb.js → reference-x4az4y7r.js} +5 -5
- package/dist/chunks/{workspace-aqznnwa7.js → reference-x7g08g2m.js} +7 -7
- package/dist/chunks/{workspace-pq4b4pqk.js → reference-xdb88cdw.js} +4 -4
- package/dist/chunks/{workspace-5fe026tx.js → reference-xfk2eagt.js} +5 -5
- package/dist/chunks/{workspace-ps01fcq7.js → reference-xh0dkm7j.js} +1 -1
- package/dist/chunks/{workspace-gbf8gmfy.js → reference-xwpxh8hr.js} +12 -12
- package/dist/chunks/{workspace-v2wshkax.js → reference-xws7arpm.js} +3 -3
- package/dist/chunks/{workspace-cdyns1y9.js → reference-xxphcf1f.js} +14 -14
- package/dist/chunks/{workspace-6wkh0xt8.js → reference-xzp0zmzd.js} +6 -6
- package/dist/chunks/{workspace-fkbn0amk.js → reference-y1yqxy0w.js} +10 -10
- package/dist/chunks/{workspace-ekr1z8vx.js → reference-yt5sqzpx.js} +30 -30
- package/dist/chunks/{workspace-hpnzywkq.js → reference-yvej0khr.js} +8 -8
- package/dist/chunks/{workspace-9zz3e0gs.js → reference-yyskhrw5.js} +6 -6
- package/dist/chunks/{workspace-h5evy9bn.js → reference-z1959vye.js} +13 -13
- package/dist/chunks/{workspace-rdqmt1vp.js → reference-z1x5ppqv.js} +2 -2
- package/dist/chunks/{workspace-9kmcw9m3.js → reference-z427xjvx.js} +15 -15
- package/dist/chunks/{workspace-87mh0e1q.js → reference-z5p8bt57.js} +12 -12
- package/dist/chunks/{workspace-fr1wyg6y.js → reference-z65x5xn8.js} +15 -15
- package/dist/chunks/{workspace-xa5547w0.js → reference-z6zhg99y.js} +32 -34
- package/dist/chunks/{workspace-sea31hhk.js → reference-z83gsyf2.js} +5 -5
- package/dist/chunks/{workspace-v972xay6.js → reference-z8c1ty6e.js} +3 -3
- package/dist/chunks/{workspace-zbqqnp0n.js → reference-zbqqnp0n.js} +1 -1
- package/dist/chunks/{workspace-p183atfw.js → reference-zgfz4nwa.js} +16 -16
- package/dist/chunks/{workspace-6ky7rqk7.js → reference-zn935gjz.js} +3 -3
- package/dist/chunks/{workspace-fex42j86.js → reference-zq5w46q0.js} +13 -13
- package/dist/chunks/{workspace-hbwsavq5.js → reference-zqygmzvz.js} +16 -16
- package/dist/chunks/{workspace-t14kykx1.js → reference-zyyhrfr9.js} +9 -9
- package/dist/codemode/catalog.js +8 -6
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +6 -5
- package/dist/command.js +77 -77
- package/dist/config/markdown.js +5 -5
- package/dist/config/normalize.js +22 -22
- package/dist/config/plugin/agent.js +129 -134
- package/dist/config/plugin/command.js +115 -120
- package/dist/config/plugin/compaction.js +168 -148
- package/dist/config/plugin/entry-observer.js +111 -116
- package/dist/config/plugin/formatter.js +116 -121
- package/dist/config/plugin/image.js +128 -133
- package/dist/config/plugin/instruction.js +87 -92
- package/dist/config/plugin/location-watcher.js +114 -119
- package/dist/config/plugin/mcp.js +124 -129
- package/dist/config/plugin/policy.js +113 -118
- package/dist/config/plugin/provider.js +112 -117
- package/dist/config/plugin/reference.js +116 -121
- package/dist/config/plugin/shell.js +115 -120
- package/dist/config/plugin/skill-file.js +100 -105
- package/dist/config/plugin/skill.js +132 -137
- package/dist/config/plugin/snapshot.js +114 -119
- package/dist/config/plugin/source.js +114 -118
- package/dist/config/plugin/tool-output.js +116 -121
- package/dist/config/plugin/websearch.js +112 -117
- package/dist/config/variable.js +6 -6
- package/dist/config.js +116 -121
- package/dist/credential/sql.js +3 -3
- package/dist/credential.js +79 -79
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +16 -16
- package/dist/database/drizzle/effect-sqlite/index.js +20 -20
- package/dist/database/drizzle/effect-sqlite/session.js +14 -14
- package/dist/database/drizzle/index.js +22 -22
- package/dist/database/drizzle/internal/drizzle-utils.js +9 -9
- 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 +34 -34
- package/dist/database/drizzle/sqlite-core/effect/insert.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/query.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/select.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/session.js +13 -13
- package/dist/database/drizzle/sqlite-core/effect/update.js +5 -5
- package/dist/database/drizzle.js +23 -23
- 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 +4 -4
- 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 +52 -52
- package/dist/database/path.js +6 -6
- package/dist/database/schema.gen.js +2 -2
- package/dist/database/schema.sql.js +2 -2
- package/dist/database/sqlite.bun.js +4 -4
- package/dist/database/sqlite.js +5 -5
- package/dist/database/sqlite.node.js +4 -4
- package/dist/database/sqlite.workerd.js +4 -4
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +2 -2
- package/dist/database/v1-migration.noop.js +3 -3
- package/dist/effect/app-node-builder.js +361 -352
- package/dist/effect/app-node-platform.js +6 -6
- package/dist/effect/keyed-mutex.js +4 -4
- package/dist/effect/websocket-constructor.js +2 -2
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -93
- package/dist/environment/exec-defaults.js +5 -5
- package/dist/environment/files.js +7 -7
- package/dist/environment/index.js +98 -103
- package/dist/environment/local.js +5 -5
- package/dist/environment/memory.js +5 -5
- package/dist/environment/unavailable.js +5 -5
- package/dist/event/sql.js +4 -4
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +91 -96
- package/dist/file-retention.js +4 -4
- package/dist/file.js +4 -4
- package/dist/filesystem/fff.bun.js +6 -6
- package/dist/filesystem/fff.js +2 -2
- package/dist/filesystem/fff.node.js +6 -6
- package/dist/filesystem/fff.workerd.js +6 -6
- package/dist/filesystem/ignore.js +5 -5
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +218 -316
- package/dist/filesystem/protected.js +5 -5
- package/dist/filesystem/search.js +98 -103
- package/dist/filesystem/watcher-binding.js +2 -2
- package/dist/filesystem/watcher.js +16 -16
- package/dist/filesystem.js +106 -111
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +82 -87
- package/dist/generate.js +89 -89
- package/dist/git.js +12 -12
- 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 +22 -22
- package/dist/github-copilot/models.js +6 -6
- package/dist/github-copilot/openai-compatible-error.js +4 -4
- 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 +4 -4
- package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +9 -9
- package/dist/github-copilot/responses/tool/code-interpreter.js +6 -6
- package/dist/github-copilot/responses/tool/file-search.js +4 -4
- package/dist/github-copilot/responses/tool/image-generation.js +4 -4
- 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 +6 -6
- 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 -99
- package/dist/image.js +99 -104
- package/dist/instance/service.js +11 -0
- package/dist/instance.js +346 -341
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -87
- package/dist/instructions/index.js +20 -20
- package/dist/integration/connection.js +5 -5
- package/dist/integration.js +94 -94
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +3 -3
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +88 -93
- package/dist/location-mutation.js +85 -90
- package/dist/location-service-map.js +83 -86
- package/dist/location-services.js +342 -342
- package/dist/location.js +84 -89
- package/dist/mcp/client.js +93 -98
- package/dist/mcp/index.js +117 -122
- package/dist/mcp/instructions.js +125 -130
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +89 -94
- package/dist/mime.js +4 -4
- package/dist/model-resolver.js +91 -91
- package/dist/model.js +14 -14
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +5 -5
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +6 -6
- package/dist/permission.js +114 -119
- 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 +5 -5
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +2 -2
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -103
- package/dist/plugin/command.js +96 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -205
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +313 -309
- package/dist/plugin/mcp-codemode-exclusion.js +4 -4
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -5
- package/dist/plugin/plan.js +98 -103
- package/dist/plugin/promise.js +4 -4
- 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 -123
- package/dist/plugin/provider/cerebras.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -122
- package/dist/plugin/provider/cohere.js +3 -3
- package/dist/plugin/provider/configured.js +116 -121
- 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 +84 -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 -122
- package/dist/plugin/provider/mistral.js +3 -3
- package/dist/plugin/provider/nvidia.js +3 -3
- package/dist/plugin/provider/ollama.js +117 -122
- package/dist/plugin/provider/openai-compatible.js +2 -2
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +77 -93
- 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 +5 -5
- package/dist/plugin/provider/venice.js +3 -3
- package/dist/plugin/provider/vercel.js +3 -3
- package/dist/plugin/provider/vllm.js +117 -122
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +3 -3
- package/dist/plugin/provider.js +154 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/skill.js +131 -137
- package/dist/plugin/source-directory.js +5 -5
- package/dist/plugin/supervisor.js +328 -318
- package/dist/plugin/system-prompt.js +8 -8
- package/dist/plugin/update.js +12 -0
- package/dist/plugin/variant.js +5 -5
- package/dist/plugin/vcs/git.js +84 -89
- package/dist/plugin/vcs/hg.js +84 -89
- package/dist/plugin/warming.js +111 -116
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin.js +221 -211
- package/dist/project/schema.js +9 -9
- package/dist/project/sql.js +7 -7
- package/dist/project.js +86 -91
- package/dist/provider.js +14 -14
- package/dist/pty/protocol.js +9 -9
- 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 +10 -10
- package/dist/pty.js +92 -97
- package/dist/reference/instructions.js +82 -79
- package/dist/reference.js +85 -82
- package/dist/repository-cache.js +85 -18
- package/dist/repository.js +13 -13
- package/dist/ripgrep/binary.js +3 -3
- package/dist/ripgrep.js +93 -98
- package/dist/rpc.js +82 -87
- package/dist/schema.js +9 -9
- package/dist/session/command.js +79 -0
- package/dist/session/compaction.js +146 -124
- package/dist/session/context.js +152 -325
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +21 -21
- package/dist/session/event.js +2 -2
- package/dist/session/execution/restart.js +215 -196
- package/dist/session/execution.js +122 -127
- package/dist/session/generate.js +155 -5
- package/dist/session/history.js +83 -83
- package/dist/session/inbox.js +104 -104
- package/dist/session/info.js +4 -4
- package/dist/session/instruction-entry.js +82 -82
- package/dist/session/instruction-state.js +20 -20
- package/dist/session/instructions.js +91 -96
- package/dist/session/message-updater.js +6 -6
- package/dist/session/message.js +2 -2
- package/dist/session/model-request.js +140 -145
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +93 -0
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +116 -125
- package/dist/session/revert.js +93 -100
- package/dist/session/run-coordinator.js +4 -4
- package/dist/session/runner/index.js +86 -86
- package/dist/session/runner/llm.js +225 -331
- package/dist/session/runner/max-steps.js +2 -2
- package/dist/session/runner/model.js +91 -91
- package/dist/session/runner/publish-llm-event.js +4 -4
- package/dist/session/runner/retry.js +74 -74
- package/dist/session/runner/step.js +145 -150
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +4 -4
- package/dist/session/session.js +172 -176
- package/dist/session/shell.js +136 -0
- package/dist/session/skill.js +105 -0
- package/dist/session/sql.js +12 -12
- package/dist/session/stats.js +77 -79
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +4 -4
- package/dist/session/system-prompt.js +4 -4
- package/dist/session/title.js +156 -328
- package/dist/session/to-session-error.js +108 -113
- package/dist/session/transfer.js +215 -196
- package/dist/session/usage.js +6 -6
- package/dist/session.js +231 -211
- package/dist/shell/parse.js +9 -9
- 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 +8 -8
- package/dist/shell/scan.js +5 -5
- package/dist/shell/select.js +16 -16
- package/dist/shell.js +133 -138
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +99 -104
- package/dist/skill.js +109 -114
- package/dist/snapshot.js +85 -90
- package/dist/state.js +5 -5
- package/dist/tool/html-markdown.js +4 -4
- package/dist/tool/http-body.js +2 -2
- package/dist/tool/mcp.js +126 -131
- package/dist/tool/plugin/edit.js +112 -117
- package/dist/tool/plugin/file-diff.js +2 -2
- package/dist/tool/plugin/glob.js +116 -121
- package/dist/tool/plugin/grep.js +116 -121
- package/dist/tool/plugin/patch.js +114 -119
- package/dist/tool/plugin/question.js +104 -109
- package/dist/tool/plugin/read.js +118 -123
- package/dist/tool/plugin/shell.js +211 -197
- package/dist/tool/plugin/skill.js +103 -108
- package/dist/tool/plugin/subagent.js +211 -197
- package/dist/tool/plugin/webfetch.js +107 -112
- package/dist/tool/plugin/websearch.js +105 -110
- package/dist/tool/plugin/write.js +113 -118
- package/dist/tool/read-filesystem.js +110 -115
- package/dist/tool/runtime.js +6 -6
- package/dist/tool-output.js +11 -11
- package/dist/tool.js +122 -127
- package/dist/types/agent.d.ts +1 -1
- package/dist/types/aisdk.d.ts +1 -1
- package/dist/types/app.d.ts +2 -2
- package/dist/types/bus.d.ts +2 -2
- package/dist/types/catalog.d.ts +1 -1
- package/dist/types/codemode/catalog.d.ts +28 -4
- package/dist/types/codemode/instructions.d.ts +1 -1
- package/dist/types/codemode/tool.d.ts +16 -8
- package/dist/types/command.d.ts +1 -1
- package/dist/types/config/plugin/formatter.d.ts +1 -1
- package/dist/types/config/plugin/source.d.ts +2 -2
- package/dist/types/config.d.ts +3 -3
- package/dist/types/credential.d.ts +1 -1
- package/dist/types/database/database.d.ts +3 -3
- package/dist/types/effect/app-node-builder.d.ts +2 -1
- package/dist/types/effect/app-node-platform.d.ts +3 -3
- package/dist/types/environment/environment.d.ts +1 -1
- package/dist/types/event-logger.d.ts +1 -1
- package/dist/types/file-mutation.d.ts +1 -1
- package/dist/types/filesystem/location-watcher-policy.d.ts +1 -1
- package/dist/types/filesystem/location-watcher.d.ts +1 -1
- package/dist/types/filesystem/search.d.ts +2 -2
- package/dist/types/filesystem/watcher.d.ts +3 -3
- package/dist/types/filesystem.d.ts +3 -1
- package/dist/types/form.d.ts +1 -1
- package/dist/types/formatter.d.ts +1 -1
- package/dist/types/generate.d.ts +1 -1
- package/dist/types/git.d.ts +1 -1
- package/dist/types/image.d.ts +1 -1
- package/dist/types/instance/service.d.ts +14 -0
- package/dist/types/instance.d.ts +5 -5
- package/dist/types/instruction-discovery.d.ts +2 -2
- package/dist/types/instructions/builtins.d.ts +1 -1
- package/dist/types/integration.d.ts +1 -1
- package/dist/types/job.d.ts +1 -1
- package/dist/types/kv.d.ts +1 -1
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/location-mutation.d.ts +1 -1
- package/dist/types/location-service-map.d.ts +8 -2
- package/dist/types/location.d.ts +1 -2
- package/dist/types/mcp/client.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +3 -3
- package/dist/types/mcp/instructions.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/model.d.ts +25 -0
- package/dist/types/models-dev.d.ts +2 -2
- package/dist/types/permission/saved.d.ts +1 -1
- package/dist/types/permission.d.ts +1 -1
- package/dist/types/persistent-pty/index.d.ts +2 -2
- package/dist/types/plugin/hooks.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +7 -358
- package/dist/types/plugin/instance.d.ts +5 -8
- package/dist/types/plugin/internal.d.ts +6 -7
- package/dist/types/plugin/module.d.ts +21 -6
- package/dist/types/plugin/sdk.d.ts +5 -6
- package/dist/types/plugin/skill.d.ts +2 -2
- package/dist/types/plugin/supervisor.d.ts +4 -6
- package/dist/types/plugin/update.d.ts +20 -0
- package/dist/types/plugin.d.ts +13 -5
- package/dist/types/project.d.ts +1 -2
- package/dist/types/provider.d.ts +25 -0
- package/dist/types/pty/ticket.d.ts +1 -1
- package/dist/types/pty.d.ts +1 -1
- package/dist/types/reference/instructions.d.ts +1 -1
- package/dist/types/reference.d.ts +1 -1
- package/dist/types/repository-cache.d.ts +3 -2
- package/dist/types/ripgrep/binary.d.ts +1 -1
- package/dist/types/ripgrep.d.ts +3 -1
- package/dist/types/rpc.d.ts +1 -1
- package/dist/types/session/command.d.ts +16 -0
- package/dist/types/session/compaction.d.ts +6 -3
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/environment.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +2 -2
- package/dist/types/session/execution.d.ts +5 -5
- package/dist/types/session/generate.d.ts +9 -13
- package/dist/types/session/history.d.ts +5 -5
- package/dist/types/session/inbox.d.ts +11 -11
- package/dist/types/session/instruction-entry.d.ts +1 -1
- package/dist/types/session/instructions.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +2 -2
- package/dist/types/session/model-transport.d.ts +1 -1
- package/dist/types/session/move.d.ts +30 -0
- package/dist/types/session/projector.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +49 -109
- package/dist/types/session/revert.d.ts +18 -22
- package/dist/types/session/runner/llm.d.ts +1 -1
- package/dist/types/session/runner/model.d.ts +1 -1
- package/dist/types/session/session.d.ts +25 -17
- package/dist/types/session/shell.d.ts +13 -0
- package/dist/types/session/skill.d.ts +10 -0
- package/dist/types/session/store.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +3 -3
- package/dist/types/session.d.ts +7 -18
- package/dist/types/shell/select.d.ts +2 -2
- package/dist/types/shell.d.ts +1 -1
- package/dist/types/skill/discovery.d.ts +1 -1
- package/dist/types/skill/instructions.d.ts +1 -1
- package/dist/types/skill.d.ts +1 -1
- package/dist/types/snapshot.d.ts +1 -1
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/edit.d.ts +1 -1
- package/dist/types/tool/plugin/glob.d.ts +1 -1
- package/dist/types/tool/plugin/grep.d.ts +3 -1
- package/dist/types/tool/plugin/patch.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +3 -2
- package/dist/types/tool/plugin/subagent.d.ts +3 -2
- package/dist/types/tool/plugin/websearch.d.ts +1 -1
- package/dist/types/tool/plugin/write.d.ts +1 -1
- package/dist/types/tool/read-filesystem.d.ts +1 -1
- package/dist/types/tool-output.d.ts +1 -1
- package/dist/types/tool.d.ts +4 -3
- package/dist/types/v1/config/migrate.d.ts +66 -65
- package/dist/types/vcs.d.ts +1 -1
- package/dist/types/websearch.d.ts +1 -1
- package/dist/types/wellknown.d.ts +5 -5
- package/dist/types/workspace/driver.d.ts +2 -2
- package/dist/types/workspace.d.ts +2 -2
- package/dist/types/worktree.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 +3 -3
- package/dist/util/process-lock-ffi.node.js +3 -3
- package/dist/util/process-lock-ffi.workerd.js +3 -3
- package/dist/util/process-lock.js +1 -1
- package/dist/util/slug.js +2 -2
- package/dist/util/token.js +4 -4
- package/dist/util/which.js +2 -2
- package/dist/util/wildcard.js +4 -4
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +5 -5
- package/dist/v1/config/command.js +4 -4
- package/dist/v1/config/config.js +17 -17
- package/dist/v1/config/error.js +8 -8
- package/dist/v1/config/formatter.js +4 -4
- package/dist/v1/config/layout.js +4 -4
- package/dist/v1/config/lsp.js +7 -7
- package/dist/v1/config/mcp.js +7 -7
- package/dist/v1/config/migrate.js +26 -26
- package/dist/v1/config/permission.js +6 -6
- package/dist/v1/config/plugin.js +4 -4
- package/dist/v1/config/provider-options.js +4 -4
- package/dist/v1/config/provider.js +6 -6
- package/dist/v1/config/server.js +5 -5
- package/dist/v1/config/skills.js +4 -4
- package/dist/v1/permission.js +9 -9
- package/dist/vcs/patch.js +12 -12
- package/dist/vcs.js +89 -94
- package/dist/websearch.js +87 -87
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +10 -10
- package/dist/workspace/sql.js +2 -2
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +5 -5
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +6 -6
- package/dist/worktree.js +102 -107
- package/package.json +7 -7
- package/dist/chunks/workspace-0p8q1qw1.js +0 -144
- package/dist/chunks/workspace-4q8e4ty8.js +0 -34
- package/dist/chunks/workspace-57tzwnz4.js +0 -107
- package/dist/chunks/workspace-hmryngz5.js +0 -410
- package/dist/chunks/workspace-jpw57t0x.js +0 -157
- package/dist/chunks/workspace-mx9wk07j.js +0 -203
- package/dist/chunks/workspace-n2cyq83r.js +0 -33
- package/dist/chunks/workspace-nyjqweqz.js +0 -144
- package/dist/chunks/workspace-rwh2mvqs.js +0 -34
- package/dist/chunks/workspace-s33fw6zm.js +0 -16
- package/dist/chunks/workspace-se5s32fp.js +0 -77
- package/dist/chunks/workspace-xgv25zxy.js +0 -16
- package/dist/plugin/runtime.js +0 -211
- package/dist/plugin/supervisor-service.js +0 -9
- package/dist/project/markers.js +0 -83
- package/dist/session/generate-node.js +0 -333
- package/dist/session/prompt-node.js +0 -321
- package/dist/session/revert-node.js +0 -321
- package/dist/types/plugin/runtime.d.ts +0 -41
- package/dist/types/plugin/supervisor-service.d.ts +0 -13
- package/dist/types/project/markers.d.ts +0 -18
- package/dist/types/session/generate-node.d.ts +0 -7
- package/dist/types/session/prompt-node.d.ts +0 -3
- package/dist/types/session/revert-node.d.ts +0 -3
- /package/dist/chunks/{workspace-0cgt0xh2.js → reference-0cgt0xh2.js} +0 -0
- /package/dist/chunks/{workspace-0f48qthw.js → reference-0f48qthw.js} +0 -0
- /package/dist/chunks/{workspace-0zz82cjq.js → reference-0zz82cjq.js} +0 -0
- /package/dist/chunks/{workspace-1fb7bmpf.js → reference-1fb7bmpf.js} +0 -0
- /package/dist/chunks/{workspace-1wcz8fvj.js → reference-1wcz8fvj.js} +0 -0
- /package/dist/chunks/{workspace-29n7vfk2.js → reference-29n7vfk2.js} +0 -0
- /package/dist/chunks/{workspace-2qdx6zz3.js → reference-2qdx6zz3.js} +0 -0
- /package/dist/chunks/{workspace-2xb0r1c6.js → reference-2xb0r1c6.js} +0 -0
- /package/dist/chunks/{workspace-39ktntah.js → reference-39ktntah.js} +0 -0
- /package/dist/chunks/{workspace-3g3rpp2x.js → reference-3g3rpp2x.js} +0 -0
- /package/dist/chunks/{workspace-3w3ybtfd.js → reference-3w3ybtfd.js} +0 -0
- /package/dist/chunks/{workspace-47ty4mvs.js → reference-47ty4mvs.js} +0 -0
- /package/dist/chunks/{workspace-4b2tz2m9.js → reference-4b2tz2m9.js} +0 -0
- /package/dist/chunks/{workspace-5a5ch9ts.js → reference-5a5ch9ts.js} +0 -0
- /package/dist/chunks/{workspace-5va1yh78.js → reference-5va1yh78.js} +0 -0
- /package/dist/chunks/{workspace-61ek4hj9.js → reference-61ek4hj9.js} +0 -0
- /package/dist/chunks/{workspace-69qrqpw0.js → reference-69qrqpw0.js} +0 -0
- /package/dist/chunks/{workspace-6zqxzw0a.js → reference-6zqxzw0a.js} +0 -0
- /package/dist/chunks/{workspace-7n9qwqk4.js → reference-7n9qwqk4.js} +0 -0
- /package/dist/chunks/{workspace-8nn8kqcn.js → reference-8nn8kqcn.js} +0 -0
- /package/dist/chunks/{workspace-8rpfd2h6.js → reference-8rpfd2h6.js} +0 -0
- /package/dist/chunks/{workspace-8sj3ajy5.js → reference-8sj3ajy5.js} +0 -0
- /package/dist/chunks/{workspace-8w9tzfz1.js → reference-8w9tzfz1.js} +0 -0
- /package/dist/chunks/{workspace-906y0b6d.js → reference-906y0b6d.js} +0 -0
- /package/dist/chunks/{workspace-9dct5xhx.js → reference-9dct5xhx.js} +0 -0
- /package/dist/chunks/{workspace-9maxscqf.js → reference-9maxscqf.js} +0 -0
- /package/dist/chunks/{workspace-9sdtsapf.js → reference-9sdtsapf.js} +0 -0
- /package/dist/chunks/{workspace-a02svayp.js → reference-a02svayp.js} +0 -0
- /package/dist/chunks/{workspace-a83yvq99.js → reference-a83yvq99.js} +0 -0
- /package/dist/chunks/{workspace-ayevdmef.js → reference-ayevdmef.js} +0 -0
- /package/dist/chunks/{workspace-b02txbh8.js → reference-b02txbh8.js} +0 -0
- /package/dist/chunks/{workspace-bbqs2y60.js → reference-bbqs2y60.js} +0 -0
- /package/dist/chunks/{workspace-bjwj8hwv.js → reference-bjwj8hwv.js} +0 -0
- /package/dist/chunks/{workspace-brsh5f65.js → reference-brsh5f65.js} +0 -0
- /package/dist/chunks/{workspace-bxdhjb3y.js → reference-bxdhjb3y.js} +0 -0
- /package/dist/chunks/{workspace-c77ad0vh.js → reference-c77ad0vh.js} +0 -0
- /package/dist/chunks/{workspace-cm67rqy2.js → reference-cm67rqy2.js} +0 -0
- /package/dist/chunks/{workspace-df3v2q6j.js → reference-df3v2q6j.js} +0 -0
- /package/dist/chunks/{workspace-dhcq6c44.js → reference-dhcq6c44.js} +0 -0
- /package/dist/chunks/{workspace-dht5baf0.js → reference-dht5baf0.js} +0 -0
- /package/dist/chunks/{workspace-dkmkay92.js → reference-dkmkay92.js} +0 -0
- /package/dist/chunks/{workspace-ehj9csmv.js → reference-ehj9csmv.js} +0 -0
- /package/dist/chunks/{workspace-em6xpscd.js → reference-em6xpscd.js} +0 -0
- /package/dist/chunks/{workspace-emmqknsm.js → reference-emmqknsm.js} +0 -0
- /package/dist/chunks/{workspace-ezs3tagn.js → reference-ezs3tagn.js} +0 -0
- /package/dist/chunks/{workspace-f14r7hfz.js → reference-f14r7hfz.js} +0 -0
- /package/dist/chunks/{workspace-f1jj19e8.js → reference-f1jj19e8.js} +0 -0
- /package/dist/chunks/{workspace-f4cp4g4a.js → reference-f4cp4g4a.js} +0 -0
- /package/dist/chunks/{workspace-faypg4r1.js → reference-faypg4r1.js} +0 -0
- /package/dist/chunks/{workspace-fg7fz4q3.js → reference-fg7fz4q3.js} +0 -0
- /package/dist/chunks/{workspace-fgbfdq62.js → reference-fgbfdq62.js} +0 -0
- /package/dist/chunks/{workspace-g23fad86.js → reference-g23fad86.js} +0 -0
- /package/dist/chunks/{workspace-gd5xeqc2.js → reference-gd5xeqc2.js} +0 -0
- /package/dist/chunks/{workspace-ghm4673n.js → reference-ghm4673n.js} +0 -0
- /package/dist/chunks/{workspace-ghwjy7my.js → reference-ghwjy7my.js} +0 -0
- /package/dist/chunks/{workspace-gy500k2r.js → reference-gy500k2r.js} +0 -0
- /package/dist/chunks/{workspace-hzeg9cfr.js → reference-hzeg9cfr.js} +0 -0
- /package/dist/chunks/{workspace-j07kk359.js → reference-j07kk359.js} +0 -0
- /package/dist/chunks/{workspace-j32vdj8r.js → reference-j32vdj8r.js} +0 -0
- /package/dist/chunks/{workspace-jqms80b0.js → reference-jqms80b0.js} +0 -0
- /package/dist/chunks/{workspace-jve7t217.js → reference-jve7t217.js} +0 -0
- /package/dist/chunks/{workspace-k3e42drn.js → reference-k3e42drn.js} +0 -0
- /package/dist/chunks/{workspace-k8b45nas.js → reference-k8b45nas.js} +0 -0
- /package/dist/chunks/{workspace-kpdbz7gn.js → reference-kpdbz7gn.js} +0 -0
- /package/dist/chunks/{workspace-kxy11nzk.js → reference-kxy11nzk.js} +0 -0
- /package/dist/chunks/{workspace-kyyqvx4s.js → reference-kyyqvx4s.js} +0 -0
- /package/dist/chunks/{workspace-m8cbvarh.js → reference-m8cbvarh.js} +0 -0
- /package/dist/chunks/{workspace-ma60vzgv.js → reference-ma60vzgv.js} +0 -0
- /package/dist/chunks/{workspace-n3m50c2t.js → reference-n3m50c2t.js} +0 -0
- /package/dist/chunks/{workspace-nkm1m8dz.js → reference-nkm1m8dz.js} +0 -0
- /package/dist/chunks/{workspace-nsc0c3zb.js → reference-nsc0c3zb.js} +0 -0
- /package/dist/chunks/{workspace-qaarhjrp.js → reference-qaarhjrp.js} +0 -0
- /package/dist/chunks/{workspace-qc167nrn.js → reference-qc167nrn.js} +0 -0
- /package/dist/chunks/{workspace-qp95y4jb.js → reference-qp95y4jb.js} +0 -0
- /package/dist/chunks/{workspace-r8f4w671.js → reference-r8f4w671.js} +0 -0
- /package/dist/chunks/{workspace-rdfev9jy.js → reference-rdfev9jy.js} +0 -0
- /package/dist/chunks/{workspace-s7whb9gt.js → reference-s7whb9gt.js} +0 -0
- /package/dist/chunks/{workspace-se76j685.js → reference-se76j685.js} +0 -0
- /package/dist/chunks/{workspace-sem2g21k.js → reference-sem2g21k.js} +0 -0
- /package/dist/chunks/{workspace-sp575ygv.js → reference-sp575ygv.js} +0 -0
- /package/dist/chunks/{workspace-tmb1f636.js → reference-tmb1f636.js} +0 -0
- /package/dist/chunks/{workspace-ttxf0gsy.js → reference-ttxf0gsy.js} +0 -0
- /package/dist/chunks/{workspace-tvmhrvfj.js → reference-tvmhrvfj.js} +0 -0
- /package/dist/chunks/{workspace-v2adqbbe.js → reference-v2adqbbe.js} +0 -0
- /package/dist/chunks/{workspace-vac9eqd2.js → reference-vac9eqd2.js} +0 -0
- /package/dist/chunks/{workspace-rvfvac9x.js → reference-vpjkya7h.js} +0 -0
- /package/dist/chunks/{workspace-wj4sxzqa.js → reference-wj4sxzqa.js} +0 -0
- /package/dist/chunks/{workspace-wwntjmk1.js → reference-wwntjmk1.js} +0 -0
- /package/dist/chunks/{workspace-wyqjaaa5.js → reference-wyqjaaa5.js} +0 -0
- /package/dist/chunks/{workspace-x4q807cx.js → reference-x4q807cx.js} +0 -0
- /package/dist/chunks/{workspace-yrqrg4vp.js → reference-yrqrg4vp.js} +0 -0
- /package/dist/chunks/{workspace-z47nswr2.js → reference-z47nswr2.js} +0 -0
- /package/dist/chunks/{workspace-zsf8rs93.js → reference-zsf8rs93.js} +0 -0
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
EffectSQLiteDatabase,
|
|
4
4
|
make,
|
|
5
5
|
makeWithDefaults
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-vczm1m9n.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession,
|
|
9
9
|
EffectSQLiteTransaction,
|
|
10
10
|
managesTransactionsNatively
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-hyfbxc6f.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-vpjkya7h.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
18
18
|
__export(exports_drizzle, {
|
|
19
|
-
|
|
20
|
-
makeWithDefaults: () => makeWithDefaults,
|
|
21
|
-
make: () => make,
|
|
22
|
-
EffectSQLiteTransaction: () => EffectSQLiteTransaction,
|
|
23
|
-
EffectSQLiteSession: () => EffectSQLiteSession,
|
|
24
|
-
EffectSQLiteDatabase: () => EffectSQLiteDatabase,
|
|
25
|
-
EffectLogger: () => EffectLogger,
|
|
19
|
+
DefaultServices: () => DefaultServices,
|
|
26
20
|
EffectDrizzleSqlite: () => exports_drizzle,
|
|
27
|
-
|
|
21
|
+
EffectLogger: () => EffectLogger,
|
|
22
|
+
EffectSQLiteDatabase: () => EffectSQLiteDatabase,
|
|
23
|
+
EffectSQLiteSession: () => EffectSQLiteSession,
|
|
24
|
+
EffectSQLiteTransaction: () => EffectSQLiteTransaction,
|
|
25
|
+
make: () => make,
|
|
26
|
+
makeWithDefaults: () => makeWithDefaults,
|
|
27
|
+
managesTransactionsNatively: () => managesTransactionsNatively
|
|
28
28
|
});
|
|
29
29
|
import { EffectLogger } from "drizzle-orm/effect-core";
|
|
30
30
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_store
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-bwqptwn6.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-a83yvq99.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_location
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-pp6802x5.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_bus
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-jghhn6h0.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-vpjkya7h.js";
|
|
16
16
|
|
|
17
17
|
// src/session/instructions.ts
|
|
18
18
|
var exports_instructions = {};
|
|
19
19
|
__export(exports_instructions, {
|
|
20
|
-
|
|
20
|
+
Service: () => Service,
|
|
21
21
|
SessionInstructions: () => exports_instructions,
|
|
22
|
-
|
|
22
|
+
node: () => node
|
|
23
23
|
});
|
|
24
24
|
import { relative } from "path";
|
|
25
25
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exports_id
|
|
3
|
-
} from "./workspace-58xdvehb.js";
|
|
4
1
|
import {
|
|
5
2
|
exports_file_retention
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./reference-p1m5qwvv.js";
|
|
4
|
+
import {
|
|
5
|
+
exports_id
|
|
6
|
+
} from "./reference-x4az4y7r.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_state
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-b7rje112.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-vpjkya7h.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output = {};
|
|
16
16
|
__export(exports_tool_output, {
|
|
17
|
-
|
|
18
|
-
ToolOutput: () => exports_tool_output,
|
|
19
|
-
Service: () => Service,
|
|
20
|
-
RETENTION: () => RETENTION,
|
|
21
|
-
MAX_LINES: () => MAX_LINES,
|
|
17
|
+
DIRECTORY: () => DIRECTORY,
|
|
22
18
|
MAX_BYTES: () => MAX_BYTES,
|
|
23
|
-
|
|
19
|
+
MAX_LINES: () => MAX_LINES,
|
|
20
|
+
RETENTION: () => RETENTION,
|
|
21
|
+
Service: () => Service,
|
|
22
|
+
ToolOutput: () => exports_tool_output,
|
|
23
|
+
node: () => node
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition,
|
|
3
3
|
normalizedName
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-f1jj19e8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./reference-vpjkya7h.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool = {};
|
|
11
11
|
__export(exports_tool, {
|
|
12
|
-
|
|
12
|
+
CodeModeTool: () => exports_tool,
|
|
13
13
|
catalog: () => catalog,
|
|
14
|
-
|
|
14
|
+
create: () => create
|
|
15
15
|
});
|
|
16
|
-
import { CodeMode, Tool, toolError } from "@opencode-ai/codemode";
|
|
16
|
+
import { CodeMode, Namespace, Tool, toolError } from "@opencode-ai/codemode";
|
|
17
17
|
import { Effect, Ref, Schema, Semaphore } from "effect";
|
|
18
18
|
var ExecuteFile = Schema.Struct({
|
|
19
19
|
data: Schema.String,
|
|
@@ -40,7 +40,7 @@ var description = [
|
|
|
40
40
|
"Await every call whose completion matters; pending calls are interrupted when execution ends. Run independent calls concurrently with `Promise.all`."
|
|
41
41
|
].join(`
|
|
42
42
|
`);
|
|
43
|
-
var create = (
|
|
43
|
+
var create = (inventory, executeTool) => {
|
|
44
44
|
return {
|
|
45
45
|
name: "execute",
|
|
46
46
|
description,
|
|
@@ -52,7 +52,7 @@ var create = (registrations, executeTool) => {
|
|
|
52
52
|
const calls = yield* Ref.make([]);
|
|
53
53
|
const lock = Semaphore.makeUnsafe(1);
|
|
54
54
|
const updateCalls = (update) => lock.withPermit(Ref.updateAndGet(calls, update).pipe(Effect.flatMap((toolCalls2) => context.progress({ toolCalls: toolCalls2 }))));
|
|
55
|
-
const result = yield* runtime(
|
|
55
|
+
const result = yield* runtime(inventory, (name, tool, input) => Effect.gen(function* () {
|
|
56
56
|
const index = yield* Ref.getAndUpdate(callIndex, (index2) => index2 + 1);
|
|
57
57
|
const executed = yield* executeTool(name, tool, input, context);
|
|
58
58
|
const content2 = typeof executed.content === "string" ? [{ type: "text", text: executed.content }] : executed.content ?? [];
|
|
@@ -115,24 +115,101 @@ var create = (registrations, executeTool) => {
|
|
|
115
115
|
})
|
|
116
116
|
};
|
|
117
117
|
};
|
|
118
|
-
var catalog = (
|
|
119
|
-
const pinned = new Set(Array.from(
|
|
120
|
-
|
|
118
|
+
var catalog = (inventory) => {
|
|
119
|
+
const pinned = new Set(Array.from(inventory.tools.values()).filter((registration) => registration.options?.pinned === true).map(qualifiedName));
|
|
120
|
+
const root = { children: new Map };
|
|
121
|
+
for (const namespace of inventory.namespaces?.values() ?? [])
|
|
122
|
+
getNode(root, namespace.name).namespace = namespace;
|
|
123
|
+
for (const tool of runtime(inventory, () => Effect.fail(toolError("Execute context is unavailable"))).catalog())
|
|
124
|
+
getNode(root, tool.path).tool = {
|
|
125
|
+
type: "tool",
|
|
126
|
+
name: tool.path.split(".").at(-1) ?? tool.path,
|
|
127
|
+
description: tool.description,
|
|
128
|
+
signature: tool.signature,
|
|
129
|
+
pinned: pinned.has(tool.path)
|
|
130
|
+
};
|
|
131
|
+
return {
|
|
132
|
+
tools: renderCatalog(root)
|
|
133
|
+
};
|
|
121
134
|
};
|
|
122
|
-
function
|
|
123
|
-
|
|
124
|
-
|
|
135
|
+
function renderCatalog(root) {
|
|
136
|
+
return Array.from(root.children).toSorted(([left], [right]) => left < right ? -1 : left > right ? 1 : 0).flatMap(([name, node]) => {
|
|
137
|
+
const tools = renderCatalog(node);
|
|
138
|
+
const namespace = node.namespace === undefined && tools.length === 0 ? undefined : {
|
|
139
|
+
type: "namespace",
|
|
140
|
+
name,
|
|
141
|
+
...node.namespace?.description === undefined ? {} : { description: node.namespace.description },
|
|
142
|
+
tools
|
|
143
|
+
};
|
|
144
|
+
if (node.tool === undefined)
|
|
145
|
+
return namespace === undefined ? [] : [namespace];
|
|
146
|
+
if (namespace === undefined)
|
|
147
|
+
return [node.tool];
|
|
148
|
+
return [node.tool, namespace];
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
function runtime(inventory, executeTool, hooks) {
|
|
152
|
+
const root = { children: new Map };
|
|
153
|
+
for (const namespace of inventory.namespaces?.values() ?? [])
|
|
154
|
+
getNode(root, namespace.name).namespace = namespace;
|
|
155
|
+
for (const [name, registration] of inventory.tools) {
|
|
125
156
|
const child = definition(registration);
|
|
126
|
-
|
|
127
|
-
tools[path] = Tool.make({
|
|
157
|
+
getNode(root, qualifiedName(registration)).tool = Tool.make({
|
|
128
158
|
description: child.description,
|
|
129
159
|
input: child.inputSchema,
|
|
130
160
|
output: child.outputSchema ?? Schema.NullOr(Schema.String),
|
|
131
161
|
execute: (input) => executeTool(name, registration, input)
|
|
132
162
|
});
|
|
133
163
|
}
|
|
164
|
+
const tools = renderTools(root);
|
|
134
165
|
return CodeMode.make({ tools, ...hooks });
|
|
135
166
|
}
|
|
167
|
+
function getNode(root, path) {
|
|
168
|
+
return path.split(".").reduce((parent, name) => {
|
|
169
|
+
const child = parent.children.get(name) ?? { children: new Map };
|
|
170
|
+
parent.children.set(name, child);
|
|
171
|
+
return child;
|
|
172
|
+
}, root);
|
|
173
|
+
}
|
|
174
|
+
function renderTools(root) {
|
|
175
|
+
const callables = new Map;
|
|
176
|
+
const tools = renderChildren(root, [], callables);
|
|
177
|
+
for (const [path, tool] of callables)
|
|
178
|
+
tools[path] = tool;
|
|
179
|
+
return tools;
|
|
180
|
+
}
|
|
181
|
+
function renderChildren(node, path, callables) {
|
|
182
|
+
return Object.fromEntries(Array.from(node.children).flatMap(([name, child]) => {
|
|
183
|
+
const next = [...path, name];
|
|
184
|
+
if (path.length === 0 && child.tool !== undefined && (child.namespace !== undefined || child.children.size > 0)) {
|
|
185
|
+
const tools = {};
|
|
186
|
+
flattenTools(child, next, tools);
|
|
187
|
+
return Object.entries(tools);
|
|
188
|
+
}
|
|
189
|
+
return [[name, renderEntry(child, next, callables)]];
|
|
190
|
+
}));
|
|
191
|
+
}
|
|
192
|
+
function renderEntry(node, path, callables) {
|
|
193
|
+
const tools = renderChildren(node, path, callables);
|
|
194
|
+
if (node.tool !== undefined && (node.namespace !== undefined || node.children.size > 0))
|
|
195
|
+
callables.set(path.join("."), node.tool);
|
|
196
|
+
if (node.namespace !== undefined)
|
|
197
|
+
return Namespace.make({
|
|
198
|
+
description: node.namespace.description,
|
|
199
|
+
tools
|
|
200
|
+
});
|
|
201
|
+
if (node.tool === undefined)
|
|
202
|
+
return tools;
|
|
203
|
+
if (node.children.size === 0)
|
|
204
|
+
return node.tool;
|
|
205
|
+
return tools;
|
|
206
|
+
}
|
|
207
|
+
function flattenTools(node, path, tools) {
|
|
208
|
+
if (node.tool !== undefined)
|
|
209
|
+
tools[path.join(".")] = node.tool;
|
|
210
|
+
for (const [name, child] of node.children)
|
|
211
|
+
flattenTools(child, [...path, name], tools);
|
|
212
|
+
}
|
|
136
213
|
function qualifiedName(registration) {
|
|
137
214
|
const normalized = normalizedName(registration);
|
|
138
215
|
if (registration.options?.namespace === undefined)
|
|
@@ -1,73 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
exports_mcp
|
|
6
|
-
} from "./workspace-jjebnzjz.js";
|
|
7
|
-
import {
|
|
8
|
-
exports_model_request
|
|
9
|
-
} from "./workspace-rhm13qbw.js";
|
|
2
|
+
exports_instruction_entry
|
|
3
|
+
} from "./reference-80jq34sk.js";
|
|
10
4
|
import {
|
|
11
5
|
exports_instructions as exports_instructions3
|
|
12
|
-
} from "./
|
|
6
|
+
} from "./reference-567c56db.js";
|
|
7
|
+
import {
|
|
8
|
+
exports_builtins
|
|
9
|
+
} from "./reference-t253hdyx.js";
|
|
13
10
|
import {
|
|
14
11
|
exports_instructions as exports_instructions2
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./reference-136c8mz3.js";
|
|
13
|
+
import {
|
|
14
|
+
exports_mcp
|
|
15
|
+
} from "./reference-893c53jd.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_instructions as exports_instructions5
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-46azr2y9.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
exports_instructions as exports_instructions4
|
|
21
|
+
} from "./reference-x7g08g2m.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
exports_model_request
|
|
24
|
+
} from "./reference-3529n0tr.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
exports_model
|
|
27
|
+
} from "./reference-ftjbsen0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
exports_catalog
|
|
30
|
+
} from "./reference-m8dxe63b.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
exports_tool
|
|
33
|
+
} from "./reference-f85kjf82.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
exports_instruction_discovery
|
|
36
|
+
} from "./reference-khswz5rb.js";
|
|
37
37
|
import {
|
|
38
38
|
exports_store
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./reference-bwqptwn6.js";
|
|
40
40
|
import {
|
|
41
41
|
exports_history
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./reference-z427xjvx.js";
|
|
43
43
|
import {
|
|
44
44
|
AgentNotFoundError
|
|
45
|
-
} from "./
|
|
46
|
-
import {
|
|
47
|
-
exports_instructions
|
|
48
|
-
} from "./workspace-ec8vrfw5.js";
|
|
49
|
-
import {
|
|
50
|
-
exports_catalog
|
|
51
|
-
} from "./workspace-vd1d8tva.js";
|
|
45
|
+
} from "./reference-2sqw2jjm.js";
|
|
52
46
|
import {
|
|
53
47
|
exports_agent
|
|
54
|
-
} from "./
|
|
48
|
+
} from "./reference-wghtbf73.js";
|
|
49
|
+
import {
|
|
50
|
+
exports_instructions
|
|
51
|
+
} from "./reference-c54e84vp.js";
|
|
55
52
|
import {
|
|
56
53
|
exports_location
|
|
57
|
-
} from "./
|
|
54
|
+
} from "./reference-pp6802x5.js";
|
|
58
55
|
import {
|
|
59
56
|
exports_database
|
|
60
|
-
} from "./
|
|
57
|
+
} from "./reference-xwpxh8hr.js";
|
|
61
58
|
import {
|
|
62
59
|
__export
|
|
63
|
-
} from "./
|
|
60
|
+
} from "./reference-vpjkya7h.js";
|
|
64
61
|
|
|
65
62
|
// src/session/context.ts
|
|
66
63
|
var exports_context = {};
|
|
67
64
|
__export(exports_context, {
|
|
68
|
-
|
|
65
|
+
Service: () => Service,
|
|
69
66
|
SessionContext: () => exports_context,
|
|
70
|
-
|
|
67
|
+
node: () => node
|
|
71
68
|
});
|
|
72
69
|
import { Model } from "@opencode-ai/schema/model";
|
|
73
70
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -82,12 +79,11 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
82
79
|
const discovery = yield* exports_instruction_discovery.Service;
|
|
83
80
|
const entries = yield* exports_instruction_entry.Service;
|
|
84
81
|
const location = yield* exports_location.Service;
|
|
85
|
-
const mcpInstructions = yield*
|
|
82
|
+
const mcpInstructions = yield* exports_instructions3.Service;
|
|
86
83
|
const mcpTools = yield* exports_mcp.Service;
|
|
87
84
|
const models = yield* exports_model.Service;
|
|
88
85
|
const modelRequests = yield* exports_model_request.Service;
|
|
89
|
-
const
|
|
90
|
-
const referenceInstructions = yield* exports_instructions2.Service;
|
|
86
|
+
const referenceInstructions = yield* exports_instructions4.Service;
|
|
91
87
|
const skillInstructions = yield* exports_instructions5.Service;
|
|
92
88
|
const store = yield* exports_store.Service;
|
|
93
89
|
const registry = yield* exports_tool.Service;
|
|
@@ -128,7 +124,6 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
128
124
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
129
125
|
if (session.location.directory !== location.directory || session.location.workspaceID !== location.workspaceID)
|
|
130
126
|
return yield* Effect.interrupt;
|
|
131
|
-
yield* plugins.flush;
|
|
132
127
|
yield* mcpTools.flush;
|
|
133
128
|
const agent = yield* agents.select(session.agent);
|
|
134
129
|
if (!agent.info)
|
|
@@ -147,7 +142,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
|
|
|
147
142
|
agent: { ...agent, info: agent.info },
|
|
148
143
|
instructions: exports_instructions.combine([
|
|
149
144
|
loaded.builtins,
|
|
150
|
-
|
|
145
|
+
exports_instructions2.make(loaded.tools.codeModeCatalog),
|
|
151
146
|
loaded.discovery,
|
|
152
147
|
loaded.skills,
|
|
153
148
|
loaded.references,
|
|
@@ -183,10 +178,9 @@ var node = makeLocationNode({
|
|
|
183
178
|
exports_instruction_discovery.node,
|
|
184
179
|
exports_instruction_entry.node,
|
|
185
180
|
exports_location.node,
|
|
186
|
-
|
|
181
|
+
exports_instructions3.node,
|
|
187
182
|
exports_mcp.node,
|
|
188
|
-
|
|
189
|
-
exports_instructions2.node,
|
|
183
|
+
exports_instructions4.node,
|
|
190
184
|
exports_model.node,
|
|
191
185
|
exports_model_request.node,
|
|
192
186
|
exports_store.node,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createProviderPlugin
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-0zz82cjq.js";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-vpjkya7h.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/alibaba.ts
|
|
9
9
|
var AlibabaPlugin = createProviderPlugin({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-vpjkya7h.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
|
-
|
|
8
|
+
DrainResult: () => DrainResult,
|
|
9
9
|
Service: () => Service,
|
|
10
|
-
|
|
10
|
+
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult = Data.taggedEnum();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exports_catalog
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-rr7wbarq.js";
|
|
4
4
|
import {
|
|
5
5
|
exports_instructions
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-c54e84vp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-vpjkya7h.js";
|
|
10
10
|
|
|
11
11
|
// src/codemode/instructions.ts
|
|
12
12
|
var exports_instructions2 = {};
|
|
13
13
|
__export(exports_instructions2, {
|
|
14
|
-
|
|
15
|
-
render: () => render,
|
|
14
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
16
15
|
make: () => make,
|
|
17
|
-
|
|
16
|
+
render: () => render,
|
|
17
|
+
update: () => update
|
|
18
18
|
});
|
|
19
19
|
import { searchSignature, toolExpression } from "@opencode-ai/codemode";
|
|
20
20
|
import { Effect, Schema } from "effect";
|
|
@@ -33,9 +33,7 @@ function render(catalog) {
|
|
|
33
33
|
if (catalog.total === 0)
|
|
34
34
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
35
35
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
36
|
-
|
|
37
|
-
const label = namespace.entries.length === namespace.count ? count : namespace.entries.length === 0 ? `${count}, none shown` : `${count}, ${namespace.entries.length} shown`;
|
|
38
|
-
return [`- ${namespace.name} (${label})`, ...namespace.entries.map((entry) => entry.line)];
|
|
36
|
+
return [exports_catalog.namespaceLine(namespace), ...namespace.entries.map((entry) => entry.line)];
|
|
39
37
|
});
|
|
40
38
|
return `${prompt(catalog.shown < catalog.total)}
|
|
41
39
|
|
|
@@ -52,6 +50,9 @@ ${render(current)}`;
|
|
|
52
50
|
const currentComplete = current.shown === current.total;
|
|
53
51
|
if (previousComplete !== currentComplete)
|
|
54
52
|
return replacement;
|
|
53
|
+
const descriptions = exports_instructions.diffByKey(previous.namespaces.filter((namespace) => namespace.description !== undefined), current.namespaces.filter((namespace) => namespace.description !== undefined), (namespace) => namespace.name, (before, after) => before.description !== after.description);
|
|
54
|
+
if (descriptions.added.length > 0 || descriptions.removed.length > 0 || descriptions.changed.length > 0)
|
|
55
|
+
return replacement;
|
|
55
56
|
const diff = exports_instructions.diffByKey(previous.namespaces.flatMap((namespace) => namespace.entries), current.namespaces.flatMap((namespace) => namespace.entries), (entry) => entry.path, (before, after) => before.line !== after.line);
|
|
56
57
|
const entriesChanged = diff.added.length > 0 || diff.removed.length > 0 || diff.changed.length > 0;
|
|
57
58
|
if (!currentComplete) {
|
|
@@ -107,8 +108,8 @@ ${render(current)}`;
|
|
|
107
108
|
}
|
|
108
109
|
var key = exports_instructions.Key.make("core/codemode");
|
|
109
110
|
var codec = Schema.toCodecJson(exports_catalog.Summary);
|
|
110
|
-
var make = (
|
|
111
|
-
const catalog =
|
|
111
|
+
var make = (inventory) => {
|
|
112
|
+
const catalog = inventory === undefined ? exports_instructions.removed : exports_catalog.summarize(inventory);
|
|
112
113
|
return exports_instructions.make({
|
|
113
114
|
key,
|
|
114
115
|
codec,
|