@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-cyrksjq4.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info24,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service79,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info24, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service79, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service80;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service79.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service79,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info24, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-bw5vtrk1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-hm02wpk1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-nbav8nzv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-esnc8dys.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-6t862pnj.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-mjtny0k5.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -49,7 +49,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
49
49
|
}));
|
|
50
50
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
51
51
|
var browser = (app) => ({
|
|
52
|
-
integrationID:
|
|
52
|
+
integrationID: ID16.make("openai"),
|
|
53
53
|
method: {
|
|
54
54
|
id: browserMethodID,
|
|
55
55
|
type: "oauth",
|
|
@@ -122,7 +122,7 @@ function addressInUse(error) {
|
|
|
122
122
|
return "code" in error && error.code === "EADDRINUSE";
|
|
123
123
|
}
|
|
124
124
|
var headless = (app) => ({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID16.make("openai"),
|
|
126
126
|
method: {
|
|
127
127
|
id: headlessMethodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var headless = (app) => ({
|
|
|
164
164
|
}),
|
|
165
165
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
166
166
|
});
|
|
167
|
-
var
|
|
167
|
+
var OpenAIPlugin2 = define({
|
|
168
168
|
id: "opencode.provider.openai",
|
|
169
169
|
effect: Effect.fn(function* (ctx) {
|
|
170
170
|
const bus = yield* Service85;
|
|
@@ -182,9 +182,9 @@ var OpenAIPlugin3 = define({
|
|
|
182
182
|
editor.method.update(headless(ctx.app));
|
|
183
183
|
});
|
|
184
184
|
yield* load();
|
|
185
|
-
const configured = yield* configuredSettings2(
|
|
185
|
+
const configured = yield* configuredSettings2(ID13.openai);
|
|
186
186
|
yield* ctx.provider.transform((providers) => {
|
|
187
|
-
const item = providers.get(
|
|
187
|
+
const item = providers.get(ID13.openai);
|
|
188
188
|
if (!item)
|
|
189
189
|
return;
|
|
190
190
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -204,7 +204,7 @@ var OpenAIPlugin3 = define({
|
|
|
204
204
|
});
|
|
205
205
|
});
|
|
206
206
|
yield* ctx.model.transform((models) => {
|
|
207
|
-
for (const model of models.list(
|
|
207
|
+
for (const model of models.list(ID13.openai)) {
|
|
208
208
|
models.update(model.providerID, model.id, (draft) => {
|
|
209
209
|
if (!chatgpt)
|
|
210
210
|
return;
|
|
@@ -234,14 +234,14 @@ var OpenAIPlugin3 = define({
|
|
|
234
234
|
}));
|
|
235
235
|
evt.headers.originator = "opencode";
|
|
236
236
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
237
|
-
}), { providerID:
|
|
237
|
+
}), { providerID: ID13.openai });
|
|
238
238
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
239
239
|
delete evt.options.maxTokens;
|
|
240
240
|
});
|
|
241
241
|
for (const name of ["context", "compaction"])
|
|
242
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
242
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
243
243
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
244
|
-
yield* bus.subscribe(
|
|
244
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
245
245
|
})
|
|
246
246
|
});
|
|
247
247
|
function headers(contentType, app) {
|
|
@@ -332,4 +332,4 @@ function claim(token) {
|
|
|
332
332
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node6
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node6 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node6, bound2, exports_instance2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9e9wnrn3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-vbw7dpbk.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-teh9wf2k.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make24 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-1kn6jdkn.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Name2,
|
|
10
10
|
available4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service45,
|
|
12
|
+
node47
|
|
13
|
+
} from "./location-9e9wnrn3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service22,
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node24
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -64,11 +64,11 @@ var update = (previous, current) => {
|
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service22 extends Context.Service()("@opencode/SkillInstructions") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const skills = yield*
|
|
71
|
-
return
|
|
69
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
70
|
+
const skills = yield* Service45;
|
|
71
|
+
return Service22.of({
|
|
72
72
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
73
73
|
const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
74
74
|
return make21({
|
|
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
84
84
|
})
|
|
85
85
|
});
|
|
86
86
|
}));
|
|
87
|
-
var
|
|
87
|
+
var node24 = makeLocationNode({ service: Service22, layer, deps: [node47] });
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service22, node24, exports_instructions4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./location-d7xwrqch.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./location-ac1py7fc.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9n4vggc2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make7
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make7 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service70;
|
|
36
|
+
const watcher = yield* Service71;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make7, LoadError2, exports_module };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./location-48zamtyb.js";
|
|
4
4
|
import {
|
|
5
5
|
ID3,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service45
|
|
10
|
+
} from "./location-9e9wnrn3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin40,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
31
|
id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin40 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service45;
|
|
51
|
+
const permission = yield* Service66;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin26 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output3, description2, toModelOutput2, Plugin40, exports_skill3 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin16
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin16 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin17 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin16, exports_mcp_codemode_defaults };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service44,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node46
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service44 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service44.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node46 = makeLocationNode({
|
|
143
|
+
service: Service44,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service44, node46, exports_tool_output2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-hm02wpk1.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_sdk, {
|
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
14
|
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
17
|
node: () => node5
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -22,7 +22,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
|
22
22
|
|
|
23
23
|
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
@@ -33,6 +33,6 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var node5 = makeGlobalNode({ service: Service4, layer:
|
|
36
|
+
var node5 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2, Service4,
|
|
38
|
+
export { Updated2, Service4, layer4, node5, exports_sdk };
|