@opencode/core 0.0.0-dev-21670 → 0.0.0-dev-21673
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 +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{reference-034tev2y.js → project-034tev2y.js} +2 -2
- package/dist/chunks/{reference-0m83bapc.js → project-0d7fk1v9.js} +5 -5
- package/dist/chunks/{reference-yx5z65v3.js → project-0ge19jyf.js} +13 -13
- package/dist/chunks/{reference-nazbq7w0.js → project-0qaw3rsr.js} +14 -14
- package/dist/chunks/{reference-tarnqw0m.js → project-0yqx85sf.js} +20 -20
- package/dist/chunks/{reference-dy4pv8et.js → project-0yrbxed6.js} +14 -14
- package/dist/chunks/{reference-ngd7ekm8.js → project-0zmsqe55.js} +7 -7
- package/dist/chunks/{reference-vq537ftf.js → project-12t1dx64.js} +25 -25
- package/dist/chunks/{reference-cmj7s95h.js → project-1awzgpvc.js} +74 -74
- package/dist/chunks/{reference-1ep2p91f.js → project-1ep2p91f.js} +2 -2
- package/dist/chunks/{reference-jq4rj68g.js → project-1fqeg8az.js} +16 -16
- package/dist/chunks/{reference-xmpvkfqb.js → project-1q3jvbda.js} +3 -3
- package/dist/chunks/{reference-f8vd2a9b.js → project-1qc61ek6.js} +11 -11
- package/dist/chunks/{reference-1x2knyw4.js → project-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-zvk4dyfv.js → project-1z530119.js} +17 -17
- package/dist/chunks/{reference-vbf812b9.js → project-1zw7gc13.js} +32 -32
- package/dist/chunks/{reference-ghb7106v.js → project-237j14t0.js} +18 -18
- package/dist/chunks/{reference-a6p3qmva.js → project-24ex7jtb.js} +86 -86
- package/dist/chunks/{reference-xffzfxwd.js → project-27bs79w9.js} +2 -2
- package/dist/chunks/project-2dkjcnxp.js +18 -0
- package/dist/chunks/{reference-2z1j29yd.js → project-2z1j29yd.js} +1 -1
- package/dist/chunks/{reference-v8e5qm2c.js → project-35a94sfp.js} +9 -9
- package/dist/chunks/{reference-p330xe03.js → project-3asb4mz5.js} +14 -14
- package/dist/chunks/{reference-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-2rd3d0hp.js → project-3j2bx2e1.js} +11 -11
- package/dist/chunks/{reference-tmc7xdjs.js → project-3nnrz6f6.js} +4 -4
- package/dist/chunks/{reference-8taff695.js → project-3rs19bb4.js} +14 -14
- package/dist/chunks/{reference-2jq4ff38.js → project-3ryz99p0.js} +4 -4
- package/dist/chunks/{reference-avb4hb8j.js → project-3w089d6d.js} +27 -27
- package/dist/chunks/{reference-27va4m0r.js → project-40v8dpjy.js} +30 -30
- package/dist/chunks/{reference-5enarcya.js → project-40za9wsf.js} +6 -6
- package/dist/chunks/{reference-k3562rys.js → project-4d5zmrjg.js} +13 -13
- package/dist/chunks/{reference-4v008n1t.js → project-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-n8d8y6qz.js → project-4wfnas2w.js} +12 -12
- package/dist/chunks/{reference-954vrfjz.js → project-4xr8w5a9.js} +11 -11
- package/dist/chunks/{reference-4xvmh7wp.js → project-4xvmh7wp.js} +3 -3
- package/dist/chunks/{reference-3kfn2j5q.js → project-5499276f.js} +6 -6
- package/dist/chunks/{reference-61g7nd3s.js → project-5hvygcnt.js} +10 -10
- package/dist/chunks/{reference-g9chkspz.js → project-5kvmfnk6.js} +7 -7
- package/dist/chunks/{reference-5m9w47nd.js → project-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-4arsphjq.js → project-5n01dcds.js} +59 -59
- package/dist/chunks/{reference-4shcznxh.js → project-5n9pkk4a.js} +11 -11
- package/dist/chunks/{reference-b6vsg801.js → project-5nnwax6m.js} +5 -5
- package/dist/chunks/{reference-acdmrrd1.js → project-5r72z9dp.js} +8 -8
- package/dist/chunks/{reference-zm25mbzg.js → project-5wfhjcjp.js} +10 -10
- package/dist/chunks/{reference-ce5fknq2.js → project-66r9f6z1.js} +5 -5
- package/dist/chunks/{reference-fgak986r.js → project-6dbzns9q.js} +18 -18
- package/dist/chunks/{reference-hjzm8qgk.js → project-6eanynha.js} +34 -34
- package/dist/chunks/{reference-6esdw8yj.js → project-6esdw8yj.js} +1 -1
- package/dist/chunks/{reference-q0wzr35k.js → project-6fcww07n.js} +30 -30
- package/dist/chunks/{reference-8k73trgp.js → project-6m3233am.js} +25 -25
- package/dist/chunks/{reference-6pjqjmy2.js → project-6pjqjmy2.js} +1 -1
- package/dist/chunks/{reference-ym0fp58v.js → project-6q8sqnyr.js} +14 -14
- package/dist/chunks/{reference-x3mp4vcj.js → project-6y263vp8.js} +5 -5
- package/dist/chunks/{reference-mpzxhqjk.js → project-7045vmc6.js} +20 -20
- package/dist/chunks/{reference-d8qd4w10.js → project-704d1ccs.js} +11 -11
- package/dist/chunks/{reference-0j8er3xh.js → project-739vedpf.js} +18 -18
- package/dist/chunks/{reference-bceb57s2.js → project-756mjj2v.js} +16 -16
- package/dist/chunks/{reference-76cb1hcw.js → project-76cb1hcw.js} +1 -1
- package/dist/chunks/{reference-j1kmhe03.js → project-76zwaa62.js} +35 -35
- package/dist/chunks/{reference-nah043kf.js → project-770pw0s1.js} +4 -4
- package/dist/chunks/{reference-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-y5zyg2mm.js → project-7p97jbeh.js} +150 -150
- package/dist/chunks/{reference-7w2ypzdf.js → project-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-9yyv8yy4.js → project-7x0wbv1r.js} +22 -22
- package/dist/chunks/{reference-c3yk3agv.js → project-83hm2hev.js} +48 -48
- package/dist/chunks/{reference-9fq5cvaf.js → project-84em95zf.js} +35 -35
- package/dist/chunks/{reference-2hpggya2.js → project-89jcpgd4.js} +1 -1
- package/dist/chunks/{reference-gxjyhf1s.js → project-8daav2af.js} +50 -50
- package/dist/chunks/{reference-4kfy9c2m.js → project-8e1dptnb.js} +32 -32
- package/dist/chunks/{reference-0jz5fbss.js → project-8s5m2r2h.js} +24 -24
- package/dist/chunks/{reference-54gv86a9.js → project-8tb7jz03.js} +8 -8
- package/dist/chunks/{reference-8wtp7s3z.js → project-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-91rj84md.js → project-91rj84md.js} +1 -1
- package/dist/chunks/{reference-pvz0z9yn.js → project-97kra8sc.js} +27 -27
- package/dist/chunks/{reference-998yhzzq.js → project-998yhzzq.js} +3 -3
- package/dist/chunks/{reference-8p8nexw9.js → project-9gmhk2dr.js} +15 -15
- package/dist/chunks/{reference-jneg3k74.js → project-9p9xqj3m.js} +6 -6
- package/dist/chunks/{reference-5djjexeq.js → project-9q84888z.js} +1 -1
- package/dist/chunks/{reference-n61v90z4.js → project-9w7p9nvj.js} +39 -39
- package/dist/chunks/{reference-f9sbv1za.js → project-9zn1tp8t.js} +53 -53
- package/dist/chunks/{reference-2ww2ff7e.js → project-a7p6ajz7.js} +22 -22
- package/dist/chunks/{reference-d8t680bk.js → project-aay9q4a1.js} +4 -4
- package/dist/chunks/{reference-g04rf8w6.js → project-abz5va8s.js} +5 -5
- package/dist/chunks/{reference-yhkv4e77.js → project-amz5fvp1.js} +13 -13
- package/dist/chunks/{reference-8cj6s5zj.js → project-aqxp75b5.js} +26 -26
- package/dist/chunks/{reference-ztd79bjn.js → project-arr0esyr.js} +26 -26
- package/dist/chunks/{reference-39r9rzhd.js → project-avcx7cx1.js} +4 -4
- package/dist/chunks/{reference-zzh4dnpm.js → project-avrygwsy.js} +36 -36
- package/dist/chunks/{reference-n9e2wk5v.js → project-avt17yc9.js} +11 -11
- package/dist/chunks/{reference-snm2qmq7.js → project-aws0phmy.js} +20 -20
- package/dist/chunks/{reference-ayjs7tqn.js → project-ayjs7tqn.js} +2 -2
- package/dist/chunks/{reference-b0mv4wxm.js → project-b0mv4wxm.js} +2 -2
- package/dist/chunks/{reference-z9y71txf.js → project-b2naxwvt.js} +13 -13
- package/dist/chunks/{reference-dt1dewz5.js → project-bg8ynzhc.js} +14 -14
- package/dist/chunks/{reference-m8vnyr1s.js → project-bgn46r2r.js} +9 -9
- package/dist/chunks/{reference-bjhzkqyk.js → project-bjhzkqyk.js} +1 -1
- package/dist/chunks/{reference-6ayjbyaf.js → project-brgvyzq9.js} +3 -3
- package/dist/chunks/{reference-xd9cc171.js → project-bstexjd6.js} +5 -5
- package/dist/chunks/{reference-2nzqa2tq.js → project-bt69sbx0.js} +33 -33
- package/dist/chunks/{reference-ymb3jxsn.js → project-c618cpra.js} +27 -27
- package/dist/chunks/{reference-tasvem1v.js → project-c8666r4c.js} +6 -6
- package/dist/chunks/{reference-wjd1k730.js → project-ce3vjht6.js} +9 -9
- package/dist/chunks/{reference-w0jjrdy3.js → project-cky18ayb.js} +11 -11
- package/dist/chunks/{reference-3wn85t44.js → project-cqkh3ysm.js} +51 -51
- package/dist/chunks/{reference-1hyje1p9.js → project-csp9wjvb.js} +28 -28
- package/dist/chunks/{reference-7yj30c8s.js → project-cxk0zn9v.js} +15 -15
- package/dist/chunks/{reference-c9t2ty9q.js → project-d2887f8n.js} +4 -4
- package/dist/chunks/{reference-1yzxt8mn.js → project-d4d7sshf.js} +11 -11
- package/dist/chunks/{reference-d4v9tmah.js → project-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-kg4y9gc0.js → project-dkhtsk1k.js} +41 -41
- package/dist/chunks/{reference-dcqpnb0y.js → project-dkm5gnst.js} +7 -7
- package/dist/chunks/{reference-tnqzh63d.js → project-dkq45v8d.js} +8 -8
- package/dist/chunks/{reference-xhjrc3ew.js → project-dns528vs.js} +11 -11
- package/dist/chunks/{reference-armekrg6.js → project-dvbbs10e.js} +13 -13
- package/dist/chunks/{reference-v75htaq3.js → project-dwrjgvf7.js} +6 -6
- package/dist/chunks/{reference-qcypp6s5.js → project-e17k0hsv.js} +9 -9
- package/dist/chunks/{reference-dqgvvwe0.js → project-e2x7gzav.js} +7 -7
- package/dist/chunks/{reference-5qd3pb7m.js → project-e3qxr5gk.js} +2 -2
- package/dist/chunks/{reference-jh20twgm.js → project-e3t0s7gt.js} +7 -7
- package/dist/chunks/{reference-aygxzdnw.js → project-e4hjbd03.js} +37 -37
- package/dist/chunks/{reference-2f1cs0mb.js → project-e614209m.js} +2 -2
- package/dist/chunks/{reference-e834z07m.js → project-e834z07m.js} +1 -1
- package/dist/chunks/{reference-p6q4m3qk.js → project-eapz8twa.js} +43 -43
- package/dist/chunks/{reference-s04fhkcw.js → project-edejzvfw.js} +3 -3
- package/dist/chunks/{reference-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{reference-xapnwa6c.js → project-efv89yt1.js} +18 -18
- package/dist/chunks/{reference-p8x9nhrm.js → project-ennfa1r2.js} +9 -9
- package/dist/chunks/{reference-sv2aw4yq.js → project-ex2ghmgq.js} +5 -5
- package/dist/chunks/{reference-7bnde8q6.js → project-f00hk273.js} +21 -21
- package/dist/chunks/{reference-t7w9mbga.js → project-f14tnanx.js} +3 -3
- package/dist/chunks/{reference-f67dkjq4.js → project-f29nb3rh.js} +24 -24
- package/dist/chunks/{reference-9y617mgq.js → project-f607rzmc.js} +9 -9
- package/dist/chunks/{reference-fffv3p7h.js → project-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-whkc4da7.js → project-ftmc5s4e.js} +4 -4
- package/dist/chunks/{reference-q91r7fzh.js → project-fwte2t7r.js} +12 -12
- package/dist/chunks/{reference-gf5n06h2.js → project-fy0rchc1.js} +18 -18
- package/dist/chunks/{reference-wr3re1en.js → project-fznmdakp.js} +4 -4
- package/dist/chunks/{reference-ma8ws105.js → project-g2r9we7k.js} +15 -15
- package/dist/chunks/{reference-g5h9c0rr.js → project-g5h9c0rr.js} +2 -2
- package/dist/chunks/{reference-jcqm84fr.js → project-gcjdgkn2.js} +9 -9
- package/dist/chunks/{reference-mg6b5d3z.js → project-gn0ser4y.js} +13 -13
- package/dist/chunks/{reference-sfgqhxwc.js → project-grtakk98.js} +2 -2
- package/dist/chunks/{reference-ygvq11bn.js → project-h4a90mfm.js} +30 -30
- package/dist/chunks/{reference-t1s8rtrn.js → project-h98gx716.js} +17 -17
- package/dist/chunks/{reference-4ezxaq78.js → project-haqddkbz.js} +18 -18
- package/dist/chunks/{reference-3k8j9mz0.js → project-hg0cvh6j.js} +35 -35
- package/dist/chunks/{reference-3x8kzqev.js → project-hgaqcch1.js} +19 -19
- package/dist/chunks/{reference-v3htpbcn.js → project-hv9wbna8.js} +18 -18
- package/dist/chunks/{reference-zkeee37c.js → project-hwtw9fqj.js} +24 -24
- package/dist/chunks/{reference-ydsespw1.js → project-hy8c1z76.js} +8 -8
- package/dist/chunks/{reference-j113cymg.js → project-j113cymg.js} +1 -1
- package/dist/chunks/{reference-ry7kp2db.js → project-j43y3xqp.js} +8 -8
- package/dist/chunks/{reference-2fg4fkaj.js → project-j8b1q04x.js} +21 -21
- package/dist/chunks/{reference-xpve62cf.js → project-jns4gqy7.js} +4 -4
- package/dist/chunks/{reference-cmb5kt6z.js → project-jpf3p7ma.js} +38 -38
- package/dist/chunks/{reference-xmgbg1w1.js → project-jvrybeq8.js} +33 -33
- package/dist/chunks/{reference-n49wygsy.js → project-k4dxaq26.js} +11 -11
- package/dist/chunks/{reference-k814nvkf.js → project-k814nvkf.js} +1 -1
- package/dist/chunks/{reference-y45mmnaw.js → project-kn0rqzkh.js} +12 -12
- package/dist/chunks/{reference-297fdtb1.js → project-krhbb1d7.js} +11 -11
- package/dist/chunks/{reference-yrj74tq8.js → project-ktvnvra2.js} +14 -14
- package/dist/chunks/project-kw5jcj1m.js +26 -0
- package/dist/chunks/{reference-0dnn63dc.js → project-kx3xq9yx.js} +25 -25
- package/dist/chunks/{reference-m1714858.js → project-m1714858.js} +1 -1
- package/dist/chunks/{reference-eqmd2tfz.js → project-m37sd98t.js} +7 -7
- package/dist/chunks/{reference-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-maspj1v3.js → project-maspj1v3.js} +1 -1
- package/dist/chunks/{reference-y5mjzf8n.js → project-me2jyc9e.js} +20 -20
- package/dist/chunks/{reference-jx68n2v7.js → project-mpq7vr27.js} +4 -4
- package/dist/chunks/{reference-4svb63hy.js → project-mrfk2h0w.js} +35 -35
- package/dist/chunks/{reference-b2sv8bpc.js → project-mtxm79q0.js} +5 -5
- package/dist/chunks/{reference-n0p0277s.js → project-n0p0277s.js} +1 -1
- package/dist/chunks/{reference-2t8maz45.js → project-n2n972dz.js} +31 -31
- package/dist/chunks/{reference-hxs3jcbh.js → project-n32atgs2.js} +3 -3
- package/dist/chunks/{reference-w7zjqt6n.js → project-n39q19g8.js} +4 -4
- package/dist/chunks/{reference-69w1p6yk.js → project-n810t9ja.js} +21 -21
- package/dist/chunks/{reference-31wms35x.js → project-nad4mkqt.js} +8 -8
- package/dist/chunks/{reference-6perv44c.js → project-nfmgtk0z.js} +14 -14
- package/dist/chunks/{reference-9v02bs0k.js → project-nnpg8337.js} +5 -5
- package/dist/chunks/{reference-xm8ddap8.js → project-nrf42yrn.js} +8 -8
- package/dist/chunks/{reference-n4fp6f8d.js → project-nrtw1kat.js} +6 -6
- package/dist/chunks/{reference-p015t6z3.js → project-p015t6z3.js} +2 -2
- package/dist/chunks/{reference-867cczcy.js → project-p9aq54br.js} +43 -43
- package/dist/chunks/{reference-sbegqkxp.js → project-p9jvgf3w.js} +6 -6
- package/dist/chunks/{reference-953xbrr3.js → project-pacbbjc0.js} +5 -5
- package/dist/chunks/{reference-scpsh37c.js → project-pbck7hjv.js} +15 -15
- package/dist/chunks/{reference-dh62xe4r.js → project-pc1v25hk.js} +3 -3
- package/dist/chunks/{reference-w05t22bp.js → project-pdn1jn4w.js} +23 -23
- package/dist/chunks/{reference-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{reference-vjtgj0yq.js → project-pmebwkpn.js} +4 -4
- package/dist/chunks/{reference-r5majfkb.js → project-pr80rsms.js} +13 -13
- package/dist/chunks/{reference-qg6w8app.js → project-prwsxbm1.js} +13 -13
- package/dist/chunks/{reference-0ndnbbn0.js → project-psxnrejk.js} +11 -11
- package/dist/chunks/{reference-nsgvs482.js → project-pwk354ja.js} +14 -14
- package/dist/chunks/{reference-dgc6zgst.js → project-q5zq6djh.js} +5 -5
- package/dist/chunks/{reference-eq9cyptm.js → project-q6byt1vy.js} +49 -49
- package/dist/chunks/{reference-7vw4nys1.js → project-qaxt5sce.js} +4 -4
- package/dist/chunks/{reference-qjgzc4b4.js → project-qjgzc4b4.js} +1 -1
- package/dist/chunks/{reference-g5j8m9ve.js → project-qn7gt9tf.js} +16 -16
- package/dist/chunks/{reference-rw71ew34.js → project-qq1647kk.js} +4 -4
- package/dist/chunks/{reference-gbmf93tw.js → project-qq16f8az.js} +11 -11
- package/dist/chunks/{reference-ncg31dbj.js → project-qre60qsh.js} +22 -22
- package/dist/chunks/{reference-r0yr0wbs.js → project-r0yr0wbs.js} +1 -1
- package/dist/chunks/{reference-sy87a8wb.js → project-r3sapc0f.js} +29 -29
- package/dist/chunks/{reference-pscgdtph.js → project-r44hbkey.js} +8 -8
- package/dist/chunks/{reference-9szkry8c.js → project-r77dtqge.js} +7 -7
- package/dist/chunks/{reference-st4p3zbh.js → project-r7gv03kz.js} +35 -35
- package/dist/chunks/{reference-d8p3t516.js → project-r96ere88.js} +4 -4
- package/dist/chunks/{reference-vrjhymqn.js → project-rabtnz7e.js} +335 -335
- package/dist/chunks/{reference-rb9dy4dg.js → project-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-y3wdcfp2.js → project-rdyeje7b.js} +4 -4
- package/dist/chunks/{reference-6sw2gn8c.js → project-rhzb5sgv.js} +43 -43
- package/dist/chunks/{reference-307hjk8t.js → project-rnvbgrrs.js} +13 -13
- package/dist/chunks/{reference-n3axp0yc.js → project-rr10qkmh.js} +14 -14
- package/dist/chunks/{reference-rt5dr6hb.js → project-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-bhkt8v4f.js → project-rva2q560.js} +22 -22
- package/dist/chunks/{reference-5r9a3vh3.js → project-ryyfth3r.js} +31 -31
- package/dist/chunks/{reference-2n0ty02m.js → project-s0kjfseb.js} +56 -56
- package/dist/chunks/{reference-jvdzp9ms.js → project-s1hccf1w.js} +16 -16
- package/dist/chunks/{reference-vry4t0gh.js → project-s5kv2cn0.js} +4 -4
- package/dist/chunks/{reference-d2dx6a7h.js → project-s7kyse9r.js} +9 -9
- package/dist/chunks/project-sgz1ehav.js +257 -0
- package/dist/chunks/{reference-pfg6nwxg.js → project-sjbapc6a.js} +29 -29
- package/dist/chunks/{reference-sqjzf8x2.js → project-sqjzf8x2.js} +1 -1
- package/dist/chunks/{reference-kcty1ace.js → project-srg5xmqx.js} +18 -18
- package/dist/chunks/{reference-azarmemk.js → project-svf80yc0.js} +44 -44
- package/dist/chunks/{reference-v0aazhy0.js → project-sy1zgpba.js} +11 -11
- package/dist/chunks/{reference-2fem2qqn.js → project-t95shdbt.js} +5 -5
- package/dist/chunks/{reference-tczq8hjw.js → project-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-s6whas8k.js → project-tqwv9q63.js} +12 -12
- package/dist/chunks/{reference-tw8zr1ps.js → project-tw8zr1ps.js} +1 -1
- package/dist/chunks/{reference-twv2r8f4.js → project-twv2r8f4.js} +2 -2
- package/dist/chunks/{reference-xmry5mjf.js → project-tx1skdes.js} +22 -22
- package/dist/chunks/{reference-v2r1d0zg.js → project-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-c8819f4b.js → project-v3bag9qh.js} +23 -23
- package/dist/chunks/{reference-svjkc6ey.js → project-v8axt5a9.js} +22 -22
- package/dist/chunks/{reference-wmwmhrgq.js → project-v8d3mx5z.js} +10 -10
- package/dist/chunks/{reference-5zrxpy3q.js → project-v9ez2kgh.js} +5 -5
- package/dist/chunks/{reference-vd3b3yk9.js → project-vd3b3yk9.js} +1 -1
- package/dist/chunks/{reference-8hky2e3x.js → project-vdpnyne0.js} +22 -22
- package/dist/chunks/{reference-x7sq7g0m.js → project-ve21yh3e.js} +27 -27
- package/dist/chunks/{reference-6nnfvszr.js → project-vecebjw1.js} +14 -14
- package/dist/chunks/{reference-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-q46y00v4.js → project-vgk61ywp.js} +9 -9
- package/dist/chunks/{reference-ztj6qd7j.js → project-vgw2z44b.js} +44 -44
- package/dist/chunks/{reference-q0tfq5t2.js → project-vpgvrtdm.js} +6 -6
- package/dist/chunks/{reference-1njtx4es.js → project-vx3jgdek.js} +3 -3
- package/dist/chunks/{reference-bqwdyg2t.js → project-vzmjdaw1.js} +9 -9
- package/dist/chunks/{reference-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-wskggc81.js → project-w9zvebzj.js} +4 -4
- package/dist/chunks/{reference-wakvkjy4.js → project-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-s9hxxgb8.js → project-war36t1a.js} +94 -94
- package/dist/chunks/{reference-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{reference-zv31yxkj.js → project-wheq58gc.js} +3 -3
- package/dist/chunks/{reference-dewmw27y.js → project-ws4j3s0e.js} +4 -4
- package/dist/chunks/{reference-v919ewzn.js → project-wtzytv8z.js} +34 -34
- package/dist/chunks/{reference-6gym6y7m.js → project-ww91z9j1.js} +28 -28
- package/dist/chunks/{reference-kkntnx2q.js → project-wzr5z9r3.js} +3 -3
- package/dist/chunks/{reference-gfpxj5hf.js → project-x2djvzav.js} +8 -8
- package/dist/chunks/{reference-233jjx4c.js → project-xybskrbg.js} +17 -17
- package/dist/chunks/{reference-cqcd4edx.js → project-y5s18w2x.js} +13 -13
- package/dist/chunks/{reference-6pe7vn7p.js → project-y7y0w8zn.js} +18 -18
- package/dist/chunks/{reference-yb20nhc3.js → project-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-0r8en8zz.js → project-ycnyt74c.js} +10 -10
- package/dist/chunks/{reference-xvcq0a37.js → project-yd39ydqg.js} +12 -12
- package/dist/chunks/{reference-108gkaby.js → project-ymtfe6ys.js} +13 -13
- package/dist/chunks/{reference-wdn14rh7.js → project-ytb85x07.js} +34 -34
- package/dist/chunks/{reference-1711wf45.js → project-yv12yyqt.js} +12 -12
- package/dist/chunks/{reference-kndrgbcf.js → project-yvjpmm8d.js} +8 -8
- package/dist/chunks/{reference-c7s7jw20.js → project-ywn1tvqn.js} +27 -27
- package/dist/chunks/{reference-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-yd0qn0bb.js → project-z0pkw490.js} +23 -23
- package/dist/chunks/{reference-0aabztd5.js → project-z111sdr0.js} +34 -34
- package/dist/chunks/{reference-z38nccrw.js → project-z38nccrw.js} +1 -1
- package/dist/chunks/{reference-0f0dnca3.js → project-z7r3dw85.js} +18 -18
- package/dist/chunks/{reference-9vyw5bnv.js → project-z7tg6gqn.js} +19 -19
- package/dist/chunks/{reference-14vqzes2.js → project-z928tvaj.js} +15 -15
- package/dist/chunks/{reference-snm52sr2.js → project-zgqyyky3.js} +18 -18
- package/dist/chunks/{reference-zkg84ctx.js → project-zkg84ctx.js} +1 -1
- package/dist/chunks/{reference-h5z6qxf3.js → project-zpc2hwcg.js} +22 -22
- package/dist/chunks/{reference-kw46yrg2.js → project-zq38syqk.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +74 -74
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +98 -98
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- 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 +93 -93
- 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.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +105 -105
- 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 +119 -119
- 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 +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +134 -134
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/reference-07cvc9wn.js +0 -257
- package/dist/chunks/reference-a610t88q.js +0 -18
- package/dist/chunks/reference-ffm6r77t.js +0 -26
- /package/dist/chunks/{reference-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → project-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5fjb7ams.js → project-5fjb7ams.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → project-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → project-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a058387c.js → project-a058387c.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → project-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → project-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → project-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-pkyv6v7h.js → project-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → project-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wjj7prxr.js → project-wjj7prxr.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./project-83hm2hev.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service67
|
|
13
|
+
} from "./project-hwtw9fqj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./project-rr10qkmh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./project-s0kjfseb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service22,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-haqddkbz.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service83,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./project-dvbbs10e.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service63
|
|
37
|
+
} from "./project-cqkh3ysm.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./project-war36t1a.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan2
|
|
43
|
+
} from "./project-0zmsqe55.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./project-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
52
|
Input: () => Input10,
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
53
|
+
Plugin: () => Plugin27,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
55
|
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin27 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service26;
|
|
124
|
+
const jobs = yield* Service52;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service67;
|
|
127
|
+
const access = yield* Service22;
|
|
128
|
+
const shell = yield* Service63;
|
|
129
|
+
const shellSelect = yield* Service83;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service56;
|
|
132
|
+
const config = yield* Service65;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin47 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -211,7 +211,7 @@ var Plugin47 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export { name10, DEFAULT_TIMEOUT_MS2, Input10,
|
|
269
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin27, exports_shell };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./project-s1hccf1w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./project-97kra8sc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service77,
|
|
15
|
+
node81
|
|
16
|
+
} from "./project-3rs19bb4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node70
|
|
20
|
+
} from "./project-hwtw9fqj.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./project-c618cpra.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-vd3b3yk9.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service75,
|
|
34
|
+
node79
|
|
35
|
+
} from "./project-ywn1tvqn.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./project-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service38,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node41
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
118
|
-
const bus = yield*
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
115
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service77;
|
|
117
|
+
const environment = yield* Service67;
|
|
118
|
+
const bus = yield* Service84;
|
|
119
|
+
const forms = yield* Service78;
|
|
120
|
+
const integration = yield* Service75;
|
|
121
|
+
const credentials = yield* Service76;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const entries = new Map;
|
|
@@ -148,7 +148,7 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
148
148
|
method: { id: methodID, type: "oauth", label: name },
|
|
149
149
|
authorize: () => Effect.gen(function* () {
|
|
150
150
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
151
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
151
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
152
152
|
})
|
|
153
153
|
});
|
|
154
154
|
}).pipe(Scope.provide(scope));
|
|
@@ -156,19 +156,19 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
156
156
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
157
157
|
const entry = entries.get(name);
|
|
158
158
|
if (!entry)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError3({ server: name });
|
|
160
160
|
return { name, entry };
|
|
161
161
|
});
|
|
162
162
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
163
163
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
164
164
|
return;
|
|
165
165
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
166
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
166
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
167
167
|
});
|
|
168
168
|
const elicitation = {
|
|
169
169
|
create: (input) => Effect.gen(function* () {
|
|
170
170
|
if (input.params.mode === "url") {
|
|
171
|
-
const formID =
|
|
171
|
+
const formID = ID16.create();
|
|
172
172
|
const elicitationID = input.params.elicitationId;
|
|
173
173
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
174
174
|
if (key)
|
|
@@ -271,7 +271,7 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
271
271
|
entry.scope = scope;
|
|
272
272
|
const authProvider = yield* connectProvider(entry);
|
|
273
273
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
274
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
274
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope));
|
|
275
275
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
276
276
|
if (Exit.isSuccess(result)) {
|
|
277
277
|
entry.client = result.value.connection;
|
|
@@ -372,7 +372,7 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
372
372
|
let closed = false;
|
|
373
373
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
374
374
|
closed = true;
|
|
375
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
375
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
376
376
|
const register = Effect.gen(function* () {
|
|
377
377
|
if (closed) {
|
|
378
378
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -447,7 +447,7 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
447
447
|
yield* startServer(name, entry);
|
|
448
448
|
}).pipe(locks.withLock(name));
|
|
449
449
|
});
|
|
450
|
-
fork(bus.subscribe(
|
|
450
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
451
451
|
const state = create3({
|
|
452
452
|
name: "mcp",
|
|
453
453
|
initial: () => ({
|
|
@@ -473,7 +473,7 @@ var layer17 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
473
473
|
}),
|
|
474
474
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service38.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -601,14 +601,14 @@ function mergeCatalogs(catalogs) {
|
|
|
601
601
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
602
602
|
});
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function configured3(options) {
|
|
605
605
|
return makeLocationNode({
|
|
606
|
-
service:
|
|
607
|
-
layer:
|
|
608
|
-
deps: [
|
|
606
|
+
service: Service38,
|
|
607
|
+
layer: layer16(options),
|
|
608
|
+
deps: [node81, node70, node88, node82, node79, node80]
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
|
-
var
|
|
611
|
+
var node41 = configured3();
|
|
612
612
|
function toElicitationField(key, property, required) {
|
|
613
613
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
614
614
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -659,4 +659,4 @@ function toElicitationField(key, property, required) {
|
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
662
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service38, Options3, layer16, configured3, node41, exports_mcp4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./project-s1hccf1w.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-s0kjfseb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -19,14 +19,14 @@ __export(exports_skill5, {
|
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event10,
|
|
21
21
|
ID: () => ID6,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info11,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service54,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available2,
|
|
29
|
+
node: () => node56,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -39,11 +39,11 @@ import { Event as Event10 } from "@opencode/schema/skill";
|
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Source4 = Skill.Source;
|
|
43
|
+
var Info11 = Skill.Info;
|
|
44
44
|
var ID6 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,10 +78,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service54 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
84
|
-
const bus = yield*
|
|
83
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
84
|
+
const bus = yield* Service84;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
105
105
|
}),
|
|
106
106
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service54.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
120
|
-
service:
|
|
119
|
+
var node56 = makeLocationNode({
|
|
120
|
+
service: Service54,
|
|
121
121
|
layer,
|
|
122
|
-
deps: [
|
|
122
|
+
deps: [node88]
|
|
123
123
|
});
|
|
124
124
|
|
|
125
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
125
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info11, ID6, Name2, available2, toModelOutput3, prepare3, Service54, node56, exports_skill5, Event10 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./project-bt69sbx0.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-vpgvrtdm.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-s0kjfseb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin9
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin9 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin9, exports_plan };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./project-83hm2hev.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./project-9zn1tp8t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin48,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin48 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service65;
|
|
28
|
+
const mcp = yield* Service38;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin48, register2, exports_mcp2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./project-s0kjfseb.js";
|
|
4
4
|
import {
|
|
5
5
|
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service54
|
|
10
|
+
} from "./project-a7p6ajz7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input4,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin20,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
31
|
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin20 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service54;
|
|
51
|
+
const permission = yield* Service56;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input4,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin43 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output3, description2, toModelOutput2, Plugin20, exports_skill2 };
|