@opencode/core 0.0.0-dev-20368 → 0.0.0-dev-20369
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/repository-cache-031k76aj.js +252 -0
- package/dist/chunks/{reference-w8bax687.js → repository-cache-08cc3crx.js} +12 -12
- package/dist/chunks/{reference-9b4bv5f3.js → repository-cache-0a0hvk85.js} +16 -16
- package/dist/chunks/{reference-jdrzz5kz.js → repository-cache-0bkd3x0g.js} +35 -35
- package/dist/chunks/{reference-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-7wcwe48s.js → repository-cache-0sbc344g.js} +20 -20
- package/dist/chunks/{reference-r1nzxzk3.js → repository-cache-0thxwbsq.js} +11 -11
- package/dist/chunks/{reference-asw2re3m.js → repository-cache-0wdkc2wa.js} +8 -8
- package/dist/chunks/{reference-tzpv42kz.js → repository-cache-1667m5cp.js} +11 -11
- package/dist/chunks/{reference-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-2kyyj8xa.js → repository-cache-1kgp9mnr.js} +25 -25
- package/dist/chunks/{reference-zsc4zr95.js → repository-cache-1sp2eg82.js} +11 -11
- package/dist/chunks/{reference-znpmv816.js → repository-cache-1vxqmaxs.js} +6 -6
- package/dist/chunks/{reference-21r38tys.js → repository-cache-21r38tys.js} +1 -1
- package/dist/chunks/{reference-jken0ejx.js → repository-cache-21x0kyec.js} +25 -25
- package/dist/chunks/{reference-xe8wrm2v.js → repository-cache-231d6nsc.js} +7 -7
- package/dist/chunks/{reference-16ynv89z.js → repository-cache-291xmebt.js} +13 -13
- package/dist/chunks/{reference-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-j34dxvpb.js → repository-cache-2cmv458r.js} +5 -5
- package/dist/chunks/{reference-s7932dae.js → repository-cache-2h357dj2.js} +11 -11
- package/dist/chunks/{reference-q3bp0eqq.js → repository-cache-2hh6b730.js} +23 -23
- package/dist/chunks/{reference-qgn6gcr1.js → repository-cache-2k8khapm.js} +5 -5
- package/dist/chunks/{reference-01rnkbd0.js → repository-cache-2kc95tmw.js} +11 -11
- package/dist/chunks/{reference-a9w6ff6t.js → repository-cache-2n1w6jqq.js} +28 -28
- package/dist/chunks/{reference-n9kfxdp9.js → repository-cache-2p22eq26.js} +17 -17
- package/dist/chunks/{reference-1dh04bw7.js → repository-cache-2q54vq3t.js} +11 -11
- package/dist/chunks/{reference-phdse2cz.js → repository-cache-2q8xkfgn.js} +7 -7
- package/dist/chunks/{reference-hkv5p9ne.js → repository-cache-2stw3wyk.js} +3 -3
- package/dist/chunks/{reference-k6rqs0s8.js → repository-cache-3011g7h6.js} +3 -3
- package/dist/chunks/{reference-z3zp24an.js → repository-cache-32ymn5e1.js} +6 -6
- package/dist/chunks/{reference-1ygqh575.js → repository-cache-33w4ejhs.js} +6 -6
- package/dist/chunks/{reference-8b69yyv4.js → repository-cache-3ddydpdy.js} +8 -8
- package/dist/chunks/{reference-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
- package/dist/chunks/{reference-chnshf5d.js → repository-cache-3gme9a8b.js} +7 -7
- package/dist/chunks/{reference-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-yfn15sv3.js → repository-cache-3ky3469x.js} +4 -4
- package/dist/chunks/{reference-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{reference-gg3hnhsj.js → repository-cache-427t97hr.js} +1 -1
- package/dist/chunks/{reference-xtk3c0wk.js → repository-cache-45h82h9y.js} +24 -24
- package/dist/chunks/{reference-jhrpy0h8.js → repository-cache-47m3nr6v.js} +21 -21
- package/dist/chunks/{reference-87szygx8.js → repository-cache-4bcse622.js} +82 -82
- package/dist/chunks/{reference-mc9ss0y5.js → repository-cache-50zetvfx.js} +12 -12
- package/dist/chunks/{reference-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{reference-57ez7d0k.js → repository-cache-57ez7d0k.js} +2 -2
- package/dist/chunks/{reference-h971pwhf.js → repository-cache-5cvf39ct.js} +11 -11
- package/dist/chunks/{reference-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-k115rg6b.js → repository-cache-5gm763qm.js} +11 -11
- package/dist/chunks/{reference-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-vsa42d0b.js → repository-cache-5yrkbczz.js} +30 -30
- package/dist/chunks/{reference-hbedddsn.js → repository-cache-64gr48sc.js} +11 -11
- package/dist/chunks/{reference-669tq793.js → repository-cache-669tq793.js} +1 -1
- package/dist/chunks/{reference-h3tvvjet.js → repository-cache-6f36mv2g.js} +25 -25
- package/dist/chunks/{reference-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-8wbxkt1z.js → repository-cache-6rm5yzkt.js} +4 -4
- package/dist/chunks/{reference-7zeyjkbe.js → repository-cache-6tb60k4h.js} +4 -4
- package/dist/chunks/{reference-a1213hw5.js → repository-cache-6zc7rmqw.js} +15 -15
- package/dist/chunks/{reference-mhkvc446.js → repository-cache-73tb2d7t.js} +3 -3
- package/dist/chunks/{reference-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-n3j9v3wj.js → repository-cache-7jkezq9t.js} +9 -9
- package/dist/chunks/{reference-czs4devj.js → repository-cache-7psgveam.js} +23 -23
- package/dist/chunks/{reference-2f04pwep.js → repository-cache-7w99qc9d.js} +3 -3
- package/dist/chunks/{reference-tjb59763.js → repository-cache-80sa0j8b.js} +46 -46
- package/dist/chunks/{reference-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-796w904k.js → repository-cache-8grkf0eh.js} +16 -16
- package/dist/chunks/{reference-94ek1h2f.js → repository-cache-94ek1h2f.js} +2 -2
- package/dist/chunks/{reference-sv2rsgqy.js → repository-cache-9mrmz292.js} +27 -27
- package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
- package/dist/chunks/{reference-pyj25zwj.js → repository-cache-a23pvya7.js} +3 -3
- package/dist/chunks/{reference-bemmtghz.js → repository-cache-a2654jmr.js} +10 -10
- package/dist/chunks/{reference-0cswr742.js → repository-cache-a2crq8zj.js} +18 -18
- package/dist/chunks/{reference-j993bjzs.js → repository-cache-a37k8rrq.js} +10 -10
- package/dist/chunks/{reference-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-afed7ext.js → repository-cache-afed7ext.js} +5 -5
- package/dist/chunks/{reference-44sx4v5c.js → repository-cache-agsg4cpk.js} +8 -8
- package/dist/chunks/{reference-5fanhak1.js → repository-cache-ap2206v9.js} +5 -5
- package/dist/chunks/{reference-n1j0qfw4.js → repository-cache-asmhed6t.js} +5 -5
- package/dist/chunks/{reference-7a87smht.js → repository-cache-aw9cnddb.js} +9 -9
- package/dist/chunks/{reference-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-139grr7s.js → repository-cache-bbkf9pcq.js} +17 -17
- package/dist/chunks/{reference-3ybfhc1x.js → repository-cache-be6nvhda.js} +3 -3
- package/dist/chunks/{reference-510m7gjw.js → repository-cache-bgxcxs0p.js} +5 -5
- package/dist/chunks/{reference-t1keb6et.js → repository-cache-bgz93gp7.js} +42 -42
- package/dist/chunks/{reference-1pab0y9d.js → repository-cache-bwhecd05.js} +30 -30
- package/dist/chunks/{reference-kb6gw2zp.js → repository-cache-c651xxjb.js} +4 -4
- package/dist/chunks/{reference-qcfhqezt.js → repository-cache-c8mkc70c.js} +13 -13
- package/dist/chunks/{reference-zwtn2b75.js → repository-cache-c965vwdg.js} +18 -18
- package/dist/chunks/{reference-1w3qez5w.js → repository-cache-c9sa8xnx.js} +16 -16
- package/dist/chunks/{reference-3wpv8ytq.js → repository-cache-cd0j2xk9.js} +9 -9
- package/dist/chunks/{reference-c7b2m6fb.js → repository-cache-cex2j2jp.js} +22 -22
- package/dist/chunks/{reference-kz7w9h4r.js → repository-cache-cgg1386b.js} +16 -16
- package/dist/chunks/{reference-v1egv9yp.js → repository-cache-ckc7wkyg.js} +29 -29
- package/dist/chunks/{reference-ckecvw8r.js → repository-cache-ckecvw8r.js} +2 -2
- package/dist/chunks/{reference-q4b4mt0k.js → repository-cache-cvjg7bv4.js} +85 -85
- package/dist/chunks/{reference-djszqvmq.js → repository-cache-cwa6csj7.js} +9 -9
- package/dist/chunks/{reference-c4qd2t8a.js → repository-cache-d91rdxge.js} +24 -24
- package/dist/chunks/{reference-t9cv2z2y.js → repository-cache-dat3r6mv.js} +17 -17
- package/dist/chunks/{reference-tm9580sr.js → repository-cache-djgvgpsy.js} +10 -10
- package/dist/chunks/{reference-5xtgfte3.js → repository-cache-dv1qgsyq.js} +8 -8
- package/dist/chunks/{reference-kzacwcn9.js → repository-cache-dvh99x22.js} +24 -24
- package/dist/chunks/{reference-sz9xv9xn.js → repository-cache-dvkyzkrt.js} +30 -30
- package/dist/chunks/{reference-dqwatsve.js → repository-cache-dvs6yr4k.js} +30 -30
- package/dist/chunks/{reference-gst7axd9.js → repository-cache-e2hjzebn.js} +4 -4
- package/dist/chunks/{reference-c3h0gj9a.js → repository-cache-e38jm44f.js} +11 -11
- package/dist/chunks/{reference-ecfe7b91.js → repository-cache-ecfe7b91.js} +2 -2
- package/dist/chunks/{reference-8aaqm6qj.js → repository-cache-eeaf82dq.js} +8 -8
- package/dist/chunks/{reference-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-zn9yn8hw.js → repository-cache-eksppc5n.js} +52 -52
- package/dist/chunks/{reference-3ppptnan.js → repository-cache-eqkxs06z.js} +6 -6
- package/dist/chunks/{reference-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-dj9sq318.js → repository-cache-evbgk2k8.js} +5 -5
- package/dist/chunks/{reference-8f2n1xr2.js → repository-cache-ew2yn983.js} +5 -5
- package/dist/chunks/{reference-ar2zeb49.js → repository-cache-ewgkfh1g.js} +5 -5
- package/dist/chunks/{reference-qn0j8a2m.js → repository-cache-ewtw6aeq.js} +17 -17
- package/dist/chunks/{reference-wb6eeyna.js → repository-cache-f7rj482f.js} +8 -8
- package/dist/chunks/{reference-631f6jmb.js → repository-cache-fknpd3nq.js} +17 -17
- package/dist/chunks/{reference-ecjyjz8w.js → repository-cache-fqf5xbzx.js} +16 -16
- package/dist/chunks/{reference-74fa380e.js → repository-cache-fzvt39wb.js} +3 -3
- package/dist/chunks/{reference-3wpn9sh3.js → repository-cache-g13d9vgq.js} +16 -16
- package/dist/chunks/{reference-magykp64.js → repository-cache-g190xswt.js} +4 -4
- package/dist/chunks/{reference-vyn1hvw5.js → repository-cache-g1wy4zv9.js} +20 -20
- package/dist/chunks/{reference-9nxs0dtz.js → repository-cache-g24mhrgs.js} +14 -14
- package/dist/chunks/{reference-xvp1j2dc.js → repository-cache-g5agzp2h.js} +5 -5
- package/dist/chunks/{reference-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-07br9k15.js → repository-cache-ge53arp8.js} +48 -48
- package/dist/chunks/{reference-h6qwv4aw.js → repository-cache-gejnakz3.js} +26 -26
- package/dist/chunks/{reference-vgj5jbet.js → repository-cache-gs7k0xe7.js} +3 -3
- package/dist/chunks/{reference-gv6a8nnw.js → repository-cache-gv6a8nnw.js} +2 -2
- package/dist/chunks/{reference-wak1n191.js → repository-cache-gx2j0qm7.js} +10 -10
- package/dist/chunks/{reference-fdjebd74.js → repository-cache-h6df3pyv.js} +23 -23
- package/dist/chunks/{reference-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-71ae86ge.js → repository-cache-hdpxa6fd.js} +4 -4
- package/dist/chunks/{reference-erycay7t.js → repository-cache-hg4kcybh.js} +30 -30
- package/dist/chunks/{reference-ktd0gbm4.js → repository-cache-hv8yjb44.js} +3 -3
- package/dist/chunks/{reference-fms3wttt.js → repository-cache-hw7qarbm.js} +4 -4
- package/dist/chunks/{reference-ses91yzc.js → repository-cache-hz6g7x4z.js} +8 -8
- package/dist/chunks/{reference-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
- package/dist/chunks/{reference-k7d46rr6.js → repository-cache-j6k053yf.js} +4 -4
- package/dist/chunks/{reference-ey47svxm.js → repository-cache-j7yag5py.js} +25 -25
- package/dist/chunks/{reference-6xb9xar3.js → repository-cache-j9c63wzn.js} +3 -3
- package/dist/chunks/{reference-tkr7t7pv.js → repository-cache-jbkekqyw.js} +11 -11
- package/dist/chunks/{reference-qb2p9zbg.js → repository-cache-jdgxkak0.js} +44 -44
- package/dist/chunks/{reference-tvf9c7hb.js → repository-cache-jp80hny8.js} +33 -33
- package/dist/chunks/{reference-gjvcgz1y.js → repository-cache-jysawejs.js} +33 -33
- package/dist/chunks/{reference-x54c8ekp.js → repository-cache-jzcedyre.js} +10 -10
- package/dist/chunks/{reference-yf019c59.js → repository-cache-k6rvtcby.js} +27 -27
- package/dist/chunks/{reference-5v7h0m3g.js → repository-cache-k7bkg04e.js} +6 -6
- package/dist/chunks/{reference-hbyhqfhs.js → repository-cache-k8hpw67k.js} +5 -5
- package/dist/chunks/{reference-m165mn98.js → repository-cache-kcmnest9.js} +15 -15
- package/dist/chunks/{reference-y1022pqf.js → repository-cache-keyj6cah.js} +17 -17
- package/dist/chunks/{reference-0jpfm16a.js → repository-cache-kf2m36k8.js} +21 -21
- package/dist/chunks/{reference-1bfe16ws.js → repository-cache-kj9cewpz.js} +21 -21
- package/dist/chunks/{reference-1qxvqq93.js → repository-cache-kt7sr4py.js} +15 -15
- package/dist/chunks/{reference-t9yx3vxp.js → repository-cache-kxdk9anj.js} +20 -20
- package/dist/chunks/{reference-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
- package/dist/chunks/{reference-g4x060ga.js → repository-cache-m6yr2gq6.js} +11 -11
- package/dist/chunks/{reference-ygwjbdqw.js → repository-cache-m8cyjv6r.js} +18 -18
- package/dist/chunks/{reference-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-6brb3ydz.js → repository-cache-maeqbeqr.js} +9 -9
- package/dist/chunks/{reference-9dcx0t51.js → repository-cache-mb9ashqs.js} +7 -7
- package/dist/chunks/{reference-3bxd3j1q.js → repository-cache-mgmaefw5.js} +6 -6
- package/dist/chunks/{reference-addxnjmp.js → repository-cache-mpk0rfs5.js} +4 -4
- package/dist/chunks/{reference-wgtcm0m7.js → repository-cache-n1ka8r9d.js} +4 -4
- package/dist/chunks/{reference-00zfhxmf.js → repository-cache-n20df6db.js} +33 -33
- package/dist/chunks/{reference-5yts36ct.js → repository-cache-n8zdancj.js} +1 -1
- package/dist/chunks/{reference-jpx3jw6j.js → repository-cache-nceekcwx.js} +22 -22
- package/dist/chunks/{reference-ep6z9mt6.js → repository-cache-nfcr1yw4.js} +8 -8
- package/dist/chunks/repository-cache-njf7bbrt.js +507 -0
- package/dist/chunks/{reference-s8610hey.js → repository-cache-nng2ktcm.js} +2 -2
- package/dist/chunks/{reference-k3c624dm.js → repository-cache-nzks3jc8.js} +3 -3
- package/dist/chunks/{reference-cr07tj7n.js → repository-cache-p44d8wdy.js} +5 -5
- package/dist/chunks/{reference-nscc21qe.js → repository-cache-p53sd9ee.js} +20 -20
- package/dist/chunks/{reference-eka80jh0.js → repository-cache-p6x3ebhz.js} +16 -16
- package/dist/chunks/{reference-br6q4meh.js → repository-cache-pfmwbpnc.js} +5 -5
- package/dist/chunks/{reference-ea9448jf.js → repository-cache-pfqe37c4.js} +20 -20
- package/dist/chunks/{reference-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{reference-kt609s0t.js → repository-cache-pmxw3e6e.js} +5 -5
- package/dist/chunks/{reference-e2v1jf5m.js → repository-cache-pp6ma3n4.js} +23 -23
- package/dist/chunks/{reference-3340n1nd.js → repository-cache-pwxxk091.js} +15 -15
- package/dist/chunks/{reference-6pc27hjz.js → repository-cache-py3kkmfq.js} +6 -6
- package/dist/chunks/{reference-dprgptw6.js → repository-cache-pywavm7z.js} +31 -31
- package/dist/chunks/{reference-4r36fkdq.js → repository-cache-q2jytm9w.js} +14 -14
- package/dist/chunks/{reference-wsxhr7mz.js → repository-cache-q68wa7tn.js} +1 -1
- package/dist/chunks/{reference-gafg8g7a.js → repository-cache-qbvmjyzb.js} +9 -9
- package/dist/chunks/{reference-166kng33.js → repository-cache-qby9dwvd.js} +8 -8
- package/dist/chunks/{reference-fhs97t90.js → repository-cache-qg0jgkcp.js} +9 -9
- package/dist/chunks/{reference-y5jzt5h7.js → repository-cache-qj10ksrk.js} +2 -2
- package/dist/chunks/{reference-mcfy26hj.js → repository-cache-qjsj8s2h.js} +24 -24
- package/dist/chunks/{reference-6cneqzas.js → repository-cache-qp7ve9d0.js} +16 -16
- package/dist/chunks/{reference-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-ngbzmknx.js → repository-cache-qst67tj6.js} +9 -9
- package/dist/chunks/{reference-np6nr2kx.js → repository-cache-qt26wktx.js} +20 -20
- package/dist/chunks/{reference-0ft9cg2j.js → repository-cache-r33ff4dw.js} +6 -6
- package/dist/chunks/{reference-yn5hrsx6.js → repository-cache-r4nnjac8.js} +46 -46
- package/dist/chunks/{reference-h0f5mnzz.js → repository-cache-r5gzwt7x.js} +16 -16
- package/dist/chunks/{reference-yp2x3t23.js → repository-cache-r8xr0va3.js} +4 -4
- package/dist/chunks/{reference-zhjy7jmn.js → repository-cache-ras1rzfd.js} +4 -4
- package/dist/chunks/{reference-eygkpf76.js → repository-cache-rbg03t47.js} +13 -13
- package/dist/chunks/{reference-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{reference-ydqd2mjj.js → repository-cache-rf54a7zr.js} +14 -14
- package/dist/chunks/{reference-260n4hdp.js → repository-cache-rfpzg1kb.js} +8 -8
- package/dist/chunks/{reference-c6b8rasb.js → repository-cache-rkf60bj6.js} +3 -3
- package/dist/chunks/{reference-79cntjbh.js → repository-cache-rpnv56mn.js} +8 -8
- package/dist/chunks/{reference-3e2kzjfs.js → repository-cache-s06stbnd.js} +12 -12
- package/dist/chunks/{reference-qxvtm6f6.js → repository-cache-s0xttw3k.js} +18 -18
- package/dist/chunks/{reference-r45e0rbq.js → repository-cache-sc5pc2yp.js} +26 -26
- package/dist/chunks/{reference-7sw46e0q.js → repository-cache-scakzs5b.js} +7 -7
- package/dist/chunks/{reference-gsm9w5gv.js → repository-cache-smya4g4s.js} +29 -29
- package/dist/chunks/{reference-w0y7f2dx.js → repository-cache-sntmbee3.js} +5 -5
- package/dist/chunks/{reference-jxz16j3e.js → repository-cache-stpnd7xz.js} +28 -28
- package/dist/chunks/{reference-a81kfqvn.js → repository-cache-syf57q56.js} +4 -4
- package/dist/chunks/{reference-vrke23k5.js → repository-cache-syxkcnbr.js} +62 -62
- package/dist/chunks/{reference-21g2k5h0.js → repository-cache-t07jxw78.js} +11 -11
- package/dist/chunks/{reference-02nrjc1r.js → repository-cache-t550f9t1.js} +8 -8
- package/dist/chunks/{reference-vncycja5.js → repository-cache-t9zs3egg.js} +4 -4
- package/dist/chunks/{reference-pck83k06.js → repository-cache-tap5zb78.js} +21 -21
- package/dist/chunks/{reference-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{reference-eh5brr6k.js → repository-cache-thtyfg4s.js} +40 -40
- package/dist/chunks/{reference-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-1g7epwpd.js → repository-cache-v5dkyp31.js} +7 -7
- package/dist/chunks/repository-cache-vbty6caj.js +26 -0
- package/dist/chunks/{reference-kdhn56cv.js → repository-cache-vca4nb65.js} +32 -32
- package/dist/chunks/{reference-3sy817ya.js → repository-cache-ve9ds9se.js} +21 -21
- package/dist/chunks/{reference-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-e3t9f1ge.js → repository-cache-vqk8nwkc.js} +32 -32
- package/dist/chunks/{reference-3t6ehjrr.js → repository-cache-vsacqhcb.js} +15 -15
- package/dist/chunks/{reference-3v2fvqfd.js → repository-cache-vwm97rz7.js} +6 -6
- package/dist/chunks/{reference-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{reference-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{reference-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-8kg5m582.js → repository-cache-w7mpr4xf.js} +34 -34
- package/dist/chunks/{reference-042pe1mc.js → repository-cache-wb7w4rth.js} +11 -11
- package/dist/chunks/{reference-h3k68wsb.js → repository-cache-wd2p6tkx.js} +19 -19
- package/dist/chunks/{reference-wd3x2cqz.js → repository-cache-wd3x2cqz.js} +2 -2
- package/dist/chunks/{reference-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{reference-pw9v3g6d.js → repository-cache-wewgh3cc.js} +8 -8
- package/dist/chunks/{reference-vt1m752q.js → repository-cache-wht100tr.js} +15 -15
- package/dist/chunks/{reference-0rsrt5zk.js → repository-cache-wjqqpmpn.js} +10 -10
- package/dist/chunks/{reference-depwzj9d.js → repository-cache-wk5z6jzv.js} +9 -9
- package/dist/chunks/{reference-7an2zr3c.js → repository-cache-wr4ecj30.js} +12 -12
- package/dist/chunks/{reference-atwm5pvn.js → repository-cache-wrs9pw8e.js} +26 -26
- package/dist/chunks/{reference-paqwx8q6.js → repository-cache-wtrdp2zm.js} +2 -2
- package/dist/chunks/{reference-hyftv91s.js → repository-cache-wzz0kxab.js} +6 -6
- package/dist/chunks/{reference-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-w0ct177m.js → repository-cache-x8xh44zn.js} +38 -38
- package/dist/chunks/{reference-drwq78ky.js → repository-cache-xfkkasph.js} +4 -4
- package/dist/chunks/{reference-f9kj06qm.js → repository-cache-xj33k3cs.js} +13 -13
- package/dist/chunks/{reference-tt79120p.js → repository-cache-xjt7eya3.js} +15 -15
- package/dist/chunks/{reference-a7kwy4c1.js → repository-cache-xk59rbx9.js} +5 -5
- package/dist/chunks/{reference-xkntkrq7.js → repository-cache-xkntkrq7.js} +2 -2
- package/dist/chunks/{reference-wzw60d3c.js → repository-cache-xqk27j46.js} +4 -4
- package/dist/chunks/{reference-cp9438d3.js → repository-cache-xw2wg1y5.js} +10 -10
- package/dist/chunks/{reference-1nzh38e4.js → repository-cache-y16p1w2y.js} +8 -8
- package/dist/chunks/{reference-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-yzmt9s1b.js → repository-cache-y3sv3n32.js} +16 -16
- package/dist/chunks/{reference-jkzjr3ma.js → repository-cache-y55db347.js} +9 -9
- package/dist/chunks/{reference-y71avatq.js → repository-cache-y71avatq.js} +1 -1
- package/dist/chunks/{reference-a15efetj.js → repository-cache-yakvhztc.js} +37 -37
- package/dist/chunks/{reference-htjw9qza.js → repository-cache-ydgy0jv4.js} +6 -6
- package/dist/chunks/{reference-2wbch7sf.js → repository-cache-yrennevv.js} +20 -20
- package/dist/chunks/{reference-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
- package/dist/chunks/{reference-hgg8amch.js → repository-cache-ytbkfms3.js} +168 -168
- package/dist/chunks/{reference-anb3p609.js → repository-cache-yyhxvm28.js} +50 -50
- package/dist/chunks/{reference-z07pqspn.js → repository-cache-z07pqspn.js} +3 -3
- package/dist/chunks/{reference-d858xzj7.js → repository-cache-z0aj456m.js} +4 -4
- package/dist/chunks/{reference-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-jqw8ttv0.js → repository-cache-z34ds6ds.js} +23 -23
- package/dist/chunks/{reference-qmdmhxrm.js → repository-cache-z42hbx87.js} +8 -8
- package/dist/chunks/{reference-cfv2hvrv.js → repository-cache-z45tr6e4.js} +20 -20
- package/dist/chunks/{reference-k2a504bc.js → repository-cache-z5crsmww.js} +13 -13
- package/dist/chunks/{reference-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
- package/dist/chunks/{reference-tvk85ejt.js → repository-cache-z69xn9rw.js} +22 -22
- package/dist/chunks/{reference-d1c553ec.js → repository-cache-za7gw4wk.js} +6 -6
- package/dist/chunks/{reference-1p7vd7k0.js → repository-cache-zeg8wypa.js} +22 -22
- package/dist/chunks/{reference-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-pxey72j3.js → repository-cache-zmkzffe7.js} +36 -36
- package/dist/chunks/{reference-akpmqyxp.js → repository-cache-zqq2pk5b.js} +18 -18
- package/dist/chunks/{reference-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-4srk58w8.js → repository-cache-zv4kd1sh.js} +9 -9
- package/dist/chunks/{reference-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.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 +372 -372
- 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 +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 +90 -90
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- 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 +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- 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 +86 -86
- 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 +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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/gateway.js +2 -2
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- 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 +350 -350
- 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 +121 -121
- 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 +4 -4
- 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 +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- 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 +135 -135
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- 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 +130 -130
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +124 -124
- 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 +122 -122
- 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 +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +8 -8
- package/dist/tool.js +12 -12
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/reference-9fsn2a6t.js +0 -252
- package/dist/chunks/reference-dez8vmgp.js +0 -507
- package/dist/chunks/reference-kmfs87yw.js +0 -26
- package/dist/chunks/reference-pf31ssb9.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → repository-cache-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-smya4g4s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./repository-cache-ckc7wkyg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin28,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin28 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service72;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin28, exports_verbosity };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./repository-cache-x8xh44zn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./repository-cache-f7rj482f.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin45
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin45 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service47;
|
|
29
|
+
const managed = yield* Service70;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin19 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin45, exports_policy };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options6,
|
|
15
|
+
Service: () => Service46,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options6 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service46 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve2.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service46.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured6(options) {
|
|
210
|
+
return makeLocationNode({ service: Service46, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node49 = configured6();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options6, Service46, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured6, node49, exports_select };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-gs7k0xe7.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node83
|
|
12
|
+
} from "./repository-cache-ydgy0jv4.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service79,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID16 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info31 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info18 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID16,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service79 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service79,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node83]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info31({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service79.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID16.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node82 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID16, Info31, NotFound3, CreateConflict2, Service79, configured11, node82, exports_workspace };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node81
|
|
7
|
+
} from "./repository-cache-47m3nr6v.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
@@ -35,7 +35,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
37
|
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
-
const environment = yield*
|
|
38
|
+
const environment = yield* Service78;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -58,6 +58,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
58
58
|
})));
|
|
59
59
|
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var node15 = makeLocationNode({ service: Service13, layer, deps: [
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node81] });
|
|
62
62
|
|
|
63
63
|
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-mpk0rfs5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID13,
|
|
14
|
+
Service74,
|
|
15
|
+
node77,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./repository-cache-dvs6yr4k.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-wtrdp2zm.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
|
+
ID: () => ID12,
|
|
42
|
+
Info: () => Info26,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request3,
|
|
46
|
+
Service: () => Service73,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node76,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
+
var ID12 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request3 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info26 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service73 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service74;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info26.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service73.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node76 = makeLocationNode({ service: Service73, layer, deps: [node87, node77, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service73, node76, exports_provider3, Event17 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-dvkyzkrt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-dvs6yr4k.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-gs7k0xe7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-6tb60k4h.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-syf57q56.js";
|
|
27
27
|
import {
|
|
28
28
|
load5
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-hz6g7x4z.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./repository-cache-427t97hr.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service34,
|
|
38
|
+
node37
|
|
39
|
+
} from "./repository-cache-pywavm7z.js";
|
|
40
40
|
import {
|
|
41
41
|
isRetryable2,
|
|
42
42
|
policy2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-cache-g5agzp2h.js";
|
|
44
44
|
import {
|
|
45
45
|
toSessionError2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-cache-xk59rbx9.js";
|
|
47
47
|
import {
|
|
48
48
|
calculateCost2,
|
|
49
49
|
record2,
|
|
50
50
|
add2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./repository-cache-tdstcens.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/compaction.ts
|
|
57
57
|
var exports_compaction2 = {};
|
|
58
58
|
__export(exports_compaction2, {
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service9,
|
|
60
60
|
SessionCompaction: () => exports_compaction2,
|
|
61
61
|
buildPrompt: () => buildPrompt2,
|
|
62
62
|
estimateContext: () => estimateContext2,
|
|
63
63
|
estimatePrompt: () => estimatePrompt2,
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
64
|
+
layer: () => layer7,
|
|
65
|
+
node: () => node11,
|
|
66
66
|
recentUserMessages: () => recentUserMessages2
|
|
67
67
|
});
|
|
68
68
|
import {
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
} from "@opencode/ai";
|
|
79
79
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
80
80
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
81
|
-
class
|
|
81
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
82
82
|
}
|
|
83
83
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
84
84
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -157,11 +157,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
157
157
|
};
|
|
158
158
|
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.";
|
|
159
159
|
var LEGACY_HEADING = "## Additional Context";
|
|
160
|
-
var
|
|
160
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
161
161
|
const bus = yield* Service83;
|
|
162
162
|
const llm = yield* LLMClient.Service;
|
|
163
163
|
const db = (yield* Service84).db;
|
|
164
|
-
const requests = yield*
|
|
164
|
+
const requests = yield* Service34;
|
|
165
165
|
const state = create3({
|
|
166
166
|
name: "session-compaction",
|
|
167
167
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -452,16 +452,16 @@ ${text}`;
|
|
|
452
452
|
}, { metadata: outcome.metadata });
|
|
453
453
|
return { status: "completed" };
|
|
454
454
|
});
|
|
455
|
-
return
|
|
455
|
+
return Service9.of({
|
|
456
456
|
transform: state.transform,
|
|
457
457
|
reload: state.reload,
|
|
458
458
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
459
459
|
});
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
462
|
-
service:
|
|
463
|
-
layer:
|
|
464
|
-
deps: [node87, node88, llmClient2,
|
|
461
|
+
var node11 = makeLocationNode({
|
|
462
|
+
service: Service9,
|
|
463
|
+
layer: layer7,
|
|
464
|
+
deps: [node87, node88, llmClient2, node37]
|
|
465
465
|
});
|
|
466
466
|
var previousCompaction = (messages) => {
|
|
467
467
|
const [first] = messages;
|
|
@@ -666,4 +666,4 @@ var estimateMedia = (mime) => {
|
|
|
666
666
|
return 0;
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
export {
|
|
669
|
+
export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|