@opencode/core 0.0.0-dev-156 → 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 +103 -103
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{bus-vq1ppevj.js → location-00zh2tpm.js} +8 -8
- package/dist/chunks/{bus-034tev2y.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{bus-mq5mk61w.js → location-04tp6htd.js} +14 -14
- package/dist/chunks/{bus-pake3c8t.js → location-0czxa7gb.js} +11 -11
- package/dist/chunks/{bus-k16jq3jq.js → location-0rp4335f.js} +17 -17
- package/dist/chunks/{bus-3y9dj9y0.js → location-0tkyyzpw.js} +9 -9
- package/dist/chunks/{bus-8jztxfpf.js → location-11hfp36g.js} +4 -4
- package/dist/chunks/{bus-j81g92s0.js → location-17cjzed1.js} +6 -6
- package/dist/chunks/{bus-1ep2p91f.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-xt0z8zst.js → location-1kn6jdkn.js} +4 -4
- package/dist/chunks/{bus-1x2knyw4.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-204s3925.js → location-204s3925.js} +1 -1
- package/dist/chunks/{bus-jyse5na0.js → location-2bpnrcqm.js} +17 -17
- package/dist/chunks/{bus-2q05k1q4.js → location-2da34b6h.js} +1 -1
- package/dist/chunks/{bus-cggra6hh.js → location-2h1qwmv4.js} +17 -17
- package/dist/chunks/{bus-mqwfd4qy.js → location-2ryjb9fp.js} +21 -21
- package/dist/chunks/{bus-9jc8095f.js → location-2ttrve3p.js} +10 -10
- package/dist/chunks/{bus-aes50vde.js → location-2twj3cjc.js} +4 -4
- package/dist/chunks/{bus-2zp5a6yg.js → location-2zp5a6yg.js} +1 -1
- package/dist/chunks/{bus-d0jq61v3.js → location-31c39a09.js} +13 -13
- package/dist/chunks/{bus-kmfd77se.js → location-3cbqjczx.js} +319 -319
- package/dist/chunks/{bus-hwwdr0w7.js → location-3dnxr830.js} +12 -12
- package/dist/chunks/{bus-w64yv1ej.js → location-3hbcrqhe.js} +12 -12
- package/dist/chunks/{bus-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-mn6tycs6.js → location-3t73xeyv.js} +2 -2
- package/dist/chunks/{bus-40za9wsf.js → location-40za9wsf.js} +2 -2
- package/dist/chunks/{bus-htz9s8nk.js → location-46cvvfkv.js} +14 -14
- package/dist/chunks/{bus-2yv57mdk.js → location-48zamtyb.js} +45 -45
- package/dist/chunks/{bus-npk3kpff.js → location-4chjvm0n.js} +5 -5
- package/dist/chunks/{bus-dxktja5e.js → location-4hjvtnvr.js} +9 -9
- package/dist/chunks/{bus-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-pqtyhvbg.js → location-4rgtafmq.js} +32 -32
- package/dist/chunks/{bus-8ggvj0t6.js → location-4ta6csbb.js} +14 -14
- package/dist/chunks/{bus-4v008n1t.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-yqxh7jnf.js → location-4ze70za5.js} +18 -18
- package/dist/chunks/{bus-3naygyk9.js → location-50ghwmve.js} +54 -54
- package/dist/chunks/{bus-6a8sgxfm.js → location-57rr0y2c.js} +25 -25
- package/dist/chunks/{bus-vfpqjtjs.js → location-5k2wjw25.js} +7 -7
- package/dist/chunks/{bus-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-mtta6bjz.js → location-5qt45yqb.js} +3 -3
- package/dist/chunks/{bus-pbbktnbz.js → location-5x26af84.js} +4 -4
- package/dist/chunks/{bus-hkha4f9a.js → location-5xzpahv6.js} +32 -32
- package/dist/chunks/{bus-zf6pcqjf.js → location-5yvhxqsw.js} +8 -8
- package/dist/chunks/{bus-jks5nrr0.js → location-66xzmsa8.js} +23 -23
- package/dist/chunks/{bus-69we6tgm.js → location-67s8824q.js} +26 -26
- package/dist/chunks/{bus-qgts2pf7.js → location-6b3pnxty.js} +19 -19
- package/dist/chunks/{bus-6esdw8yj.js → location-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-qjmkmgef.js → location-6gsprsz3.js} +2 -2
- package/dist/chunks/{bus-9bd53j63.js → location-6j0v21fn.js} +20 -20
- package/dist/chunks/{bus-qfr9hezr.js → location-6j1pxrfn.js} +8 -8
- package/dist/chunks/{bus-j8q0s4xc.js → location-6js0mnhz.js} +33 -33
- package/dist/chunks/{bus-3a094sm8.js → location-6knvtd1w.js} +6 -6
- package/dist/chunks/{bus-3j964yrr.js → location-6t862pnj.js} +18 -18
- package/dist/chunks/{bus-kz1rnmfp.js → location-6xvvx5e8.js} +84 -84
- package/dist/chunks/{bus-dd3g87t8.js → location-6z64yfwb.js} +32 -32
- package/dist/chunks/{bus-xw8eq9f1.js → location-70y17xeh.js} +5 -5
- package/dist/chunks/{bus-xvspzben.js → location-74zfgmk2.js} +19 -19
- package/dist/chunks/{bus-76cb1hcw.js → location-76cb1hcw.js} +1 -1
- package/dist/chunks/{bus-tw8176pt.js → location-76jz4bew.js} +32 -32
- package/dist/chunks/{bus-gh72g965.js → location-7716wq1n.js} +34 -34
- package/dist/chunks/{bus-3sbn3sz9.js → location-787pbn49.js} +35 -35
- package/dist/chunks/{bus-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-4vm076ke.js → location-7ggwamay.js} +11 -11
- package/dist/chunks/{bus-c1x0s21d.js → location-7kxhv2sa.js} +7 -7
- package/dist/chunks/{bus-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-rx70pj7b.js → location-886fpr41.js} +5 -5
- package/dist/chunks/{bus-nz8nyvy3.js → location-8m3s0h7s.js} +40 -40
- package/dist/chunks/{bus-b0pq4gs1.js → location-8p921xxm.js} +2 -2
- package/dist/chunks/{bus-d7tcj48j.js → location-8shc1k29.js} +6 -6
- package/dist/chunks/{bus-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-xmcjg19r.js → location-8x3ydtx4.js} +16 -16
- package/dist/chunks/{bus-0anyt1n6.js → location-8yhc7zrg.js} +9 -9
- package/dist/chunks/{bus-90zstvax.js → location-90zstvax.js} +1 -1
- package/dist/chunks/{bus-arz3ggyk.js → location-94ym33zj.js} +65 -65
- package/dist/chunks/{bus-3g9btxms.js → location-9bhbx6n4.js} +17 -17
- package/dist/chunks/{bus-1ge64ajd.js → location-9e9wnrn3.js} +19 -19
- package/dist/chunks/{bus-145v42dh.js → location-9ffpgwsc.js} +5 -5
- package/dist/chunks/{bus-6s5ywbch.js → location-9jwhcb1g.js} +7 -7
- package/dist/chunks/{bus-ymz7p2c9.js → location-9n4vggc2.js} +3 -3
- package/dist/chunks/{bus-wrd39zd3.js → location-9qcg53ez.js} +9 -9
- package/dist/chunks/{bus-v8xpr2tt.js → location-9t2khtsw.js} +11 -11
- package/dist/chunks/{bus-t2z71z34.js → location-9y0knddb.js} +5 -5
- package/dist/chunks/{bus-vxe31t1e.js → location-9zwmnkz4.js} +4 -4
- package/dist/chunks/{bus-cj06yg0x.js → location-a2cvkf8m.js} +19 -19
- package/dist/chunks/{bus-yxp0z5jy.js → location-a7q3851y.js} +25 -25
- package/dist/chunks/{bus-xp5sds52.js → location-ac1py7fc.js} +44 -44
- package/dist/chunks/{bus-hdfrs5mg.js → location-af0k6e03.js} +9 -9
- package/dist/chunks/{bus-vv3msfxn.js → location-am1hja96.js} +11 -11
- package/dist/chunks/{bus-tx88d9rw.js → location-am3zzh1s.js} +9 -9
- package/dist/chunks/{bus-smgwq7yn.js → location-avx19w98.js} +11 -11
- package/dist/chunks/{bus-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-vrbg0dwy.js → location-aymf12sh.js} +54 -54
- package/dist/chunks/{bus-gfrhbt09.js → location-b28tsbmy.js} +46 -46
- package/dist/chunks/{bus-b6vsg801.js → location-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-qdbka4b1.js → location-b7wr440c.js} +43 -43
- package/dist/chunks/{bus-z2fce490.js → location-be0s1b3n.js} +38 -38
- package/dist/chunks/{bus-1g7c6e54.js → location-bfr8tpj8.js} +32 -32
- package/dist/chunks/{bus-202bxvr4.js → location-bk7xq8bh.js} +8 -8
- package/dist/chunks/{bus-bstexjd6.js → location-bstexjd6.js} +1 -1
- package/dist/chunks/{bus-zndqqzj0.js → location-bw5vtrk1.js} +7 -7
- package/dist/chunks/{bus-kc5j4g2a.js → location-bzr330f0.js} +12 -12
- package/dist/chunks/{bus-yx414ezz.js → location-c0pkgj13.js} +25 -25
- package/dist/chunks/{bus-318j3scp.js → location-c1ssndk2.js} +15 -15
- package/dist/chunks/{bus-hr4y9snp.js → location-c46s9eb3.js} +5 -5
- package/dist/chunks/{bus-80tdcfqk.js → location-c5d4dktm.js} +21 -21
- package/dist/chunks/{bus-2h7ns30t.js → location-c6hmmbmz.js} +16 -16
- package/dist/chunks/{bus-wryn09gb.js → location-c82dcvad.js} +40 -40
- package/dist/chunks/{bus-hyz0p7s3.js → location-cgw9zbep.js} +41 -41
- package/dist/chunks/{bus-t8nkzmzj.js → location-cpvd08na.js} +7 -7
- package/dist/chunks/{bus-cwrgdav8.js → location-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-28pxs2mp.js → location-cyrksjq4.js} +48 -48
- package/dist/chunks/{bus-v1mvcyvz.js → location-cz3s2vhd.js} +16 -16
- package/dist/chunks/{bus-nq9yeqc2.js → location-cz80cm7r.js} +5 -5
- package/dist/chunks/{bus-jyzwec4f.js → location-d0ekazng.js} +9 -9
- package/dist/chunks/{bus-d4v9tmah.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-91ptfphb.js → location-d6w39weh.js} +6 -6
- package/dist/chunks/{bus-y75mjge0.js → location-d7xwrqch.js} +18 -18
- package/dist/chunks/{bus-xejvhz9r.js → location-d85q5s2h.js} +12 -12
- package/dist/chunks/{bus-b6rd9qx0.js → location-d9t7madm.js} +21 -21
- package/dist/chunks/{bus-n6v2b7cw.js → location-dbmp929s.js} +5 -5
- package/dist/chunks/{bus-trhfn8g8.js → location-ddjm3yr7.js} +25 -25
- package/dist/chunks/{bus-x0zbzfsq.js → location-dnkt163z.js} +11 -11
- package/dist/chunks/{bus-3ghe7v75.js → location-dqz1xx52.js} +11 -11
- package/dist/chunks/{bus-dt77769w.js → location-dt77769w.js} +1 -1
- package/dist/chunks/{bus-7bbbm94a.js → location-dwrgp3np.js} +9 -9
- package/dist/chunks/{bus-e834z07m.js → location-e834z07m.js} +1 -1
- package/dist/chunks/{bus-f4ytg5tz.js → location-eeeyas8n.js} +16 -16
- package/dist/chunks/{bus-0vngay7z.js → location-egqjccw6.js} +6 -6
- package/dist/chunks/{bus-2mbjfaxd.js → location-emq6awqh.js} +4 -4
- package/dist/chunks/{bus-yf318key.js → location-eprcdpyx.js} +16 -16
- package/dist/chunks/{bus-xnh55p1t.js → location-eqmd2tfz.js} +4 -4
- package/dist/chunks/{bus-e15nhmy1.js → location-esnc8dys.js} +28 -28
- package/dist/chunks/{bus-9f4wf6j5.js → location-ewwfb56b.js} +21 -21
- package/dist/chunks/{bus-q8xgfnz9.js → location-f34t46m8.js} +4 -4
- package/dist/chunks/{bus-wese96kb.js → location-f3v3m9ze.js} +18 -18
- package/dist/chunks/{bus-zft044xm.js → location-f41wwg2r.js} +15 -15
- package/dist/chunks/{bus-p95v73xf.js → location-f42021n0.js} +11 -11
- package/dist/chunks/{bus-9xdmq0rj.js → location-f4qt8m6m.js} +1 -1
- package/dist/chunks/{bus-k43xtnnt.js → location-fcsk47k5.js} +36 -36
- package/dist/chunks/{bus-aqn39phr.js → location-ffb88fvm.js} +11 -11
- package/dist/chunks/{bus-fffv3p7h.js → location-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-prq7xxp2.js → location-fg9p65nk.js} +6 -6
- package/dist/chunks/{bus-pvyyw61m.js → location-fjq4jm3y.js} +12 -12
- package/dist/chunks/{bus-pqbgj65r.js → location-fk13tq6z.js} +6 -6
- package/dist/chunks/{bus-eh53sddq.js → location-fy7btgzb.js} +8 -8
- package/dist/chunks/{bus-hb5by4mw.js → location-g95hdg3z.js} +2 -2
- package/dist/chunks/{bus-3pyfgsed.js → location-g9cf8r9e.js} +5 -5
- package/dist/chunks/{bus-ftcx6fze.js → location-gc4x1yks.js} +18 -18
- package/dist/chunks/{bus-gg8p9cgs.js → location-gg8p9cgs.js} +3 -3
- package/dist/chunks/{bus-vdpte8t6.js → location-gnd3kbwx.js} +9 -9
- package/dist/chunks/{bus-pgccxgxx.js → location-gqkf6x4j.js} +5 -5
- package/dist/chunks/{bus-vdszap64.js → location-grdzfs6a.js} +20 -20
- package/dist/chunks/{bus-mctkcdhf.js → location-gs8jhd8n.js} +10 -10
- package/dist/chunks/{bus-d09bby1r.js → location-gvtm772t.js} +20 -20
- package/dist/chunks/{bus-jnexj6w3.js → location-h4tk9ys0.js} +9 -9
- package/dist/chunks/{bus-zy3ny4fv.js → location-hm02wpk1.js} +4 -4
- package/dist/chunks/{bus-hpg1pkwy.js → location-hpg1pkwy.js} +1 -1
- package/dist/chunks/{bus-c0qzg0ns.js → location-htyzxrkw.js} +9 -9
- package/dist/chunks/{bus-ayzfzkn7.js → location-hv0nh322.js} +15 -15
- package/dist/chunks/{bus-sq4s6wq1.js → location-hvvf9qw8.js} +6 -6
- package/dist/chunks/{bus-fjrrbk94.js → location-hvwvq3df.js} +6 -6
- package/dist/chunks/{bus-hpfdwx7h.js → location-hw9kv3mt.js} +6 -6
- package/dist/chunks/{bus-aca3fdkj.js → location-hxpa900c.js} +27 -27
- package/dist/chunks/{bus-j1c7w7ee.js → location-j3pm8grq.js} +23 -23
- package/dist/chunks/{bus-jfaecv01.js → location-jfaecv01.js} +1 -1
- package/dist/chunks/{bus-sp8z89es.js → location-jn7ycdjx.js} +28 -28
- package/dist/chunks/{bus-xwjtqyd6.js → location-jq4a7xgd.js} +23 -23
- package/dist/chunks/{bus-nwxgvres.js → location-jr4dr2q3.js} +3 -3
- package/dist/chunks/{bus-jtnps1zs.js → location-jtnps1zs.js} +2 -2
- package/dist/chunks/{bus-b27pwksx.js → location-jwb7hgyv.js} +32 -32
- package/dist/chunks/{bus-k814nvkf.js → location-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-115favz0.js → location-kz30j1ax.js} +29 -29
- package/dist/chunks/{bus-m1714858.js → location-m1714858.js} +1 -1
- package/dist/chunks/{bus-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-xfgzn115.js → location-mcdj7ymd.js} +11 -11
- package/dist/chunks/{bus-yrxm5vjq.js → location-me5xs82a.js} +2 -2
- package/dist/chunks/{bus-sbt0ppt2.js → location-mjtny0k5.js} +4 -4
- package/dist/chunks/{bus-zccp9y9w.js → location-mkqpe6ev.js} +18 -18
- package/dist/chunks/{bus-ssfehs1z.js → location-mtkfycnh.js} +4 -4
- package/dist/chunks/{bus-pkxcfm9w.js → location-mz4mmk88.js} +15 -15
- package/dist/chunks/location-n6xt4x7c.js +257 -0
- package/dist/chunks/{bus-26p0bz8p.js → location-n760pf4s.js} +4 -4
- package/dist/chunks/{bus-nah043kf.js → location-nah043kf.js} +1 -1
- package/dist/chunks/{bus-1d0dfj83.js → location-nbav8nzv.js} +20 -20
- package/dist/chunks/{bus-6ka7bmw9.js → location-nc0wwyw5.js} +24 -24
- package/dist/chunks/{bus-q68sayk5.js → location-ng4vhxme.js} +25 -25
- package/dist/chunks/{bus-1exzjqhg.js → location-npw72hw3.js} +10 -10
- package/dist/chunks/{bus-2awfp899.js → location-nr81yrq6.js} +25 -25
- package/dist/chunks/{bus-rabz4gbz.js → location-nrptqq6h.js} +178 -178
- package/dist/chunks/{bus-dvqbgpt5.js → location-nsj7r9cf.js} +34 -34
- package/dist/chunks/{bus-asdq5w3j.js → location-ny7rtrvd.js} +4 -4
- package/dist/chunks/{bus-p015t6z3.js → location-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-sdw7df28.js → location-p6ahbwec.js} +11 -11
- package/dist/chunks/{bus-y3d08psh.js → location-p78nc619.js} +7 -7
- package/dist/chunks/{bus-v9ez2kgh.js → location-p7vhpwh8.js} +5 -5
- package/dist/chunks/{bus-7bn21fbf.js → location-pj1mxnxz.js} +11 -11
- package/dist/chunks/{bus-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{bus-q63cb7ap.js → location-q63cb7ap.js} +3 -3
- package/dist/chunks/{bus-8tr79gj6.js → location-q7t6ck8g.js} +20 -20
- package/dist/chunks/{bus-ttbnswcg.js → location-qh48ndyz.js} +44 -44
- package/dist/chunks/{bus-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-daedf1v4.js → location-qtd5p5k1.js} +15 -15
- package/dist/chunks/{bus-g47j0eyn.js → location-qtf71cz0.js} +26 -26
- package/dist/chunks/{bus-wpz3wcrg.js → location-qvpfa8gz.js} +26 -26
- package/dist/chunks/{bus-392vc6at.js → location-qvtpbb9s.js} +22 -22
- package/dist/chunks/{bus-r0yr0wbs.js → location-r0yr0wbs.js} +1 -1
- package/dist/chunks/{bus-1vjx8yj7.js → location-r2ty45qf.js} +15 -15
- package/dist/chunks/{bus-0d6fyknv.js → location-r3gw80k4.js} +22 -22
- package/dist/chunks/{bus-92cc6t8x.js → location-r46x4fhg.js} +34 -34
- package/dist/chunks/{bus-r542h3bh.js → location-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-vrj8ew2c.js → location-r8c91qy6.js} +4 -4
- package/dist/chunks/{bus-k9zkdd2y.js → location-r94gekwm.js} +4 -4
- package/dist/chunks/{bus-58avzxmh.js → location-r9wv51da.js} +10 -10
- package/dist/chunks/{bus-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-rjnacbrz.js → location-rmt6m6se.js} +9 -9
- package/dist/chunks/{bus-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-0kwc83wc.js → location-rwgvp8j6.js} +8 -8
- package/dist/chunks/{bus-hpp5z55g.js → location-rxb1aw4a.js} +18 -18
- package/dist/chunks/{bus-d407mc82.js → location-s67yrvpd.js} +35 -35
- package/dist/chunks/{bus-41v2khpa.js → location-s8ffyqk5.js} +15 -15
- package/dist/chunks/{bus-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-qp096xn7.js → location-sqb3gwyh.js} +3 -3
- package/dist/chunks/{bus-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-svcy3p9a.js → location-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-4tw0vbcd.js → location-t2bd3kw5.js} +27 -27
- package/dist/chunks/{bus-vape2eed.js → location-t4mesnkk.js} +10 -10
- package/dist/chunks/{bus-0b5bk359.js → location-t51jc41k.js} +12 -12
- package/dist/chunks/{bus-11g23rvp.js → location-t96sw8s6.js} +14 -14
- package/dist/chunks/{bus-12vfgjr7.js → location-t9j1v4n7.js} +24 -24
- package/dist/chunks/{bus-jbwye8vs.js → location-tbwjycs5.js} +88 -88
- package/dist/chunks/{bus-tczq8hjw.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-5jkfxevk.js → location-teh9wf2k.js} +1 -1
- package/dist/chunks/{bus-fxew75b5.js → location-th9cnqvh.js} +2 -2
- package/dist/chunks/{bus-xgqp9xjz.js → location-tjs50ewy.js} +30 -30
- package/dist/chunks/{bus-55hqm2w5.js → location-trnwxx84.js} +18 -18
- package/dist/chunks/{bus-c2sed5cq.js → location-ts7mkfs9.js} +3 -3
- package/dist/chunks/{bus-twssxy5n.js → location-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-b2sk618g.js → location-tx5ztkvb.js} +35 -35
- package/dist/chunks/{bus-eb1az9va.js → location-v1nzqh31.js} +5 -5
- package/dist/chunks/{bus-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-rhsf7eaj.js → location-v4j91q1y.js} +9 -9
- package/dist/chunks/{bus-zg0jbn27.js → location-vaq1yek0.js} +3 -3
- package/dist/chunks/{bus-e7rs1ym5.js → location-vbw7dpbk.js} +7 -7
- package/dist/chunks/{bus-cyh1m4bh.js → location-vhy7b17j.js} +23 -23
- package/dist/chunks/{bus-3nxj7ahj.js → location-vp4gfj7b.js} +8 -8
- package/dist/chunks/{bus-bxx0c1dy.js → location-vx7y69zw.js} +11 -11
- package/dist/chunks/{bus-mmx1mfjr.js → location-w35wzz9x.js} +4 -4
- package/dist/chunks/{bus-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-bf1yga48.js → location-w6drehxa.js} +14 -14
- package/dist/chunks/{bus-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{bus-axtmazh5.js → location-wj3t59eb.js} +12 -12
- package/dist/chunks/{bus-mfgqvf60.js → location-wne0cxxy.js} +27 -27
- package/dist/chunks/{bus-wnhgecwx.js → location-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-fznmdakp.js → location-wr3re1en.js} +4 -4
- package/dist/chunks/{bus-nxvcq4k6.js → location-wvs4skyz.js} +4 -4
- package/dist/chunks/{bus-fqt3dxq8.js → location-wzg0h9b8.js} +21 -21
- package/dist/chunks/{bus-px66bgmz.js → location-x2ecggsc.js} +13 -13
- package/dist/chunks/{bus-pbdpbvt7.js → location-x4jkdn6e.js} +11 -11
- package/dist/chunks/{bus-a2rnws1g.js → location-x628q3tw.js} +7 -7
- package/dist/chunks/{bus-8dsbdaxx.js → location-xe50az9a.js} +6 -6
- package/dist/chunks/location-xgsg3c9w.js +18 -0
- package/dist/chunks/{bus-xyr09rm8.js → location-xhd45jer.js} +17 -17
- package/dist/chunks/{bus-e4qxz956.js → location-xndqmg8y.js} +12 -12
- package/dist/chunks/{bus-yp1da822.js → location-xpfvn7yf.js} +27 -27
- package/dist/chunks/{bus-50abynqw.js → location-xqsejeyp.js} +13 -13
- package/dist/chunks/{bus-s9y69kg7.js → location-xrx1pqtv.js} +16 -16
- package/dist/chunks/{bus-tem644mg.js → location-y08xa3vn.js} +18 -18
- package/dist/chunks/{bus-c7vhk5p1.js → location-y1s3hmc3.js} +17 -17
- package/dist/chunks/{bus-70ysbda5.js → location-y35pcaf8.js} +14 -14
- package/dist/chunks/{bus-yara3q77.js → location-yara3q77.js} +2 -2
- package/dist/chunks/{bus-yb20nhc3.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-tg1vr1qt.js → location-ydsespw1.js} +8 -8
- package/dist/chunks/{bus-t2ghqwsf.js → location-yep4axjb.js} +6 -6
- package/dist/chunks/{bus-w3g0gy4q.js → location-ymcm4zbd.js} +6 -6
- package/dist/chunks/{bus-g9p8xacw.js → location-ys2ews8t.js} +20 -20
- package/dist/chunks/{bus-4mvq7p36.js → location-yzk83bqb.js} +12 -12
- package/dist/chunks/{bus-z38nccrw.js → location-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-1mnh31fd.js → location-z54xpf00.js} +22 -22
- package/dist/chunks/{bus-zfyb5tr4.js → location-zfyb5tr4.js} +1 -1
- package/dist/chunks/{bus-w11ey1wa.js → location-zq8z39xr.js} +11 -11
- package/dist/chunks/{bus-dd60zzyr.js → location-zv6chf9e.js} +9 -9
- package/dist/chunks/{bus-61ennm6n.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 +91 -91
- package/dist/config/discovery.js +90 -90
- 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 +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- 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 +121 -121
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +375 -375
- 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 +101 -101
- 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 +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- 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 +107 -107
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- 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 +161 -161
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +92 -92
- 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 +113 -113
- package/dist/mcp/instructions.js +166 -166
- 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 +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -112
- 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 +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- 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 +1 -1
- 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 +130 -130
- 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 +80 -80
- 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 +6 -6
- 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 +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +106 -106
- 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 +105 -105
- 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 +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- 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 +144 -144
- package/dist/snapshot.js +101 -101
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +167 -167
- 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 +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +145 -145
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +143 -143
- 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 +106 -106
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +89 -89
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- 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 +108 -108
- package/package.json +8 -8
- package/dist/chunks/bus-dkzb616j.js +0 -257
- package/dist/chunks/bus-me0dhgxs.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1jakw16s.js → location-1jakw16s.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4m86bj6y.js → location-4m86bj6y.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → location-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → location-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → location-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → location-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → location-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-ncqqe42p.js → location-ncqqe42p.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → location-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./location-d7xwrqch.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-y1s3hmc3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./location-ac1py7fc.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-1kn6jdkn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
File2,
|
|
15
|
+
Service41
|
|
16
|
+
} from "./location-hxpa900c.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin20
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin20 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service41;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service70;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service79;
|
|
44
|
+
const watcher = yield* Service71;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -66,13 +66,13 @@ var Plugin44 = define({
|
|
|
66
66
|
yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
}
|
|
68
68
|
const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
|
|
69
|
-
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new
|
|
69
|
+
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File2({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
|
|
70
70
|
});
|
|
71
71
|
const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
|
|
72
72
|
if (!discovery.global || !(yield* fs.isFile(globalFile)))
|
|
73
73
|
return [];
|
|
74
74
|
const file = yield* read(globalFile);
|
|
75
|
-
return file instanceof
|
|
75
|
+
return file instanceof File2 ? [file] : [];
|
|
76
76
|
});
|
|
77
77
|
const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
|
|
78
78
|
if (!project)
|
|
@@ -82,7 +82,7 @@ var Plugin44 = define({
|
|
|
82
82
|
const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
|
|
83
83
|
if (files.some((file) => file === undefined))
|
|
84
84
|
return unavailable3;
|
|
85
|
-
return files.filter((file) => file instanceof
|
|
85
|
+
return files.filter((file) => file instanceof File2);
|
|
86
86
|
});
|
|
87
87
|
const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
|
|
88
88
|
const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
|
|
@@ -117,7 +117,7 @@ var Plugin44 = define({
|
|
|
117
117
|
continue;
|
|
118
118
|
watched.add(resolved);
|
|
119
119
|
const file = yield* read(resolved);
|
|
120
|
-
if (file instanceof
|
|
120
|
+
if (file instanceof File2)
|
|
121
121
|
files.push(file);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -136,7 +136,7 @@ var Plugin44 = define({
|
|
|
136
136
|
const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
|
|
137
137
|
const entries = yield* config.entries();
|
|
138
138
|
const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
|
|
139
|
-
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new
|
|
139
|
+
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File2({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
|
|
140
140
|
configured.sources = sources;
|
|
141
141
|
configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
|
|
142
142
|
}, (effect) => lock.withPermit(effect));
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin20, exports_instruction };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-jr4dr2q3.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service85,
|
|
8
8
|
node89
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-hm02wpk1.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-htyzxrkw.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node71
|
|
22
|
+
} from "./location-bzr330f0.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service19,
|
|
25
|
+
node21
|
|
26
|
+
} from "./location-6xvvx5e8.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-r542h3bh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service10,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node12
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service10 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service85;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service19;
|
|
79
|
+
const store = yield* Service68;
|
|
80
80
|
const db = (yield* Service86).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service10.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [node89, llmClient2,
|
|
165
|
+
var node12 = makeLocationNode({
|
|
166
|
+
service: Service10,
|
|
167
|
+
layer: layer7,
|
|
168
|
+
deps: [node89, llmClient2, node21, node71, node90]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service10, isUntitled2, layer7, node12, exports_title };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-zzdv5d93.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-hm02wpk1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
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
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service78
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-6t862pnj.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-xhd45jer.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load4,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./location-46cvvfkv.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-bw5vtrk1.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./location-gc4x1yks.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID16.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -183,7 +183,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
184
|
const provider = yield* providers.get(ID13.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load4(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -209,7 +209,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
241
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
244
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -266,7 +266,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-vbw7dpbk.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./location-wj3t59eb.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node81
|
|
17
|
+
} from "./location-npw72hw3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node35,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service32 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service77;
|
|
110
|
+
return Service32.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node35 = makeGlobalNode({
|
|
173
|
+
service: Service32,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node81]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service32, isError2, validateBranch2, node35, exports_repository_cache };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-6t862pnj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./location-xhd45jer.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin14,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin14 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service76;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin14, exports_verbosity };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./location-wj3t59eb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./location-y1s3hmc3.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service46,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node48,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service46 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node48 = makeLocationNode({
|
|
158
|
+
service: Service46,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error3({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID4, Error3, Service46, node48, noopLayer3, exports_snapshot2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-hm02wpk1.js";
|
|
4
4
|
import {
|
|
5
5
|
Event19
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-nbav8nzv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID16
|
|
9
|
+
} from "./location-esnc8dys.js";
|
|
10
10
|
import {
|
|
11
11
|
ID13
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-6t862pnj.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID16.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|