@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-21981gj5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./provider-z9rwy7fx.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-zs9c6f6y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,7 +31,7 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
34
|
+
Event: () => Event18,
|
|
35
35
|
ID: () => ID14,
|
|
36
36
|
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
@@ -40,8 +40,8 @@ __export(exports_integration, {
|
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
|
+
node: () => node81
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
65
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
66
|
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -100,13 +100,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service78;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service77.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key4.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node81 = makeLocationNode({
|
|
584
|
+
service: Service77,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node82, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3,
|
|
589
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service37,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node40
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service37 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service37.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node40 = makeLocationNode({
|
|
143
|
+
service: Service37,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service37, node40, exports_tool_output2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./provider-z1x1gfhs.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./provider-qm204dz4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./provider-esj47bpe.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-zjnvhswx.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./provider-qg0jgkcp.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-t6rqekt4.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin36
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin36 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service39;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service40;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin17 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin36, exports_skill3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./provider-qm204dz4.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service52,
|
|
17
|
+
node: () => node56
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service52 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service80;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service52.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node56 = makeLocationNode({
|
|
91
|
+
service: Service52,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node84, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service52, node56, exports_formatter3 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./provider-qm204dz4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service14,
|
|
12
|
+
node16
|
|
13
|
+
} from "./provider-2jhntd1c.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service13,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node15
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
|
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service13 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service80;
|
|
95
|
+
const search = yield* Service14;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service13.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node15 = makeLocationNode({
|
|
144
|
+
service: Service13,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, node16]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node15, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./provider-pe68j9z1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service50;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-cx0f5p4g.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-21981gj5.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update2
|
|
18
|
+
} from "./provider-vtxr0yy2.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./provider-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./provider-wd3x2cqz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-z07pqspn.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-48e6h404.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./provider-mvksx64m.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./provider-nxhte90z.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./provider-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./provider-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node28
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -246,7 +246,7 @@ function run(db, event) {
|
|
|
246
246
|
updateCompaction: updateMessage,
|
|
247
247
|
appendMessage
|
|
248
248
|
};
|
|
249
|
-
yield*
|
|
249
|
+
yield* update2(adapter, event);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
function insertMessage(db, event, message) {
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node28 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node28, exports_projector };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-cx0f5p4g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service26 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make20({
|
|
65
|
+
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service26.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var node29 = makeLocationNode({ service:
|
|
113
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node29, exports_instruction_entry };
|