@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,34 +1,34 @@
|
|
|
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
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID17,
|
|
26
|
+
Info: () => Info29,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service83,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node87
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,24 +37,24 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID17 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
|
-
var
|
|
45
|
+
var Event19 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID17,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service83 extends Context.Service()("@opencode/Credential") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
58
58
|
const db = (yield* Service86).db;
|
|
59
59
|
const bus = yield* Service85;
|
|
60
60
|
const flock = yield* EffectFlock.Service;
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info29({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -75,7 +75,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
75
75
|
const credential = stored(row);
|
|
76
76
|
return credential ? [credential] : [];
|
|
77
77
|
});
|
|
78
|
-
return
|
|
78
|
+
return Service83.of({
|
|
79
79
|
lock: Effect.fn("Credential.lock")((id, operation) => Effect.uninterruptibleMask((restore) => Effect.gen(function* () {
|
|
80
80
|
const current = pending.get(id);
|
|
81
81
|
if (current)
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info29({
|
|
95
|
+
id: input.id ?? ID17.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
123
123
|
type: credential.value.type,
|
|
124
124
|
active: activated
|
|
125
125
|
});
|
|
126
|
-
yield* bus.publish(
|
|
126
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
127
127
|
if (activated)
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
129
129
|
return credential;
|
|
130
130
|
}),
|
|
131
131
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
145
145
|
})), Effect.orDie);
|
|
146
146
|
if (integrationID) {
|
|
147
147
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
148
|
-
yield* bus.publish(
|
|
148
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
149
149
|
}
|
|
150
150
|
}),
|
|
151
151
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -177,7 +177,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
177
177
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
178
178
|
});
|
|
179
179
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
180
|
-
yield* bus.publish(
|
|
180
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
181
181
|
}),
|
|
182
182
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
183
183
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -210,12 +210,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
210
210
|
active: removed.switched,
|
|
211
211
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
212
212
|
});
|
|
213
|
-
yield* bus.publish(
|
|
213
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
214
214
|
if (removed.switched)
|
|
215
|
-
yield* bus.publish(
|
|
215
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node87 = makeGlobalNode({ service: Service83, layer, deps: [node90, node89, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID17, OAuth3, Key4, External2, Value2, Event19, Info29, Service83, node87, exports_credential };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2,
|
|
6
6
|
exists2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-svcy3p9a.js";
|
|
8
8
|
import {
|
|
9
9
|
execDefaults2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-jtnps1zs.js";
|
|
11
11
|
import {
|
|
12
12
|
makeLocalDriver2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-cwrgdav8.js";
|
|
14
14
|
import {
|
|
15
15
|
makeMemoryDriver2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-twssxy5n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./location-y1s3hmc3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service63,
|
|
23
|
+
node65
|
|
24
|
+
} from "./location-qvpfa8gz.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/environment/environment.ts
|
|
30
30
|
var exports_environment2 = {};
|
|
31
31
|
__export(exports_environment2, {
|
|
32
32
|
EnvironmentService: () => exports_environment2,
|
|
33
|
-
Service: () =>
|
|
34
|
-
node: () =>
|
|
33
|
+
Service: () => Service62,
|
|
34
|
+
node: () => node64
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
// src/environment/index.ts
|
|
@@ -40,14 +40,14 @@ __export(exports_environment3, {
|
|
|
40
40
|
Environment: () => exports_environment3,
|
|
41
41
|
Failed: () => Failed2,
|
|
42
42
|
NotFound: () => NotFound3,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service62,
|
|
44
44
|
WrongKind: () => WrongKind2,
|
|
45
45
|
execDefaults: () => execDefaults2,
|
|
46
46
|
exists: () => exists2,
|
|
47
47
|
makeFiles: () => makeFiles2,
|
|
48
48
|
makeLocalDriver: () => makeLocalDriver2,
|
|
49
49
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node64,
|
|
51
51
|
typeFollowing: () => typeFollowing2
|
|
52
52
|
});
|
|
53
53
|
|
|
@@ -63,19 +63,19 @@ var makeFiles2 = (driver) => ({
|
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
// src/environment/environment.ts
|
|
66
|
-
class
|
|
66
|
+
class Service62 extends Context.Service()("@opencode/Environment") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
69
69
|
const spawner = yield* ChildProcessSpawner;
|
|
70
|
-
const location = yield*
|
|
71
|
-
const workspace = yield*
|
|
70
|
+
const location = yield* Service79;
|
|
71
|
+
const workspace = yield* Service63;
|
|
72
72
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
73
|
-
return
|
|
73
|
+
return Service62.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
75
|
+
var node64 = makeLocationNode({
|
|
76
|
+
service: Service62,
|
|
77
77
|
layer,
|
|
78
|
-
deps: [CrossSpawnSpawner.node,
|
|
78
|
+
deps: [CrossSpawnSpawner.node, node83, node65]
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
export {
|
|
81
|
+
export { Service62, node64, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-p015t6z3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-xhd45jer.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service53,
|
|
11
|
+
node55
|
|
12
|
+
} from "./location-xpfvn7yf.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
21
|
+
var exports_generate2 = {};
|
|
22
|
+
__export(exports_generate2, {
|
|
23
|
+
Generate: () => exports_generate2,
|
|
24
24
|
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service52,
|
|
29
29
|
UnavailableError: () => UnavailableError5,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer21,
|
|
32
|
+
node: () => node54
|
|
33
33
|
});
|
|
34
34
|
import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service52 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer21 = Layer.effect(Service52, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service53;
|
|
89
|
+
const models = yield* Service76;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -163,7 +163,7 @@ var layer13 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
165
|
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({ message: "Generation credentials are unavailable" })));
|
|
166
|
-
return
|
|
166
|
+
return Service52.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node54 = makeLocationNode({
|
|
219
|
+
service: Service52,
|
|
220
|
+
layer: layer21,
|
|
221
|
+
deps: [node55, node80, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2,
|
|
224
|
+
export { UnavailableError5, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service52, layer21, node54, exports_generate2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-jr4dr2q3.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service77,
|
|
17
|
+
node: () => node81
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service77 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service86).db;
|
|
26
|
-
return
|
|
26
|
+
return Service77.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node90] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service77, node81, exports_kv };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-hm02wpk1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./location-npw72hw3.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-204s3925.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
20
|
DisabledError: () => DisabledError2,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
21
|
+
Event: () => Event10,
|
|
22
|
+
ID: () => ID6,
|
|
23
23
|
Input: () => Input15,
|
|
24
24
|
Provider: () => Provider2,
|
|
25
25
|
ProviderKey: () => ProviderKey2,
|
|
@@ -29,29 +29,29 @@ __export(exports_websearch3, {
|
|
|
29
29
|
Response: () => Response2,
|
|
30
30
|
Result: () => Result2,
|
|
31
31
|
Selection: () => Selection2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service60,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node62
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
42
|
-
var
|
|
41
|
+
import { Event as Event10 } from "@opencode/schema/websearch";
|
|
42
|
+
var ID6 = WebSearch.ID;
|
|
43
43
|
var Provider2 = WebSearch.Provider;
|
|
44
44
|
var Input15 = WebSearch.Input;
|
|
45
45
|
var Result2 = WebSearch.Result;
|
|
46
46
|
var Response2 = WebSearch.Response;
|
|
47
47
|
var ProviderKey2 = "websearch:provider";
|
|
48
|
-
var Selection2 = Schema.Union([
|
|
48
|
+
var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
|
|
49
49
|
|
|
50
50
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
54
|
-
providerID:
|
|
54
|
+
providerID: ID6
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -59,16 +59,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
62
|
-
providerID:
|
|
62
|
+
providerID: ID6,
|
|
63
63
|
cause: Schema.Defect()
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service60 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
69
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
70
70
|
const bus = yield* Service85;
|
|
71
|
-
const kv = yield*
|
|
71
|
+
const kv = yield* Service77;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
129
129
|
}
|
|
130
130
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service60.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -186,10 +186,10 @@ function cooldownMillis(value, now) {
|
|
|
186
186
|
const date = Date.parse(value);
|
|
187
187
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
188
188
|
}
|
|
189
|
-
var
|
|
190
|
-
service:
|
|
189
|
+
var node62 = makeLocationNode({
|
|
190
|
+
service: Service60,
|
|
191
191
|
layer,
|
|
192
|
-
deps: [node89,
|
|
192
|
+
deps: [node89, node81]
|
|
193
193
|
});
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { ID6, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service60, node62, exports_websearch3, Event10 };
|