@opencode/core 0.0.0-dev-20633 → 0.0.0-dev-20635
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{repository-cache-6kqdj38p.js → snapshot-01wy2qek.js} +34 -34
- package/dist/chunks/{repository-cache-gsggkbsb.js → snapshot-06w4bmrz.js} +16 -16
- package/dist/chunks/{repository-cache-43h714sb.js → snapshot-0byq2k6w.js} +26 -26
- package/dist/chunks/{repository-cache-q0xm7vwc.js → snapshot-0j77ygfz.js} +6 -6
- package/dist/chunks/{repository-cache-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-cache-za3jhw35.js → snapshot-0sx48w9z.js} +9 -9
- package/dist/chunks/{repository-cache-tn65e0xg.js → snapshot-0td4cz49.js} +3 -3
- package/dist/chunks/{repository-cache-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-cache-4kagh904.js → snapshot-13d5j3xz.js} +5 -5
- package/dist/chunks/{repository-cache-1dazxqgg.js → snapshot-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-cache-1dvck2a7.js → snapshot-1dvck2a7.js} +2 -2
- package/dist/chunks/{repository-cache-qykpeme4.js → snapshot-1e8vqbs5.js} +16 -16
- package/dist/chunks/{repository-cache-r6vweynn.js → snapshot-1gp9qjqr.js} +7 -7
- package/dist/chunks/{repository-cache-g9kkm8kt.js → snapshot-1qe672pv.js} +4 -4
- package/dist/chunks/{repository-cache-y16p1w2y.js → snapshot-1rh4yqvv.js} +9 -9
- package/dist/chunks/{repository-cache-jj9x1ggj.js → snapshot-1rpkqfbc.js} +1 -1
- package/dist/chunks/{repository-cache-3vk8kg3r.js → snapshot-1wcts50h.js} +18 -18
- package/dist/chunks/{repository-cache-33w4ejhs.js → snapshot-1ygqh575.js} +6 -6
- package/dist/chunks/{repository-cache-0farmcce.js → snapshot-1zjs6h3e.js} +26 -26
- package/dist/chunks/{repository-cache-rek1mgnt.js → snapshot-24p06p9j.js} +15 -15
- package/dist/chunks/{repository-cache-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-cache-83nfeprs.js → snapshot-2cbph903.js} +11 -11
- package/dist/chunks/{repository-cache-4ts7tf6z.js → snapshot-2ccvkpx1.js} +2 -2
- package/dist/chunks/{repository-cache-1gzs4dwb.js → snapshot-2gybq4dr.js} +3 -3
- package/dist/chunks/{repository-cache-2k8khapm.js → snapshot-2k8khapm.js} +1 -1
- package/dist/chunks/{repository-cache-mjymc32g.js → snapshot-2pnhn36q.js} +21 -21
- package/dist/chunks/{repository-cache-hx274pq4.js → snapshot-2qdat27r.js} +20 -20
- package/dist/chunks/{repository-cache-zyfwwvzs.js → snapshot-30pz7tss.js} +4 -4
- package/dist/chunks/{repository-cache-2awp3nqz.js → snapshot-30rd5yfg.js} +22 -22
- package/dist/chunks/{repository-cache-1qp08ady.js → snapshot-34c0j3ep.js} +15 -15
- package/dist/chunks/{repository-cache-zx0w556f.js → snapshot-38kf5rm2.js} +24 -24
- package/dist/chunks/{repository-cache-b52f6b20.js → snapshot-3f6key9q.js} +52 -52
- package/dist/chunks/{repository-cache-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-cache-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-cache-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-ezbj1fpr.js → snapshot-45gfdbj6.js} +18 -18
- package/dist/chunks/{repository-cache-gmg4efnw.js → snapshot-490jtnz7.js} +18 -18
- package/dist/chunks/snapshot-4ajnt9eg.js +253 -0
- package/dist/chunks/{repository-cache-3z4h39tf.js → snapshot-4c9vz95h.js} +8 -8
- package/dist/chunks/{repository-cache-nppwm206.js → snapshot-4j3g2wcv.js} +4 -4
- package/dist/chunks/{repository-cache-fnd80x7n.js → snapshot-4jfgyrzt.js} +71 -71
- package/dist/chunks/{repository-cache-eqkxs06z.js → snapshot-4mwpykj0.js} +6 -6
- package/dist/chunks/{repository-cache-dcksech5.js → snapshot-4qedgxnx.js} +6 -6
- package/dist/chunks/{repository-cache-vfjhn2wd.js → snapshot-4v7ngy20.js} +4 -4
- package/dist/chunks/snapshot-4v7qdvcn.js +18 -0
- package/dist/chunks/{repository-cache-1gpb38yh.js → snapshot-4zwmvgkw.js} +9 -9
- package/dist/chunks/{repository-cache-srfsq8py.js → snapshot-50h1eett.js} +3 -3
- package/dist/chunks/{repository-cache-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-txeasv02.js → snapshot-55m8fdgd.js} +20 -20
- package/dist/chunks/{repository-cache-nfrd3k8n.js → snapshot-55mrs20k.js} +9 -9
- package/dist/chunks/{repository-cache-my4zabxr.js → snapshot-58072hz9.js} +3 -3
- package/dist/chunks/{repository-cache-wtmfszvm.js → snapshot-5b6yg4p8.js} +14 -14
- package/dist/chunks/{repository-cache-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-cache-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-ckbnwpw7.js → snapshot-5ngaw42y.js} +11 -11
- package/dist/chunks/{repository-cache-w4xn84ph.js → snapshot-5s00wypw.js} +2 -2
- package/dist/chunks/{repository-cache-5t3nmthw.js → snapshot-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cache-3pv863bm.js → snapshot-5vmvc5he.js} +12 -12
- package/dist/chunks/{repository-cache-75jaekcr.js → snapshot-606e7s57.js} +11 -11
- package/dist/chunks/{repository-cache-8qf1wa8e.js → snapshot-6j7y2wwk.js} +13 -13
- package/dist/chunks/{repository-cache-asmhed6t.js → snapshot-6rxkb1t6.js} +8 -8
- package/dist/chunks/{repository-cache-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-cache-2fxj49dy.js → snapshot-6xkm719f.js} +30 -30
- package/dist/chunks/{repository-cache-ngmk5s4j.js → snapshot-6ym8qnhr.js} +12 -12
- package/dist/chunks/{repository-cache-71az546q.js → snapshot-71az546q.js} +2 -2
- package/dist/chunks/{repository-cache-6j80gscp.js → snapshot-79zv7g62.js} +13 -13
- package/dist/chunks/{repository-cache-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-4ybhn1pz.js → snapshot-7c7sv9k2.js} +17 -17
- package/dist/chunks/{repository-cache-akqawhrq.js → snapshot-7nnpek7x.js} +8 -8
- package/dist/chunks/{repository-cache-0yq98qfb.js → snapshot-7ta4bv20.js} +27 -27
- package/dist/chunks/{repository-cache-her3d2s9.js → snapshot-7zt2q3h7.js} +16 -16
- package/dist/chunks/{repository-cache-prf0q3vs.js → snapshot-809mkkbx.js} +18 -18
- package/dist/chunks/{repository-cache-wc9dc547.js → snapshot-82cr96wn.js} +20 -20
- package/dist/chunks/{repository-cache-w1eejvng.js → snapshot-84txncab.js} +5 -5
- package/dist/chunks/{repository-cache-7ac9g4dc.js → snapshot-84zqq0g0.js} +24 -24
- package/dist/chunks/{repository-cache-b3y77xh2.js → snapshot-8bvzxqk6.js} +39 -39
- package/dist/chunks/{repository-cache-8d7r5vzw.js → snapshot-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cache-eeaf82dq.js → snapshot-8s1fj8xg.js} +8 -8
- package/dist/chunks/{repository-cache-8t879spr.js → snapshot-8sf9g9bn.js} +43 -43
- package/dist/chunks/{repository-cache-vs93n2a0.js → snapshot-8t2r0pt2.js} +43 -43
- package/dist/chunks/{repository-cache-nd0qz9vn.js → snapshot-8t7k386x.js} +13 -13
- package/dist/chunks/{repository-cache-qarnpraq.js → snapshot-914tbbjm.js} +9 -9
- package/dist/chunks/{repository-cache-da75awh4.js → snapshot-98a7fcd2.js} +11 -11
- package/dist/chunks/{repository-cache-9e5bzkjp.js → snapshot-9e5bzkjp.js} +3 -3
- package/dist/chunks/{repository-cache-ejq34man.js → snapshot-9ftsng1y.js} +17 -17
- package/dist/chunks/{repository-cache-dv1qgsyq.js → snapshot-9hn6k4tm.js} +4 -4
- package/dist/chunks/{repository-cache-dt79rr6p.js → snapshot-9pz2n9rd.js} +12 -12
- package/dist/chunks/{repository-cache-b2p5j8y6.js → snapshot-9smjc29v.js} +36 -36
- package/dist/chunks/{repository-cache-vd2wkccw.js → snapshot-9syttpxn.js} +33 -33
- package/dist/chunks/{repository-cache-66hfmvvk.js → snapshot-9ts1yjxr.js} +11 -11
- package/dist/chunks/{repository-cache-0r8xnjkd.js → snapshot-9xw1zsfh.js} +8 -8
- package/dist/chunks/{repository-cache-xgyqszzh.js → snapshot-9z1jz1fd.js} +5 -5
- package/dist/chunks/{repository-cache-73tb2d7t.js → snapshot-a1gpj94z.js} +3 -3
- package/dist/chunks/{repository-cache-stp9c87e.js → snapshot-a3a3tq5e.js} +13 -13
- package/dist/chunks/{repository-cache-cb70s9dt.js → snapshot-a8kks0d9.js} +8 -8
- package/dist/chunks/{repository-cache-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-cache-x661k3y3.js → snapshot-addxnjmp.js} +4 -4
- package/dist/chunks/{repository-cache-jqc99esa.js → snapshot-ambwxayc.js} +5 -5
- package/dist/chunks/{repository-cache-qt205g8k.js → snapshot-ams72g5c.js} +11 -11
- package/dist/chunks/{repository-cache-zsm13mz3.js → snapshot-ansmabqy.js} +24 -24
- package/dist/chunks/{repository-cache-gdw97pah.js → snapshot-azzye172.js} +5 -5
- package/dist/chunks/{repository-cache-qygbw77c.js → snapshot-b3f8fkhc.js} +5 -5
- package/dist/chunks/{repository-cache-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-cache-fw8t8h2a.js → snapshot-b72deqvz.js} +48 -48
- package/dist/chunks/{repository-cache-5a1tjkyz.js → snapshot-bf8bbf38.js} +21 -21
- package/dist/chunks/{repository-cache-pv84kftf.js → snapshot-bh23es7j.js} +21 -21
- package/dist/chunks/{repository-cache-0314bnyz.js → snapshot-bq1xg9wr.js} +15 -15
- package/dist/chunks/{repository-cache-e3f83rfj.js → snapshot-bs0her6n.js} +12 -12
- package/dist/chunks/{repository-cache-g2g6h4y2.js → snapshot-c60ns7m9.js} +11 -11
- package/dist/chunks/{repository-cache-7pjv26c7.js → snapshot-cb7caa3e.js} +1 -1
- package/dist/chunks/{repository-cache-cfsekr6v.js → snapshot-cfsekr6v.js} +2 -2
- package/dist/chunks/{repository-cache-e3f0xn9m.js → snapshot-ckqv7ffe.js} +25 -25
- package/dist/chunks/{repository-cache-z8g4t8bg.js → snapshot-cm9hswnw.js} +25 -25
- package/dist/chunks/{repository-cache-adws6758.js → snapshot-d19e4dwh.js} +4 -4
- package/dist/chunks/{repository-cache-w9p55wnq.js → snapshot-dchsmdq5.js} +13 -13
- package/dist/chunks/{repository-cache-g6tpd3f3.js → snapshot-dh7acrtn.js} +10 -10
- package/dist/chunks/{repository-cache-cwa6csj7.js → snapshot-djszqvmq.js} +9 -9
- package/dist/chunks/{repository-cache-xkntkrq7.js → snapshot-dmqcgk4z.js} +5 -5
- package/dist/chunks/{repository-cache-w33r0n2z.js → snapshot-dxdqybfr.js} +14 -14
- package/dist/chunks/{repository-cache-sy2a3hb1.js → snapshot-dzfez6bd.js} +18 -18
- package/dist/chunks/{repository-cache-380yy1tx.js → snapshot-e1kg5xcc.js} +152 -152
- package/dist/chunks/{repository-cache-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
- package/dist/chunks/{repository-cache-k0cbva3z.js → snapshot-easr7c7j.js} +21 -21
- package/dist/chunks/{repository-cache-8ef36zg1.js → snapshot-ebmvv24b.js} +18 -18
- package/dist/chunks/{repository-cache-9wt051s7.js → snapshot-ebpfwzpf.js} +85 -85
- package/dist/chunks/{repository-cache-gmbhe8g5.js → snapshot-ef3dmj4g.js} +7 -7
- package/dist/chunks/{repository-cache-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-zsqegwh4.js → snapshot-egn78er9.js} +8 -8
- package/dist/chunks/{repository-cache-q9ekeea5.js → snapshot-ejcmw1aa.js} +17 -17
- package/dist/chunks/snapshot-ejwvf004.js +507 -0
- package/dist/chunks/{repository-cache-e72ekma6.js → snapshot-emmbmbyr.js} +1 -1
- package/dist/chunks/{repository-cache-etq0c3wd.js → snapshot-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-cache-reg6q42h.js → snapshot-f62qkzqr.js} +5 -5
- package/dist/chunks/{repository-cache-y1t2hwwz.js → snapshot-f92frnky.js} +2 -2
- package/dist/chunks/{repository-cache-hhvkpmqw.js → snapshot-fdqb3sd9.js} +30 -30
- package/dist/chunks/{repository-cache-s93md6f8.js → snapshot-fe8gwfr5.js} +11 -11
- package/dist/chunks/{repository-cache-ed81rq57.js → snapshot-fex70s02.js} +4 -4
- package/dist/chunks/{repository-cache-s0xttw3k.js → snapshot-fqq9xsk7.js} +22 -22
- package/dist/chunks/{repository-cache-f7rj482f.js → snapshot-fw2v9256.js} +8 -8
- package/dist/chunks/{repository-cache-g5w8qwbj.js → snapshot-g5w8qwbj.js} +1 -1
- package/dist/chunks/{repository-cache-drnf6xwf.js → snapshot-gccjnz6h.js} +2 -2
- package/dist/chunks/{repository-cache-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-a27z7shm.js → snapshot-gz41n4pb.js} +42 -42
- package/dist/chunks/{repository-cache-h2b79v29.js → snapshot-h2b79v29.js} +2 -2
- package/dist/chunks/{repository-cache-67fkg7q1.js → snapshot-h33t1xt5.js} +8 -8
- package/dist/chunks/{repository-cache-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-yrcj3v3g.js → snapshot-h9wp8z5w.js} +4 -4
- package/dist/chunks/{repository-cache-27rbdjmf.js → snapshot-hee39r59.js} +42 -42
- package/dist/chunks/{repository-cache-e8qvsypq.js → snapshot-hfnn6h40.js} +16 -16
- package/dist/chunks/{repository-cache-hbrg1y73.js → snapshot-hw2n9bc3.js} +8 -8
- package/dist/chunks/{repository-cache-vx0crfcw.js → snapshot-hxek7tcc.js} +3 -3
- package/dist/chunks/{repository-cache-qssqgjzh.js → snapshot-j238m2wq.js} +1 -1
- package/dist/chunks/{repository-cache-syb2vrbv.js → snapshot-j4gcvdzz.js} +21 -21
- package/dist/chunks/{repository-cache-j56e64zr.js → snapshot-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cache-8bpbh7v7.js → snapshot-j739v9j7.js} +11 -11
- package/dist/chunks/{repository-cache-ec2p6e73.js → snapshot-jkhhterb.js} +35 -35
- package/dist/chunks/{repository-cache-trq2ab9q.js → snapshot-jn7tmx4p.js} +10 -10
- package/dist/chunks/{repository-cache-q0dea8a4.js → snapshot-k3a0as7r.js} +5 -5
- package/dist/chunks/{repository-cache-gh5z95q3.js → snapshot-k70p9jzb.js} +9 -9
- package/dist/chunks/{repository-cache-qaxybd8b.js → snapshot-k808h248.js} +26 -26
- package/dist/chunks/{repository-cache-q17z9dx8.js → snapshot-kbj2dgab.js} +5 -5
- package/dist/chunks/{repository-cache-1s3jpj7n.js → snapshot-kc2whj5y.js} +17 -17
- package/dist/chunks/{repository-cache-9mvydfy5.js → snapshot-kdarkz0k.js} +13 -13
- package/dist/chunks/{repository-cache-pjtd6ph8.js → snapshot-kks5n0mm.js} +32 -32
- package/dist/chunks/{repository-cache-rs4nb2xx.js → snapshot-kkya6hqm.js} +9 -9
- package/dist/chunks/{repository-cache-bwtwpct7.js → snapshot-kmfd25t4.js} +3 -3
- package/dist/chunks/{repository-cache-z45tr6e4.js → snapshot-kpt54jka.js} +22 -22
- package/dist/chunks/{repository-cache-m3fdjcah.js → snapshot-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-cache-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-ychejvqa.js → snapshot-mgsp47xb.js} +9 -9
- package/dist/chunks/{repository-cache-hacqhjnc.js → snapshot-mpqann26.js} +18 -18
- package/dist/chunks/{repository-cache-sbf3786x.js → snapshot-ms0e1w2a.js} +24 -24
- package/dist/chunks/{repository-cache-pfc6dryh.js → snapshot-mxxxa8pc.js} +26 -26
- package/dist/chunks/{repository-cache-b674v2dg.js → snapshot-n8vdnqrc.js} +5 -5
- package/dist/chunks/{repository-cache-n9yzr3f2.js → snapshot-njmzpw5k.js} +16 -16
- package/dist/chunks/{repository-cache-rd3ygx5h.js → snapshot-nnfq7fft.js} +25 -25
- package/dist/chunks/{repository-cache-gcqqjazk.js → snapshot-nt7v8mep.js} +30 -30
- package/dist/chunks/{repository-cache-dpkg50ah.js → snapshot-nxm207yx.js} +4 -4
- package/dist/chunks/{repository-cache-4725dwfb.js → snapshot-p1np5d7s.js} +9 -9
- package/dist/chunks/{repository-cache-dx2074w2.js → snapshot-p47p3x6n.js} +13 -13
- package/dist/chunks/{repository-cache-hpmqkzac.js → snapshot-p4kgtw5x.js} +12 -12
- package/dist/chunks/{repository-cache-p983wz9k.js → snapshot-p9jn0jc6.js} +6 -6
- package/dist/chunks/{repository-cache-ctpb9bd3.js → snapshot-pbgrrt8q.js} +5 -5
- package/dist/chunks/{repository-cache-j3600rrf.js → snapshot-pevdf72a.js} +10 -10
- package/dist/chunks/{repository-cache-h697gncw.js → snapshot-phm1sawz.js} +21 -21
- package/dist/chunks/{repository-cache-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-9ybrg23s.js → snapshot-pnrzkzcv.js} +11 -11
- package/dist/chunks/{repository-cache-bdqa6k4n.js → snapshot-pp9frasb.js} +7 -7
- package/dist/chunks/{repository-cache-vf6jcqzn.js → snapshot-pzaq0q3h.js} +14 -14
- package/dist/chunks/{repository-cache-vd4xatwq.js → snapshot-q8a356d0.js} +17 -17
- package/dist/chunks/{repository-cache-7sbkp4xb.js → snapshot-qa3qhgw8.js} +4 -4
- package/dist/chunks/{repository-cache-x1yb4nr2.js → snapshot-qd87qnby.js} +24 -24
- package/dist/chunks/{repository-cache-d7ddzgsf.js → snapshot-qg56zsrf.js} +11 -11
- package/dist/chunks/{repository-cache-p85401z6.js → snapshot-qhz5c7yg.js} +13 -13
- package/dist/chunks/{repository-cache-g01j4dtk.js → snapshot-qkrx527r.js} +25 -25
- package/dist/chunks/{repository-cache-3vgk5qpr.js → snapshot-qn7mss41.js} +27 -27
- package/dist/chunks/{repository-cache-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
- package/dist/chunks/{repository-cache-2epzd39j.js → snapshot-qnmybv1b.js} +87 -87
- package/dist/chunks/{repository-cache-t2bbc9e5.js → snapshot-qnpjnc21.js} +1 -1
- package/dist/chunks/{repository-cache-qmacqzaw.js → snapshot-qrk3b11x.js} +1 -1
- package/dist/chunks/{repository-cache-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-hs1x7rht.js → snapshot-qv8c18b1.js} +5 -5
- package/dist/chunks/{repository-cache-13fmgeb3.js → snapshot-qxd7ea1r.js} +9 -9
- package/dist/chunks/{repository-cache-xyafkbt0.js → snapshot-qxjc9qry.js} +3 -3
- package/dist/chunks/{repository-cache-68tetnxs.js → snapshot-r23b2p45.js} +4 -4
- package/dist/chunks/{repository-cache-kyrf4g17.js → snapshot-r5nnafs2.js} +18 -18
- package/dist/chunks/{repository-cache-r8xr0va3.js → snapshot-r8xr0va3.js} +1 -1
- package/dist/chunks/{repository-cache-q8peyv7x.js → snapshot-rav9e4bf.js} +8 -8
- package/dist/chunks/{repository-cache-v84b5zdr.js → snapshot-rbg0p6rj.js} +18 -18
- package/dist/chunks/{repository-cache-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-9mwb0ww6.js → snapshot-rfdthp1y.js} +10 -10
- package/dist/chunks/{repository-cache-r26qgbxz.js → snapshot-s43e8fnf.js} +7 -7
- package/dist/chunks/{repository-cache-trnc8c0p.js → snapshot-s54j65n9.js} +22 -22
- package/dist/chunks/{repository-cache-rhjbct0v.js → snapshot-s8d7rejh.js} +4 -4
- package/dist/chunks/{repository-cache-s3eybw0p.js → snapshot-s8qjwx7s.js} +4 -4
- package/dist/chunks/{repository-cache-wf9hhd1y.js → snapshot-sa6rnwcm.js} +42 -42
- package/dist/chunks/{repository-cache-aevez07h.js → snapshot-savmkeh3.js} +15 -15
- package/dist/chunks/{repository-cache-wtqwpwgf.js → snapshot-sd7me009.js} +6 -6
- package/dist/chunks/{repository-cache-gq310cps.js → snapshot-sj37d163.js} +11 -11
- package/dist/chunks/{repository-cache-p9b1de7v.js → snapshot-snd1jtws.js} +7 -7
- package/dist/chunks/{repository-cache-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-03xyy9gs.js → snapshot-tc14gx3q.js} +11 -11
- package/dist/chunks/{repository-cache-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → snapshot-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-n57qrn3a.js → snapshot-tea830r9.js} +6 -6
- package/dist/chunks/{repository-cache-mb54k367.js → snapshot-tmhxmxf3.js} +23 -23
- package/dist/chunks/{repository-cache-4k8essf6.js → snapshot-tmrrbz73.js} +20 -20
- package/dist/chunks/{repository-cache-60x3zdck.js → snapshot-tv4pwrvh.js} +3 -3
- package/dist/chunks/{repository-cache-qby9dwvd.js → snapshot-tx9w5tca.js} +8 -8
- package/dist/chunks/{repository-cache-4yxz2xtz.js → snapshot-tz3w7kyf.js} +3 -3
- package/dist/chunks/{repository-cache-v0es1rhs.js → snapshot-v0es1rhs.js} +2 -2
- package/dist/chunks/{repository-cache-hpapzrps.js → snapshot-v606x47v.js} +6 -6
- package/dist/chunks/{repository-cache-80scg3y3.js → snapshot-vbfgae2j.js} +4 -4
- package/dist/chunks/{repository-cache-4x0vy5hp.js → snapshot-vc6qc4g1.js} +3 -3
- package/dist/chunks/{repository-cache-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-skcgj51b.js → snapshot-vf1tjk7q.js} +49 -49
- package/dist/chunks/{repository-cache-1mp78k6j.js → snapshot-vxj5c8sz.js} +33 -33
- package/dist/chunks/{repository-cache-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w39jehkq.js → snapshot-w2h15q85.js} +5 -5
- package/dist/chunks/{repository-cache-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-81nd2mqz.js → snapshot-w5wtk1sj.js} +33 -33
- package/dist/chunks/{repository-cache-t0ngdjdp.js → snapshot-wb6xtyp7.js} +1 -1
- package/dist/chunks/{repository-cache-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-w92qfhy9.js → snapshot-wfnc7ck1.js} +8 -8
- package/dist/chunks/{repository-cache-rbdy6pgn.js → snapshot-wmv7jh55.js} +16 -16
- package/dist/chunks/{repository-cache-a1r14f74.js → snapshot-wq9n3fgh.js} +11 -11
- package/dist/chunks/{repository-cache-nbevcm7z.js → snapshot-wqxkxsqv.js} +13 -13
- package/dist/chunks/snapshot-wtrdqwsw.js +26 -0
- package/dist/chunks/{repository-cache-3rjdzas3.js → snapshot-x5v93ytx.js} +11 -11
- package/dist/chunks/{repository-cache-8pdzessb.js → snapshot-x9h5zfcv.js} +2 -2
- package/dist/chunks/{repository-cache-rmn3m3gf.js → snapshot-xch80j94.js} +2 -2
- package/dist/chunks/{repository-cache-4eq8w0dz.js → snapshot-xf0nr9dv.js} +4 -4
- package/dist/chunks/{repository-cache-spd9hrnc.js → snapshot-xgnfr18s.js} +30 -30
- package/dist/chunks/{repository-cache-jby0a0d3.js → snapshot-xjvdbam7.js} +15 -15
- package/dist/chunks/{repository-cache-jz8pf1gf.js → snapshot-xqrmy91b.js} +6 -6
- package/dist/chunks/{repository-cache-d3qedjgv.js → snapshot-xx0efrt7.js} +10 -10
- package/dist/chunks/{repository-cache-e0yt5kkj.js → snapshot-y06ady85.js} +24 -24
- package/dist/chunks/{repository-cache-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-js6zmc2m.js → snapshot-y6b024td.js} +10 -10
- package/dist/chunks/{repository-cache-zkh24274.js → snapshot-yfbfpsvk.js} +31 -31
- package/dist/chunks/{repository-cache-hk87g4j9.js → snapshot-yg3k0d53.js} +20 -20
- package/dist/chunks/{repository-cache-dwngdq4b.js → snapshot-ymfkwayz.js} +12 -12
- package/dist/chunks/{repository-cache-v4j9mmzp.js → snapshot-yqw633vx.js} +23 -23
- package/dist/chunks/{repository-cache-y56ehv6b.js → snapshot-yr715y08.js} +9 -9
- package/dist/chunks/{repository-cache-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-r43h3m0v.js → snapshot-z2pg85mw.js} +24 -24
- package/dist/chunks/{repository-cache-90sz55zw.js → snapshot-zchqraft.js} +5 -5
- package/dist/chunks/{repository-cache-e2hjzebn.js → snapshot-zcrspsvn.js} +4 -4
- package/dist/chunks/{repository-cache-nk0cncdn.js → snapshot-zerjt0v5.js} +4 -4
- package/dist/chunks/{repository-cache-as7cf5zz.js → snapshot-zfs8ae4p.js} +4 -4
- package/dist/chunks/{repository-cache-b69jv39p.js → snapshot-znsx74x0.js} +1 -1
- package/dist/chunks/{repository-cache-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-ne6stvg8.js → snapshot-zxbpt09z.js} +20 -20
- package/dist/chunks/{repository-cache-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-mqh9b2r2.js → snapshot-zyn8fsgh.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +152 -152
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- 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 +91 -91
- 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.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/repository-cache-4gw7g1yd.js +0 -507
- package/dist/chunks/repository-cache-97y2hkx4.js +0 -26
- package/dist/chunks/repository-cache-9sh4wc5j.js +0 -18
- package/dist/chunks/repository-cache-j22twtz4.js +0 -253
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-34c7v6d4.js → snapshot-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3w5fmr99.js → snapshot-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-xx0efrt7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-s8qjwx7s.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./snapshot-84zqq0g0.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-s54j65n9.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-809mkkbx.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -47,7 +47,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
47
47
|
}));
|
|
48
48
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
49
49
|
var browser = (app) => ({
|
|
50
|
-
integrationID:
|
|
50
|
+
integrationID: ID14.make("openai"),
|
|
51
51
|
method: {
|
|
52
52
|
id: browserMethodID,
|
|
53
53
|
type: "oauth",
|
|
@@ -120,7 +120,7 @@ function addressInUse(error) {
|
|
|
120
120
|
return "code" in error && error.code === "EADDRINUSE";
|
|
121
121
|
}
|
|
122
122
|
var headless = (app) => ({
|
|
123
|
-
integrationID:
|
|
123
|
+
integrationID: ID14.make("openai"),
|
|
124
124
|
method: {
|
|
125
125
|
id: headlessMethodID,
|
|
126
126
|
type: "oauth",
|
|
@@ -238,7 +238,7 @@ var OpenAIPlugin2 = define({
|
|
|
238
238
|
for (const name of ["context", "compaction"])
|
|
239
239
|
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
function headers(contentType, app) {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./snapshot-3f6key9q.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input4,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin21,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name4 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input4 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input4.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin21 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service55;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name4,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input4,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin13 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name4,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin21, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node5
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-50h1eett.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-s8qjwx7s.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-58072hz9.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9e5bzkjp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info9,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service42,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node44,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info9,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service42 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info9.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer18 = Layer.effect(Service42, make17());
|
|
231
|
+
var node44 = makeGlobalNode({ service: Service42, layer: layer18, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service42, make17, layer18, node44, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-wb6xtyp7.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-v606x47v.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service41 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service41, exports_runner };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-kbj2dgab.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9e5bzkjp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-s8qjwx7s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./snapshot-pevdf72a.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service29,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-4v7qdvcn.js";
|
|
17
17
|
import {
|
|
18
18
|
make12,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-e1kg5xcc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
|
+
ID: () => ID2,
|
|
31
|
+
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service29,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node15
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service83;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service70;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service29.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node15 = Node.makeLocationNode({
|
|
226
|
+
service: Service29,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node15, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-58072hz9.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-4zwmvgkw.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-s8d7rejh.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-zfs8ae4p.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-h9wp8z5w.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|