@opencode/core 0.0.0-dev-152 → 0.0.0-dev-154
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 +85 -85
- 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-034tev2y.js → app-034tev2y.js} +2 -2
- package/dist/chunks/{bus-zhbst0xe.js → app-07jak3sf.js} +11 -11
- package/dist/chunks/{bus-aaf96cer.js → app-0de7abqf.js} +17 -17
- package/dist/chunks/{bus-7xqx5zcv.js → app-0n5d8qw9.js} +19 -19
- package/dist/chunks/{bus-d549k1v9.js → app-0pxwvsqb.js} +28 -28
- package/dist/chunks/{bus-php6tqqg.js → app-0s7dzr9x.js} +13 -13
- package/dist/chunks/{bus-66r9f6z1.js → app-0t098hqn.js} +5 -5
- package/dist/chunks/{bus-mk0mrn7p.js → app-0yepvbfh.js} +5 -5
- package/dist/chunks/{bus-tw5b64mh.js → app-0ykya879.js} +42 -42
- package/dist/chunks/{bus-tf1zmpna.js → app-1e7btjy7.js} +28 -28
- package/dist/chunks/{bus-1ep2p91f.js → app-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-vt55bbet.js → app-1keh6edx.js} +9 -9
- package/dist/chunks/{bus-gtn9c16a.js → app-1kn6jdkn.js} +4 -4
- package/dist/chunks/{bus-mp3es3wh.js → app-1s0v3afe.js} +23 -23
- package/dist/chunks/{bus-1x2knyw4.js → app-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-v24v0w5v.js → app-1x45b3zs.js} +21 -21
- package/dist/chunks/{bus-204s3925.js → app-204s3925.js} +1 -1
- package/dist/chunks/{bus-egz84e2g.js → app-21wfq1mc.js} +8 -8
- package/dist/chunks/{bus-1vngayeg.js → app-27hfenyq.js} +23 -23
- package/dist/chunks/{bus-66nne91h.js → app-2ae1t5g1.js} +19 -19
- package/dist/chunks/{bus-4mecw7tx.js → app-2ew5z7b1.js} +6 -6
- package/dist/chunks/{bus-sphh171f.js → app-2fw7yy1m.js} +18 -18
- package/dist/chunks/{bus-zag14nrm.js → app-2x53phk9.js} +13 -13
- package/dist/chunks/{bus-rhnkpwb6.js → app-2xef4nz5.js} +87 -87
- package/dist/chunks/app-2xfnk94a.js +257 -0
- package/dist/chunks/{bus-jh74jycr.js → app-2zp5a6yg.js} +3 -3
- package/dist/chunks/{bus-0h1znnmj.js → app-2zsvneh4.js} +27 -27
- package/dist/chunks/{bus-fxpnf8nj.js → app-30hfv7eh.js} +25 -25
- package/dist/chunks/{bus-7p2xypxk.js → app-31hh79mt.js} +3 -3
- package/dist/chunks/{bus-5xph8w7t.js → app-33p2et1z.js} +2 -2
- package/dist/chunks/{bus-a894mmyw.js → app-3fkaq49n.js} +12 -12
- package/dist/chunks/{bus-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-c46s9eb3.js → app-3j1m3tq4.js} +5 -5
- package/dist/chunks/{bus-0gfe9fsk.js → app-3j3pngsv.js} +16 -16
- package/dist/chunks/{bus-d2083a73.js → app-3ms0cx1v.js} +9 -9
- package/dist/chunks/{bus-3nnrz6f6.js → app-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-5pw3r2ne.js → app-3qn2g3vw.js} +21 -21
- package/dist/chunks/{bus-80d82js4.js → app-3y09gzcd.js} +30 -30
- package/dist/chunks/{bus-r41sfy63.js → app-40za9wsf.js} +6 -6
- package/dist/chunks/{bus-jwskem5m.js → app-4htfa8b4.js} +9 -9
- package/dist/chunks/{bus-4pyp9zr9.js → app-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-xb1jttyy.js → app-4qs1r5ye.js} +10 -10
- package/dist/chunks/{bus-4v008n1t.js → app-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-vbjqtebd.js → app-55pbqef1.js} +11 -11
- package/dist/chunks/{bus-ayeq9fxf.js → app-5cgamgw5.js} +8 -8
- package/dist/chunks/{bus-axvdzfmk.js → app-5dz02hsn.js} +36 -36
- package/dist/chunks/{bus-4hxq42hq.js → app-5e0jccqk.js} +40 -40
- package/dist/chunks/{bus-g6znav2x.js → app-5egkm6n4.js} +21 -21
- package/dist/chunks/{bus-h4h70rke.js → app-5g6ryekv.js} +11 -11
- package/dist/chunks/{bus-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-k0yyexjz.js → app-5nqa02xf.js} +7 -7
- package/dist/chunks/{bus-j9k3j265.js → app-5x0df2c7.js} +16 -16
- package/dist/chunks/{bus-dt017gbd.js → app-5x26af84.js} +4 -4
- package/dist/chunks/{bus-e7f7th6w.js → app-63w42kdm.js} +17 -17
- package/dist/chunks/{bus-bv13p4fx.js → app-6bjafys9.js} +39 -39
- package/dist/chunks/{bus-zhg8hwj9.js → app-6cqtc0z1.js} +3 -3
- package/dist/chunks/{bus-mtbmcvn3.js → app-6dqz8pz2.js} +15 -15
- package/dist/chunks/{bus-6esdw8yj.js → app-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-2v9xjkct.js → app-6gcbxqy3.js} +11 -11
- package/dist/chunks/{bus-p982yv7g.js → app-6jyensvk.js} +15 -15
- package/dist/chunks/{bus-nykvvcdf.js → app-6skzthee.js} +45 -45
- package/dist/chunks/{bus-v1pjhk6s.js → app-6wvd3f7f.js} +46 -46
- package/dist/chunks/{bus-r7xar5ns.js → app-704d1ccs.js} +5 -5
- package/dist/chunks/{bus-9qx2r5e1.js → app-74aceyyx.js} +14 -14
- package/dist/chunks/{bus-dehz80p8.js → app-7b3xb549.js} +16 -16
- package/dist/chunks/{bus-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-1q3kyvas.js → app-7mgk0w6k.js} +35 -35
- package/dist/chunks/{bus-sfz5r5s7.js → app-7rgpc39j.js} +4 -4
- package/dist/chunks/{bus-9rpyvasa.js → app-7tmb88t2.js} +16 -16
- package/dist/chunks/{bus-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-262vwvmj.js → app-7zjq4229.js} +52 -52
- package/dist/chunks/{bus-3mr6yv6e.js → app-82wwwf0v.js} +30 -30
- package/dist/chunks/{bus-n72e3dxd.js → app-8ctydw00.js} +5 -5
- package/dist/chunks/{bus-8jztxfpf.js → app-8jztxfpf.js} +1 -1
- package/dist/chunks/{bus-gr64q9r0.js → app-8m9rkatr.js} +35 -35
- package/dist/chunks/{bus-7jdsj2a9.js → app-8n9x2wf6.js} +3 -3
- package/dist/chunks/{bus-axv2anjp.js → app-8njn90az.js} +5 -5
- package/dist/chunks/{bus-74kexyah.js → app-8vr744sr.js} +15 -15
- package/dist/chunks/{bus-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-90zstvax.js → app-90zstvax.js} +1 -1
- package/dist/chunks/{bus-6p33ca8y.js → app-93kc9x3v.js} +36 -36
- package/dist/chunks/{bus-k8czmj01.js → app-93r13ete.js} +4 -4
- package/dist/chunks/{bus-ygn5zq2v.js → app-9ck2cvgd.js} +6 -6
- package/dist/chunks/{bus-mkc5pejr.js → app-9fkg6669.js} +25 -25
- package/dist/chunks/{bus-bhqdc3dd.js → app-9hz2y3zt.js} +5 -5
- package/dist/chunks/{bus-nbagtjvc.js → app-9py9hrxf.js} +8 -8
- package/dist/chunks/{bus-9r0x1bva.js → app-9r0x1bva.js} +2 -2
- package/dist/chunks/{bus-z1pk19p9.js → app-9rc2701h.js} +25 -25
- package/dist/chunks/{bus-mf20dtnm.js → app-9sqzj7jg.js} +9 -9
- package/dist/chunks/{bus-qyjx7zef.js → app-a1psyh0e.js} +54 -54
- package/dist/chunks/{bus-sh3ewazw.js → app-a23dk102.js} +24 -24
- package/dist/chunks/{bus-n8d14czh.js → app-a5g15581.js} +2 -2
- package/dist/chunks/{bus-4s2mjqvx.js → app-ab9bg942.js} +7 -7
- package/dist/chunks/{bus-tnd9tkz8.js → app-ake2hqrg.js} +35 -35
- package/dist/chunks/{bus-5ampr7t5.js → app-akkk1sdk.js} +20 -20
- package/dist/chunks/{bus-ayjs7tqn.js → app-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-per75jj3.js → app-b3zct85d.js} +13 -13
- package/dist/chunks/{bus-5nnwax6m.js → app-b6vsg801.js} +5 -5
- package/dist/chunks/{bus-fznmdakp.js → app-b6z35kmf.js} +4 -4
- package/dist/chunks/{bus-8d5qbnzp.js → app-b7wk06bj.js} +17 -17
- package/dist/chunks/{bus-tmcdqab3.js → app-bbr79q9y.js} +19 -19
- package/dist/chunks/{bus-rq99gy5c.js → app-bgt8033q.js} +19 -19
- package/dist/chunks/{bus-zba5tm1j.js → app-bjhzkqyk.js} +4 -4
- package/dist/chunks/{bus-2rm9p9v2.js → app-bkbcgtea.js} +16 -16
- package/dist/chunks/{bus-xd9cc171.js → app-bstexjd6.js} +5 -5
- package/dist/chunks/{bus-4g39zpm1.js → app-c1r1st4g.js} +9 -9
- package/dist/chunks/{bus-mp1rva77.js → app-c1vn5m0x.js} +12 -12
- package/dist/chunks/{bus-d2887f8n.js → app-c9t2ty9q.js} +4 -4
- package/dist/chunks/{bus-zw8syyj9.js → app-cf803178.js} +48 -48
- package/dist/chunks/{bus-cwrgdav8.js → app-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-143b30bg.js → app-cx53cxfp.js} +45 -45
- package/dist/chunks/{bus-r2dfnzky.js → app-cz5kb1g3.js} +24 -24
- package/dist/chunks/{bus-y17k4q4v.js → app-d0fmer5r.js} +11 -11
- package/dist/chunks/{bus-d4v9tmah.js → app-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-whzwjc82.js → app-d5cb15dn.js} +3 -3
- package/dist/chunks/{bus-0hwce0kj.js → app-dmcgdv1e.js} +15 -15
- package/dist/chunks/{bus-dt77769w.js → app-dt77769w.js} +1 -1
- package/dist/chunks/{bus-p7hw6s3p.js → app-e56je643.js} +30 -30
- package/dist/chunks/{bus-1ywwe2vf.js → app-e5eg64a5.js} +31 -31
- package/dist/chunks/{bus-9mv7prxk.js → app-e60gsjm8.js} +5 -5
- package/dist/chunks/{bus-e834z07m.js → app-e834z07m.js} +1 -1
- package/dist/chunks/{bus-82cx696m.js → app-e8tkz5dw.js} +9 -9
- package/dist/chunks/{bus-54gmmeqn.js → app-ea33c2qg.js} +24 -24
- package/dist/chunks/{bus-6hhw3d62.js → app-egbbp34j.js} +320 -320
- package/dist/chunks/{bus-bwssq4c8.js → app-etdr2v1n.js} +17 -17
- package/dist/chunks/{bus-6nnjhmtv.js → app-ez2q85hn.js} +10 -10
- package/dist/chunks/{bus-4r9ar4c5.js → app-f6t2q3wp.js} +27 -27
- package/dist/chunks/{bus-t9pdq77j.js → app-f7ma11rg.js} +6 -6
- package/dist/chunks/{bus-mgxf3nw1.js → app-fbpx3b1j.js} +5 -5
- package/dist/chunks/{bus-wd98jrzr.js → app-fergjrqy.js} +44 -44
- package/dist/chunks/{bus-fffv3p7h.js → app-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-dpgr420w.js → app-fjrrbk94.js} +8 -8
- package/dist/chunks/{bus-zhdefwpn.js → app-g1nmrsk3.js} +4 -4
- package/dist/chunks/{bus-7awmyg8w.js → app-g4dya9hf.js} +18 -18
- package/dist/chunks/{bus-rbrtkemz.js → app-g643egj3.js} +33 -33
- package/dist/chunks/{bus-vmfhgzt5.js → app-g7esga4v.js} +5 -5
- package/dist/chunks/{bus-28tb69ev.js → app-g82he7b4.js} +4 -4
- package/dist/chunks/{bus-x26wqd07.js → app-g9ndtp1p.js} +4 -4
- package/dist/chunks/{bus-rjnacbrz.js → app-gcjdgkn2.js} +9 -9
- package/dist/chunks/{bus-gg8p9cgs.js → app-gg8p9cgs.js} +3 -3
- package/dist/chunks/{bus-cahpqgn3.js → app-gtjpp1bw.js} +8 -8
- package/dist/chunks/{bus-x4rdhtj7.js → app-h0j4kxab.js} +4 -4
- package/dist/chunks/{bus-q7x8fwh9.js → app-h8dtgpmt.js} +30 -30
- package/dist/chunks/{bus-pwewe2xv.js → app-ha4346mp.js} +15 -15
- package/dist/chunks/{bus-jqyqtkb2.js → app-hdfrs5mg.js} +7 -7
- package/dist/chunks/{bus-92xvpge0.js → app-hev7bgb4.js} +1 -1
- package/dist/chunks/{bus-h1cdfdv6.js → app-hf2bt1yf.js} +11 -11
- package/dist/chunks/{bus-hpg1pkwy.js → app-hpg1pkwy.js} +1 -1
- package/dist/chunks/{bus-b697ydwv.js → app-hxfttvn6.js} +16 -16
- package/dist/chunks/{bus-s0sc04p0.js → app-j2hdxfca.js} +7 -7
- package/dist/chunks/{bus-3mn5pj7y.js → app-jarjxtv9.js} +10 -10
- package/dist/chunks/{bus-2sx3gc78.js → app-jcfw09eb.js} +5 -5
- package/dist/chunks/{bus-jfaecv01.js → app-jfaecv01.js} +1 -1
- package/dist/chunks/{bus-zfqs8zdj.js → app-jtmc5z9s.js} +4 -4
- package/dist/chunks/{bus-jtnps1zs.js → app-jtnps1zs.js} +2 -2
- package/dist/chunks/{bus-cr9b5z5f.js → app-jvng8k19.js} +30 -30
- package/dist/chunks/{bus-gypkc13r.js → app-jyb2x45z.js} +32 -32
- package/dist/chunks/{bus-m9cgb1kb.js → app-k32rv71p.js} +192 -192
- package/dist/chunks/{bus-pcw9jkqq.js → app-k4b19tjg.js} +27 -27
- package/dist/chunks/{bus-djh6j75c.js → app-k5yr6s7c.js} +26 -26
- package/dist/chunks/{bus-k814nvkf.js → app-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-frk5he0g.js → app-k9theajj.js} +3 -3
- package/dist/chunks/{bus-7twpj7sy.js → app-k9zkdd2y.js} +4 -4
- package/dist/chunks/{bus-tg1vr1qt.js → app-kmzgegqq.js} +8 -8
- package/dist/chunks/{bus-1hhczaqt.js → app-kr871z6k.js} +68 -68
- package/dist/chunks/{bus-q0130fbt.js → app-kszcj8bj.js} +8 -8
- package/dist/chunks/{bus-kt3bjfbg.js → app-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-ds0zqevt.js → app-kzfxa4f3.js} +10 -10
- package/dist/chunks/{bus-m1714858.js → app-m1714858.js} +1 -1
- package/dist/chunks/{bus-t2zvsq3v.js → app-m41qe238.js} +18 -18
- package/dist/chunks/{bus-9n6rx99f.js → app-m5ke421k.js} +15 -15
- package/dist/chunks/{bus-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/app-n3r3rt18.js +18 -0
- package/dist/chunks/{bus-0hmmm0am.js → app-n50am6bm.js} +12 -12
- package/dist/chunks/{bus-ennnne6b.js → app-n5xgg07e.js} +29 -29
- package/dist/chunks/{bus-tv1ncpxj.js → app-n67wscdr.js} +22 -22
- package/dist/chunks/{bus-6xqtcmxs.js → app-n6v2b7cw.js} +5 -5
- package/dist/chunks/{bus-770pw0s1.js → app-nah043kf.js} +4 -4
- package/dist/chunks/{bus-r04jhjmv.js → app-ng55e7tz.js} +22 -22
- package/dist/chunks/{bus-gtdyb2hv.js → app-nhq4513k.js} +10 -10
- package/dist/chunks/{bus-tea79k12.js → app-np7r7vht.js} +3 -3
- package/dist/chunks/{bus-t4y8tttc.js → app-nrqtba0r.js} +10 -10
- package/dist/chunks/{bus-z70brj9w.js → app-ntdydndm.js} +6 -6
- package/dist/chunks/{bus-57y44b3r.js → app-nv63jqdq.js} +33 -33
- package/dist/chunks/{bus-p015t6z3.js → app-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-k5gj6mdj.js → app-p3enh426.js} +2 -2
- package/dist/chunks/{bus-yf5es9e1.js → app-p6v0ch0k.js} +19 -19
- package/dist/chunks/{bus-s7xmnr8t.js → app-p745vxmt.js} +4 -4
- package/dist/chunks/{bus-1yq9hg58.js → app-p7vhpwh8.js} +5 -5
- package/dist/chunks/{bus-vc91vb9f.js → app-pbprwcf6.js} +11 -11
- package/dist/chunks/{bus-2xb0rse3.js → app-pcqp6bgf.js} +11 -11
- package/dist/chunks/{bus-chwzkhva.js → app-pg22rdv8.js} +4 -4
- package/dist/chunks/{bus-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{bus-7xmk8kt5.js → app-pp3hsmtd.js} +15 -15
- package/dist/chunks/{bus-md7y7r04.js → app-pp4t1k5p.js} +1 -1
- package/dist/chunks/{bus-fg9p65nk.js → app-prq7xxp2.js} +6 -6
- package/dist/chunks/{bus-rnsevbcg.js → app-ptddvd2h.js} +27 -27
- package/dist/chunks/{bus-0b2mt5gn.js → app-ptyqyypb.js} +9 -9
- package/dist/chunks/{bus-q63cb7ap.js → app-q63cb7ap.js} +3 -3
- package/dist/chunks/{bus-dnrrejbr.js → app-qh8rr487.js} +10 -10
- package/dist/chunks/{bus-qp7r0hxv.js → app-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-k98yejja.js → app-qqg9c0kv.js} +7 -7
- package/dist/chunks/{bus-kw2mbtjb.js → app-qshvmas0.js} +8 -8
- package/dist/chunks/{bus-tyqgnm1n.js → app-qvey4sm2.js} +87 -87
- package/dist/chunks/{bus-r0yr0wbs.js → app-r0yr0wbs.js} +1 -1
- package/dist/chunks/{bus-r542h3bh.js → app-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-2mbjfaxd.js → app-rcbjwvze.js} +4 -4
- package/dist/chunks/{bus-7h08hp86.js → app-re7t88nn.js} +11 -11
- package/dist/chunks/{bus-yyjb7mzv.js → app-rfnyhrr9.js} +24 -24
- package/dist/chunks/{bus-8n65s3mj.js → app-rfrp6wb4.js} +23 -23
- package/dist/chunks/{bus-rt5dr6hb.js → app-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-m0pa6z8h.js → app-rtmt0ker.js} +11 -11
- package/dist/chunks/{bus-mmx1mfjr.js → app-s7kyse9r.js} +4 -4
- package/dist/chunks/{bus-sa3fpqfw.js → app-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-z06bhcj3.js → app-sbgaw1e4.js} +15 -15
- package/dist/chunks/{bus-22hvzfep.js → app-sc8rteay.js} +7 -7
- package/dist/chunks/{bus-94bbnsy3.js → app-sjtbvs9h.js} +15 -15
- package/dist/chunks/{bus-0k7cj3jm.js → app-skghdyp9.js} +32 -32
- package/dist/chunks/{bus-sqjzf8x2.js → app-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-78e9150v.js → app-srr6m1ec.js} +14 -14
- package/dist/chunks/{bus-dqp29d1q.js → app-srvevd21.js} +6 -6
- package/dist/chunks/{bus-svcy3p9a.js → app-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-8884kj69.js → app-sx0ham9j.js} +28 -28
- package/dist/chunks/{bus-0fdggymb.js → app-t4shvcfr.js} +35 -35
- package/dist/chunks/{bus-jct98qnh.js → app-t7zke5ff.js} +11 -11
- package/dist/chunks/{bus-3w2dxmpf.js → app-ta9v9zr8.js} +12 -12
- package/dist/chunks/{bus-0x2frnqw.js → app-tcbq9mp3.js} +32 -32
- package/dist/chunks/{bus-erce1yde.js → app-tcwjgpz8.js} +15 -15
- package/dist/chunks/{bus-tczq8hjw.js → app-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-n9zmybh9.js → app-tqn3p9pj.js} +8 -8
- package/dist/chunks/{bus-tqjaw1k6.js → app-tvdj5ey7.js} +16 -16
- package/dist/chunks/{bus-twssxy5n.js → app-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-hzq27gzr.js → app-v2g26xr4.js} +22 -22
- package/dist/chunks/{bus-v2r1d0zg.js → app-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-f0hpc87x.js → app-v4zhf7xj.js} +9 -9
- package/dist/chunks/{bus-p2nwte34.js → app-v7nt063j.js} +15 -15
- package/dist/chunks/{bus-26x8chrq.js → app-vaq1yek0.js} +6 -6
- package/dist/chunks/{bus-x6fw54z8.js → app-vhpwchdg.js} +14 -14
- package/dist/chunks/{bus-9ejttjga.js → app-vkd40qe4.js} +4 -4
- package/dist/chunks/{bus-12a87htm.js → app-vq1ppevj.js} +8 -8
- package/dist/chunks/{bus-bqa1dn77.js → app-vv0642pf.js} +14 -14
- package/dist/chunks/{bus-yeyfr6zk.js → app-w11ey1wa.js} +11 -11
- package/dist/chunks/{bus-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-rt9gf2gx.js → app-w6ncc5qr.js} +20 -20
- package/dist/chunks/{bus-76cb1hcw.js → app-w8qtt4th.js} +4 -4
- package/dist/chunks/{bus-47p5enej.js → app-w9hhvpm8.js} +47 -47
- package/dist/chunks/{bus-sq4s6wq1.js → app-wa8k00xj.js} +6 -6
- package/dist/chunks/{bus-wakvkjy4.js → app-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{bus-wnhgecwx.js → app-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-m91kzycp.js → app-wrtc07rs.js} +12 -12
- package/dist/chunks/{bus-a1t1p5x7.js → app-wstnt05x.js} +7 -7
- package/dist/chunks/{bus-n26fb8s5.js → app-wvdezepv.js} +16 -16
- package/dist/chunks/{bus-mwy1hny1.js → app-wyaqkzkb.js} +11 -11
- package/dist/chunks/{bus-4pw5pj18.js → app-x5zq306v.js} +16 -16
- package/dist/chunks/{bus-4g4fjqx3.js → app-x6rhjf1k.js} +5 -5
- package/dist/chunks/{bus-98yvrg9m.js → app-x7p9x0b3.js} +23 -23
- package/dist/chunks/{bus-bydj5yam.js → app-xa6mtbaa.js} +24 -24
- package/dist/chunks/{bus-amrj7qc1.js → app-xaz3vqte.js} +6 -6
- package/dist/chunks/{bus-xq8cwy21.js → app-xenncx96.js} +15 -15
- package/dist/chunks/app-xj018m1c.js +26 -0
- package/dist/chunks/{bus-ae36chvm.js → app-xnzy99m9.js} +13 -13
- package/dist/chunks/{bus-b3yncftq.js → app-xsjrgk20.js} +3 -3
- package/dist/chunks/{bus-5v6z2aq9.js → app-xw0s36x8.js} +3 -3
- package/dist/chunks/{bus-hk2cprw7.js → app-xy7qnd38.js} +22 -22
- package/dist/chunks/{bus-yara3q77.js → app-yara3q77.js} +2 -2
- package/dist/chunks/{bus-yb20nhc3.js → app-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-pjq1t0mz.js → app-ydsh7nqv.js} +8 -8
- package/dist/chunks/{bus-dey2yzxh.js → app-yhjvxxnz.js} +12 -12
- package/dist/chunks/{bus-gt5e2s7g.js → app-ym65bfmj.js} +14 -14
- package/dist/chunks/{bus-nyarhxsa.js → app-ymz7p2c9.js} +3 -3
- package/dist/chunks/{bus-hhnm585p.js → app-yt5g2b2x.js} +11 -11
- package/dist/chunks/{bus-bt2wwv95.js → app-yvktvmpy.js} +18 -18
- package/dist/chunks/{bus-z38nccrw.js → app-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-gy4h7feh.js → app-z7hqcxr0.js} +42 -42
- package/dist/chunks/{bus-y4beb61a.js → app-z842wknd.js} +14 -14
- package/dist/chunks/{bus-7hqgrrbh.js → app-za5w90np.js} +15 -15
- package/dist/chunks/{bus-0anyt1n6.js → app-zh7bbm8x.js} +9 -9
- package/dist/chunks/{bus-gfavdftz.js → app-zkcytb3h.js} +24 -24
- package/dist/chunks/{bus-svaxc9ga.js → app-zx8we4fz.js} +35 -35
- package/dist/chunks/{bus-b9z4djsc.js → app-zz5wm9x4.js} +15 -15
- package/dist/chunks/{bus-40862n3e.js → app-zz7z36z7.js} +26 -26
- package/dist/chunks/{bus-g56wxgxx.js → app-zzgj63p1.js} +34 -34
- package/dist/chunks/{bus-qn0xtqx2.js → app-zznqf8tz.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +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 +119 -119
- 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 +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +120 -120
- package/dist/config/plugin/websearch.js +120 -120
- 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 +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.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 +95 -95
- 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 +1 -1
- 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 +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- 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 +95 -95
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- 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 +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- 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 +84 -84
- 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 +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 +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- 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 +121 -121
- 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 +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +234 -234
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- 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 +3 -3
- 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 +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 +128 -128
- package/dist/session/message-updater.js +4 -4
- 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 +5 -5
- 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 +190 -190
- 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 +221 -221
- package/dist/shell/parse.js +8 -8
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +144 -144
- package/dist/snapshot.js +97 -97
- 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 +138 -138
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +224 -224
- 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 +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 +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- 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 +88 -88
- 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 +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/bus-jztn5z23.js +0 -18
- package/dist/chunks/bus-pth0qd0d.js +0 -257
- package/dist/chunks/bus-xgvyah86.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1jakw16s.js → app-1jakw16s.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4m86bj6y.js → app-4m86bj6y.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → app-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → app-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → app-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → app-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → app-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → app-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → app-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-ncqqe42p.js → app-ncqqe42p.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → app-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-vkd40qe4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service33,
|
|
7
|
+
node36
|
|
8
|
+
} from "./app-cf803178.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service55,
|
|
14
|
+
node57
|
|
15
|
+
} from "./app-z7hqcxr0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service62,
|
|
18
|
+
node64
|
|
19
|
+
} from "./app-a23dk102.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service40,
|
|
22
|
+
node43
|
|
23
|
+
} from "./app-w11ey1wa.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-63w42kdm.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service31,
|
|
36
|
+
layer: () => layer17,
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node34
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer17 = Layer.effect(Service31, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service33;
|
|
54
|
+
const tools = yield* Service62;
|
|
55
55
|
const bus = yield* Service85;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service55;
|
|
57
|
+
const toolOutput = yield* Service40;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node34 = makeLocationNode({
|
|
148
|
+
service: Service31,
|
|
149
|
+
layer: layer17,
|
|
150
|
+
deps: [node64, node36, node89, node57, node43]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service31, layer17, node34, exports_mcp3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./app-vv0642pf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./app-z7hqcxr0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service75;
|
|
57
|
+
const permission = yield* Service55;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input14,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-jvng8k19.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-8m9rkatr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID11.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./app-5x0df2c7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./app-cz5kb1g3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service44,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-2x53phk9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./app-6jyensvk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service55
|
|
17
|
+
} from "./app-z7hqcxr0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service13,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-9rc2701h.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output6,
|
|
35
|
+
Plugin: () => Plugin24,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input3 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output6 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin24 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service13;
|
|
197
|
+
const fileMutation = yield* Service44;
|
|
198
|
+
const environment = yield* Service80;
|
|
199
|
+
const formatter = yield* Service15;
|
|
200
|
+
const location = yield* Service82;
|
|
201
|
+
const permission = yield* Service55;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name7,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input7,
|
|
207
|
+
output: Output6,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin3 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Output6, Plugin24, exports_edit };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service37,
|
|
3
|
+
node40
|
|
4
|
+
} from "./app-sx0ham9j.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions2 = {};
|
|
17
17
|
__export(exports_instructions2, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service29,
|
|
20
|
+
node: () => node32
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service37;
|
|
68
|
+
return Service29.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make21({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node40] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service29, node32, exports_instructions2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-vkd40qe4.js";
|
|
4
4
|
import {
|
|
5
5
|
Event17
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
ID14
|
|
9
|
-
} from "./bus-40862n3e.js";
|
|
6
|
+
} from "./app-3j3pngsv.js";
|
|
10
7
|
import {
|
|
11
8
|
ID13
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./app-zz7z36z7.js";
|
|
10
|
+
import {
|
|
11
|
+
ID12
|
|
12
|
+
} from "./app-jvng8k19.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 = ID13.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;
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID12.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-204s3925.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service46,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured5,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options5 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service46 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve2.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service46.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured5(options) {
|
|
210
|
+
return makeLocationNode({ service: Service46, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node49 = configured5();
|
|
213
213
|
|
|
214
|
-
export { Options5,
|
|
214
|
+
export { Options5, Service46, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list3, configured5, node49, exports_select };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./app-5x0df2c7.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./app-9rc2701h.js";
|
|
13
13
|
import {
|
|
14
14
|
Service7
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-qh8rr487.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service32
|
|
26
|
+
} from "./app-63w42kdm.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input11,
|
|
35
|
+
Plugin: () => Plugin28,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
37
|
+
name: () => name11,
|
|
38
38
|
toModelContent: () => toModelContent5
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name11 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input11 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin28 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
60
|
+
const reader = yield* Service32;
|
|
61
|
+
const access = yield* Service13;
|
|
62
62
|
const sessionInstructions = yield* Service7;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service82;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name11,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input11,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -179,4 +179,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name11, Input11, Plugin28, toModelContent5, exports_read };
|