@opencode/core 0.0.0-dev-20077 → 0.0.0-dev-20081
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 +77 -77
- 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/{persistent-pty-w7trrfxg.js → provider-046r0309.js} +6 -6
- package/dist/chunks/{persistent-pty-qe4kd680.js → provider-0dtxedqk.js} +12 -12
- package/dist/chunks/{persistent-pty-qt6mstr8.js → provider-0nb8tj3r.js} +11 -11
- package/dist/chunks/{persistent-pty-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-rbhtsr62.js → provider-0x5b3vy1.js} +6 -6
- package/dist/chunks/{persistent-pty-0xezjjjn.js → provider-0xezjjjn.js} +1 -1
- package/dist/chunks/{persistent-pty-3h2x9zep.js → provider-11shpjhc.js} +3 -3
- package/dist/chunks/{persistent-pty-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-4697qq0h.js → provider-1dg03anb.js} +2 -2
- package/dist/chunks/{persistent-pty-g7gngde7.js → provider-1e9cjvdj.js} +10 -10
- package/dist/chunks/{persistent-pty-jfqtm2ew.js → provider-1g7epwpd.js} +7 -7
- package/dist/chunks/{persistent-pty-h18k85sj.js → provider-1n7vwgcr.js} +32 -32
- package/dist/chunks/{persistent-pty-mtzk9mcs.js → provider-1p8x96d2.js} +11 -11
- package/dist/chunks/{persistent-pty-8nqnatqw.js → provider-1pgwehn0.js} +125 -125
- package/dist/chunks/{persistent-pty-5n6xt7h3.js → provider-1tmaqf5z.js} +9 -9
- package/dist/chunks/{persistent-pty-g4de2dpr.js → provider-1w85egtv.js} +16 -16
- package/dist/chunks/{persistent-pty-56gdpj1q.js → provider-1ygqh575.js} +9 -9
- package/dist/chunks/{persistent-pty-a6mwbtq0.js → provider-21981gj5.js} +4 -4
- package/dist/chunks/{persistent-pty-21r38tys.js → provider-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → provider-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-9fy1pcrd.js → provider-25wm0g8j.js} +10 -10
- package/dist/chunks/{persistent-pty-09pa4m3v.js → provider-289htsz9.js} +31 -31
- package/dist/chunks/{persistent-pty-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-xga9dy9m.js → provider-2j5dfjra.js} +17 -17
- package/dist/chunks/{persistent-pty-jc8m90n4.js → provider-2jhntd1c.js} +30 -30
- package/dist/chunks/{persistent-pty-d4he2qe1.js → provider-2sejkfem.js} +9 -9
- package/dist/chunks/{persistent-pty-8pv6180c.js → provider-3dv8501d.js} +7 -7
- package/dist/chunks/{persistent-pty-thfsr13d.js → provider-3eghbq6c.js} +23 -23
- package/dist/chunks/{persistent-pty-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-1zsz5cte.js → provider-3qmd0ebz.js} +12 -12
- package/dist/chunks/{persistent-pty-00x4qneg.js → provider-3rtxz4nr.js} +8 -8
- package/dist/chunks/{persistent-pty-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-an4t2was.js → provider-41bwr5r8.js} +24 -24
- package/dist/chunks/{persistent-pty-qdyeg9tz.js → provider-444r4drm.js} +26 -26
- package/dist/chunks/{persistent-pty-hcha2833.js → provider-483kse91.js} +9 -9
- package/dist/chunks/{persistent-pty-jx35jf7z.js → provider-48e6h404.js} +17 -17
- package/dist/chunks/{persistent-pty-sd9ps8hc.js → provider-4m2hcyae.js} +26 -26
- package/dist/chunks/{persistent-pty-0ke265bw.js → provider-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-zjstjz92.js → provider-57qh049z.js} +11 -11
- package/dist/chunks/{persistent-pty-c15wgtb8.js → provider-583e1kgc.js} +17 -17
- package/dist/chunks/{persistent-pty-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5ekn9679.js → provider-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-zrk49733.js → provider-5f8r53dv.js} +1 -1
- package/dist/chunks/{persistent-pty-hq1v3zy8.js → provider-5fwmp4v5.js} +4 -4
- package/dist/chunks/provider-5syzq0vf.js +26 -0
- package/dist/chunks/{persistent-pty-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-vrgxsb1e.js → provider-626ykbw3.js} +13 -13
- package/dist/chunks/{persistent-pty-669tq793.js → provider-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-xy3zq42w.js → provider-6cbkac1a.js} +14 -14
- package/dist/chunks/{persistent-pty-jdd6ya46.js → provider-6ey51n48.js} +10 -10
- package/dist/chunks/{persistent-pty-q0x8zzpj.js → provider-6gcfy764.js} +12 -12
- package/dist/chunks/{persistent-pty-3n9k99kr.js → provider-6kbcyghs.js} +10 -10
- package/dist/chunks/{persistent-pty-6msgmcgs.js → provider-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-py3kkmfq.js → provider-6pc27hjz.js} +6 -6
- package/dist/chunks/{persistent-pty-p7zyvqxs.js → provider-6r79s7vx.js} +5 -5
- package/dist/chunks/{persistent-pty-bhv2qxb3.js → provider-6w0yw6t0.js} +9 -9
- package/dist/chunks/{persistent-pty-8s07ccs3.js → provider-6zn87t6x.js} +43 -43
- package/dist/chunks/{persistent-pty-e1a8gcn8.js → provider-7289fqfg.js} +14 -14
- package/dist/chunks/{persistent-pty-y7kpdk7a.js → provider-72j1trj5.js} +18 -18
- package/dist/chunks/{persistent-pty-teryqt5v.js → provider-73f5j550.js} +3 -3
- package/dist/chunks/{persistent-pty-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-9r70zj9f.js → provider-7nrrz4vd.js} +3 -3
- package/dist/chunks/{persistent-pty-n7rbchxd.js → provider-7pqtqgjh.js} +30 -30
- package/dist/chunks/{persistent-pty-wbt9zsn3.js → provider-7v81x33d.js} +9 -9
- package/dist/chunks/{persistent-pty-131medm0.js → provider-886a4kvd.js} +32 -32
- package/dist/chunks/{persistent-pty-b09qp47b.js → provider-8bxtdccr.js} +10 -10
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-aakph5ea.js → provider-8fwstqvg.js} +9 -9
- package/dist/chunks/{persistent-pty-7x9j1zsm.js → provider-8tn24nrr.js} +7 -7
- package/dist/chunks/{persistent-pty-h75wmkrs.js → provider-8wry8wmy.js} +7 -7
- package/dist/chunks/{persistent-pty-2ap5w51g.js → provider-8y2fx2dx.js} +41 -41
- package/dist/chunks/{persistent-pty-gfvb90ym.js → provider-94ek1h2f.js} +2 -2
- package/dist/chunks/{persistent-pty-fevnpa4j.js → provider-983tcqe7.js} +12 -12
- package/dist/chunks/{persistent-pty-kfh0cw1f.js → provider-9cfx1f1g.js} +8 -8
- package/dist/chunks/{persistent-pty-bjn91642.js → provider-9e3vcssh.js} +4 -4
- package/dist/chunks/{persistent-pty-bxf6ahcf.js → provider-9e8epedj.js} +12 -12
- package/dist/chunks/{persistent-pty-ycjb11n5.js → provider-9gea571p.js} +6 -6
- package/dist/chunks/{persistent-pty-0ar9x5a3.js → provider-9jtm8sj6.js} +27 -27
- package/dist/chunks/{persistent-pty-5p0mp6ge.js → provider-9m3e72t0.js} +1 -1
- package/dist/chunks/{persistent-pty-j6dx4cjd.js → provider-9mdnhvbk.js} +1 -1
- package/dist/chunks/{persistent-pty-b2m85fba.js → provider-9tfb63c1.js} +13 -13
- package/dist/chunks/{persistent-pty-2f0bjgcj.js → provider-9xvq3m7s.js} +5 -5
- package/dist/chunks/{persistent-pty-8cw38amn.js → provider-9z7dfynh.js} +19 -19
- package/dist/chunks/{persistent-pty-xwmca76c.js → provider-9zzqfxsg.js} +1 -1
- package/dist/chunks/{persistent-pty-4mpw8txs.js → provider-a25v8pqq.js} +5 -5
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → provider-a3r4dcrj.js} +2 -2
- package/dist/chunks/{persistent-pty-jtefkk5f.js → provider-a56n2bgv.js} +26 -26
- package/dist/chunks/{persistent-pty-magykp64.js → provider-a8bn8zg0.js} +4 -4
- package/dist/chunks/{persistent-pty-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-px6v4n28.js → provider-aekkhrjq.js} +4 -4
- package/dist/chunks/{persistent-pty-gwrhg37m.js → provider-ah363fah.js} +27 -27
- package/dist/chunks/{persistent-pty-t8xra3xv.js → provider-anj6srtj.js} +10 -10
- package/dist/chunks/{persistent-pty-s13hgdhw.js → provider-atzrj6z4.js} +8 -8
- package/dist/chunks/{persistent-pty-dz39j9yq.js → provider-avk2ac34.js} +32 -32
- package/dist/chunks/{persistent-pty-em8t1d4b.js → provider-ax84d1xf.js} +23 -23
- package/dist/chunks/{persistent-pty-0q07yjwe.js → provider-b2att0km.js} +17 -17
- package/dist/chunks/{persistent-pty-tjhtcc6s.js → provider-b658d458.js} +14 -14
- package/dist/chunks/{persistent-pty-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-74rrnwt7.js → provider-b7j7903f.js} +12 -12
- package/dist/chunks/{persistent-pty-g9se4cjc.js → provider-brdwt0ds.js} +35 -35
- package/dist/chunks/{persistent-pty-0g3je6g8.js → provider-bw7ephcx.js} +27 -27
- package/dist/chunks/{persistent-pty-mcnp5paj.js → provider-c08eebd0.js} +22 -22
- package/dist/chunks/{persistent-pty-0j290fjy.js → provider-c0se6qj2.js} +2 -2
- package/dist/chunks/{persistent-pty-gy4yc5qs.js → provider-c74pjr4b.js} +13 -13
- package/dist/chunks/{persistent-pty-0qmb29gv.js → provider-c8b4sgfz.js} +46 -46
- package/dist/chunks/{persistent-pty-0rxys545.js → provider-cavfk19g.js} +2 -2
- package/dist/chunks/{persistent-pty-9sfevq5x.js → provider-cfx7m4ef.js} +15 -15
- package/dist/chunks/{persistent-pty-9ppvxvx2.js → provider-cjwqz1xn.js} +11 -11
- package/dist/chunks/{persistent-pty-54tcyq79.js → provider-ckecvw8r.js} +2 -2
- package/dist/chunks/{persistent-pty-8qf8qbfj.js → provider-csqp4m5b.js} +8 -8
- package/dist/chunks/{persistent-pty-83tqnnyb.js → provider-csrebfve.js} +11 -11
- package/dist/chunks/{persistent-pty-jwkmn8w3.js → provider-cx0f5p4g.js} +3 -3
- package/dist/chunks/{persistent-pty-95ntde08.js → provider-cz2kfr7d.js} +14 -14
- package/dist/chunks/{persistent-pty-kkp8zx71.js → provider-d858xzj7.js} +4 -4
- package/dist/chunks/{persistent-pty-jv7ffsz1.js → provider-dc7b9519.js} +12 -12
- package/dist/chunks/{persistent-pty-dg2cj1yd.js → provider-dg2cj1yd.js} +1 -1
- package/dist/chunks/{persistent-pty-e4jg4zfm.js → provider-djyzjjqa.js} +17 -17
- package/dist/chunks/{persistent-pty-xfkkasph.js → provider-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-dydfzrfg.js → provider-dwhz4sb6.js} +3 -3
- package/dist/chunks/{persistent-pty-2hzw9kex.js → provider-dxr1feyg.js} +20 -20
- package/dist/chunks/{persistent-pty-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-erw5rpbs.js → provider-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-qsky8txg.js → provider-esj47bpe.js} +43 -43
- package/dist/chunks/{persistent-pty-fmhgq1sm.js → provider-et9e7fw3.js} +26 -26
- package/dist/chunks/{persistent-pty-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-1tbcb674.js → provider-ex7nm40d.js} +9 -9
- package/dist/chunks/{persistent-pty-fqdw0qb0.js → provider-f0ce8fyc.js} +10 -10
- package/dist/chunks/{persistent-pty-jh8z11nh.js → provider-f0g62jwn.js} +36 -36
- package/dist/chunks/{persistent-pty-2gbcq7ge.js → provider-f5krr7qf.js} +15 -15
- package/dist/chunks/{persistent-pty-2vk85jev.js → provider-f5mwwqd1.js} +8 -8
- package/dist/chunks/{persistent-pty-n4r3xatb.js → provider-f73rjn58.js} +4 -4
- package/dist/chunks/{persistent-pty-v7w3wckr.js → provider-f8wkwma2.js} +33 -33
- package/dist/chunks/{persistent-pty-nwsnnm7q.js → provider-f8y27661.js} +12 -12
- package/dist/chunks/{persistent-pty-fqcgpcra.js → provider-fdms3n6w.js} +9 -9
- package/dist/chunks/{persistent-pty-xc9wkb25.js → provider-ff7nd16b.js} +17 -17
- package/dist/chunks/{persistent-pty-2xkrv8r8.js → provider-g182t41k.js} +52 -52
- package/dist/chunks/{persistent-pty-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-bc7x5p7s.js → provider-gfbdweg3.js} +8 -8
- package/dist/chunks/{persistent-pty-1xntmtej.js → provider-gp0s93m5.js} +21 -21
- package/dist/chunks/{persistent-pty-y8vstp7v.js → provider-gqvaak2s.js} +1 -1
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → provider-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-tp9rhsw7.js → provider-gvv1stch.js} +33 -33
- package/dist/chunks/{persistent-pty-4hcxqz1j.js → provider-gwnkz9kd.js} +8 -8
- package/dist/chunks/provider-gyce5qg1.js +18 -0
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → provider-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-zd30eb5w.js → provider-hbyhqfhs.js} +5 -5
- package/dist/chunks/{persistent-pty-2pbd4axt.js → provider-hmjryk6b.js} +77 -77
- package/dist/chunks/{persistent-pty-smyzvreh.js → provider-ht5dkjxb.js} +24 -24
- package/dist/chunks/{persistent-pty-k8aese3t.js → provider-hz0q9sdq.js} +8 -8
- package/dist/chunks/{persistent-pty-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-t7vxnrsg.js → provider-jbfcvfnq.js} +10 -10
- package/dist/chunks/{persistent-pty-sqgptjkv.js → provider-jg5jybkd.js} +6 -6
- package/dist/chunks/{persistent-pty-a5vb42nz.js → provider-jk28b3wq.js} +35 -35
- package/dist/chunks/{persistent-pty-5w50106y.js → provider-jw3ammcf.js} +20 -20
- package/dist/chunks/{persistent-pty-k3c624dm.js → provider-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-k53npxr2.js → provider-k53npxr2.js} +1 -1
- package/dist/chunks/{persistent-pty-qpf5xtm9.js → provider-kbt7gmx1.js} +6 -6
- package/dist/chunks/{persistent-pty-m030b1ec.js → provider-kcvawfm7.js} +21 -21
- package/dist/chunks/{persistent-pty-33nwj033.js → provider-kfcyjpg8.js} +43 -43
- package/dist/chunks/{persistent-pty-0sz7h9zd.js → provider-kkagwda7.js} +15 -15
- package/dist/chunks/{persistent-pty-was7srj9.js → provider-m28tfe1w.js} +8 -8
- package/dist/chunks/{persistent-pty-sv56s9vz.js → provider-m38g9vj0.js} +4 -4
- package/dist/chunks/{persistent-pty-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → provider-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-eyaegrqq.js → provider-mnbh32fx.js} +8 -8
- package/dist/chunks/{persistent-pty-7ndvrzgb.js → provider-mp0zvkr9.js} +20 -20
- package/dist/chunks/{persistent-pty-htcezajs.js → provider-mpjm327k.js} +11 -11
- package/dist/chunks/{persistent-pty-bzd9xh3w.js → provider-msf09fhm.js} +9 -9
- package/dist/chunks/{persistent-pty-ehdcnawv.js → provider-mt4r3ktz.js} +13 -13
- package/dist/chunks/{persistent-pty-x2659m4s.js → provider-mtv0dtrw.js} +18 -18
- package/dist/chunks/{persistent-pty-q7azfttr.js → provider-mvksx64m.js} +4 -4
- package/dist/chunks/{persistent-pty-5b9pa3q7.js → provider-n46pycax.js} +8 -8
- package/dist/chunks/{persistent-pty-nms3vxe4.js → provider-n9srjkx5.js} +20 -20
- package/dist/chunks/{persistent-pty-59z0gf60.js → provider-nd8t3rxx.js} +23 -23
- package/dist/chunks/{persistent-pty-sh3cnwks.js → provider-ngqyks8r.js} +12 -12
- package/dist/chunks/{persistent-pty-1jap1q27.js → provider-njfpvtym.js} +22 -22
- package/dist/chunks/{persistent-pty-nppa2k1t.js → provider-nq2bdnnt.js} +18 -18
- package/dist/chunks/{persistent-pty-h9p2zxhd.js → provider-nve209ha.js} +28 -28
- package/dist/chunks/{persistent-pty-5mhrsa16.js → provider-nwprk3pz.js} +4 -4
- package/dist/chunks/{persistent-pty-4mgmwwhc.js → provider-nxf437fc.js} +18 -18
- package/dist/chunks/{persistent-pty-ymfjs49y.js → provider-nxhte90z.js} +14 -14
- package/dist/chunks/{persistent-pty-p42hj8p8.js → provider-p37cw4rj.js} +8 -8
- package/dist/chunks/{persistent-pty-ead3g9p8.js → provider-p44d8wdy.js} +5 -5
- package/dist/chunks/{persistent-pty-jgaqdvsy.js → provider-pcfctzn4.js} +20 -20
- package/dist/chunks/{persistent-pty-bhscgnbe.js → provider-pe68j9z1.js} +19 -19
- package/dist/chunks/{persistent-pty-k2mdnn2s.js → provider-pgahk4v0.js} +11 -11
- package/dist/chunks/{persistent-pty-4r3r3wqp.js → provider-pgs636hh.js} +1 -1
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-dfe8djrf.js → provider-pmr4s4kc.js} +4 -4
- package/dist/chunks/{persistent-pty-9wnraymz.js → provider-ppb0jbcv.js} +12 -12
- package/dist/chunks/{persistent-pty-7p0ydzsf.js → provider-q38jyk3g.js} +9 -9
- package/dist/chunks/{persistent-pty-tg4v6ybm.js → provider-qaqqfk1g.js} +8 -8
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → provider-qg0jgkcp.js} +9 -9
- package/dist/chunks/{persistent-pty-2k8khapm.js → provider-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-kwhxm0rt.js → provider-qhvf1q99.js} +82 -82
- package/dist/chunks/{persistent-pty-se3n0aez.js → provider-qkjm0tr9.js} +36 -36
- package/dist/chunks/{persistent-pty-mg5rbkhq.js → provider-qm204dz4.js} +14 -14
- package/dist/chunks/{persistent-pty-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-gc5brfvv.js → provider-qvk0gew2.js} +32 -32
- package/dist/chunks/{persistent-pty-978gy482.js → provider-r1b6zck5.js} +11 -11
- package/dist/chunks/{persistent-pty-5yae57x6.js → provider-r3pam6y0.js} +24 -24
- package/dist/chunks/{persistent-pty-k0h4vbz7.js → provider-r3rxn5pd.js} +26 -26
- package/dist/chunks/{persistent-pty-rhraev7y.js → provider-r8xr0va3.js} +4 -4
- package/dist/chunks/{persistent-pty-7npttpkb.js → provider-rb0gn87w.js} +22 -22
- package/dist/chunks/{persistent-pty-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-a2q4hhkc.js → provider-rgtdre32.js} +23 -23
- package/dist/chunks/{persistent-pty-eaj1djv9.js → provider-rhjbct0v.js} +8 -8
- package/dist/chunks/{persistent-pty-dfzjqex4.js → provider-rmk2c50f.js} +5 -5
- package/dist/chunks/{persistent-pty-6kj2kzkg.js → provider-rtbgwnjd.js} +13 -13
- package/dist/chunks/{persistent-pty-agwz5jq8.js → provider-rzz71nkp.js} +68 -68
- package/dist/chunks/{persistent-pty-jqnmytps.js → provider-s1neazx1.js} +21 -21
- package/dist/chunks/{persistent-pty-msks4rpe.js → provider-s736366c.js} +7 -7
- package/dist/chunks/{persistent-pty-0j8mf7cg.js → provider-sw9z901w.js} +3 -3
- package/dist/chunks/{persistent-pty-3jgsjshs.js → provider-sya0r9rt.js} +23 -23
- package/dist/chunks/{persistent-pty-e8p1kpnk.js → provider-sz6yn7q3.js} +5 -5
- package/dist/chunks/{persistent-pty-gbpvysbe.js → provider-t18fb8m5.js} +14 -14
- package/dist/chunks/{persistent-pty-69c49fy8.js → provider-t19n1wc4.js} +21 -21
- package/dist/chunks/{persistent-pty-g2dc85z0.js → provider-t6rqekt4.js} +4 -4
- package/dist/chunks/{persistent-pty-sw03m82y.js → provider-t9cmg2g5.js} +30 -30
- package/dist/chunks/{persistent-pty-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-q7hsqcry.js → provider-tesvfhj5.js} +22 -22
- package/dist/chunks/{persistent-pty-d7hggpe0.js → provider-tgsp8mvr.js} +19 -19
- package/dist/chunks/{persistent-pty-a4r3ry0g.js → provider-thynrszz.js} +14 -14
- package/dist/chunks/{persistent-pty-mtg6ts2t.js → provider-tkkrdc9c.js} +48 -48
- package/dist/chunks/{persistent-pty-tvtrv512.js → provider-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-9qp60kxg.js → provider-v0tcgb28.js} +20 -20
- package/dist/chunks/{persistent-pty-krxy378t.js → provider-v8ew62n7.js} +6 -6
- package/dist/chunks/{persistent-pty-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-8x24e6zw.js → provider-vg2ry8eg.js} +6 -6
- package/dist/chunks/{persistent-pty-m2eqy9a3.js → provider-vmax8pys.js} +11 -11
- package/dist/chunks/{persistent-pty-9cyfspf3.js → provider-vtxr0yy2.js} +5 -5
- package/dist/chunks/{persistent-pty-vzcthcp8.js → provider-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-pf2hb43r.js → provider-w4arg62q.js} +4 -4
- package/dist/chunks/{persistent-pty-psazpmmj.js → provider-wd3x2cqz.js} +2 -2
- package/dist/chunks/{persistent-pty-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-50t6b855.js → provider-wntb1c0g.js} +6 -6
- package/dist/chunks/{persistent-pty-pv3n2ae1.js → provider-wppc7r2t.js} +16 -16
- package/dist/chunks/{persistent-pty-w0ekr5w4.js → provider-wx7bb5kt.js} +4 -4
- package/dist/chunks/{persistent-pty-k7k6eexb.js → provider-wxv20f1z.js} +25 -25
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
- package/dist/chunks/provider-x77c26sk.js +252 -0
- package/dist/chunks/provider-x7whjj4n.js +507 -0
- package/dist/chunks/{persistent-pty-xs53z2pm.js → provider-xf0nr9dv.js} +4 -4
- package/dist/chunks/{persistent-pty-bx27tg5g.js → provider-xjg1npdn.js} +15 -15
- package/dist/chunks/{persistent-pty-4bbdhcnf.js → provider-xz41y20a.js} +37 -37
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-fdjyeynq.js → provider-y5dj3dxk.js} +6 -6
- package/dist/chunks/{persistent-pty-dpkg50ah.js → provider-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-b1h1c68h.js → provider-y7x142mt.js} +8 -8
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → provider-ybhbtxjg.js} +3 -3
- package/dist/chunks/{persistent-pty-1nwp9f3z.js → provider-ydh4z9kh.js} +39 -39
- package/dist/chunks/{persistent-pty-8vm1nfxe.js → provider-yfsnday6.js} +37 -37
- package/dist/chunks/{persistent-pty-0r7yqxbf.js → provider-yjptyezs.js} +5 -5
- package/dist/chunks/{persistent-pty-kv0rj397.js → provider-ykkx6rx5.js} +28 -28
- package/dist/chunks/{persistent-pty-ndqtf2h8.js → provider-yq2cczkq.js} +7 -7
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → provider-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → provider-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-zqfjm1r3.js → provider-z006jn0q.js} +9 -9
- package/dist/chunks/{persistent-pty-bjtzbw4r.js → provider-z07pqspn.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-aj1cmtrn.js → provider-z1x1gfhs.js} +22 -22
- package/dist/chunks/{persistent-pty-h0yyr0gy.js → provider-z2d9ad0a.js} +10 -10
- package/dist/chunks/{persistent-pty-qhexs5yx.js → provider-z4ygwn82.js} +16 -16
- package/dist/chunks/{persistent-pty-z63w68vq.js → provider-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-w3wzfs1e.js → provider-z9rwy7fx.js} +22 -22
- package/dist/chunks/{persistent-pty-svvemcs6.js → provider-zcqg046m.js} +8 -8
- package/dist/chunks/{persistent-pty-79sb0qv2.js → provider-zed4mej1.js} +11 -11
- package/dist/chunks/{persistent-pty-zeh9ct20.js → provider-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-8xqgb62y.js → provider-zh0v86tx.js} +13 -13
- package/dist/chunks/{persistent-pty-jbnt79dx.js → provider-zjnvhswx.js} +7 -7
- package/dist/chunks/{persistent-pty-ecnmd6j5.js → provider-znn6tx0t.js} +22 -22
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-7dz95w49.js → provider-zs9c6f6y.js} +12 -12
- package/dist/chunks/{persistent-pty-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +123 -123
- 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 +122 -122
- 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 +128 -128
- 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 +122 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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/file.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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- 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 +1 -1
- package/dist/integration.js +82 -82
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +124 -124
- 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 +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- 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 +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- 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 +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- 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 +78 -78
- 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 +160 -160
- package/dist/plugin/sdk.js +76 -76
- 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 +352 -352
- 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/warming.js +121 -121
- 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 +6 -6
- 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 +225 -225
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- 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 +117 -117
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- 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 +231 -231
- 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 +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- 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 +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- 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 +214 -214
- 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 +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +102 -102
- 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 +123 -123
- 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 +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- 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 +8 -8
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- 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 +3 -3
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/persistent-pty-9sh4wc5j.js +0 -18
- package/dist/chunks/persistent-pty-ntfxyrp8.js +0 -26
- package/dist/chunks/persistent-pty-peathsrz.js +0 -507
- package/dist/chunks/persistent-pty-xjrs478y.js +0 -252
- /package/dist/chunks/{persistent-pty-0mesazry.js → provider-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → provider-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → provider-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jexxy024.js → provider-jexxy024.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-21981gj5.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service53,
|
|
17
|
+
node57
|
|
18
|
+
} from "./provider-mp0zvkr9.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event7,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info17,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service42,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node45
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info17 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service42 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service53;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info17.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info17.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service42.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node45 = makeLocationNode({
|
|
116
|
+
service: Service42,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node57]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info17, Service42, node45, exports_reference2, Event7 };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-21981gj5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event12,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
|
+
Service: () => Service55,
|
|
31
|
+
configured: () => configured9,
|
|
32
|
+
layer: () => layer19,
|
|
33
|
+
node: () => node59
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event12 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service55 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer19 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer25 = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer25 = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service55.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer25 = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured9(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service55,
|
|
110
|
+
layer: layer19(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node59 = configured9();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event12, Options9, Service55, layer19, configured9, node59, exports_instruction_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-cx0f5p4g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-21981gj5.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-dg2cj1yd.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-qaqqfk1g.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-k53npxr2.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./provider-ax84d1xf.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./provider-wx7bb5kt.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./provider-wntb1c0g.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./provider-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./provider-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./provider-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service9,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node11,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer6 = Layer.effect(
|
|
301
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service9.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node11 = makeLocationNode({
|
|
619
|
+
service: Service9,
|
|
620
620
|
layer: layer6,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node11, exports_compaction3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-21981gj5.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
ID14,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node81,
|
|
13
|
+
Event18
|
|
14
|
+
} from "./provider-nd8t3rxx.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./provider-qm204dz4.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-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: () =>
|
|
40
|
+
Event: () => Event17,
|
|
41
41
|
ID: () => ID13,
|
|
42
42
|
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service76,
|
|
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: () => node80,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,7 +64,7 @@ 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
|
|
67
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
68
|
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -212,7 +212,7 @@ var Transport2 = Provider.Transport;
|
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
213
|
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ 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(Service76, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service77;
|
|
231
|
+
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service75, 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 Service76.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(Service75, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, 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: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node77
|
|
10
|
+
} from "./provider-ykkx6rx5.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-jexxy024.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service60,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node63,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service60 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service73;
|
|
77
|
+
return Service60.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node63 = makeLocationNode({ service: Service60, layer, deps: [node77] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, resolved2, node63, exports_model };
|