@opencode/core 0.0.0-dev-176 → 0.0.0-dev-187
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 +88 -87
- package/dist/aisdk-native.js +98 -97
- package/dist/aisdk.js +104 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -75
- package/dist/chunks/{persistent-pty-034tev2y.js → credential-034tev2y.js} +2 -2
- package/dist/chunks/{persistent-pty-kb8fswp1.js → credential-070kztyy.js} +2 -2
- package/dist/chunks/{persistent-pty-wgn86zaw.js → credential-0e3a0p0e.js} +22 -22
- package/dist/chunks/{persistent-pty-h0n6thsx.js → credential-0f3jx7vk.js} +2 -2
- package/dist/chunks/{persistent-pty-qb24xxd1.js → credential-0j385cpp.js} +2 -2
- package/dist/chunks/credential-0r9z73ty.js +257 -0
- package/dist/chunks/{persistent-pty-s1a2cwn2.js → credential-0xp5gcxg.js} +10 -10
- package/dist/chunks/{persistent-pty-r8v4vvzq.js → credential-13mkws8m.js} +6 -6
- package/dist/chunks/{persistent-pty-r8rdcxeh.js → credential-14b1eg4m.js} +24 -18
- package/dist/chunks/{persistent-pty-bn32yz83.js → credential-1agjqqwc.js} +33 -33
- package/dist/chunks/{persistent-pty-sa8kccs0.js → credential-1b47wdbk.js} +19 -19
- package/dist/chunks/{persistent-pty-1ep2p91f.js → credential-1ep2p91f.js} +2 -2
- package/dist/chunks/{persistent-pty-ygqxcxbg.js → credential-1jd0kfa3.js} +4 -4
- package/dist/chunks/{persistent-pty-xt0z8zst.js → credential-1kn6jdkn.js} +4 -4
- package/dist/chunks/{persistent-pty-519tq28h.js → credential-1r71ewmy.js} +17 -17
- package/dist/chunks/{persistent-pty-1x2knyw4.js → credential-1x2knyw4.js} +1 -1
- package/dist/chunks/{persistent-pty-204s3925.js → credential-204s3925.js} +1 -1
- package/dist/chunks/{persistent-pty-zf9grm2a.js → credential-205jx585.js} +34 -34
- package/dist/chunks/{persistent-pty-x25jfgjr.js → credential-24fnnd1e.js} +25 -25
- package/dist/chunks/{persistent-pty-pa997763.js → credential-25rbfdac.js} +3 -3
- package/dist/chunks/{persistent-pty-0w2jttgf.js → credential-27bs79w9.js} +2 -2
- package/dist/chunks/{persistent-pty-c34ang25.js → credential-27ttap9b.js} +21 -21
- package/dist/chunks/{persistent-pty-vcvnp0q3.js → credential-2k05yhhs.js} +4 -4
- package/dist/chunks/{persistent-pty-xc897g4n.js → credential-2r17yksc.js} +11 -11
- package/dist/chunks/{persistent-pty-53bv7djz.js → credential-389agmea.js} +6 -6
- package/dist/chunks/{persistent-pty-50fdsjg8.js → credential-3ez6nx9b.js} +12 -12
- package/dist/chunks/{persistent-pty-wa71be01.js → credential-3g0vgwnf.js} +43 -43
- package/dist/chunks/{persistent-pty-g7fyn0m6.js → credential-3ge1gmtq.js} +3 -3
- package/dist/chunks/{persistent-pty-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-72amzxyx.js → credential-3kkx4n85.js} +3 -3
- package/dist/chunks/{persistent-pty-3nnrz6f6.js → credential-3nnrz6f6.js} +1 -1
- package/dist/chunks/{persistent-pty-scntyf0x.js → credential-3stf93zb.js} +7 -7
- package/dist/chunks/{persistent-pty-z8hdzhhq.js → credential-3tfc273a.js} +10 -10
- package/dist/chunks/{persistent-pty-cn77934z.js → credential-44j71sge.js} +11 -11
- package/dist/chunks/{persistent-pty-1jsvn0r5.js → credential-4ar31nmd.js} +6 -3
- package/dist/chunks/{persistent-pty-9y7cq3y4.js → credential-4g6brmvj.js} +10 -10
- package/dist/chunks/{persistent-pty-80erdhxq.js → credential-4p44xgxk.js} +20 -20
- package/dist/chunks/{persistent-pty-4pyp9zr9.js → credential-4pyp9zr9.js} +1 -1
- package/dist/chunks/{persistent-pty-4v008n1t.js → credential-4v008n1t.js} +1 -1
- package/dist/chunks/{persistent-pty-4c0sy8z7.js → credential-5afpsjak.js} +14 -14
- package/dist/chunks/{persistent-pty-w2eysc6j.js → credential-5enarcya.js} +6 -6
- package/dist/chunks/{persistent-pty-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-9ep0cc8m.js → credential-5p72pk0j.js} +59 -55
- package/dist/chunks/{persistent-pty-atr4tm0y.js → credential-5qz8cxb6.js} +71 -71
- package/dist/chunks/{persistent-pty-pbbktnbz.js → credential-5x26af84.js} +4 -4
- package/dist/chunks/{persistent-pty-p7vhpwh8.js → credential-5zrxpy3q.js} +5 -5
- package/dist/chunks/{persistent-pty-npb1z062.js → credential-6029gre8.js} +4 -4
- package/dist/chunks/{persistent-pty-6esdw8yj.js → credential-6esdw8yj.js} +1 -1
- package/dist/chunks/{persistent-pty-v8vavc5t.js → credential-6zswxkh0.js} +33 -33
- package/dist/chunks/{persistent-pty-f2k3g6xd.js → credential-70v23c6s.js} +149 -149
- package/dist/chunks/{persistent-pty-c84tv7mg.js → credential-73s9ngde.js} +6 -6
- package/dist/chunks/{persistent-pty-76cb1hcw.js → credential-76cb1hcw.js} +1 -1
- package/dist/chunks/{persistent-pty-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-n0vyk18c.js → credential-7f9y1dg2.js} +21 -21
- package/dist/chunks/{persistent-pty-z8r5vx31.js → credential-7fn4z29d.js} +11 -11
- package/dist/chunks/{persistent-pty-stbkav8k.js → credential-7rychec2.js} +13 -13
- package/dist/chunks/{persistent-pty-qpv0mvvz.js → credential-7v2fx3f2.js} +10 -10
- package/dist/chunks/{persistent-pty-h6t0znmf.js → credential-7vfr41g1.js} +9 -9
- package/dist/chunks/{persistent-pty-7w2ypzdf.js → credential-7w2ypzdf.js} +1 -1
- package/dist/chunks/{persistent-pty-h8kx6a24.js → credential-7y5w20kd.js} +17 -17
- package/dist/chunks/{persistent-pty-56fkkzwp.js → credential-81tzp97y.js} +16 -16
- package/dist/chunks/{persistent-pty-qdmaswkh.js → credential-8as8ktgx.js} +21 -21
- package/dist/chunks/{persistent-pty-8jztxfpf.js → credential-8jztxfpf.js} +1 -1
- package/dist/chunks/{persistent-pty-8wtp7s3z.js → credential-8wtp7s3z.js} +1 -1
- package/dist/chunks/{persistent-pty-heamr9gy.js → credential-8ygr8xs6.js} +3 -3
- package/dist/chunks/{persistent-pty-90zstvax.js → credential-90zstvax.js} +1 -1
- package/dist/chunks/{persistent-pty-gp067yzn.js → credential-971htg5h.js} +11 -11
- package/dist/chunks/{persistent-pty-n17h7ycd.js → credential-98s6gvh8.js} +14 -14
- package/dist/chunks/credential-9bbpwjz5.js +511 -0
- package/dist/chunks/{persistent-pty-m0kj7b7a.js → credential-9pfnqqwg.js} +2 -2
- package/dist/chunks/{persistent-pty-kjgnzevm.js → credential-9r9bvhte.js} +9 -9
- package/dist/chunks/{persistent-pty-7ky5q9y1.js → credential-9tsqrg4s.js} +30 -30
- package/dist/chunks/{persistent-pty-ybctve4h.js → credential-9wn23waw.js} +28 -28
- package/dist/chunks/{persistent-pty-1evzqt9k.js → credential-9x70yqx6.js} +9 -9
- package/dist/chunks/{persistent-pty-y906m0ew.js → credential-a694798e.js} +5 -5
- package/dist/chunks/{persistent-pty-a9q6fvpe.js → credential-a9q6fvpe.js} +3 -3
- package/dist/chunks/{persistent-pty-rzepvn2e.js → credential-adsxsvsn.js} +41 -41
- package/dist/chunks/{persistent-pty-mtq5g9x7.js → credential-aewdbf9n.js} +2 -2
- package/dist/chunks/{persistent-pty-6xqtcmxs.js → credential-afmnpta1.js} +5 -5
- package/dist/chunks/{persistent-pty-s0wxxy3w.js → credential-akv12b6r.js} +11 -11
- package/dist/chunks/{persistent-pty-cr8fx06x.js → credential-aqvqws4e.js} +16 -16
- package/dist/chunks/{persistent-pty-tkb7bqdy.js → credential-ay0jyemf.js} +9 -9
- package/dist/chunks/{persistent-pty-ayjs7tqn.js → credential-ayjs7tqn.js} +2 -2
- package/dist/chunks/{persistent-pty-y067tb9j.js → credential-b32ceyvm.js} +4 -4
- package/dist/chunks/{persistent-pty-6sbnn1cw.js → credential-b40mew42.js} +9 -9
- package/dist/chunks/{persistent-pty-b6vsg801.js → credential-b6vsg801.js} +2 -2
- package/dist/chunks/{persistent-pty-61ennm6n.js → credential-bjhzkqyk.js} +4 -4
- package/dist/chunks/{persistent-pty-xefsy4ps.js → credential-bkg200nm.js} +25 -25
- package/dist/chunks/{persistent-pty-5yh47y05.js → credential-bkrwx4wv.js} +14 -14
- package/dist/chunks/{persistent-pty-dbb763wq.js → credential-bvwfamc4.js} +8 -8
- package/dist/chunks/credential-bydrqxj7.js +26 -0
- package/dist/chunks/{persistent-pty-0garbbmq.js → credential-c20fjdsp.js} +21 -21
- package/dist/chunks/{persistent-pty-ngtazrm4.js → credential-c6ex42cj.js} +24 -24
- package/dist/chunks/{persistent-pty-bm4gstpq.js → credential-ccp6j38y.js} +8 -8
- package/dist/chunks/{persistent-pty-xbcfztz3.js → credential-cdemd7x4.js} +11 -11
- package/dist/chunks/{persistent-pty-cg8wvfan.js → credential-cgxeq3jz.js} +15 -15
- package/dist/chunks/{persistent-pty-cd1wa7pc.js → credential-cpqaegh5.js} +3 -3
- package/dist/chunks/{persistent-pty-g0tp74by.js → credential-cpxtmqx8.js} +23 -23
- package/dist/chunks/{persistent-pty-7655k14p.js → credential-css21g00.js} +11 -11
- package/dist/chunks/{persistent-pty-41qk7kz0.js → credential-cv1a4phn.js} +8 -8
- package/dist/chunks/{persistent-pty-cwrgdav8.js → credential-cwrgdav8.js} +2 -2
- package/dist/chunks/{persistent-pty-d2887f8n.js → credential-d2887f8n.js} +1 -1
- package/dist/chunks/{persistent-pty-d4v9tmah.js → credential-d4v9tmah.js} +2 -2
- package/dist/chunks/{persistent-pty-4pw98qd4.js → credential-d8p3t516.js} +4 -4
- package/dist/chunks/{persistent-pty-00htyqr9.js → credential-de5g5c11.js} +13 -13
- package/dist/chunks/{persistent-pty-cpyv68vg.js → credential-dn7s2d5x.js} +29 -29
- package/dist/chunks/{persistent-pty-31avdb49.js → credential-dp66fs17.js} +11 -11
- package/dist/chunks/{persistent-pty-9j54w4dz.js → credential-ds92e70v.js} +47 -47
- package/dist/chunks/{persistent-pty-dt77769w.js → credential-dt77769w.js} +1 -1
- package/dist/chunks/{persistent-pty-e834z07m.js → credential-e834z07m.js} +1 -1
- package/dist/chunks/{persistent-pty-h9ytefs8.js → credential-e9a5c0m5.js} +5 -5
- package/dist/chunks/{persistent-pty-wdnrbeqs.js → credential-eaqt3ydp.js} +6 -6
- package/dist/chunks/{persistent-pty-52a9j804.js → credential-ehhv8qk8.js} +55 -55
- package/dist/chunks/{persistent-pty-ddvn7d3w.js → credential-enkpkfwx.js} +8 -8
- package/dist/chunks/{persistent-pty-7c82yqbx.js → credential-eqfmrs69.js} +15 -15
- package/dist/chunks/{persistent-pty-fvtwqean.js → credential-eta5y2w6.js} +29 -26
- package/dist/chunks/{persistent-pty-7wmpehws.js → credential-ewfk0g57.js} +14 -14
- package/dist/chunks/{persistent-pty-09bv4atg.js → credential-f01y088k.js} +5 -5
- package/dist/chunks/{persistent-pty-mk295dtd.js → credential-fdg4ckdw.js} +12 -12
- package/dist/chunks/{persistent-pty-fffv3p7h.js → credential-fffv3p7h.js} +1 -1
- package/dist/chunks/{persistent-pty-9n2g1sn7.js → credential-g0frj7t5.js} +10 -10
- package/dist/chunks/{persistent-pty-wzkv2sek.js → credential-g2774j0n.js} +4 -4
- package/dist/chunks/{persistent-pty-crvjh2nq.js → credential-g843qhaa.js} +6 -6
- package/dist/chunks/{persistent-pty-7nnxdazv.js → credential-ga2t0gy0.js} +4 -4
- package/dist/chunks/{persistent-pty-8hn4pygh.js → credential-gbc4t0r5.js} +26 -26
- package/dist/chunks/{persistent-pty-gg8p9cgs.js → credential-gg8p9cgs.js} +3 -3
- package/dist/chunks/{persistent-pty-6azgr7ze.js → credential-gn5p3jxd.js} +45 -45
- package/dist/chunks/credential-grzehpz7.js +18 -0
- package/dist/chunks/{persistent-pty-df05jr30.js → credential-gx0r2313.js} +6 -6
- package/dist/chunks/{persistent-pty-ky4b16es.js → credential-h0zzzneq.js} +11 -11
- package/dist/chunks/{persistent-pty-e6awym77.js → credential-h48mbjt9.js} +21 -21
- package/dist/chunks/{persistent-pty-v0t96s7a.js → credential-h7d4rbrg.js} +4 -4
- package/dist/chunks/{persistent-pty-r3096bj9.js → credential-h941mtgh.js} +27 -27
- package/dist/chunks/{persistent-pty-4qv6rmbn.js → credential-h9e79qkn.js} +9 -9
- package/dist/chunks/{persistent-pty-qn4ber4v.js → credential-hcchr7b8.js} +16 -16
- package/dist/chunks/{persistent-pty-hfgk9wzg.js → credential-hfgk9wzg.js} +1 -1
- package/dist/chunks/{persistent-pty-nng17e32.js → credential-hftn0tp4.js} +33 -33
- package/dist/chunks/{persistent-pty-c4wqcyac.js → credential-hgepg6aa.js} +30 -30
- package/dist/chunks/{persistent-pty-pyhph78g.js → credential-hmddjb5g.js} +11 -11
- package/dist/chunks/{persistent-pty-hpg1pkwy.js → credential-hpg1pkwy.js} +1 -1
- package/dist/chunks/{persistent-pty-z4v0at7d.js → credential-hxfydjz7.js} +32 -31
- package/dist/chunks/{persistent-pty-67avc1k8.js → credential-ja21mvjg.js} +8 -8
- package/dist/chunks/{persistent-pty-jfaecv01.js → credential-jfaecv01.js} +1 -1
- package/dist/chunks/{persistent-pty-xeecq2r5.js → credential-jpfnw9g4.js} +3 -3
- package/dist/chunks/{persistent-pty-jtnps1zs.js → credential-jtnps1zs.js} +2 -2
- package/dist/chunks/{persistent-pty-t20mvzrk.js → credential-jyf5b8xa.js} +15 -15
- package/dist/chunks/{persistent-pty-fv3rjegd.js → credential-k1mrsx9s.js} +47 -47
- package/dist/chunks/{persistent-pty-0v98g2dp.js → credential-k2cep7rr.js} +5 -5
- package/dist/chunks/{persistent-pty-k814nvkf.js → credential-k814nvkf.js} +1 -1
- package/dist/chunks/{persistent-pty-p0knec42.js → credential-kb5t3ds5.js} +15 -15
- package/dist/chunks/{persistent-pty-7vktkwjq.js → credential-kfj1f8qk.js} +10 -10
- package/dist/chunks/{persistent-pty-1fr6zs4m.js → credential-kh6aewdq.js} +32 -32
- package/dist/chunks/{persistent-pty-mnyz6jmh.js → credential-kj0q4yg0.js} +9 -9
- package/dist/chunks/{persistent-pty-vm6x4cc6.js → credential-kj3apbqt.js} +11 -11
- package/dist/chunks/{persistent-pty-txsdra3m.js → credential-kmavkxxp.js} +29 -29
- package/dist/chunks/{persistent-pty-7r7rb3ck.js → credential-kmwym1c0.js} +10 -10
- package/dist/chunks/{persistent-pty-vxqjk0bx.js → credential-kn8cv6st.js} +6 -6
- package/dist/chunks/{persistent-pty-v21mv7f7.js → credential-knajrh1z.js} +12 -12
- package/dist/chunks/{persistent-pty-58fxbgyk.js → credential-kpayrmev.js} +7 -7
- package/dist/chunks/{persistent-pty-kt3bjfbg.js → credential-kt3bjfbg.js} +1 -1
- package/dist/chunks/{persistent-pty-mx5ntkq3.js → credential-kvceask2.js} +28 -28
- package/dist/chunks/{persistent-pty-w15dafs9.js → credential-kw2sxjk8.js} +18 -18
- package/dist/chunks/{persistent-pty-m1714858.js → credential-m1714858.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-ty8kxeae.js → credential-mekz3fys.js} +35 -35
- package/dist/chunks/{persistent-pty-jdgjvsvw.js → credential-mpmbh81r.js} +19 -19
- package/dist/chunks/{persistent-pty-eke95etz.js → credential-mqk0aw1r.js} +41 -41
- package/dist/chunks/{persistent-pty-4m86bj6y.js → credential-myztnk54.js} +24 -0
- package/dist/chunks/{persistent-pty-7j9wt8g8.js → credential-n6zcgpz9.js} +5 -5
- package/dist/chunks/{persistent-pty-633sykgz.js → credential-n7n2q093.js} +27 -27
- package/dist/chunks/{persistent-pty-nah043kf.js → credential-nah043kf.js} +1 -1
- package/dist/chunks/{persistent-pty-dncqwfyx.js → credential-nb51j40y.js} +20 -20
- package/dist/chunks/{persistent-pty-kpprecar.js → credential-nbqwew1m.js} +24 -24
- package/dist/chunks/{persistent-pty-6xxhtnvb.js → credential-ncmcp14m.js} +25 -25
- package/dist/chunks/{persistent-pty-3rkfx9k9.js → credential-ndna58nq.js} +13 -13
- package/dist/chunks/credential-nh4v3znn.js +36 -0
- package/dist/chunks/{persistent-pty-whss3p2j.js → credential-nsr16dad.js} +15 -15
- package/dist/chunks/{persistent-pty-kvvk99b7.js → credential-nvhxtb15.js} +15 -15
- package/dist/chunks/{persistent-pty-p015t6z3.js → credential-p015t6z3.js} +2 -2
- package/dist/chunks/{persistent-pty-4wj04rfq.js → credential-p47swmgp.js} +22 -22
- package/dist/chunks/{persistent-pty-yqveydy6.js → credential-p76me67c.js} +4 -4
- package/dist/chunks/{persistent-pty-drvbhkez.js → credential-p7f9amnf.js} +6 -6
- package/dist/chunks/{persistent-pty-ez0bd5c5.js → credential-p877pzbq.js} +13 -13
- package/dist/chunks/{persistent-pty-5spjnxae.js → credential-pb73g8ww.js} +27 -27
- package/dist/chunks/{persistent-pty-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-gqng3fq0.js → credential-pkq395za.js} +1 -1
- package/dist/chunks/{persistent-pty-6rqz0akc.js → credential-pqe3wwk7.js} +25 -25
- package/dist/chunks/{persistent-pty-fg9p65nk.js → credential-prq7xxp2.js} +6 -6
- package/dist/chunks/{persistent-pty-nkyj4cf1.js → credential-pv1x0yxd.js} +27 -27
- package/dist/chunks/{persistent-pty-zd4mb3qc.js → credential-pyb4kdaa.js} +13 -13
- package/dist/chunks/{persistent-pty-ve5h0m4q.js → credential-pzc0xwr7.js} +7 -7
- package/dist/chunks/{persistent-pty-whfmfgat.js → credential-q25zpt88.js} +4 -4
- package/dist/chunks/{persistent-pty-3h757q1d.js → credential-q6q0x75a.js} +8 -8
- package/dist/chunks/{persistent-pty-vzvqvrbr.js → credential-q7yr00bv.js} +34 -34
- package/dist/chunks/{persistent-pty-2fe6144r.js → credential-q982ceg8.js} +25 -25
- package/dist/chunks/{persistent-pty-ra34yqmw.js → credential-qah7t4da.js} +6 -6
- package/dist/chunks/{persistent-pty-24bdjav6.js → credential-qbqmyk35.js} +28 -28
- package/dist/chunks/{persistent-pty-mr182tfb.js → credential-qmbcd6gr.js} +5 -5
- package/dist/chunks/{persistent-pty-vsqvcqta.js → credential-qnqasnye.js} +3 -3
- package/dist/chunks/{persistent-pty-qp7r0hxv.js → credential-qp7r0hxv.js} +1 -1
- package/dist/chunks/{persistent-pty-hrxhk37r.js → credential-r0br8gdd.js} +35 -35
- package/dist/chunks/{persistent-pty-r0yr0wbs.js → credential-r0yr0wbs.js} +1 -1
- package/dist/chunks/{persistent-pty-r542h3bh.js → credential-r542h3bh.js} +1 -1
- package/dist/chunks/{persistent-pty-7w4mdq9h.js → credential-r5adr575.js} +12 -12
- package/dist/chunks/{persistent-pty-6hjagsjn.js → credential-r7yqde16.js} +4 -4
- package/dist/chunks/{persistent-pty-gbc4psnj.js → credential-rann5k8e.js} +15 -15
- package/dist/chunks/{persistent-pty-rb9dy4dg.js → credential-rb9dy4dg.js} +1 -1
- package/dist/chunks/{persistent-pty-ya13x5xa.js → credential-rfpbm3qw.js} +18 -18
- package/dist/chunks/credential-rgzggw2r.js +33 -0
- package/dist/chunks/{persistent-pty-gdpq6bd8.js → credential-rkfzvbfw.js} +16 -16
- package/dist/chunks/{persistent-pty-9370xdb0.js → credential-rny8cxrf.js} +16 -16
- package/dist/chunks/{persistent-pty-rt5dr6hb.js → credential-rt5dr6hb.js} +1 -1
- package/dist/chunks/{persistent-pty-7kjqz9vx.js → credential-rvznwq0w.js} +5 -5
- package/dist/chunks/{persistent-pty-43d5xc6d.js → credential-ryhxbr5y.js} +11 -11
- package/dist/chunks/{persistent-pty-0mwtxpwv.js → credential-s32yc23w.js} +25 -25
- package/dist/chunks/{persistent-pty-q63cb7ap.js → credential-s7gmm2q3.js} +8 -4
- package/dist/chunks/{persistent-pty-bwqqmtwx.js → credential-s95e3gja.js} +26 -26
- package/dist/chunks/{persistent-pty-sa3fpqfw.js → credential-sa3fpqfw.js} +2 -2
- package/dist/chunks/{persistent-pty-qr2tsp5r.js → credential-sfgq15w8.js} +8 -8
- package/dist/chunks/{persistent-pty-gs5kg9b2.js → credential-sgtb1tsv.js} +21 -21
- package/dist/chunks/{persistent-pty-wxcgqqg8.js → credential-sjdx0erp.js} +16 -16
- package/dist/chunks/{persistent-pty-sqjzf8x2.js → credential-sqjzf8x2.js} +1 -1
- package/dist/chunks/{persistent-pty-ddad440e.js → credential-sv99c60z.js} +25 -25
- package/dist/chunks/{persistent-pty-svcy3p9a.js → credential-svcy3p9a.js} +1 -1
- package/dist/chunks/{persistent-pty-hdfrs5mg.js → credential-svtvxt5b.js} +9 -9
- package/dist/chunks/{persistent-pty-dfagftgj.js → credential-tchnsj1t.js} +23 -23
- package/dist/chunks/{persistent-pty-tczq8hjw.js → credential-tczq8hjw.js} +1 -1
- package/dist/chunks/{persistent-pty-q7agyjxx.js → credential-td25hne4.js} +8 -8
- package/dist/chunks/{persistent-pty-jj147ft1.js → credential-tm2ngzhh.js} +16 -16
- package/dist/chunks/{persistent-pty-p3t53mgr.js → credential-tmtdn5g8.js} +22 -22
- package/dist/chunks/{persistent-pty-0ya4kcpa.js → credential-tprnqh0m.js} +12 -12
- package/dist/chunks/{persistent-pty-mp6ntmcp.js → credential-ttyt43s1.js} +12 -12
- package/dist/chunks/{persistent-pty-twssxy5n.js → credential-twssxy5n.js} +2 -2
- package/dist/chunks/{persistent-pty-7aszcnrw.js → credential-tx4wcr36.js} +4 -4
- package/dist/chunks/{persistent-pty-95jfhm1f.js → credential-v0myx3m5.js} +18 -18
- package/dist/chunks/{persistent-pty-v2r1d0zg.js → credential-v2r1d0zg.js} +1 -1
- package/dist/chunks/{persistent-pty-sjx7wecx.js → credential-v5d1a9z0.js} +7 -7
- package/dist/chunks/{persistent-pty-kep7f5cc.js → credential-v6r2mqf1.js} +11 -11
- package/dist/chunks/{persistent-pty-zngxafys.js → credential-vcsqhwkn.js} +11 -11
- package/dist/chunks/{persistent-pty-k567f45b.js → credential-ve404jf0.js} +11 -11
- package/dist/chunks/{persistent-pty-5qtr8rjc.js → credential-vekke9ze.js} +71 -71
- package/dist/chunks/{persistent-pty-2zp5a6yg.js → credential-vg0erq9k.js} +3 -3
- package/dist/chunks/{persistent-pty-0anyt1n6.js → credential-vjmsebym.js} +9 -9
- package/dist/chunks/{persistent-pty-8r65fy8w.js → credential-vn5j9p0e.js} +23 -23
- package/dist/chunks/{persistent-pty-gcjdgkn2.js → credential-vrcsa8qx.js} +9 -9
- package/dist/chunks/{persistent-pty-zb5gs1ba.js → credential-vx3jgdek.js} +2 -2
- package/dist/chunks/{persistent-pty-jv541gt1.js → credential-vz54nt0f.js} +5 -5
- package/dist/chunks/{persistent-pty-kg1ma0kd.js → credential-w2ycgmrw.js} +44 -44
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-wakvkjy4.js → credential-wakvkjy4.js} +1 -1
- package/dist/chunks/{persistent-pty-7xcxnnhw.js → credential-wastx31p.js} +7 -7
- package/dist/chunks/{persistent-pty-wby0kqsc.js → credential-wby0kqsc.js} +1 -1
- package/dist/chunks/{persistent-pty-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-1ynb6ezc.js → credential-wmesf3ky.js} +14 -14
- package/dist/chunks/{persistent-pty-wnhgecwx.js → credential-wnhgecwx.js} +1 -1
- package/dist/chunks/{persistent-pty-qymz5vam.js → credential-wqrxf969.js} +40 -40
- package/dist/chunks/{persistent-pty-wr3re1en.js → credential-wr3re1en.js} +1 -1
- package/dist/chunks/{persistent-pty-3ryz99p0.js → credential-wtgq8nqm.js} +7 -7
- package/dist/chunks/{persistent-pty-dyph5nm8.js → credential-wvgdarde.js} +15 -15
- package/dist/chunks/{persistent-pty-h6fv7vft.js → credential-x764p0ap.js} +17 -17
- package/dist/chunks/{persistent-pty-d54nae6v.js → credential-xa9yt4a6.js} +20 -20
- package/dist/chunks/{persistent-pty-bstexjd6.js → credential-xd9cc171.js} +5 -5
- package/dist/chunks/{persistent-pty-pzrv7hbh.js → credential-xj34fqn9.js} +12 -12
- package/dist/chunks/{persistent-pty-5y682njc.js → credential-xk5nadf4.js} +36 -36
- package/dist/chunks/{persistent-pty-v4t7rh87.js → credential-xr7azs4w.js} +15 -15
- package/dist/chunks/{persistent-pty-aqpt7qn5.js → credential-xrejx9hx.js} +16 -16
- package/dist/chunks/{persistent-pty-bcvtcraz.js → credential-xv4zb3hn.js} +1 -1
- package/dist/chunks/{persistent-pty-jeggvkmv.js → credential-y0z85yb7.js} +11 -11
- package/dist/chunks/{persistent-pty-atcw9je4.js → credential-y3p8jgcj.js} +9 -9
- package/dist/chunks/{persistent-pty-32qv0r55.js → credential-y3r864xm.js} +2 -2
- package/dist/chunks/{persistent-pty-yara3q77.js → credential-yara3q77.js} +2 -2
- package/dist/chunks/{persistent-pty-yb20nhc3.js → credential-yb20nhc3.js} +1 -1
- package/dist/chunks/{persistent-pty-pszedv3e.js → credential-yb8qqq1e.js} +9 -9
- package/dist/chunks/{persistent-pty-9s067py2.js → credential-yr316x9x.js} +3 -3
- package/dist/chunks/{persistent-pty-ve45bn9x.js → credential-ywm7vzgw.js} +6 -6
- package/dist/chunks/{persistent-pty-tmy26mxh.js → credential-yy93hw4g.js} +27 -27
- package/dist/chunks/{persistent-pty-z38nccrw.js → credential-z38nccrw.js} +1 -1
- package/dist/chunks/{persistent-pty-cjaw03wv.js → credential-z5sv9z4b.js} +17 -17
- package/dist/chunks/{persistent-pty-38d21fdm.js → credential-z943meh7.js} +18 -18
- package/dist/chunks/{persistent-pty-pqnrqzxc.js → credential-z9kzkjwz.js} +9 -9
- package/dist/chunks/{persistent-pty-yc76cwjc.js → credential-z9m5kdq9.js} +17 -17
- package/dist/chunks/{persistent-pty-nad4mkqt.js → credential-zavmbsdh.js} +8 -8
- package/dist/chunks/{persistent-pty-49xvkvhm.js → credential-zbfdjnnn.js} +1 -1
- package/dist/chunks/{persistent-pty-2s4hqds4.js → credential-zbkzjvgf.js} +22 -22
- package/dist/chunks/{persistent-pty-7wpj9r4n.js → credential-zm39794k.js} +11 -11
- package/dist/chunks/{persistent-pty-ddc2cb7k.js → credential-zp9rf83y.js} +23 -23
- package/dist/chunks/{persistent-pty-htf1zbz3.js → credential-zwmyj4b2.js} +16 -16
- package/dist/chunks/{persistent-pty-epv0aws2.js → credential-zyb6xh6k.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +90 -89
- package/dist/config/discovery.js +91 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -107
- package/dist/config/plugin/agent.js +122 -121
- package/dist/config/plugin/command.js +220 -219
- package/dist/config/plugin/compaction.js +163 -162
- package/dist/config/plugin/compatibility.js +143 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -122
- package/dist/config/plugin/image.js +122 -121
- package/dist/config/plugin/instruction.js +122 -121
- package/dist/config/plugin/location-watcher.js +122 -121
- package/dist/config/plugin/mcp.js +129 -128
- package/dist/config/plugin/policy.js +124 -123
- package/dist/config/plugin/provider.js +123 -122
- package/dist/config/plugin/reference.js +124 -123
- package/dist/config/plugin/shell.js +122 -121
- package/dist/config/plugin/skill-file.js +139 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +144 -143
- package/dist/config/plugin/snapshot.js +122 -121
- package/dist/config/plugin/source.js +119 -118
- package/dist/config/plugin/tool-output.js +123 -122
- package/dist/config/plugin/websearch.js +121 -120
- package/dist/config/plugin/worktree.js +124 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -87
- package/dist/database/database.js +73 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +6 -0
- package/dist/database/migration.gen.js +56 -55
- package/dist/database/migration.js +58 -57
- 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 +101 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +378 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +102 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +102 -101
- 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 +77 -76
- package/dist/file-access.js +149 -148
- package/dist/file-mutation.js +99 -98
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +84 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +229 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +111 -110
- package/dist/form.js +87 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -95
- package/dist/generate.js +114 -113
- package/dist/git.js +11 -11
- 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 +108 -107
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +369 -368
- package/dist/instruction-discovery.js +93 -92
- package/dist/instructions/builtins.js +96 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +92 -91
- package/dist/job.js +85 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -79
- package/dist/location-activity.js +164 -163
- package/dist/location-lifecycle.js +143 -142
- package/dist/location-service-map.js +95 -94
- package/dist/location-services.js +366 -365
- package/dist/location.js +96 -95
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -99
- package/dist/mcp/index.js +110 -109
- package/dist/mcp/instructions.js +169 -168
- package/dist/mcp/oauth.js +82 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +108 -107
- package/dist/model-resolver.js +108 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +148 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -81
- package/dist/plugin/agent.js +81 -80
- package/dist/plugin/command.js +109 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +226 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +339 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -105
- package/dist/plugin/module.js +124 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +139 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +99 -98
- package/dist/plugin/provider/azure.js +122 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -118
- package/dist/plugin/provider/configured.js +118 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -103
- package/dist/plugin/provider/gitlab.js +102 -101
- package/dist/plugin/provider/google-vertex.js +119 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -84
- package/dist/plugin/provider/lmstudio.js +131 -130
- package/dist/plugin/provider/local.js +128 -127
- package/dist/plugin/provider/modal.js +101 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +131 -130
- package/dist/plugin/provider/openai-context-caps.js +99 -98
- package/dist/plugin/provider/openai.js +124 -123
- package/dist/plugin/provider/opencode.js +125 -124
- package/dist/plugin/provider/openrouter.js +100 -99
- package/dist/plugin/provider/poe.js +86 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -120
- package/dist/plugin/provider/vllm.js +131 -130
- package/dist/plugin/provider/xai.js +100 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +172 -171
- package/dist/plugin/sdk.js +77 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +95 -94
- package/dist/plugin/vcs/hg.js +95 -94
- package/dist/plugin/verbosity.js +102 -101
- package/dist/plugin/warming.js +120 -119
- 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 +237 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +97 -96
- package/dist/provider.js +106 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -106
- package/dist/reference/instructions.js +95 -94
- package/dist/reference.js +99 -98
- package/dist/repository-cache.js +89 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -105
- package/dist/rpc.js +95 -94
- package/dist/schedule/sql.js +11 -0
- package/dist/schedule.js +556 -0
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +121 -120
- package/dist/session/command.js +81 -80
- package/dist/session/compaction.js +163 -162
- package/dist/session/context.js +185 -184
- package/dist/session/diff.js +97 -96
- 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 +226 -225
- package/dist/session/execution.js +153 -152
- package/dist/session/generate.js +189 -188
- package/dist/session/history.js +128 -127
- package/dist/session/inbox.js +133 -132
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +84 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +129 -128
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +153 -152
- package/dist/session/projector.js +133 -132
- package/dist/session/prompt.js +141 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +237 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -108
- package/dist/session/runner/publish-llm-event.js +142 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +153 -152
- package/dist/session/runner/to-llm-message.js +129 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -170
- package/dist/session/shell.js +136 -135
- package/dist/session/skill.js +140 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +80 -79
- package/dist/session/store.js +134 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +220 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +187 -186
- package/dist/session/to-session-error.js +141 -140
- package/dist/session/transfer.js +220 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +138 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +140 -139
- package/dist/skill.js +149 -148
- package/dist/snapshot.js +102 -101
- 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 +162 -161
- package/dist/tool/plugin/edit.js +157 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -160
- package/dist/tool/plugin/grep.js +155 -154
- package/dist/tool/plugin/mcp-resource.js +155 -154
- package/dist/tool/plugin/opencode.js +154 -153
- package/dist/tool/plugin/patch.js +159 -158
- package/dist/tool/plugin/question.js +137 -136
- package/dist/tool/plugin/read.js +162 -161
- package/dist/tool/plugin/shell.js +223 -222
- package/dist/tool/plugin/skill.js +150 -149
- package/dist/tool/plugin/subagent.js +227 -226
- package/dist/tool/plugin/todo.js +146 -145
- package/dist/tool/plugin/webfetch.js +148 -147
- package/dist/tool/plugin/websearch.js +146 -145
- package/dist/tool/plugin/write.js +157 -156
- package/dist/tool/read-filesystem.js +109 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/codemode/web.d.ts +23 -1
- package/dist/types/database/migration/20261026223005_schedule.d.ts +3 -0
- package/dist/types/schedule/sql.d.ts +298 -0
- package/dist/types/schedule.d.ts +129 -0
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/usage-limits.js +96 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +101 -100
- 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/variant.js +100 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -97
- package/dist/voice.js +91 -90
- package/dist/websearch.js +87 -86
- package/dist/wellknown/plugin.js +83 -82
- package/dist/wellknown.js +86 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -97
- package/dist/worktree.js +107 -106
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-7h6zwn4y.js +0 -511
- package/dist/chunks/persistent-pty-kb564s6s.js +0 -257
- package/dist/chunks/persistent-pty-m2b5v9hb.js +0 -26
- package/dist/chunks/persistent-pty-z355x5yr.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1jakw16s.js → credential-1jakw16s.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → credential-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5w3e23ze.js → credential-5w3e23ze.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → credential-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a058387c.js → credential-a058387c.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-beh6qq61.js → credential-beh6qq61.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cqv5kn06.js → credential-cqv5kn06.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fkpq3x5p.js → credential-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwr30sdr.js → credential-jwr30sdr.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → credential-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → credential-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-ncqqe42p.js → credential-ncqqe42p.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p71gwv9c.js → credential-p71gwv9c.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-8jztxfpf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service8 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service8.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service8, node10, exports_update };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./credential-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node79
|
|
9
|
+
} from "./credential-tm2ngzhh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service43,
|
|
12
|
+
node46
|
|
13
|
+
} from "./credential-24fnnd1e.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -24,17 +24,17 @@ __export(exports_filesystem, {
|
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event7,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError5,
|
|
34
|
+
Service: () => Service42,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node45
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event7 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service42 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service76;
|
|
102
|
+
const search = yield* Service43;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service42.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError5({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node45 = makeLocationNode({
|
|
162
|
+
service: Service42,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node79, node46]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service42, node45, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service74,
|
|
4
|
+
node77
|
|
5
|
+
} from "./credential-c20fjdsp.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node76
|
|
20
|
+
} from "./credential-eta5y2w6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service72,
|
|
23
|
+
node75
|
|
24
|
+
} from "./credential-kfj1f8qk.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service70,
|
|
30
|
+
node73,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./credential-yy93hw4g.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./credential-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service54,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer21,
|
|
52
|
+
node: () => node56,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service54 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -300,12 +300,12 @@ var causeMessage = (cause) => {
|
|
|
300
300
|
};
|
|
301
301
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
302
302
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
303
|
-
var
|
|
304
|
-
const providers = yield*
|
|
305
|
-
const models = yield*
|
|
306
|
-
const integrations = yield*
|
|
303
|
+
var layer21 = Layer.effect(Service54, Effect.gen(function* () {
|
|
304
|
+
const providers = yield* Service73;
|
|
305
|
+
const models = yield* Service70;
|
|
306
|
+
const integrations = yield* Service74;
|
|
307
307
|
const npm = yield* Npm.Service;
|
|
308
|
-
const aisdk = yield*
|
|
308
|
+
const aisdk = yield* Service72;
|
|
309
309
|
const dependencies = {
|
|
310
310
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
311
311
|
loadAISDK: (model) => aisdk.model(model)
|
|
@@ -348,7 +348,7 @@ var layer23 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
348
348
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
349
349
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
350
350
|
});
|
|
351
|
-
return
|
|
351
|
+
return Service54.of({
|
|
352
352
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
353
353
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
354
354
|
if (!selected)
|
|
@@ -371,10 +371,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
371
371
|
const name = packageName2(packageName);
|
|
372
372
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
373
373
|
}
|
|
374
|
-
var
|
|
375
|
-
service:
|
|
376
|
-
layer:
|
|
377
|
-
deps: [
|
|
374
|
+
var node56 = makeLocationNode({
|
|
375
|
+
service: Service54,
|
|
376
|
+
layer: layer21,
|
|
377
|
+
deps: [node76, node73, node77, Npm.node, node75]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
380
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer21, node56, exports_model_resolver };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-y0z85yb7.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-5enarcya.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin23,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin23 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin37 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin37 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint6, Plugin23, exports_parallel };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Document2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-wby0kqsc.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-z38nccrw.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/managed-policy.ts
|
|
12
12
|
var exports_managed_policy = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./credential-w2ycgmrw.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./credential-c6ex42cj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./credential-sjdx0erp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./credential-ds92e70v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./credential-s32yc23w.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./credential-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service84,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./credential-ryhxbr5y.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service47
|
|
37
|
+
} from "./credential-k1mrsx9s.js";
|
|
38
38
|
import {
|
|
39
39
|
Service28
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./credential-vekke9ze.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./credential-1jd0kfa3.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./credential-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin44,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name8 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input8 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin44 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
123
|
const sessions = yield* Service28;
|
|
124
|
-
const jobs = yield*
|
|
124
|
+
const jobs = yield* Service69;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service63;
|
|
127
|
+
const access = yield* Service14;
|
|
128
|
+
const shell = yield* Service47;
|
|
129
|
+
const shellSelect = yield* Service84;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service56;
|
|
132
|
+
const config = yield* Service59;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin24 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name8,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin24 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name8,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input8,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin24 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name8,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name8];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin44, exports_shell2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-eta5y2w6.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info12,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info12 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info18 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info12, exports_provider2 };
|