@opencode/core 0.0.0-dev-20077 → 0.0.0-dev-20079
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{persistent-pty-n4r3xatb.js → location-lifecycle-06x8he3q.js} +4 -4
- package/dist/chunks/{persistent-pty-jexxy024.js → location-lifecycle-08rawchj.js} +3 -3
- package/dist/chunks/{persistent-pty-tg4v6ybm.js → location-lifecycle-09ww3nkz.js} +11 -11
- package/dist/chunks/{persistent-pty-pf2hb43r.js → location-lifecycle-0gaj4617.js} +6 -6
- package/dist/chunks/{persistent-pty-h18k85sj.js → location-lifecycle-0httgp45.js} +44 -44
- package/dist/chunks/{persistent-pty-2pbd4axt.js → location-lifecycle-0my6m5t2.js} +77 -77
- package/dist/chunks/{persistent-pty-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-x2659m4s.js → location-lifecycle-0pfhfkh4.js} +15 -15
- package/dist/chunks/{persistent-pty-fqdw0qb0.js → location-lifecycle-0q40c6p6.js} +20 -20
- package/dist/chunks/{persistent-pty-w0ekr5w4.js → location-lifecycle-0z3tr3b5.js} +4 -4
- package/dist/chunks/{persistent-pty-htcezajs.js → location-lifecycle-12y94dz0.js} +11 -11
- package/dist/chunks/{persistent-pty-5n6xt7h3.js → location-lifecycle-15hj9zcg.js} +7 -7
- package/dist/chunks/{persistent-pty-dg2cj1yd.js → location-lifecycle-18s9r5gn.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-g4de2dpr.js → location-lifecycle-1efpx20h.js} +16 -16
- package/dist/chunks/{persistent-pty-131medm0.js → location-lifecycle-1gnq4k7b.js} +25 -25
- package/dist/chunks/{persistent-pty-qsky8txg.js → location-lifecycle-1hb2dmf7.js} +40 -40
- package/dist/chunks/{persistent-pty-tjhtcc6s.js → location-lifecycle-1hn05gyd.js} +12 -12
- package/dist/chunks/{persistent-pty-msks4rpe.js → location-lifecycle-1pwc4c2w.js} +7 -7
- package/dist/chunks/{persistent-pty-b1h1c68h.js → location-lifecycle-1y1z8jnb.js} +11 -11
- package/dist/chunks/{persistent-pty-nms3vxe4.js → location-lifecycle-1y354hzw.js} +21 -21
- package/dist/chunks/{persistent-pty-kfh0cw1f.js → location-lifecycle-1z08k0r1.js} +8 -8
- package/dist/chunks/{persistent-pty-em8t1d4b.js → location-lifecycle-1zcq3fa7.js} +32 -32
- package/dist/chunks/{persistent-pty-4hcxqz1j.js → location-lifecycle-1zsrxcp1.js} +8 -8
- package/dist/chunks/{persistent-pty-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-ehdcnawv.js → location-lifecycle-21t6fa69.js} +15 -15
- package/dist/chunks/{persistent-pty-2402vzrj.js → location-lifecycle-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-jdd6ya46.js → location-lifecycle-24sw7gsr.js} +12 -12
- package/dist/chunks/{persistent-pty-z63w68vq.js → location-lifecycle-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-qhexs5yx.js → location-lifecycle-2tba787a.js} +13 -13
- package/dist/chunks/{persistent-pty-b09qp47b.js → location-lifecycle-2w9khnp1.js} +13 -13
- package/dist/chunks/{persistent-pty-jv7ffsz1.js → location-lifecycle-306r0xtt.js} +18 -18
- package/dist/chunks/{persistent-pty-k2mdnn2s.js → location-lifecycle-332s0etf.js} +11 -11
- package/dist/chunks/{persistent-pty-56gdpj1q.js → location-lifecycle-33w4ejhs.js} +6 -6
- package/dist/chunks/{persistent-pty-bhscgnbe.js → location-lifecycle-350m4c2t.js} +19 -19
- package/dist/chunks/{persistent-pty-t7vxnrsg.js → location-lifecycle-372gw5e0.js} +12 -12
- package/dist/chunks/{persistent-pty-an4t2was.js → location-lifecycle-37vsdqvp.js} +24 -24
- package/dist/chunks/{persistent-pty-8xqgb62y.js → location-lifecycle-38162gw5.js} +13 -13
- package/dist/chunks/{persistent-pty-se3n0aez.js → location-lifecycle-3aqrkape.js} +34 -34
- package/dist/chunks/{persistent-pty-zd30eb5w.js → location-lifecycle-3bc8czyk.js} +5 -5
- package/dist/chunks/{persistent-pty-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-ycjb11n5.js → location-lifecycle-3ppptnan.js} +6 -6
- package/dist/chunks/{persistent-pty-a6mwbtq0.js → location-lifecycle-3r61ngk9.js} +16 -16
- package/dist/chunks/{persistent-pty-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-w7trrfxg.js → location-lifecycle-45zdvm0r.js} +4 -4
- package/dist/chunks/{persistent-pty-jwkmn8w3.js → location-lifecycle-48bssgwe.js} +11 -11
- package/dist/chunks/{persistent-pty-e1a8gcn8.js → location-lifecycle-4gm3tq08.js} +14 -14
- package/dist/chunks/location-lifecycle-4v7qdvcn.js +18 -0
- package/dist/chunks/{persistent-pty-1xntmtej.js → location-lifecycle-4xm8kk2n.js} +20 -20
- package/dist/chunks/{persistent-pty-9r70zj9f.js → location-lifecycle-4y5qxd6p.js} +3 -3
- package/dist/chunks/{persistent-pty-agwz5jq8.js → location-lifecycle-531map3w.js} +67 -67
- package/dist/chunks/{persistent-pty-sd9ps8hc.js → location-lifecycle-56mhcpbk.js} +26 -26
- package/dist/chunks/{persistent-pty-0ke265bw.js → location-lifecycle-57ez7d0k.js} +5 -5
- package/dist/chunks/{persistent-pty-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-dfzjqex4.js → location-lifecycle-5e15319b.js} +5 -5
- package/dist/chunks/{persistent-pty-5ekn9679.js → location-lifecycle-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-svvemcs6.js → location-lifecycle-5jhvhkxb.js} +6 -6
- package/dist/chunks/{persistent-pty-7p0ydzsf.js → location-lifecycle-5nc5w3be.js} +9 -9
- package/dist/chunks/{persistent-pty-8cw38amn.js → location-lifecycle-5paxxmhy.js} +10 -10
- package/dist/chunks/{persistent-pty-sw03m82y.js → location-lifecycle-5syd9exq.js} +33 -33
- package/dist/chunks/{persistent-pty-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-fqcgpcra.js → location-lifecycle-6fatt4mk.js} +9 -9
- package/dist/chunks/{persistent-pty-4697qq0h.js → location-lifecycle-6jxte08d.js} +2 -2
- package/dist/chunks/{persistent-pty-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-py3kkmfq.js → location-lifecycle-6pc27hjz.js} +6 -6
- package/dist/chunks/{persistent-pty-7dz95w49.js → location-lifecycle-6phrjhr6.js} +11 -11
- package/dist/chunks/{persistent-pty-8qf8qbfj.js → location-lifecycle-6xcwnmh5.js} +8 -8
- package/dist/chunks/{persistent-pty-aj1cmtrn.js → location-lifecycle-6z9mwsmt.js} +24 -24
- package/dist/chunks/{persistent-pty-v7w3wckr.js → location-lifecycle-71k1amkv.js} +27 -27
- package/dist/chunks/{persistent-pty-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-2k8khapm.js → location-lifecycle-7dqw4kz8.js} +5 -5
- package/dist/chunks/{persistent-pty-fdjyeynq.js → location-lifecycle-7gcp8pkf.js} +6 -6
- package/dist/chunks/{persistent-pty-kv0rj397.js → location-lifecycle-7k4trpze.js} +19 -19
- package/dist/chunks/{persistent-pty-b2m85fba.js → location-lifecycle-7zgec7h4.js} +11 -11
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-tp9rhsw7.js → location-lifecycle-8tyewwk1.js} +33 -33
- package/dist/chunks/{persistent-pty-rbhtsr62.js → location-lifecycle-8x37xyr8.js} +8 -8
- package/dist/chunks/{persistent-pty-3n9k99kr.js → location-lifecycle-92e055yb.js} +13 -13
- package/dist/chunks/{persistent-pty-a5vb42nz.js → location-lifecycle-93eat1mg.js} +33 -33
- package/dist/chunks/{persistent-pty-gfvb90ym.js → location-lifecycle-94ek1h2f.js} +2 -2
- package/dist/chunks/{persistent-pty-a4r3ry0g.js → location-lifecycle-99bg3790.js} +14 -14
- package/dist/chunks/{persistent-pty-9cyfspf3.js → location-lifecycle-9cyfspf3.js} +2 -2
- package/dist/chunks/{persistent-pty-dydfzrfg.js → location-lifecycle-9ep9adm8.js} +3 -3
- package/dist/chunks/{persistent-pty-7npttpkb.js → location-lifecycle-9m67a2xh.js} +26 -26
- package/dist/chunks/{persistent-pty-s13hgdhw.js → location-lifecycle-9mjazamh.js} +5 -5
- package/dist/chunks/{persistent-pty-thfsr13d.js → location-lifecycle-9ry0r7nj.js} +20 -20
- package/dist/chunks/{persistent-pty-zrk49733.js → location-lifecycle-9tpqnd1t.js} +1 -1
- package/dist/chunks/{persistent-pty-ymfjs49y.js → location-lifecycle-9wc7tdkr.js} +20 -20
- package/dist/chunks/{persistent-pty-hcha2833.js → location-lifecycle-a0nn69n9.js} +11 -11
- package/dist/chunks/{persistent-pty-6kj2kzkg.js → location-lifecycle-a2a6ph37.js} +13 -13
- package/dist/chunks/{persistent-pty-jfqtm2ew.js → location-lifecycle-a2ew8a62.js} +4 -4
- package/dist/chunks/{persistent-pty-jbnt79dx.js → location-lifecycle-a6rtn05v.js} +19 -19
- package/dist/chunks/{persistent-pty-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-e8p1kpnk.js → location-lifecycle-ackbfy2k.js} +5 -5
- package/dist/chunks/{persistent-pty-ecnmd6j5.js → location-lifecycle-af06prj0.js} +25 -25
- package/dist/chunks/{persistent-pty-2f0bjgcj.js → location-lifecycle-ag9w8cw1.js} +5 -5
- package/dist/chunks/{persistent-pty-m2eqy9a3.js → location-lifecycle-ah1gfr63.js} +8 -8
- package/dist/chunks/{persistent-pty-1tbcb674.js → location-lifecycle-ak22egzq.js} +9 -9
- package/dist/chunks/{persistent-pty-q0x8zzpj.js → location-lifecycle-an22treg.js} +14 -14
- package/dist/chunks/{persistent-pty-xwmca76c.js → location-lifecycle-ax5pekk8.js} +1 -1
- package/dist/chunks/{persistent-pty-zjstjz92.js → location-lifecycle-b5zdkcxk.js} +11 -11
- package/dist/chunks/{persistent-pty-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-0q07yjwe.js → location-lifecycle-b7xn4ebh.js} +17 -17
- package/dist/chunks/{persistent-pty-h0yyr0gy.js → location-lifecycle-bpcnfm2r.js} +8 -8
- package/dist/chunks/{persistent-pty-d7hggpe0.js → location-lifecycle-bqyb16m0.js} +16 -16
- package/dist/chunks/{persistent-pty-4bbdhcnf.js → location-lifecycle-bv91g476.js} +43 -43
- package/dist/chunks/{persistent-pty-8pv6180c.js → location-lifecycle-bya39qz1.js} +7 -7
- package/dist/chunks/{persistent-pty-4r3r3wqp.js → location-lifecycle-c1ctkbd0.js} +1 -1
- package/dist/chunks/{persistent-pty-0ar9x5a3.js → location-lifecycle-c42w4v4x.js} +31 -31
- package/dist/chunks/{persistent-pty-mtzk9mcs.js → location-lifecycle-cam1ayvb.js} +11 -11
- package/dist/chunks/{persistent-pty-t8xra3xv.js → location-lifecycle-cd9s2exm.js} +10 -10
- package/dist/chunks/{persistent-pty-54tcyq79.js → location-lifecycle-ckecvw8r.js} +2 -2
- package/dist/chunks/{persistent-pty-k7k6eexb.js → location-lifecycle-cmzswfdp.js} +28 -28
- package/dist/chunks/{persistent-pty-fmhgq1sm.js → location-lifecycle-cr14m58m.js} +28 -28
- package/dist/chunks/{persistent-pty-j6dx4cjd.js → location-lifecycle-crn2xksg.js} +1 -1
- package/dist/chunks/{persistent-pty-d4he2qe1.js → location-lifecycle-cwa6csj7.js} +9 -9
- package/dist/chunks/{persistent-pty-0r7yqxbf.js → location-lifecycle-d1khqved.js} +5 -5
- package/dist/chunks/{persistent-pty-w3wzfs1e.js → location-lifecycle-d8mt368w.js} +22 -22
- package/dist/chunks/{persistent-pty-k53npxr2.js → location-lifecycle-dagkn99r.js} +1 -1
- package/dist/chunks/{persistent-pty-kkp8zx71.js → location-lifecycle-dbb8vp5z.js} +4 -4
- package/dist/chunks/{persistent-pty-jgaqdvsy.js → location-lifecycle-dcvbrmh9.js} +19 -19
- package/dist/chunks/{persistent-pty-kwhxm0rt.js → location-lifecycle-drtbjaez.js} +82 -82
- package/dist/chunks/{persistent-pty-xfkkasph.js → location-lifecycle-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-p42hj8p8.js → location-lifecycle-dv1qgsyq.js} +8 -8
- package/dist/chunks/{persistent-pty-y8vstp7v.js → location-lifecycle-dx1am6a9.js} +1 -1
- package/dist/chunks/{persistent-pty-2vk85jev.js → location-lifecycle-dyjhz6jk.js} +8 -8
- package/dist/chunks/{persistent-pty-09pa4m3v.js → location-lifecycle-e0rwsjxg.js} +33 -33
- package/dist/chunks/{persistent-pty-bx27tg5g.js → location-lifecycle-e160f7zq.js} +13 -13
- package/dist/chunks/{persistent-pty-gy4yc5qs.js → location-lifecycle-e3fdxhn1.js} +13 -13
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → location-lifecycle-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-8nqnatqw.js → location-lifecycle-e3t1k4fp.js} +111 -111
- package/dist/chunks/{persistent-pty-xy3zq42w.js → location-lifecycle-ebxse63s.js} +15 -15
- package/dist/chunks/{persistent-pty-bhv2qxb3.js → location-lifecycle-ecqqbvyr.js} +9 -9
- package/dist/chunks/{persistent-pty-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-xc9wkb25.js → location-lifecycle-ehq2dyc1.js} +17 -17
- package/dist/chunks/{persistent-pty-xs53z2pm.js → location-lifecycle-em3h5ktn.js} +4 -4
- package/dist/chunks/{persistent-pty-0g3je6g8.js → location-lifecycle-eqhwn6nh.js} +24 -24
- package/dist/chunks/{persistent-pty-9sfevq5x.js → location-lifecycle-eqnkvkjj.js} +13 -13
- package/dist/chunks/{persistent-pty-hq1v3zy8.js → location-lifecycle-er667zkn.js} +4 -4
- package/dist/chunks/{persistent-pty-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-bzd9xh3w.js → location-lifecycle-evjk3azk.js} +9 -9
- package/dist/chunks/{persistent-pty-p7zyvqxs.js → location-lifecycle-f1afsy8x.js} +3 -3
- package/dist/chunks/{persistent-pty-rhraev7y.js → location-lifecycle-f2n192rq.js} +4 -4
- package/dist/chunks/{persistent-pty-ybhbtxjg.js → location-lifecycle-f38mbwqt.js} +7 -7
- package/dist/chunks/{persistent-pty-a3r4dcrj.js → location-lifecycle-f38wsw69.js} +2 -2
- package/dist/chunks/{persistent-pty-pv3n2ae1.js → location-lifecycle-fbhyvh8e.js} +18 -18
- package/dist/chunks/{persistent-pty-eyaegrqq.js → location-lifecycle-frz8dvr7.js} +4 -4
- package/dist/chunks/{persistent-pty-7ndvrzgb.js → location-lifecycle-fzdjqjqe.js} +17 -17
- package/dist/chunks/{persistent-pty-5mhrsa16.js → location-lifecycle-g4exfbqr.js} +4 -4
- package/dist/chunks/{persistent-pty-qe4kd680.js → location-lifecycle-ga400k24.js} +12 -12
- package/dist/chunks/{persistent-pty-krxy378t.js → location-lifecycle-gd0x7v4t.js} +4 -4
- package/dist/chunks/{persistent-pty-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-gwrhg37m.js → location-lifecycle-gkq5dawr.js} +23 -23
- package/dist/chunks/{persistent-pty-jtefkk5f.js → location-lifecycle-gr6sb7t2.js} +20 -20
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-xga9dy9m.js → location-lifecycle-gwyzdwgr.js} +18 -18
- package/dist/chunks/{persistent-pty-50t6b855.js → location-lifecycle-h04fec9s.js} +3 -3
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → location-lifecycle-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-g7gngde7.js → location-lifecycle-ha1n41tc.js} +8 -8
- package/dist/chunks/{persistent-pty-bxf6ahcf.js → location-lifecycle-hb8hngfc.js} +14 -14
- package/dist/chunks/{persistent-pty-2ap5w51g.js → location-lifecycle-hgsf16v0.js} +39 -39
- package/dist/chunks/{persistent-pty-2hzw9kex.js → location-lifecycle-hw583fet.js} +20 -20
- package/dist/chunks/{persistent-pty-k8aese3t.js → location-lifecycle-hz0q9sdq.js} +8 -8
- package/dist/chunks/{persistent-pty-mcnp5paj.js → location-lifecycle-j0hvv6pf.js} +22 -22
- package/dist/chunks/{persistent-pty-1jap1q27.js → location-lifecycle-j41zh890.js} +18 -18
- package/dist/chunks/{persistent-pty-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-q7hsqcry.js → location-lifecycle-jaay1cxn.js} +14 -14
- package/dist/chunks/{persistent-pty-4mgmwwhc.js → location-lifecycle-je42r6cz.js} +22 -22
- package/dist/chunks/{persistent-pty-gbpvysbe.js → location-lifecycle-jrh1janw.js} +14 -14
- package/dist/chunks/{persistent-pty-k3c624dm.js → location-lifecycle-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-7x9j1zsm.js → location-lifecycle-k6fxasg6.js} +7 -7
- package/dist/chunks/{persistent-pty-5p0mp6ge.js → location-lifecycle-k9kced9z.js} +1 -1
- package/dist/chunks/{persistent-pty-gc5brfvv.js → location-lifecycle-ka5skxx4.js} +32 -32
- package/dist/chunks/location-lifecycle-kkn4g2ed.js +507 -0
- package/dist/chunks/{persistent-pty-8vm1nfxe.js → location-lifecycle-kp06gxjd.js} +41 -41
- package/dist/chunks/{persistent-pty-mtg6ts2t.js → location-lifecycle-kv1wsvct.js} +48 -48
- package/dist/chunks/{persistent-pty-8s07ccs3.js → location-lifecycle-kwcx68me.js} +34 -34
- package/dist/chunks/{persistent-pty-g2dc85z0.js → location-lifecycle-kx8hngxs.js} +6 -6
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → location-lifecycle-m2d0j7c0.js} +2 -2
- package/dist/chunks/{persistent-pty-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-2gbcq7ge.js → location-lifecycle-mg9my19h.js} +20 -20
- package/dist/chunks/{persistent-pty-sv56s9vz.js → location-lifecycle-mhjfzxr8.js} +4 -4
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → location-lifecycle-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-nwsnnm7q.js → location-lifecycle-mjqqjndj.js} +15 -15
- package/dist/chunks/{persistent-pty-4mpw8txs.js → location-lifecycle-mrsgn7my.js} +5 -5
- package/dist/chunks/{persistent-pty-q7azfttr.js → location-lifecycle-mvksx64m.js} +4 -4
- package/dist/chunks/{persistent-pty-79sb0qv2.js → location-lifecycle-nb8z3sb6.js} +11 -11
- package/dist/chunks/{persistent-pty-83tqnnyb.js → location-lifecycle-nbwd0k52.js} +14 -14
- package/dist/chunks/{persistent-pty-ndqtf2h8.js → location-lifecycle-nca7p386.js} +6 -6
- package/dist/chunks/location-lifecycle-ndes8vtz.js +26 -0
- package/dist/chunks/{persistent-pty-c15wgtb8.js → location-lifecycle-nmnv9rqk.js} +23 -23
- package/dist/chunks/{persistent-pty-qt6mstr8.js → location-lifecycle-np185wnj.js} +9 -9
- package/dist/chunks/{persistent-pty-k0h4vbz7.js → location-lifecycle-nt2h4hjy.js} +30 -30
- package/dist/chunks/{persistent-pty-sh3cnwks.js → location-lifecycle-nx2q6m6a.js} +12 -12
- package/dist/chunks/{persistent-pty-9qp60kxg.js → location-lifecycle-p0s3dwrr.js} +21 -21
- package/dist/chunks/{persistent-pty-y7kpdk7a.js → location-lifecycle-p1x0rczn.js} +20 -20
- package/dist/chunks/{persistent-pty-jh8z11nh.js → location-lifecycle-pg8ttqrz.js} +40 -40
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-px6v4n28.js → location-lifecycle-pxnzp80q.js} +4 -4
- package/dist/chunks/{persistent-pty-5yae57x6.js → location-lifecycle-q03mkthp.js} +27 -27
- package/dist/chunks/{persistent-pty-0rxys545.js → location-lifecycle-q4g1c5bp.js} +2 -2
- package/dist/chunks/{persistent-pty-a2q4hhkc.js → location-lifecycle-qarqz51c.js} +15 -15
- package/dist/chunks/{persistent-pty-0xezjjjn.js → location-lifecycle-qby9dwvd.js} +8 -8
- package/dist/chunks/{persistent-pty-95ntde08.js → location-lifecycle-qdt77h2n.js} +14 -14
- package/dist/chunks/{persistent-pty-5w50106y.js → location-lifecycle-qk40f6qf.js} +20 -20
- package/dist/chunks/{persistent-pty-dfe8djrf.js → location-lifecycle-qq11w61w.js} +4 -4
- package/dist/chunks/{persistent-pty-9wnraymz.js → location-lifecycle-qs1cbs9d.js} +13 -13
- package/dist/chunks/{persistent-pty-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-h9p2zxhd.js → location-lifecycle-qsg4qf1b.js} +25 -25
- package/dist/chunks/{persistent-pty-e4jg4zfm.js → location-lifecycle-r8pe3876.js} +15 -15
- package/dist/chunks/{persistent-pty-teryqt5v.js → location-lifecycle-rcgrsjm5.js} +3 -3
- package/dist/chunks/{persistent-pty-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-eaj1djv9.js → location-lifecycle-rhjbct0v.js} +8 -8
- package/dist/chunks/{persistent-pty-5b9pa3q7.js → location-lifecycle-rj5nneh7.js} +8 -8
- package/dist/chunks/{persistent-pty-33nwj033.js → location-lifecycle-rm0ybym0.js} +43 -43
- package/dist/chunks/{persistent-pty-jx35jf7z.js → location-lifecycle-rvwa2653.js} +30 -30
- package/dist/chunks/{persistent-pty-00x4qneg.js → location-lifecycle-rzs3gq0x.js} +8 -8
- package/dist/chunks/{persistent-pty-bjn91642.js → location-lifecycle-s0hza5ac.js} +4 -4
- package/dist/chunks/{persistent-pty-yrznvahk.js → location-lifecycle-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-0j8mf7cg.js → location-lifecycle-s5jqsqh4.js} +3 -3
- package/dist/chunks/{persistent-pty-magykp64.js → location-lifecycle-s8j6jbjj.js} +21 -21
- package/dist/chunks/{persistent-pty-was7srj9.js → location-lifecycle-s942n1t7.js} +8 -8
- package/dist/chunks/{persistent-pty-qpf5xtm9.js → location-lifecycle-sad129aw.js} +6 -6
- package/dist/chunks/{persistent-pty-aakph5ea.js → location-lifecycle-sb3nsf3d.js} +9 -9
- package/dist/chunks/{persistent-pty-0sz7h9zd.js → location-lifecycle-sygkwpza.js} +14 -14
- package/dist/chunks/{persistent-pty-n7rbchxd.js → location-lifecycle-t6rsh1v1.js} +30 -30
- package/dist/chunks/{persistent-pty-bc7x5p7s.js → location-lifecycle-t80y27b5.js} +5 -5
- package/dist/chunks/{persistent-pty-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-0qmb29gv.js → location-lifecycle-te4zy289.js} +36 -36
- package/dist/chunks/{persistent-pty-mg5rbkhq.js → location-lifecycle-tfkjwah6.js} +2 -2
- package/dist/chunks/{persistent-pty-9fy1pcrd.js → location-lifecycle-ths5nwb1.js} +12 -12
- package/dist/chunks/{persistent-pty-smyzvreh.js → location-lifecycle-trzcm3tj.js} +18 -18
- package/dist/chunks/{persistent-pty-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-59z0gf60.js → location-lifecycle-tyq5db9e.js} +16 -16
- package/dist/chunks/{persistent-pty-8x24e6zw.js → location-lifecycle-v04nak97.js} +6 -6
- package/dist/chunks/{persistent-pty-jc8m90n4.js → location-lifecycle-v11xek3k.js} +25 -25
- package/dist/chunks/{persistent-pty-dz39j9yq.js → location-lifecycle-v1g2mdy6.js} +23 -23
- package/dist/chunks/{persistent-pty-vrgxsb1e.js → location-lifecycle-v5d989bc.js} +11 -11
- package/dist/chunks/{persistent-pty-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-2xkrv8r8.js → location-lifecycle-vkbv809h.js} +51 -51
- package/dist/chunks/{persistent-pty-m030b1ec.js → location-lifecycle-vnfc2q6g.js} +27 -27
- package/dist/chunks/{persistent-pty-69c49fy8.js → location-lifecycle-vpwfjnrg.js} +24 -24
- package/dist/chunks/{persistent-pty-h75wmkrs.js → location-lifecycle-vv97ra8n.js} +11 -11
- package/dist/chunks/location-lifecycle-vyykgm21.js +252 -0
- package/dist/chunks/{persistent-pty-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-nppa2k1t.js → location-lifecycle-w1ahv8v5.js} +11 -11
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-g9se4cjc.js → location-lifecycle-w73bfpmg.js} +33 -33
- package/dist/chunks/{persistent-pty-psazpmmj.js → location-lifecycle-wd3x2cqz.js} +2 -2
- package/dist/chunks/{persistent-pty-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-jqnmytps.js → location-lifecycle-wg5yspwt.js} +16 -16
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-1nwp9f3z.js → location-lifecycle-xvbd2t9n.js} +41 -41
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-978gy482.js → location-lifecycle-y2e1z292.js} +11 -11
- package/dist/chunks/{persistent-pty-74rrnwt7.js → location-lifecycle-y5df08dr.js} +5 -5
- package/dist/chunks/{persistent-pty-dpkg50ah.js → location-lifecycle-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-0j290fjy.js → location-lifecycle-ybqc9gtf.js} +2 -2
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-ead3g9p8.js → location-lifecycle-yt0fqk68.js} +5 -5
- package/dist/chunks/{persistent-pty-bjtzbw4r.js → location-lifecycle-z07pqspn.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-wbt9zsn3.js → location-lifecycle-z3nay82g.js} +9 -9
- package/dist/chunks/{persistent-pty-zqfjm1r3.js → location-lifecycle-z3vw9vry.js} +9 -9
- package/dist/chunks/{persistent-pty-9ppvxvx2.js → location-lifecycle-z9kjrvxh.js} +9 -9
- package/dist/chunks/{persistent-pty-qdyeg9tz.js → location-lifecycle-zbh9kwq1.js} +24 -24
- package/dist/chunks/{persistent-pty-1zsz5cte.js → location-lifecycle-zcsvy2cz.js} +12 -12
- package/dist/chunks/{persistent-pty-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-3h2x9zep.js → location-lifecycle-zfkp2819.js} +1 -1
- package/dist/chunks/{persistent-pty-3jgsjshs.js → location-lifecycle-zn78egd2.js} +28 -28
- package/dist/chunks/{persistent-pty-sqgptjkv.js → location-lifecycle-zpzacb1g.js} +9 -9
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-fevnpa4j.js → location-lifecycle-zypmjmgb.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +125 -125
- 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 +77 -77
- package/dist/database/database.js +70 -70
- 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 +79 -79
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +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 +78 -78
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +133 -133
- 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 +81 -81
- 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 +128 -128
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +92 -92
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +5 -5
- 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 +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +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 +80 -80
- package/dist/provider.js +91 -91
- 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 +130 -130
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +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 +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- 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 +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- 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 +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +106 -106
- 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 +125 -125
- package/dist/tool/plugin/edit.js +116 -116
- 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 +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +79 -79
- package/dist/workspace/driver.js +3 -3
- 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 → location-lifecycle-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-s8j6jbjj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./location-lifecycle-1y1z8jnb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info22
|
|
12
|
+
} from "./location-lifecycle-ag9w8cw1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info18
|
|
15
|
+
} from "./location-lifecycle-a2ew8a62.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info17
|
|
18
|
+
} from "./location-lifecycle-yt0fqk68.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-lifecycle-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info23
|
|
24
|
+
} from "./location-lifecycle-d1khqved.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info16
|
|
27
|
+
} from "./location-lifecycle-rm0ybym0.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-lifecycle-pxnzp80q.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info22, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info23, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service62,
|
|
3
|
+
node65,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-evjk3azk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service40,
|
|
8
|
+
node42
|
|
9
|
+
} from "./location-lifecycle-3ppptnan.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./location-lifecycle-71k1amkv.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-vyykgm21.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service62, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service60);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node42.replace(Layer.succeed(Service40, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node65.replace(Layer.succeed(Service62, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-tfkjwah6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./location-lifecycle-350m4c2t.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./location-lifecycle-w1ahv8v5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service19,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-qs1cbs9d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./location-lifecycle-0httgp45.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service59,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-lifecycle-0pfhfkh4.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin3,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin3 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service52;
|
|
112
|
+
const access = yield* Service59;
|
|
113
|
+
const fileMutation = yield* Service19;
|
|
114
|
+
const formatter = yield* Service15;
|
|
115
115
|
const location = yield* Service79;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service63;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin8 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output3, toModelContent3, Plugin3, exports_patch };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin25,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin25 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin25, exports_tool_input_repair };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
node: () => node42
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service40 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service40, node42, exports_service2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-lifecycle-48bssgwe.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node86,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service82,
|
|
84
|
+
deps: [node87],
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service83;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node86 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
Service75
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-qarqz51c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-lifecycle-1hb2dmf7.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
12
|
const providers = yield* Service75;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service70);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-v04nak97.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-4y5qxd6p.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node87
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service83 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service83,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node87 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-lifecycle-3r61ngk9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-tfkjwah6.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./location-lifecycle-te4zy289.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin31 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service79;
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
200
|
+
const mcp = yield* Service31;
|
|
201
|
+
const bus = yield* Service82;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin31, exports_command };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service29,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service29 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service29.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service29, awaitActivation2, exports_service };
|