@opencode/core 0.0.0-dev-154 → 0.0.0-dev-157
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +99 -99
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{app-vq1ppevj.js → location-00zh2tpm.js} +8 -8
- package/dist/chunks/{app-034tev2y.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{app-bbr79q9y.js → location-04tp6htd.js} +21 -21
- package/dist/chunks/{app-9py9hrxf.js → location-0czxa7gb.js} +11 -11
- package/dist/chunks/{app-ptddvd2h.js → location-0rp4335f.js} +25 -25
- package/dist/chunks/{app-c1r1st4g.js → location-0tkyyzpw.js} +9 -9
- package/dist/chunks/{app-8jztxfpf.js → location-11hfp36g.js} +4 -4
- package/dist/chunks/{app-p745vxmt.js → location-17cjzed1.js} +6 -6
- package/dist/chunks/{app-1ep2p91f.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{app-1kn6jdkn.js → location-1kn6jdkn.js} +1 -1
- package/dist/chunks/{app-1x2knyw4.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-204s3925.js → location-204s3925.js} +1 -1
- package/dist/chunks/{app-8vr744sr.js → location-2bpnrcqm.js} +17 -17
- package/dist/chunks/{app-zznqf8tz.js → location-2da34b6h.js} +5 -5
- package/dist/chunks/{app-qh8rr487.js → location-2h1qwmv4.js} +17 -17
- package/dist/chunks/{app-0n5d8qw9.js → location-2ryjb9fp.js} +21 -21
- package/dist/chunks/{app-3fkaq49n.js → location-2ttrve3p.js} +5 -5
- package/dist/chunks/{app-5nqa02xf.js → location-2twj3cjc.js} +4 -4
- package/dist/chunks/{app-2zp5a6yg.js → location-2zp5a6yg.js} +1 -1
- package/dist/chunks/{app-ha4346mp.js → location-31c39a09.js} +17 -17
- package/dist/chunks/{app-egbbp34j.js → location-3cbqjczx.js} +334 -334
- package/dist/chunks/{app-zz5wm9x4.js → location-3dnxr830.js} +15 -15
- package/dist/chunks/{app-z842wknd.js → location-3hbcrqhe.js} +12 -12
- package/dist/chunks/{app-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
- package/dist/chunks/{app-a5g15581.js → location-3t73xeyv.js} +2 -2
- package/dist/chunks/{app-40za9wsf.js → location-40za9wsf.js} +2 -2
- package/dist/chunks/{app-rtmt0ker.js → location-46cvvfkv.js} +11 -11
- package/dist/chunks/{app-z7hqcxr0.js → location-48zamtyb.js} +45 -45
- package/dist/chunks/{app-jcfw09eb.js → location-4chjvm0n.js} +5 -5
- package/dist/chunks/{app-pbprwcf6.js → location-4hjvtnvr.js} +11 -11
- package/dist/chunks/{app-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
- package/dist/chunks/{app-0pxwvsqb.js → location-4rgtafmq.js} +32 -32
- package/dist/chunks/{app-pcqp6bgf.js → location-4ta6csbb.js} +14 -14
- package/dist/chunks/{app-4v008n1t.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{app-srr6m1ec.js → location-4ze70za5.js} +14 -14
- package/dist/chunks/{app-a1psyh0e.js → location-50ghwmve.js} +54 -54
- package/dist/chunks/{app-k4b19tjg.js → location-57rr0y2c.js} +27 -27
- package/dist/chunks/{app-j2hdxfca.js → location-5k2wjw25.js} +7 -7
- package/dist/chunks/{app-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-31hh79mt.js → location-5qt45yqb.js} +3 -3
- package/dist/chunks/{app-5x26af84.js → location-5x26af84.js} +4 -4
- package/dist/chunks/{app-skghdyp9.js → location-5xzpahv6.js} +32 -32
- package/dist/chunks/{app-hxfttvn6.js → location-5yvhxqsw.js} +18 -18
- package/dist/chunks/{app-1s0v3afe.js → location-66xzmsa8.js} +23 -23
- package/dist/chunks/{app-zkcytb3h.js → location-67s8824q.js} +26 -26
- package/dist/chunks/{app-e5eg64a5.js → location-6b3pnxty.js} +32 -32
- package/dist/chunks/{app-6esdw8yj.js → location-6esdw8yj.js} +1 -1
- package/dist/chunks/{app-p3enh426.js → location-6gsprsz3.js} +2 -2
- package/dist/chunks/{app-27hfenyq.js → location-6j0v21fn.js} +20 -20
- package/dist/chunks/{app-kszcj8bj.js → location-6j1pxrfn.js} +8 -8
- package/dist/chunks/{app-ea33c2qg.js → location-6js0mnhz.js} +30 -30
- package/dist/chunks/{app-tqn3p9pj.js → location-6knvtd1w.js} +10 -10
- package/dist/chunks/{app-jvng8k19.js → location-6t862pnj.js} +30 -30
- package/dist/chunks/{app-qvey4sm2.js → location-6xvvx5e8.js} +87 -87
- package/dist/chunks/{app-h8dtgpmt.js → location-6z64yfwb.js} +32 -32
- package/dist/chunks/{app-0t098hqn.js → location-70y17xeh.js} +5 -5
- package/dist/chunks/{app-5egkm6n4.js → location-74zfgmk2.js} +19 -19
- package/dist/chunks/{app-w8qtt4th.js → location-76cb1hcw.js} +4 -4
- package/dist/chunks/{app-3y09gzcd.js → location-76jz4bew.js} +32 -32
- package/dist/chunks/{app-rfnyhrr9.js → location-7716wq1n.js} +29 -29
- package/dist/chunks/{app-t4shvcfr.js → location-787pbn49.js} +31 -31
- package/dist/chunks/{app-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-gtjpp1bw.js → location-7ggwamay.js} +11 -11
- package/dist/chunks/{app-1keh6edx.js → location-7kxhv2sa.js} +11 -11
- package/dist/chunks/{app-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-8njn90az.js → location-886fpr41.js} +5 -5
- package/dist/chunks/{app-zzgj63p1.js → location-8m3s0h7s.js} +40 -40
- package/dist/chunks/{app-33p2et1z.js → location-8p921xxm.js} +2 -2
- package/dist/chunks/{app-np7r7vht.js → location-8shc1k29.js} +6 -6
- package/dist/chunks/{app-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-63w42kdm.js → location-8x3ydtx4.js} +15 -15
- package/dist/chunks/{app-zh7bbm8x.js → location-8yhc7zrg.js} +9 -9
- package/dist/chunks/{app-90zstvax.js → location-90zstvax.js} +1 -1
- package/dist/chunks/{app-kr871z6k.js → location-94ym33zj.js} +65 -65
- package/dist/chunks/{app-6dqz8pz2.js → location-9bhbx6n4.js} +17 -17
- package/dist/chunks/{app-2ae1t5g1.js → location-9e9wnrn3.js} +18 -18
- package/dist/chunks/{app-4qs1r5ye.js → location-9ffpgwsc.js} +10 -10
- package/dist/chunks/{app-kzfxa4f3.js → location-9jwhcb1g.js} +10 -10
- package/dist/chunks/{app-ymz7p2c9.js → location-9n4vggc2.js} +3 -3
- package/dist/chunks/{app-9r0x1bva.js → location-9qcg53ez.js} +2 -2
- package/dist/chunks/{app-704d1ccs.js → location-9t2khtsw.js} +8 -8
- package/dist/chunks/{app-8ctydw00.js → location-9y0knddb.js} +5 -5
- package/dist/chunks/{app-jtmc5z9s.js → location-9zwmnkz4.js} +4 -4
- package/dist/chunks/{app-p6v0ch0k.js → location-a2cvkf8m.js} +19 -19
- package/dist/chunks/{app-a23dk102.js → location-a7q3851y.js} +24 -24
- package/dist/chunks/{app-w9hhvpm8.js → location-ac1py7fc.js} +45 -45
- package/dist/chunks/{app-hdfrs5mg.js → location-af0k6e03.js} +9 -9
- package/dist/chunks/{app-xnzy99m9.js → location-am1hja96.js} +13 -13
- package/dist/chunks/{app-4htfa8b4.js → location-am3zzh1s.js} +9 -9
- package/dist/chunks/{app-wyaqkzkb.js → location-avx19w98.js} +11 -11
- package/dist/chunks/{app-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
- package/dist/chunks/{app-7zjq4229.js → location-aymf12sh.js} +56 -56
- package/dist/chunks/{app-cf803178.js → location-b28tsbmy.js} +49 -49
- package/dist/chunks/{app-b6vsg801.js → location-b6vsg801.js} +2 -2
- package/dist/chunks/{app-6wvd3f7f.js → location-b7wr440c.js} +42 -42
- package/dist/chunks/{app-nv63jqdq.js → location-be0s1b3n.js} +30 -30
- package/dist/chunks/{app-jyb2x45z.js → location-bfr8tpj8.js} +30 -30
- package/dist/chunks/{app-5cgamgw5.js → location-bk7xq8bh.js} +8 -8
- package/dist/chunks/{app-bstexjd6.js → location-bstexjd6.js} +1 -1
- package/dist/chunks/{app-wstnt05x.js → location-bw5vtrk1.js} +11 -11
- package/dist/chunks/{app-c1vn5m0x.js → location-bzr330f0.js} +12 -12
- package/dist/chunks/{app-v2g26xr4.js → location-c0pkgj13.js} +27 -27
- package/dist/chunks/{app-m5ke421k.js → location-c1ssndk2.js} +13 -13
- package/dist/chunks/{app-3j1m3tq4.js → location-c46s9eb3.js} +5 -5
- package/dist/chunks/{app-k5yr6s7c.js → location-c5d4dktm.js} +26 -26
- package/dist/chunks/{app-bkbcgtea.js → location-c6hmmbmz.js} +13 -13
- package/dist/chunks/{app-0ykya879.js → location-c82dcvad.js} +42 -42
- package/dist/chunks/{app-5e0jccqk.js → location-cgw9zbep.js} +43 -43
- package/dist/chunks/{app-qqg9c0kv.js → location-cpvd08na.js} +4 -4
- package/dist/chunks/{app-cwrgdav8.js → location-cwrgdav8.js} +2 -2
- package/dist/chunks/{app-zx8we4fz.js → location-cyrksjq4.js} +48 -48
- package/dist/chunks/{app-wvdezepv.js → location-cz3s2vhd.js} +16 -16
- package/dist/chunks/{app-e60gsjm8.js → location-cz80cm7r.js} +5 -5
- package/dist/chunks/{app-b3zct85d.js → location-d0ekazng.js} +15 -15
- package/dist/chunks/{app-d4v9tmah.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-srvevd21.js → location-d6w39weh.js} +3 -3
- package/dist/chunks/{app-g4dya9hf.js → location-d7xwrqch.js} +16 -16
- package/dist/chunks/{app-n50am6bm.js → location-d85q5s2h.js} +13 -13
- package/dist/chunks/{app-rfrp6wb4.js → location-d9t7madm.js} +21 -21
- package/dist/chunks/{app-n6v2b7cw.js → location-dbmp929s.js} +5 -5
- package/dist/chunks/{app-9rc2701h.js → location-ddjm3yr7.js} +25 -25
- package/dist/chunks/{app-re7t88nn.js → location-dnkt163z.js} +8 -8
- package/dist/chunks/{app-d0fmer5r.js → location-dqz1xx52.js} +11 -11
- package/dist/chunks/{app-dt77769w.js → location-dt77769w.js} +1 -1
- package/dist/chunks/{app-v4zhf7xj.js → location-dwrgp3np.js} +9 -9
- package/dist/chunks/{app-e834z07m.js → location-e834z07m.js} +1 -1
- package/dist/chunks/{app-7tmb88t2.js → location-eeeyas8n.js} +16 -16
- package/dist/chunks/{app-xaz3vqte.js → location-egqjccw6.js} +6 -6
- package/dist/chunks/{app-rcbjwvze.js → location-emq6awqh.js} +4 -4
- package/dist/chunks/{app-ym65bfmj.js → location-eprcdpyx.js} +16 -16
- package/dist/chunks/{app-g7esga4v.js → location-eqmd2tfz.js} +4 -4
- package/dist/chunks/{app-zz7z36z7.js → location-esnc8dys.js} +28 -28
- package/dist/chunks/{app-dmcgdv1e.js → location-ewwfb56b.js} +21 -21
- package/dist/chunks/{app-g82he7b4.js → location-f34t46m8.js} +4 -4
- package/dist/chunks/{app-xenncx96.js → location-f3v3m9ze.js} +18 -18
- package/dist/chunks/{app-etdr2v1n.js → location-f41wwg2r.js} +17 -17
- package/dist/chunks/{app-5g6ryekv.js → location-f42021n0.js} +8 -8
- package/dist/chunks/{app-k9theajj.js → location-f4qt8m6m.js} +3 -3
- package/dist/chunks/{app-93kc9x3v.js → location-fcsk47k5.js} +33 -33
- package/dist/chunks/{app-07jak3sf.js → location-ffb88fvm.js} +11 -11
- package/dist/chunks/{app-fffv3p7h.js → location-fffv3p7h.js} +1 -1
- package/dist/chunks/{app-prq7xxp2.js → location-fg9p65nk.js} +6 -6
- package/dist/chunks/{app-sbgaw1e4.js → location-fjq4jm3y.js} +12 -12
- package/dist/chunks/{app-9ck2cvgd.js → location-fk13tq6z.js} +6 -6
- package/dist/chunks/{app-6gcbxqy3.js → location-fy7btgzb.js} +11 -11
- package/dist/chunks/{app-pg22rdv8.js → location-g95hdg3z.js} +4 -4
- package/dist/chunks/{app-xw0s36x8.js → location-g9cf8r9e.js} +5 -5
- package/dist/chunks/{app-7b3xb549.js → location-gc4x1yks.js} +19 -19
- package/dist/chunks/{app-gg8p9cgs.js → location-gg8p9cgs.js} +3 -3
- package/dist/chunks/{app-3ms0cx1v.js → location-gnd3kbwx.js} +9 -9
- package/dist/chunks/{app-0yepvbfh.js → location-gqkf6x4j.js} +5 -5
- package/dist/chunks/{app-w6ncc5qr.js → location-grdzfs6a.js} +18 -18
- package/dist/chunks/{app-2fw7yy1m.js → location-gs8jhd8n.js} +20 -20
- package/dist/chunks/{app-akkk1sdk.js → location-gvtm772t.js} +19 -19
- package/dist/chunks/{app-9sqzj7jg.js → location-h4tk9ys0.js} +9 -9
- package/dist/chunks/{app-vkd40qe4.js → location-hm02wpk1.js} +4 -4
- package/dist/chunks/{app-hpg1pkwy.js → location-hpg1pkwy.js} +1 -1
- package/dist/chunks/{app-e8tkz5dw.js → location-htyzxrkw.js} +9 -9
- package/dist/chunks/{app-sjtbvs9h.js → location-hv0nh322.js} +12 -12
- package/dist/chunks/{app-wa8k00xj.js → location-hvvf9qw8.js} +6 -6
- package/dist/chunks/{app-fjrrbk94.js → location-hvwvq3df.js} +6 -6
- package/dist/chunks/{app-f7ma11rg.js → location-hw9kv3mt.js} +6 -6
- package/dist/chunks/{app-2zsvneh4.js → location-hxpa900c.js} +25 -25
- package/dist/chunks/{app-30hfv7eh.js → location-j3pm8grq.js} +25 -25
- package/dist/chunks/{app-jfaecv01.js → location-jfaecv01.js} +1 -1
- package/dist/chunks/{app-xy7qnd38.js → location-jn7ycdjx.js} +28 -28
- package/dist/chunks/{app-vv0642pf.js → location-jq4a7xgd.js} +23 -23
- package/dist/chunks/{app-xsjrgk20.js → location-jr4dr2q3.js} +3 -3
- package/dist/chunks/{app-jtnps1zs.js → location-jtnps1zs.js} +2 -2
- package/dist/chunks/{app-tcbq9mp3.js → location-jwb7hgyv.js} +32 -32
- package/dist/chunks/{app-k814nvkf.js → location-k814nvkf.js} +1 -1
- package/dist/chunks/{app-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
- package/dist/chunks/{app-6bjafys9.js → location-kz30j1ax.js} +37 -37
- package/dist/chunks/{app-m1714858.js → location-m1714858.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-pp3hsmtd.js → location-mcdj7ymd.js} +9 -9
- package/dist/chunks/{app-x6rhjf1k.js → location-me5xs82a.js} +5 -5
- package/dist/chunks/{app-ntdydndm.js → location-mjtny0k5.js} +6 -6
- package/dist/chunks/{app-v7nt063j.js → location-mkqpe6ev.js} +18 -18
- package/dist/chunks/{app-c9t2ty9q.js → location-mtkfycnh.js} +4 -4
- package/dist/chunks/{app-za5w90np.js → location-mz4mmk88.js} +15 -15
- package/dist/chunks/location-n6xt4x7c.js +257 -0
- package/dist/chunks/{app-7rgpc39j.js → location-n760pf4s.js} +4 -4
- package/dist/chunks/{app-nah043kf.js → location-nah043kf.js} +1 -1
- package/dist/chunks/{app-3j3pngsv.js → location-nbav8nzv.js} +28 -28
- package/dist/chunks/{app-cz5kb1g3.js → location-nc0wwyw5.js} +24 -24
- package/dist/chunks/{app-e56je643.js → location-ng4vhxme.js} +25 -25
- package/dist/chunks/{app-ez2q85hn.js → location-npw72hw3.js} +10 -10
- package/dist/chunks/{app-x7p9x0b3.js → location-nr81yrq6.js} +23 -23
- package/dist/chunks/{app-k32rv71p.js → location-nrptqq6h.js} +194 -194
- package/dist/chunks/{app-5dz02hsn.js → location-nsj7r9cf.js} +37 -37
- package/dist/chunks/{app-h0j4kxab.js → location-ny7rtrvd.js} +4 -4
- package/dist/chunks/{app-p015t6z3.js → location-p015t6z3.js} +2 -2
- package/dist/chunks/{app-hf2bt1yf.js → location-p6ahbwec.js} +11 -11
- package/dist/chunks/{app-ptyqyypb.js → location-p78nc619.js} +7 -7
- package/dist/chunks/{app-p7vhpwh8.js → location-p7vhpwh8.js} +1 -1
- package/dist/chunks/{app-yt5g2b2x.js → location-pj1mxnxz.js} +11 -11
- package/dist/chunks/{app-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{app-q63cb7ap.js → location-q63cb7ap.js} +3 -3
- package/dist/chunks/{app-bgt8033q.js → location-q7t6ck8g.js} +20 -20
- package/dist/chunks/{app-cx53cxfp.js → location-qh48ndyz.js} +44 -44
- package/dist/chunks/{app-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
- package/dist/chunks/{app-6jyensvk.js → location-qtd5p5k1.js} +15 -15
- package/dist/chunks/{app-sx0ham9j.js → location-qtf71cz0.js} +26 -26
- package/dist/chunks/{app-1e7btjy7.js → location-qvpfa8gz.js} +28 -28
- package/dist/chunks/{app-3qn2g3vw.js → location-qvtpbb9s.js} +20 -20
- package/dist/chunks/{app-r0yr0wbs.js → location-r0yr0wbs.js} +1 -1
- package/dist/chunks/{app-tvdj5ey7.js → location-r2ty45qf.js} +16 -16
- package/dist/chunks/{app-ng55e7tz.js → location-r3gw80k4.js} +22 -22
- package/dist/chunks/{app-g643egj3.js → location-r46x4fhg.js} +35 -35
- package/dist/chunks/{app-r542h3bh.js → location-r542h3bh.js} +1 -1
- package/dist/chunks/{app-g1nmrsk3.js → location-r8c91qy6.js} +4 -4
- package/dist/chunks/{app-k9zkdd2y.js → location-r94gekwm.js} +4 -4
- package/dist/chunks/{app-jarjxtv9.js → location-r9wv51da.js} +10 -10
- package/dist/chunks/{app-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-gcjdgkn2.js → location-rmt6m6se.js} +9 -9
- package/dist/chunks/{app-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
- package/dist/chunks/{app-fbpx3b1j.js → location-rwgvp8j6.js} +8 -8
- package/dist/chunks/{app-tcwjgpz8.js → location-rxb1aw4a.js} +16 -16
- package/dist/chunks/{app-ake2hqrg.js → location-s67yrvpd.js} +35 -35
- package/dist/chunks/{app-b7wk06bj.js → location-s8ffyqk5.js} +15 -15
- package/dist/chunks/{app-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
- package/dist/chunks/{app-d5cb15dn.js → location-sqb3gwyh.js} +3 -3
- package/dist/chunks/{app-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
- package/dist/chunks/{app-svcy3p9a.js → location-svcy3p9a.js} +1 -1
- package/dist/chunks/{app-n5xgg07e.js → location-t2bd3kw5.js} +30 -30
- package/dist/chunks/{app-nhq4513k.js → location-t4mesnkk.js} +10 -10
- package/dist/chunks/{app-74aceyyx.js → location-t51jc41k.js} +10 -10
- package/dist/chunks/{app-ta9v9zr8.js → location-t96sw8s6.js} +12 -12
- package/dist/chunks/{app-xa6mtbaa.js → location-t9j1v4n7.js} +7 -7
- package/dist/chunks/{app-2xef4nz5.js → location-tbwjycs5.js} +90 -90
- package/dist/chunks/{app-tczq8hjw.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-hev7bgb4.js → location-teh9wf2k.js} +1 -1
- package/dist/chunks/{app-93r13ete.js → location-th9cnqvh.js} +4 -4
- package/dist/chunks/{app-82wwwf0v.js → location-tjs50ewy.js} +30 -30
- package/dist/chunks/{app-fergjrqy.js → location-trnwxx84.js} +45 -45
- package/dist/chunks/{app-8n9x2wf6.js → location-ts7mkfs9.js} +3 -3
- package/dist/chunks/{app-twssxy5n.js → location-twssxy5n.js} +2 -2
- package/dist/chunks/{app-7mgk0w6k.js → location-tx5ztkvb.js} +32 -32
- package/dist/chunks/{app-9hz2y3zt.js → location-v1nzqh31.js} +5 -5
- package/dist/chunks/{app-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
- package/dist/chunks/{app-xj018m1c.js → location-v4j91q1y.js} +7 -7
- package/dist/chunks/{app-vaq1yek0.js → location-vaq1yek0.js} +3 -3
- package/dist/chunks/{app-ab9bg942.js → location-vbw7dpbk.js} +7 -7
- package/dist/chunks/{app-n67wscdr.js → location-vhy7b17j.js} +24 -24
- package/dist/chunks/{app-ydsh7nqv.js → location-vp4gfj7b.js} +6 -6
- package/dist/chunks/{app-55pbqef1.js → location-vx7y69zw.js} +11 -11
- package/dist/chunks/{app-s7kyse9r.js → location-w35wzz9x.js} +4 -4
- package/dist/chunks/{app-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-t7zke5ff.js → location-w6drehxa.js} +7 -7
- package/dist/chunks/{app-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{app-wrtc07rs.js → location-wj3t59eb.js} +12 -12
- package/dist/chunks/{app-f6t2q3wp.js → location-wne0cxxy.js} +27 -27
- package/dist/chunks/{app-wnhgecwx.js → location-wnhgecwx.js} +1 -1
- package/dist/chunks/{app-b6z35kmf.js → location-wr3re1en.js} +4 -4
- package/dist/chunks/{app-pp4t1k5p.js → location-wvs4skyz.js} +1 -1
- package/dist/chunks/{app-1x45b3zs.js → location-wzg0h9b8.js} +21 -21
- package/dist/chunks/{app-2x53phk9.js → location-x2ecggsc.js} +13 -13
- package/dist/chunks/{app-21wfq1mc.js → location-x4jkdn6e.js} +11 -11
- package/dist/chunks/{app-sc8rteay.js → location-x628q3tw.js} +7 -7
- package/dist/chunks/{app-qshvmas0.js → location-xe50az9a.js} +6 -6
- package/dist/chunks/location-xgsg3c9w.js +18 -0
- package/dist/chunks/{app-8m9rkatr.js → location-xhd45jer.js} +33 -33
- package/dist/chunks/{app-vhpwchdg.js → location-xndqmg8y.js} +14 -14
- package/dist/chunks/{app-6skzthee.js → location-xpfvn7yf.js} +40 -40
- package/dist/chunks/{app-0s7dzr9x.js → location-xqsejeyp.js} +13 -13
- package/dist/chunks/{app-x5zq306v.js → location-xrx1pqtv.js} +16 -16
- package/dist/chunks/{app-m41qe238.js → location-y08xa3vn.js} +21 -21
- package/dist/chunks/{app-5x0df2c7.js → location-y1s3hmc3.js} +17 -17
- package/dist/chunks/{app-yvktvmpy.js → location-y35pcaf8.js} +21 -21
- package/dist/chunks/{app-yara3q77.js → location-yara3q77.js} +2 -2
- package/dist/chunks/{app-yb20nhc3.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-kmzgegqq.js → location-ydsespw1.js} +8 -8
- package/dist/chunks/{app-2ew5z7b1.js → location-yep4axjb.js} +4 -4
- package/dist/chunks/{app-6cqtc0z1.js → location-ymcm4zbd.js} +6 -6
- package/dist/chunks/{app-0de7abqf.js → location-ys2ews8t.js} +16 -16
- package/dist/chunks/{app-yhjvxxnz.js → location-yzk83bqb.js} +12 -12
- package/dist/chunks/{app-z38nccrw.js → location-z38nccrw.js} +1 -1
- package/dist/chunks/{app-9fkg6669.js → location-z54xpf00.js} +26 -26
- package/dist/chunks/{app-g9ndtp1p.js → location-zfyb5tr4.js} +4 -4
- package/dist/chunks/{app-w11ey1wa.js → location-zq8z39xr.js} +11 -11
- package/dist/chunks/{app-nrqtba0r.js → location-zv6chf9e.js} +6 -6
- package/dist/chunks/{app-bjhzkqyk.js → location-zzdv5d93.js} +4 -4
- 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 +79 -79
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/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.gen.js +55 -55
- package/dist/database/migration.js +57 -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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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 +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -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 +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/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 +368 -368
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +105 -105
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +128 -128
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +355 -355
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +232 -232
- 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 +98 -98
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -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 +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +140 -140
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +99 -99
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +158 -158
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +156 -156
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +143 -143
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +93 -93
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/app-2xfnk94a.js +0 -257
- package/dist/chunks/app-n3r3rt18.js +0 -18
- /package/dist/chunks/{app-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1jakw16s.js → location-1jakw16s.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4m86bj6y.js → location-4m86bj6y.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5w3e23ze.js → location-5w3e23ze.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a058387c.js → location-a058387c.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-beh6qq61.js → location-beh6qq61.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cqv5kn06.js → location-cqv5kn06.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jwr30sdr.js → location-jwr30sdr.js} +0 -0
- /package/dist/chunks/{app-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-ncqqe42p.js → location-ncqqe42p.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p71gwv9c.js → location-p71gwv9c.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-jr4dr2q3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-hm02wpk1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service47,
|
|
11
|
+
node49
|
|
12
|
+
} from "./location-eprcdpyx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node42
|
|
16
|
+
} from "./location-hvvf9qw8.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./location-mtkfycnh.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service37
|
|
26
|
+
} from "./location-emq6awqh.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service68,
|
|
29
|
+
node71
|
|
30
|
+
} from "./location-bzr330f0.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-cz80cm7r.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-c5d4dktm.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service36,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer18,
|
|
47
|
+
node: () => node39,
|
|
48
|
+
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service36 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer18 = Layer.effect(Service36, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service68;
|
|
64
|
+
const instances = yield* Service40;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service47;
|
|
67
67
|
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service37.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make15({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service36.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node39 = makeGlobalNode({
|
|
127
|
+
service: Service36,
|
|
128
|
+
layer: layer18,
|
|
129
|
+
deps: [node71, node42, node89, node90, node49]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service47, Service47.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service36, terminal2, layer18, node39, noopLayer2, exports_execution };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-xndqmg8y.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make3 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make3();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make3, LMStudioPlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./location-b28tsbmy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./location-48zamtyb.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-8x3ydtx4.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin38
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin38 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service29;
|
|
29
|
+
const permission = yield* Service66;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin31 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin38, exports_mcp_resource };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-bw5vtrk1.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
14
|
Plugin: () => Plugin4,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
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 endpoint3 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -69,7 +69,7 @@ var Plugin4 = 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, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin4 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint3, Plugin4, exports_parallel };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-204s3925.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./location-ac1py7fc.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-z38nccrw.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9n4vggc2.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/policy.ts
|
|
22
22
|
var exports_policy = {};
|
|
23
23
|
__export(exports_policy, {
|
|
24
24
|
ConfigPolicyPlugin: () => exports_policy,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin27
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
|
-
var
|
|
29
|
+
var Plugin27 = define({
|
|
30
30
|
id: "opencode.config.policy",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const config = yield*
|
|
32
|
+
const config = yield* Service70;
|
|
33
33
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
34
34
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
35
35
|
const policies = () => statements2(loaded.entries);
|
|
@@ -73,4 +73,4 @@ var Plugin37 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin27, exports_policy };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-1jakw16s.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-jfaecv01.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./location-esnc8dys.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
17
|
Service: () => Service16,
|
|
18
|
-
UnavailableError: () =>
|
|
18
|
+
UnavailableError: () => UnavailableError4,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer11,
|
|
21
|
+
node: () => node19
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,7 +31,7 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
@@ -39,10 +39,10 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
39
39
|
|
|
40
40
|
class Service16 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer11 = Layer.effect(Service16, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service82;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID16.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -67,10 +67,10 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
67
67
|
if (!engine)
|
|
68
68
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError4({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
84
|
return Service16.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node19 = makeLocationNode({
|
|
87
87
|
service: Service16,
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
88
|
+
layer: layer11,
|
|
89
|
+
deps: [node86, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError4, Service16, layer11, node19, exports_voice };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-ac1py7fc.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service62
|
|
13
|
+
} from "./location-nc0wwyw5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service47
|
|
16
|
+
} from "./location-eprcdpyx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./location-48zamtyb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-ddjm3yr7.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service59,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-r2ty45qf.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service42
|
|
37
|
+
} from "./location-b7wr440c.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./location-tbwjycs5.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-2twj3cjc.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin39,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name3
|
|
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 name3 = "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 Input3 = 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 Plugin39 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service17;
|
|
124
|
+
const jobs = yield* Service47;
|
|
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* Service62;
|
|
127
|
+
const access = yield* Service14;
|
|
128
|
+
const shell = yield* Service42;
|
|
129
|
+
const shellSelect = yield* Service59;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service66;
|
|
132
|
+
const config = yield* Service70;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin25 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name3,
|
|
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 Plugin25 = {
|
|
|
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: name3,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input3,
|
|
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;
|
|
@@ -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: name3,
|
|
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[name3];
|
|
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 { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin39, exports_shell2 };
|