@opencode/core 0.0.0-dev-57 → 0.0.0-dev-65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/image-00ve6mdn.js +18 -0
- package/dist/chunks/{voice-1vhdvxsr.js → image-0112ma1n.js} +7 -7
- package/dist/chunks/{voice-034tev2y.js → image-034tev2y.js} +2 -2
- package/dist/chunks/{voice-06ezgrzy.js → image-06ezgrzy.js} +1 -1
- package/dist/chunks/{voice-s07647gj.js → image-0kzkx9hb.js} +3 -3
- package/dist/chunks/{voice-gp6mf0gh.js → image-0rn45avr.js} +8 -8
- package/dist/chunks/{voice-xpr5pvr1.js → image-0wfhhp80.js} +12 -12
- package/dist/chunks/{voice-phfy3n1c.js → image-14qja218.js} +13 -13
- package/dist/chunks/{voice-t6ys7h3t.js → image-1a45nw2b.js} +12 -12
- package/dist/chunks/{voice-5g5x25gy.js → image-1be1mmgp.js} +1 -1
- package/dist/chunks/{voice-ks68fknv.js → image-1edr3xdq.js} +24 -24
- package/dist/chunks/{voice-1ep2p91f.js → image-1ep2p91f.js} +2 -2
- package/dist/chunks/{voice-b6esqetq.js → image-1szm5y2d.js} +2 -2
- package/dist/chunks/{voice-1x2knyw4.js → image-1x2knyw4.js} +1 -1
- package/dist/chunks/{voice-1yq9hg58.js → image-1yq9hg58.js} +1 -1
- package/dist/chunks/{voice-qz087kyw.js → image-202bxvr4.js} +8 -8
- package/dist/chunks/{voice-204s3925.js → image-204s3925.js} +1 -1
- package/dist/chunks/{voice-bsn3ehjn.js → image-23qxmpzy.js} +16 -16
- package/dist/chunks/{voice-h21wq8dj.js → image-23y0g4wx.js} +8 -8
- package/dist/chunks/{voice-2jrrfqe1.js → image-2jrrfqe1.js} +2 -2
- package/dist/chunks/{voice-pr4khsft.js → image-2vw9972k.js} +15 -15
- package/dist/chunks/{voice-aqdx8y6s.js → image-2x5k55vn.js} +24 -24
- package/dist/chunks/{voice-67qt31za.js → image-2x7th5m9.js} +9 -9
- package/dist/chunks/{voice-7x7byhh6.js → image-2y2qbpy6.js} +15 -15
- package/dist/chunks/{voice-mqe7nf5n.js → image-2zp5a6yg.js} +3 -3
- package/dist/chunks/{voice-s81f0b1e.js → image-3by90t2f.js} +11 -11
- package/dist/chunks/{voice-fa9qpmft.js → image-3ekrrnad.js} +1 -1
- package/dist/chunks/{voice-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-5yvgv78r.js → image-3kqrayhb.js} +2 -2
- package/dist/chunks/{voice-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
- package/dist/chunks/{voice-b76kh15p.js → image-3rbbh48r.js} +39 -39
- package/dist/chunks/{voice-dx06a5b9.js → image-3wz6z8nw.js} +50 -36
- package/dist/chunks/{voice-rrh41g93.js → image-3yb585ta.js} +24 -24
- package/dist/chunks/{voice-w2eysc6j.js → image-40za9wsf.js} +9 -9
- package/dist/chunks/{voice-98v9r3fv.js → image-42fbwypt.js} +3 -3
- package/dist/chunks/{voice-167k1kjn.js → image-43ptgj31.js} +7 -7
- package/dist/chunks/{voice-97y5zqgm.js → image-44d0pdd8.js} +17 -17
- package/dist/chunks/{voice-dhz3v7js.js → image-47tt4h9h.js} +18 -18
- package/dist/chunks/{voice-czd7c3xf.js → image-4c0yqtm4.js} +9 -9
- package/dist/chunks/{voice-hj2r905t.js → image-4de0wqn8.js} +8 -8
- package/dist/chunks/{voice-bz5rg81d.js → image-4dw90k5p.js} +12 -12
- package/dist/chunks/{voice-zy94x5ry.js → image-4ma4sxxx.js} +6 -6
- package/dist/chunks/{voice-4pyp9zr9.js → image-4pyp9zr9.js} +1 -1
- package/dist/chunks/{voice-4v008n1t.js → image-4v008n1t.js} +1 -1
- package/dist/chunks/{voice-vf3s78d3.js → image-4x4sy66g.js} +11 -11
- package/dist/chunks/{voice-vzw2tvc4.js → image-529fs5v3.js} +9 -9
- package/dist/chunks/{voice-yrgype0c.js → image-588j71sd.js} +16 -16
- package/dist/chunks/{voice-23gcmnwj.js → image-58m33pqx.js} +17 -17
- package/dist/chunks/{voice-jbhx3waq.js → image-5adfyej6.js} +24 -24
- package/dist/chunks/{voice-qa7075pb.js → image-5hx7d1d6.js} +5 -5
- package/dist/chunks/{voice-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-624wxrz4.js → image-5q3fxxrm.js} +33 -33
- package/dist/chunks/{voice-pgbtsnjz.js → image-5q96yxdq.js} +31 -31
- package/dist/chunks/{voice-deq699sy.js → image-62jamc5x.js} +4 -4
- package/dist/chunks/{voice-y5zca0d3.js → image-63hxqdg0.js} +8 -8
- package/dist/chunks/{voice-ngqsybpd.js → image-64p9nehd.js} +28 -28
- package/dist/chunks/{voice-4fn4xwd8.js → image-6c400rb5.js} +9 -9
- package/dist/chunks/{voice-6xpbr6gj.js → image-6e5t6smq.js} +10 -10
- package/dist/chunks/{voice-6esdw8yj.js → image-6esdw8yj.js} +1 -1
- package/dist/chunks/{voice-mrkvdb36.js → image-6fn1b7j4.js} +28 -28
- package/dist/chunks/{voice-0845q3gj.js → image-6n5qea61.js} +6 -6
- package/dist/chunks/{voice-zdfftnbr.js → image-6njdqq50.js} +23 -23
- package/dist/chunks/{voice-1007g3v6.js → image-6qhe7r7r.js} +35 -35
- package/dist/chunks/{voice-7zas845x.js → image-6sa1zhac.js} +6 -6
- package/dist/chunks/{voice-nnq50psy.js → image-6sybrdz7.js} +17 -17
- package/dist/chunks/{voice-ajkvdsy7.js → image-6ttdsxes.js} +9 -9
- package/dist/chunks/{voice-esezyxfc.js → image-704d1ccs.js} +6 -6
- package/dist/chunks/{voice-w61b7aaf.js → image-71vd6gg8.js} +29 -29
- package/dist/chunks/{voice-4bm9rtxh.js → image-72kt1v3f.js} +13 -13
- package/dist/chunks/{voice-5wjr6fkz.js → image-72qnxd4s.js} +27 -27
- package/dist/chunks/{voice-dcwnaxc5.js → image-73v0ycj1.js} +10 -10
- package/dist/chunks/{voice-nah043kf.js → image-770pw0s1.js} +4 -4
- package/dist/chunks/{voice-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-kq33adek.js → image-7d5xs8kz.js} +14 -14
- package/dist/chunks/{voice-st19m5xz.js → image-7f19aye0.js} +20 -20
- package/dist/chunks/{voice-6q6jcgrq.js → image-7fdqgk09.js} +4 -4
- package/dist/chunks/{voice-p7c20s5f.js → image-7ftgv2zj.js} +16 -16
- package/dist/chunks/{voice-fq3ba3sp.js → image-7pv810wb.js} +13 -13
- package/dist/chunks/{voice-v2x5cj37.js → image-7pw8fmvb.js} +2 -2
- package/dist/chunks/{voice-8k4cdfe6.js → image-7sp3wcf1.js} +28 -28
- package/dist/chunks/{voice-mcrc89gz.js → image-7sqpcfj4.js} +14 -14
- package/dist/chunks/{voice-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
- package/dist/chunks/{voice-vczbwg46.js → image-801kwvge.js} +19 -19
- package/dist/chunks/{voice-ghyaae4n.js → image-81pxtxxg.js} +8 -8
- package/dist/chunks/{voice-rkqwg3ds.js → image-8334n7kj.js} +15 -15
- package/dist/chunks/{voice-t1pzh7wp.js → image-84yzestz.js} +17 -17
- package/dist/chunks/{voice-v5hpj9dd.js → image-8d2bz6m6.js} +8 -8
- package/dist/chunks/{voice-32mmt9a9.js → image-8j7b88ay.js} +12 -12
- package/dist/chunks/{voice-q5g1z60e.js → image-8mefhgqa.js} +1 -1
- package/dist/chunks/{voice-dbmp929s.js → image-8wc2fpae.js} +5 -5
- package/dist/chunks/{voice-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
- package/dist/chunks/{voice-8y4jps98.js → image-8y4jps98.js} +1 -1
- package/dist/chunks/{voice-90zstvax.js → image-90zstvax.js} +1 -1
- package/dist/chunks/{voice-9cx9sm2q.js → image-9cx9sm2q.js} +1 -1
- package/dist/chunks/{voice-2v75jgzs.js → image-a05d4hwx.js} +3 -3
- package/dist/chunks/{voice-91ea969m.js → image-a05fpj1z.js} +3 -3
- package/dist/chunks/{voice-9nend1qa.js → image-a2r4my07.js} +9 -9
- package/dist/chunks/{voice-p1764e5q.js → image-a31t1wkd.js} +3 -3
- package/dist/chunks/{voice-ybfhfg5a.js → image-a4rf43nz.js} +13 -13
- package/dist/chunks/{voice-9jtdy14e.js → image-absbpnym.js} +11 -11
- package/dist/chunks/{voice-x285jzzm.js → image-adcgab6n.js} +3 -3
- package/dist/chunks/{voice-8n2t26nh.js → image-ae33yfcb.js} +2 -2
- package/dist/chunks/{voice-jn0ha7tb.js → image-at0tfsk4.js} +18 -18
- package/dist/chunks/{voice-y8wp2ge1.js → image-avd8a0jz.js} +80 -80
- package/dist/chunks/{voice-yf6468f1.js → image-awhbjq5z.js} +18 -18
- package/dist/chunks/{voice-exdcmq9k.js → image-awz6seh6.js} +43 -43
- package/dist/chunks/{voice-ayjs7tqn.js → image-ayjs7tqn.js} +2 -2
- package/dist/chunks/{voice-rtyaeab5.js → image-b4etxd4c.js} +1 -1
- package/dist/chunks/{voice-7djxxean.js → image-b6fa0qpv.js} +15 -15
- package/dist/chunks/{voice-5nnwax6m.js → image-b6vsg801.js} +5 -5
- package/dist/chunks/{voice-4m8qpmeh.js → image-b70g77th.js} +10 -10
- package/dist/chunks/{voice-3qae70kn.js → image-b7qnq10s.js} +48 -48
- package/dist/chunks/{voice-nxs7hb8x.js → image-b835xb9t.js} +28 -28
- package/dist/chunks/{voice-g0cy2b9m.js → image-b9zfcada.js} +12 -12
- package/dist/chunks/{voice-mv4xrkfq.js → image-bfxy1kzz.js} +12 -12
- package/dist/chunks/{voice-bjhzkqyk.js → image-bjhzkqyk.js} +1 -1
- package/dist/chunks/{voice-mfs4xky7.js → image-bnm05fa0.js} +9 -9
- package/dist/chunks/{voice-0w0j4zb6.js → image-bvdsa3vs.js} +20 -20
- package/dist/chunks/{voice-c46s9eb3.js → image-c46s9eb3.js} +2 -2
- package/dist/chunks/{voice-cb54j1zr.js → image-cb54j1zr.js} +2 -2
- package/dist/chunks/{voice-40ykd73j.js → image-cfy4dk7x.js} +5 -5
- package/dist/chunks/{voice-3zscrxmb.js → image-cmvvs515.js} +4 -4
- package/dist/chunks/{voice-y3dxaa8f.js → image-cppg2ckq.js} +5 -5
- package/dist/chunks/{voice-97nwdmh3.js → image-ctzt1pxb.js} +2 -2
- package/dist/chunks/{voice-cwrgdav8.js → image-cwrgdav8.js} +2 -2
- package/dist/chunks/{voice-t5jqs5j7.js → image-d0h96hzn.js} +2 -2
- package/dist/chunks/{voice-hswehyeg.js → image-d3x5xz6w.js} +3 -3
- package/dist/chunks/{voice-d4v9tmah.js → image-d4v9tmah.js} +2 -2
- package/dist/chunks/{voice-7cyk4b0a.js → image-df41f4dj.js} +23 -23
- package/dist/chunks/{voice-wqe6c6a7.js → image-dmjpbpr6.js} +16 -16
- package/dist/chunks/{voice-gg1s83pv.js → image-dp0cf4ka.js} +8 -8
- package/dist/chunks/{voice-0sddac90.js → image-dqvc8sfz.js} +11 -11
- package/dist/chunks/{voice-dt77769w.js → image-dt77769w.js} +1 -1
- package/dist/chunks/{voice-e07q2w5p.js → image-e07q2w5p.js} +1 -1
- package/dist/chunks/{voice-yh3pm5wz.js → image-e120pv1s.js} +27 -27
- package/dist/chunks/{voice-8mbkjray.js → image-e2mkdzja.js} +12 -12
- package/dist/chunks/{voice-e834z07m.js → image-e834z07m.js} +1 -1
- package/dist/chunks/{voice-wea19wcv.js → image-enqfapnb.js} +15 -15
- package/dist/chunks/{voice-m8n691gw.js → image-ewtne36n.js} +9 -9
- package/dist/chunks/{voice-sm7m2ac6.js → image-f0t2pr7g.js} +27 -27
- package/dist/chunks/{voice-haxfm848.js → image-f2kgtz6y.js} +10 -10
- package/dist/chunks/{voice-10gc87d5.js → image-f43cgyzj.js} +32 -32
- package/dist/chunks/{voice-3dhvgxbq.js → image-f4xcfgxg.js} +15 -15
- package/dist/chunks/{voice-f04pnkf6.js → image-f65eap7w.js} +27 -27
- package/dist/chunks/{voice-2wf7n5fq.js → image-fb3wfc6a.js} +322 -322
- package/dist/chunks/{voice-8m9jmf2h.js → image-fdmqhh81.js} +30 -30
- package/dist/chunks/{voice-fffv3p7h.js → image-fffv3p7h.js} +1 -1
- package/dist/chunks/{voice-prq7xxp2.js → image-fg9p65nk.js} +6 -6
- package/dist/chunks/{voice-3jt7fkd3.js → image-frwd01yc.js} +18 -18
- package/dist/chunks/{voice-0cjne1ht.js → image-fxvyraaq.js} +3 -3
- package/dist/chunks/{voice-xxm2xjap.js → image-fzmrcvdp.js} +11 -11
- package/dist/chunks/{voice-ktx73zhb.js → image-g1fp68hz.js} +24 -24
- package/dist/chunks/{voice-qdepv7am.js → image-gav4yf66.js} +10 -10
- package/dist/chunks/{voice-gg8p9cgs.js → image-gg8p9cgs.js} +3 -3
- package/dist/chunks/{voice-c6kbd45d.js → image-gm9c01mp.js} +13 -13
- package/dist/chunks/{voice-hs4qbtzy.js → image-gr02s00h.js} +7 -7
- package/dist/chunks/{voice-n3abp4ag.js → image-gsnc0xej.js} +11 -11
- package/dist/chunks/{voice-xt0z8zst.js → image-gtn9c16a.js} +4 -4
- package/dist/chunks/{voice-r164m7qe.js → image-gwb7ykxy.js} +20 -20
- package/dist/chunks/{voice-7z4jt7pt.js → image-h2qz9myx.js} +4 -4
- package/dist/chunks/{voice-98tqkwke.js → image-h35qexnb.js} +11 -11
- package/dist/chunks/{voice-0499dma4.js → image-h7wy2gd0.js} +39 -39
- package/dist/chunks/{voice-xebz0nmn.js → image-h9jb662h.js} +14 -14
- package/dist/chunks/{voice-hdfrs5mg.js → image-hdfrs5mg.js} +2 -2
- package/dist/chunks/{voice-kmvkbhfj.js → image-hgjt7rcd.js} +19 -19
- package/dist/chunks/{voice-cdkymz2t.js → image-hhw78a7m.js} +8 -8
- package/dist/chunks/{voice-hpg1pkwy.js → image-hpg1pkwy.js} +1 -1
- package/dist/chunks/{voice-01hzmesg.js → image-ht7yjvhp.js} +5 -5
- package/dist/chunks/{voice-qehy7vmb.js → image-ht967yvm.js} +17 -17
- package/dist/chunks/{voice-dvxs3aax.js → image-hxnsawmn.js} +11 -11
- package/dist/chunks/{voice-99g89aab.js → image-j26tz46j.js} +43 -43
- package/dist/chunks/{voice-k2t3c39j.js → image-j4pxep6a.js} +24 -24
- package/dist/chunks/{voice-hxz1rpeq.js → image-je2y9qtt.js} +11 -11
- package/dist/chunks/{voice-r760fp65.js → image-jekatgz9.js} +16 -16
- package/dist/chunks/{voice-jfaecv01.js → image-jfaecv01.js} +1 -1
- package/dist/chunks/{voice-k27h00cx.js → image-jg25qahj.js} +19 -19
- package/dist/chunks/{voice-d6kwdrvh.js → image-jh5090wx.js} +57 -43
- package/dist/chunks/{voice-r5c4mdv8.js → image-jmmj9zjf.js} +8 -8
- package/dist/chunks/{voice-2ks13shy.js → image-jrm02xk3.js} +8 -8
- package/dist/chunks/{voice-4wrg7t9t.js → image-jrpm365p.js} +11 -11
- package/dist/chunks/{voice-jtnps1zs.js → image-jtnps1zs.js} +2 -2
- package/dist/chunks/{voice-aftek2c1.js → image-k5369mvh.js} +2 -2
- package/dist/chunks/{voice-k814nvkf.js → image-k814nvkf.js} +1 -1
- package/dist/chunks/{voice-599krhpm.js → image-k8krsf06.js} +17 -17
- package/dist/chunks/{voice-e7e7acjr.js → image-k8x3akgt.js} +82 -82
- package/dist/chunks/{voice-v5gneykh.js → image-kasce6yj.js} +19 -19
- package/dist/chunks/{voice-mnh54r8t.js → image-kkvtdcv8.js} +19 -19
- package/dist/chunks/{voice-fw8ej081.js → image-kp4dj8rm.js} +16 -16
- package/dist/chunks/{voice-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
- package/dist/chunks/{voice-wdnmbgdk.js → image-ky557a6k.js} +18 -18
- package/dist/chunks/{voice-yk7689p2.js → image-kzy3pgxv.js} +22 -22
- package/dist/chunks/{voice-m1714858.js → image-m1714858.js} +1 -1
- package/dist/chunks/{voice-vrwxmw16.js → image-m1c1babs.js} +21 -21
- package/dist/chunks/{voice-fjz4xhpj.js → image-m4ger0wk.js} +4 -4
- package/dist/chunks/{voice-jwny47a8.js → image-m6fnj38p.js} +11 -11
- package/dist/chunks/{voice-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-db6cfnzd.js → image-mrtn6wxn.js} +2 -2
- package/dist/chunks/{voice-dhmvnrgm.js → image-n66c6y3m.js} +6 -6
- package/dist/chunks/{voice-53d2pjsn.js → image-n6dpq3ym.js} +16 -16
- package/dist/chunks/{voice-qsee9sfb.js → image-n7d88tpn.js} +2 -2
- package/dist/chunks/{voice-agaj9fz3.js → image-n7qzb94m.js} +25 -25
- package/dist/chunks/{voice-pbbktnbz.js → image-nf3nsvxh.js} +4 -4
- package/dist/chunks/{voice-skwkb0ye.js → image-nkjpm0m6.js} +20 -20
- package/dist/chunks/{voice-0kw155k6.js → image-nqc1p4cr.js} +11 -11
- package/dist/chunks/{voice-nfzbfn8t.js → image-nqmap5kh.js} +11 -11
- package/dist/chunks/{voice-1j3zz24p.js → image-nrsk8m4x.js} +23 -23
- package/dist/chunks/{voice-p015t6z3.js → image-p015t6z3.js} +2 -2
- package/dist/chunks/{voice-ctg5f7mn.js → image-p0cndaf0.js} +17 -17
- package/dist/chunks/{voice-d3357zgj.js → image-p1cyes5e.js} +8 -8
- package/dist/chunks/{voice-4xajzs9j.js → image-p36jmt6b.js} +7 -7
- package/dist/chunks/{voice-58b3e62c.js → image-pcpt5avy.js} +7 -7
- package/dist/chunks/{voice-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{voice-c4cvby0k.js → image-pnmzqtn3.js} +9 -9
- package/dist/chunks/{voice-9sa855rb.js → image-pwn4gbhb.js} +11 -11
- package/dist/chunks/{voice-9xy4cp6z.js → image-pz9sk91a.js} +31 -31
- package/dist/chunks/{voice-0anyt1n6.js → image-q4fcarhy.js} +9 -9
- package/dist/chunks/{voice-cw10c582.js → image-q5y0er7q.js} +5 -5
- package/dist/chunks/{voice-kph8v831.js → image-q7cwhteq.js} +134 -134
- package/dist/chunks/{voice-892pspt6.js → image-q7wqfne8.js} +5 -5
- package/dist/chunks/{voice-mxwqyfqs.js → image-qkr4mn30.js} +20 -20
- package/dist/chunks/{voice-6cyptcb7.js → image-qnax39s7.js} +3 -3
- package/dist/chunks/{voice-qp7r0hxv.js → image-qp7r0hxv.js} +1 -1
- package/dist/chunks/{voice-3ryz99p0.js → image-qqg9c0kv.js} +4 -4
- package/dist/chunks/{voice-r0yr0wbs.js → image-r0yr0wbs.js} +1 -1
- package/dist/chunks/{voice-r542h3bh.js → image-r542h3bh.js} +1 -1
- package/dist/chunks/{voice-e29sndgb.js → image-r96ere88.js} +4 -4
- package/dist/chunks/{voice-cg3fcpn4.js → image-ra34yqmw.js} +6 -6
- package/dist/chunks/{voice-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
- package/dist/chunks/{voice-cc1ayxf2.js → image-rmtm88gd.js} +4 -4
- package/dist/chunks/{voice-dc5b4f3v.js → image-rn91y4za.js} +15 -15
- package/dist/chunks/{voice-zjfa8ryw.js → image-rnhtz47d.js} +7 -7
- package/dist/chunks/{voice-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
- package/dist/chunks/{voice-jphwvgs8.js → image-ry7kp2db.js} +8 -8
- package/dist/chunks/{voice-6yr1t08v.js → image-s06t763y.js} +18 -18
- package/dist/chunks/{voice-s7kyse9r.js → image-s7kyse9r.js} +1 -1
- package/dist/chunks/{voice-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
- package/dist/chunks/{voice-dmv5k21e.js → image-sf90vvmw.js} +8 -8
- package/dist/chunks/{voice-syk69snw.js → image-sj2jw4nf.js} +54 -54
- package/dist/chunks/{voice-sqjzf8x2.js → image-sqjzf8x2.js} +1 -1
- package/dist/chunks/{voice-ssfehs1z.js → image-ssfehs1z.js} +1 -1
- package/dist/chunks/{voice-svcy3p9a.js → image-svcy3p9a.js} +1 -1
- package/dist/chunks/{voice-jyghsh6w.js → image-t71js6b0.js} +22 -22
- package/dist/chunks/{voice-e6xhnch8.js → image-t8fp5cf6.js} +11 -11
- package/dist/chunks/{voice-k7dgtzr0.js → image-t8vx5scg.js} +18 -18
- package/dist/chunks/{voice-58jsyy64.js → image-t944d0tj.js} +13 -13
- package/dist/chunks/{voice-tczq8hjw.js → image-tczq8hjw.js} +1 -1
- package/dist/chunks/{voice-65qayyzs.js → image-tdbxa85z.js} +64 -64
- package/dist/chunks/{voice-twssxy5n.js → image-twssxy5n.js} +2 -2
- package/dist/chunks/{voice-g1zw1z8b.js → image-tzqdjrq8.js} +14 -14
- package/dist/chunks/{voice-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
- package/dist/chunks/{voice-v9wrzc4s.js → image-v6kwj96d.js} +6 -6
- package/dist/chunks/{voice-zt5v38t6.js → image-v7n5wjt1.js} +9 -9
- package/dist/chunks/{voice-bpqd88nv.js → image-vcjq0n6d.js} +28 -28
- package/dist/chunks/{voice-2qrqq6yy.js → image-ve3cxz5m.js} +37 -37
- package/dist/chunks/{voice-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{voice-71qgcqyr.js → image-vnr7c2p3.js} +24 -24
- package/dist/chunks/{voice-rjnacbrz.js → image-vrcsa8qx.js} +9 -9
- package/dist/chunks/{voice-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-76cb1hcw.js → image-w8qtt4th.js} +4 -4
- package/dist/chunks/{voice-5nr3d7s3.js → image-w9d1ve95.js} +17 -17
- package/dist/chunks/{voice-wakvkjy4.js → image-wakvkjy4.js} +1 -1
- package/dist/chunks/{voice-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{voice-0bv00g8w.js → image-wqkmpd8v.js} +11 -11
- package/dist/chunks/{voice-wr3re1en.js → image-wr3re1en.js} +1 -1
- package/dist/chunks/{voice-wc36keqx.js → image-wt5d2fpe.js} +11 -11
- package/dist/chunks/{voice-z1s3wjg8.js → image-wwdh59sh.js} +34 -34
- package/dist/chunks/{voice-qy6htv74.js → image-wxhrztje.js} +16 -16
- package/dist/chunks/{voice-xwc7hz4k.js → image-x2jrwfv9.js} +21 -21
- package/dist/chunks/{voice-x8nvjgx0.js → image-x8nvjgx0.js} +1 -1
- package/dist/chunks/{voice-bstexjd6.js → image-xd9cc171.js} +5 -5
- package/dist/chunks/{voice-a03fp18r.js → image-xe1ee5za.js} +28 -28
- package/dist/chunks/{voice-w8tddc3z.js → image-xenqwxwz.js} +154 -154
- package/dist/chunks/image-xqm1qcbw.js +26 -0
- package/dist/chunks/{voice-zrmzfrmc.js → image-xx5emjc6.js} +4 -4
- package/dist/chunks/{voice-3f3rbz9f.js → image-y4a9d8ex.js} +7 -7
- package/dist/chunks/{voice-mdnn9ky1.js → image-yadma85d.js} +6 -6
- package/dist/chunks/{voice-yara3q77.js → image-yara3q77.js} +2 -2
- package/dist/chunks/{voice-yb20nhc3.js → image-yb20nhc3.js} +1 -1
- package/dist/chunks/{voice-bsehvcdd.js → image-yb54zzjb.js} +6 -6
- package/dist/chunks/{voice-kqzza1zq.js → image-yq9gxbxn.js} +14 -14
- package/dist/chunks/{voice-w76xjer3.js → image-yqveydy6.js} +4 -4
- package/dist/chunks/{voice-qc3yxwbf.js → image-ytn9qz2k.js} +7 -7
- package/dist/chunks/{voice-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{voice-k4qfv7f7.js → image-z1meprhw.js} +32 -32
- package/dist/chunks/{voice-z38nccrw.js → image-z38nccrw.js} +1 -1
- package/dist/chunks/{voice-hfgsweyf.js → image-z8rzdy7d.js} +13 -13
- package/dist/chunks/{voice-gmm5ktza.js → image-zf6fh7ra.js} +8 -8
- package/dist/chunks/{voice-zgkm4kzm.js → image-zgkm4kzm.js} +3 -3
- package/dist/chunks/{voice-2qg30da6.js → image-zxcrckxn.js} +34 -34
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +107 -107
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +107 -107
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -373
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +89 -89
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +370 -370
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +343 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +108 -108
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +360 -360
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +158 -158
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -228
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +190 -190
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +97 -97
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +165 -165
- package/dist/tool/plugin/edit.js +150 -150
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +141 -141
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +139 -139
- package/dist/tool/plugin/write.js +156 -156
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +91 -91
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/voice-47mgcevd.js +0 -18
- package/dist/chunks/voice-9a1536m0.js +0 -26
- /package/dist/chunks/{voice-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1jakw16s.js → image-1jakw16s.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4m86bj6y.js → image-4m86bj6y.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-5w3e23ze.js → image-5w3e23ze.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a058387c.js → image-a058387c.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-beh6qq61.js → image-beh6qq61.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cqv5kn06.js → image-cqv5kn06.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-fkpq3x5p.js → image-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jwr30sdr.js → image-jwr30sdr.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → image-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-ncqqe42p.js → image-ncqqe42p.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-p71gwv9c.js → image-p71gwv9c.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-a05d4hwx.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-7fdqgk09.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./image-204s3925.js";
|
|
12
12
|
import {
|
|
13
13
|
ID9,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service61,
|
|
15
|
+
node64
|
|
16
|
+
} from "./image-8334n7kj.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service65,
|
|
22
|
+
node68
|
|
23
|
+
} from "./image-2x5k55vn.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
serializeToolContent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./image-v2r1d0zg.js";
|
|
35
35
|
import {
|
|
36
36
|
isNativeCompaction2,
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./image-4c0yqtm4.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./image-3kqrayhb.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service35,
|
|
48
|
+
node38
|
|
49
|
+
} from "./image-vcjq0n6d.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service45,
|
|
52
|
+
node47
|
|
53
|
+
} from "./image-58m33pqx.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./image-n66c6y3m.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./image-ht7yjvhp.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./image-r542h3bh.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./image-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
@@ -185,13 +185,13 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
185
185
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
186
186
|
var LEGACY_HEADING = "## Additional Context";
|
|
187
187
|
var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
188
|
-
const agents = yield*
|
|
188
|
+
const agents = yield* Service61;
|
|
189
189
|
const bus = yield* Service86;
|
|
190
190
|
const llm = yield* LLMClient.Service;
|
|
191
|
-
const catalog = yield*
|
|
192
|
-
const models = yield*
|
|
191
|
+
const catalog = yield* Service65;
|
|
192
|
+
const models = yield* Service45;
|
|
193
193
|
const db = (yield* Service87).db;
|
|
194
|
-
const requests = yield*
|
|
194
|
+
const requests = yield* Service35;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
196
196
|
const precomputed = new Map;
|
|
197
197
|
const state = create3({
|
|
@@ -326,12 +326,13 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
326
326
|
const filled = (text) => text.split(`
|
|
327
327
|
`).some((line) => headings.includes(line.trim()));
|
|
328
328
|
const prepared = yield* prepare(context, messages, budget);
|
|
329
|
-
const
|
|
330
|
-
|
|
329
|
+
const measured = trigger.reason === "overflow" ? undefined : measuredPrompt({ ...context, messages });
|
|
330
|
+
const send = (request, size) => Effect.gen(function* () {
|
|
331
|
+
const prompted = fitOutput(LLMRequest.update(request, { messages: [...request.messages, Message.user(prompt)] }), context.model.limit, size && { ...size, estimated: size.estimated + estimate2(prompt) });
|
|
331
332
|
const reply = yield* stream(context, prompted, prepared.options, background);
|
|
332
333
|
if (filled(reply.text))
|
|
333
334
|
return reply;
|
|
334
|
-
const nudged = fitOutput(LLMRequest.update(prompted, { messages: [...prompted.messages, Message.user(NUDGE)] }), context.model.limit);
|
|
335
|
+
const nudged = fitOutput(LLMRequest.update(prompted, { messages: [...prompted.messages, Message.user(NUDGE)] }), context.model.limit, size && { ...size, estimated: size.estimated + estimate2(prompt) + estimate2(NUDGE) });
|
|
335
336
|
const retry = yield* stream(context, nudged, prepared.options, background);
|
|
336
337
|
if (filled(retry.text))
|
|
337
338
|
return retry;
|
|
@@ -343,8 +344,8 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
343
344
|
});
|
|
344
345
|
});
|
|
345
346
|
const overhead = estimate2(prompt) + estimate2(NUDGE);
|
|
346
|
-
const fit = trigger.reason === "overflow" ? budget : Math.max(budget, summaryRoom(context.model.limit));
|
|
347
|
-
const result = yield* deliver(trigger, prepared, budget - overhead, send, { fit: fit - overhead, history: withoutTail(prepared.request, keepID) }, background);
|
|
347
|
+
const fit = trigger.reason === "overflow" ? budget : Math.max(budget, summaryRoom(context.model.limit, prepared.request.generation?.maxTokens));
|
|
348
|
+
const result = yield* deliver(trigger, prepared, budget - overhead, send, { fit: fit - overhead, history: withoutTail(prepared.request, keepID), measured }, background);
|
|
348
349
|
if (!keepID)
|
|
349
350
|
return result;
|
|
350
351
|
return { ...result, metadata: { keepID, ...result.metadata } };
|
|
@@ -375,7 +376,10 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
375
376
|
};
|
|
376
377
|
return yield* deliver(trigger, prepared, budget, send);
|
|
377
378
|
});
|
|
378
|
-
const deliver = Effect.fnUntraced(function* (trigger, prepared, target, send, shrink = {
|
|
379
|
+
const deliver = Effect.fnUntraced(function* (trigger, prepared, target, send, shrink = {
|
|
380
|
+
fit: target,
|
|
381
|
+
history: prepared.request
|
|
382
|
+
}, background) {
|
|
379
383
|
const context = trigger.context;
|
|
380
384
|
if (prepared.event.result)
|
|
381
385
|
return yield* fromHook(context, prepared.event.result, background);
|
|
@@ -385,7 +389,8 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
385
389
|
let asText = false;
|
|
386
390
|
let fit = shrink.fit;
|
|
387
391
|
while (true) {
|
|
388
|
-
const
|
|
392
|
+
const measured = rejections === 0 ? shrink.measured : undefined;
|
|
393
|
+
const unchanged = asText ? undefined : (measured ? total(measured) : estimateRequest(prepared.request)) <= fit ? prepared.request : estimateRequest(shrink.history) <= target ? shrink.history : undefined;
|
|
389
394
|
const request = unchanged ?? flattenAndDropOldest(shrink.history, context, target) ?? (rejections > 0 ? undefined : asText ? flattenAndDropOldest(shrink.history, context, Number.POSITIVE_INFINITY) : shrink.history);
|
|
390
395
|
if (!request) {
|
|
391
396
|
return yield* Effect.fail({
|
|
@@ -395,7 +400,8 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
395
400
|
}
|
|
396
401
|
});
|
|
397
402
|
}
|
|
398
|
-
const
|
|
403
|
+
const size = request === prepared.request ? measured : undefined;
|
|
404
|
+
const attempt = yield* Effect.result(send(request, size));
|
|
399
405
|
if (Result.isSuccess(attempt))
|
|
400
406
|
return attempt.success;
|
|
401
407
|
const cause = attempt.failure;
|
|
@@ -411,7 +417,9 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
411
417
|
const step = SHRINK_STEPS[rejections];
|
|
412
418
|
if (step === undefined)
|
|
413
419
|
return yield* Effect.fail({ error });
|
|
414
|
-
rejected ??= estimateRequest(request);
|
|
420
|
+
rejected ??= size ? total(size) : estimateRequest(request);
|
|
421
|
+
if (size)
|
|
422
|
+
asText = true;
|
|
415
423
|
target = Math.floor(rejected * step);
|
|
416
424
|
fit = target;
|
|
417
425
|
rejections++;
|
|
@@ -587,7 +595,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
587
595
|
var node14 = makeLocationNode({
|
|
588
596
|
service: Service12,
|
|
589
597
|
layer: layer7,
|
|
590
|
-
deps: [
|
|
598
|
+
deps: [node64, node90, node91, llmClient2, node68, node38, node47]
|
|
591
599
|
});
|
|
592
600
|
var heldIndex = (held, context) => {
|
|
593
601
|
if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
|
|
@@ -728,14 +736,20 @@ var calculateCeiling = (limit, buffer) => {
|
|
|
728
736
|
return window - buffer;
|
|
729
737
|
return window - Math.max(Math.floor(window * RESERVE_SHARE), window >= 2 * RESERVE_MIN ? RESERVE_MIN : 0);
|
|
730
738
|
};
|
|
731
|
-
var summaryRoom = (limit) => Math.max(0, (limit.input || limit.context) - RESERVE_MIN);
|
|
739
|
+
var summaryRoom = (limit, output = RESERVE_MIN) => Math.max(0, (limit.input || limit.context) - Math.min(RESERVE_MIN, output));
|
|
732
740
|
var hasMeasuredPrompt = (message, model) => message.type === "assistant" && message.model.providerID === model.providerID && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
733
|
-
var
|
|
741
|
+
var measuredPrompt = (context) => {
|
|
742
|
+
const anchor = context.messages.findLast((message) => hasMeasuredPrompt(message, context.model.ref));
|
|
743
|
+
if (anchor?.type !== "assistant" || anchor.model.id !== context.model.ref.id || anchor.model.variant !== context.model.ref.variant || anchor.agent !== context.agent.id)
|
|
744
|
+
return;
|
|
745
|
+
return estimatePrompt2(context);
|
|
746
|
+
};
|
|
747
|
+
var fitOutput = (request, limit, size) => {
|
|
734
748
|
const current = request.generation?.maxTokens;
|
|
735
749
|
if (current === undefined)
|
|
736
750
|
return request;
|
|
737
|
-
const
|
|
738
|
-
const maxTokens = Math.min(current, Math.max(outputLimit2(limit,
|
|
751
|
+
const input = size ?? { measured: 0, estimated: estimateRequest(request) };
|
|
752
|
+
const maxTokens = Math.min(current, Math.max(outputLimit2(limit, input), Math.min(SUMMARY_OUTPUT_FLOOR, outputLimit2(limit, { measured: total(input), estimated: 0 }))));
|
|
739
753
|
if (maxTokens === current)
|
|
740
754
|
return request;
|
|
741
755
|
return LLMRequest.update(request, { generation: { ...request.generation, maxTokens } });
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-mrtn6wxn.js";
|
|
4
4
|
import {
|
|
5
5
|
ID11,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-2x5k55vn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service63
|
|
10
|
+
} from "./image-3rbbh48r.js";
|
|
11
11
|
import {
|
|
12
12
|
Service81
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-gr02s00h.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-wr3re1en.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-yadma85d.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,7 +32,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service63;
|
|
36
36
|
const environment = yield* Effect.serviceOption(Service81);
|
|
37
37
|
const location = yield* Effect.serviceOption(Service83);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./image-3rbbh48r.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch2 = {};
|
|
14
14
|
__export(exports_websearch2, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin46
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin46 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service63;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin23 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin46, exports_websearch2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./image-3rbbh48r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service37
|
|
7
|
+
} from "./image-ht967yvm.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin39
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin39 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service63;
|
|
27
|
+
const snapshot = yield* Service37;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin39, exports_snapshot };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-7fdqgk09.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-bnm05fa0.js";
|
|
13
13
|
import {
|
|
14
14
|
Service83,
|
|
15
15
|
node87
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-mrtn6wxn.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-204s3925.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info22,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service73,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node76
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info22, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,9 +55,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service73 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
62
|
const location = yield* Service83;
|
|
63
63
|
const bus = yield* Service86;
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info22));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service73.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node76 = makeLocationNode({
|
|
193
|
+
service: Service73,
|
|
194
194
|
layer,
|
|
195
195
|
deps: [FSUtil.node, node87, node90]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info22, Mode2, Untracked2, DiffError2, InitializeError2, Service73, node76, exports_vcs };
|