@opencode/core 0.0.0-dev-21708 → 0.0.0-dev-21709
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{agent-wgvnftve.js → file-mutation-00zh2tpm.js} +8 -8
- package/dist/chunks/{agent-034tev2y.js → file-mutation-034tev2y.js} +2 -2
- package/dist/chunks/{agent-c1nwn41d.js → file-mutation-03cjnd07.js} +32 -32
- package/dist/chunks/{agent-eqh43b5v.js → file-mutation-0421tmwc.js} +9 -9
- package/dist/chunks/{agent-r6g963jp.js → file-mutation-04ppth10.js} +20 -20
- package/dist/chunks/{agent-tha6crsv.js → file-mutation-06ddj0xt.js} +16 -16
- package/dist/chunks/{agent-nwvcypp6.js → file-mutation-0fn7fmmf.js} +6 -6
- package/dist/chunks/{agent-0h8y3ex8.js → file-mutation-0h8y3ex8.js} +1 -1
- package/dist/chunks/{agent-q2dycjj6.js → file-mutation-0j1f7v6y.js} +7 -7
- package/dist/chunks/{agent-ztngrg4w.js → file-mutation-0jy8s6kx.js} +18 -18
- package/dist/chunks/{agent-2cxr0spy.js → file-mutation-0t3ga4zv.js} +7 -7
- package/dist/chunks/{agent-g7yg2z4y.js → file-mutation-0z1e74sk.js} +11 -11
- package/dist/chunks/{agent-kwwqhmte.js → file-mutation-0zc3gznn.js} +11 -11
- package/dist/chunks/{agent-c9nnf1dt.js → file-mutation-1bb7jn70.js} +4 -4
- package/dist/chunks/{agent-v6pnwzcj.js → file-mutation-1daas5y7.js} +66 -66
- package/dist/chunks/{agent-7fhznn00.js → file-mutation-1eaqqsxz.js} +29 -29
- package/dist/chunks/{agent-1ep2p91f.js → file-mutation-1ep2p91f.js} +2 -2
- package/dist/chunks/{agent-r649t70p.js → file-mutation-1k8pspw3.js} +26 -26
- package/dist/chunks/{agent-4n19pvv2.js → file-mutation-1qgwrgfd.js} +23 -23
- package/dist/chunks/{agent-1x2knyw4.js → file-mutation-1x2knyw4.js} +1 -1
- package/dist/chunks/{agent-5zrxpy3q.js → file-mutation-1yq9hg58.js} +5 -5
- package/dist/chunks/{agent-tc4kyz8e.js → file-mutation-27bs79w9.js} +2 -2
- package/dist/chunks/{agent-9mea8krd.js → file-mutation-293dk3rs.js} +15 -15
- package/dist/chunks/{agent-jmt4g3es.js → file-mutation-29kdrth0.js} +6 -6
- package/dist/chunks/{agent-e1yvprzr.js → file-mutation-2c4qk5dm.js} +21 -21
- package/dist/chunks/{agent-8avgn4nh.js → file-mutation-2cvbz1q2.js} +14 -14
- package/dist/chunks/{agent-rpd03b69.js → file-mutation-2jmbxqq8.js} +15 -15
- package/dist/chunks/{agent-5sgw76x3.js → file-mutation-2qv8esx8.js} +24 -24
- package/dist/chunks/{agent-asx4crfn.js → file-mutation-2v6yzfrh.js} +26 -26
- package/dist/chunks/{agent-1zsaqb4r.js → file-mutation-2y6rfkwc.js} +6 -6
- package/dist/chunks/{agent-2z1j29yd.js → file-mutation-2z1j29yd.js} +1 -1
- package/dist/chunks/{agent-cw4wsck5.js → file-mutation-3405mbpt.js} +11 -11
- package/dist/chunks/{agent-cr8qxe6d.js → file-mutation-3a12p9c1.js} +11 -11
- package/dist/chunks/{agent-e1x5hgfw.js → file-mutation-3bnc55rz.js} +1 -1
- package/dist/chunks/{agent-xxf3k3sy.js → file-mutation-3dcnb5me.js} +14 -14
- package/dist/chunks/{agent-mv2fkptf.js → file-mutation-3f3erb08.js} +8 -8
- package/dist/chunks/{agent-7mw2rj4h.js → file-mutation-3g9qcz5y.js} +11 -11
- package/dist/chunks/{agent-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-3s89fne6.js → file-mutation-3jt9gp25.js} +15 -15
- package/dist/chunks/{agent-xpx0a1hv.js → file-mutation-3n1ze0gv.js} +36 -36
- package/dist/chunks/{agent-3nnrz6f6.js → file-mutation-3nnrz6f6.js} +1 -1
- package/dist/chunks/{agent-g1ay4zd8.js → file-mutation-3p1jq0np.js} +9 -9
- package/dist/chunks/{agent-awmbx144.js → file-mutation-3vf4gpqx.js} +7 -7
- package/dist/chunks/{agent-zxrxde13.js → file-mutation-3w6s660c.js} +9 -9
- package/dist/chunks/{agent-r9jvn0me.js → file-mutation-3y39jmrc.js} +15 -15
- package/dist/chunks/{agent-j5pyptyp.js → file-mutation-40jy4byv.js} +15 -15
- package/dist/chunks/{agent-w5t7bbyx.js → file-mutation-416sv9a0.js} +13 -13
- package/dist/chunks/{agent-9q7rnr6m.js → file-mutation-4bm89b1z.js} +10 -10
- package/dist/chunks/{agent-5zmew617.js → file-mutation-4kxjpvmm.js} +27 -27
- package/dist/chunks/{agent-ba699vex.js → file-mutation-4qeetvzp.js} +16 -16
- package/dist/chunks/{agent-4v008n1t.js → file-mutation-4v008n1t.js} +1 -1
- package/dist/chunks/{agent-00n6seg6.js → file-mutation-4xg6svek.js} +35 -35
- package/dist/chunks/{agent-4xvmh7wp.js → file-mutation-4xvmh7wp.js} +3 -3
- package/dist/chunks/{agent-yn9h7jnh.js → file-mutation-51wwr1cb.js} +7 -7
- package/dist/chunks/{agent-6rgwxkf7.js → file-mutation-537zfnwd.js} +12 -12
- package/dist/chunks/{agent-x29zv49r.js → file-mutation-57k3rf66.js} +17 -17
- package/dist/chunks/{agent-3e6zmnwb.js → file-mutation-5ahehfm9.js} +15 -15
- package/dist/chunks/{agent-v8w832qv.js → file-mutation-5jn2rvwm.js} +21 -21
- package/dist/chunks/{agent-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-5agv5pnb.js → file-mutation-5q3wnkda.js} +9 -9
- package/dist/chunks/{agent-3wx5r2aw.js → file-mutation-5rv30s6t.js} +88 -88
- package/dist/chunks/{agent-nae82sp2.js → file-mutation-5vmh6pxt.js} +20 -20
- package/dist/chunks/{agent-0cpnqkys.js → file-mutation-6b8h7563.js} +5 -5
- package/dist/chunks/{agent-6esdw8yj.js → file-mutation-6esdw8yj.js} +1 -1
- package/dist/chunks/{agent-0teydma5.js → file-mutation-6pe7vn7p.js} +15 -15
- package/dist/chunks/{agent-6pjqjmy2.js → file-mutation-6pjqjmy2.js} +1 -1
- package/dist/chunks/{agent-my1p2r7g.js → file-mutation-6tkfv6vy.js} +19 -19
- package/dist/chunks/{agent-sdskc420.js → file-mutation-713f9fkw.js} +166 -166
- package/dist/chunks/{agent-76cb1hcw.js → file-mutation-76cb1hcw.js} +1 -1
- package/dist/chunks/{agent-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-5vk473bb.js → file-mutation-7cbjmmn9.js} +12 -12
- package/dist/chunks/{agent-0aydfmfd.js → file-mutation-7r2864x8.js} +10 -10
- package/dist/chunks/{agent-yhhb56re.js → file-mutation-7rp33d8t.js} +16 -16
- package/dist/chunks/{agent-7w2ypzdf.js → file-mutation-7w2ypzdf.js} +1 -1
- package/dist/chunks/{agent-2rb0wgje.js → file-mutation-7w4z2a19.js} +56 -56
- package/dist/chunks/{agent-8jztxfpf.js → file-mutation-8jztxfpf.js} +1 -1
- package/dist/chunks/{agent-xkympmbz.js → file-mutation-8sxdqgb0.js} +6 -6
- package/dist/chunks/{agent-8wtp7s3z.js → file-mutation-8wtp7s3z.js} +1 -1
- package/dist/chunks/{agent-qdjpasa6.js → file-mutation-8zf098kr.js} +17 -17
- package/dist/chunks/{agent-q431msev.js → file-mutation-906g5kdk.js} +9 -9
- package/dist/chunks/{agent-91rj84md.js → file-mutation-91rj84md.js} +1 -1
- package/dist/chunks/{agent-r6wgv8c9.js → file-mutation-997dsrmm.js} +8 -8
- package/dist/chunks/{agent-998yhzzq.js → file-mutation-998yhzzq.js} +3 -3
- package/dist/chunks/{agent-dy4xqx41.js → file-mutation-9s6n3p5d.js} +50 -50
- package/dist/chunks/{agent-w1w7qgbq.js → file-mutation-9vyfkg2v.js} +11 -11
- package/dist/chunks/{agent-02kv643b.js → file-mutation-9y9qs21w.js} +11 -11
- package/dist/chunks/{agent-5y6gyw07.js → file-mutation-9z3zqrcq.js} +18 -18
- package/dist/chunks/file-mutation-a610t88q.js +18 -0
- package/dist/chunks/{agent-ez1g32xq.js → file-mutation-abr51mnh.js} +8 -8
- package/dist/chunks/{agent-83xm0yd3.js → file-mutation-acjz1v7j.js} +11 -11
- package/dist/chunks/{agent-qps3wf85.js → file-mutation-ad8q6rp3.js} +11 -11
- package/dist/chunks/{agent-qa2bc9h6.js → file-mutation-ajmrn4wa.js} +25 -25
- package/dist/chunks/{agent-nbwnjq76.js → file-mutation-atxt4sm9.js} +8 -8
- package/dist/chunks/{agent-34s5tdcd.js → file-mutation-ay6kp039.js} +4 -4
- package/dist/chunks/{agent-ayjs7tqn.js → file-mutation-ayjs7tqn.js} +2 -2
- package/dist/chunks/{agent-b0mv4wxm.js → file-mutation-b0mv4wxm.js} +2 -2
- package/dist/chunks/{agent-dwm0n3p0.js → file-mutation-b2fa49hh.js} +1 -1
- package/dist/chunks/{agent-b6vsg801.js → file-mutation-b6vsg801.js} +2 -2
- package/dist/chunks/{agent-mkr1zw4c.js → file-mutation-b8wpdthk.js} +24 -24
- package/dist/chunks/{agent-syd85nze.js → file-mutation-bd3818sh.js} +4 -4
- package/dist/chunks/{agent-4edy420v.js → file-mutation-bfp67d1e.js} +9 -9
- package/dist/chunks/{agent-z0te8qnm.js → file-mutation-bjhhq9t1.js} +13 -13
- package/dist/chunks/{agent-7kaqzwxm.js → file-mutation-bn1zwxk7.js} +5 -5
- package/dist/chunks/{agent-5e5fd4m6.js → file-mutation-bpzpc9vw.js} +2 -2
- package/dist/chunks/{agent-bstexjd6.js → file-mutation-bstexjd6.js} +1 -1
- package/dist/chunks/{agent-gwff6e0f.js → file-mutation-c2b1zq20.js} +35 -35
- package/dist/chunks/{agent-45wkcxp1.js → file-mutation-c3kxzd3k.js} +18 -18
- package/dist/chunks/{agent-xsact9zs.js → file-mutation-c5kjsz6q.js} +4 -4
- package/dist/chunks/{agent-c9t2ty9q.js → file-mutation-c9t2ty9q.js} +1 -1
- package/dist/chunks/{agent-v7v3rrns.js → file-mutation-cfbwa52m.js} +9 -9
- package/dist/chunks/{agent-6t50jf2k.js → file-mutation-cg703a76.js} +12 -12
- package/dist/chunks/{agent-s5ckv70a.js → file-mutation-ctagr9g7.js} +9 -9
- package/dist/chunks/{agent-3hg15haz.js → file-mutation-cw4h5047.js} +38 -38
- package/dist/chunks/{agent-0pes53yc.js → file-mutation-czxr0pk5.js} +28 -28
- package/dist/chunks/{agent-1y0wdj51.js → file-mutation-d2dx6a7h.js} +4 -4
- package/dist/chunks/{agent-d4v9tmah.js → file-mutation-d4v9tmah.js} +2 -2
- package/dist/chunks/{agent-qrsf94hb.js → file-mutation-d5w8jy03.js} +12 -12
- package/dist/chunks/{agent-mwam2bxf.js → file-mutation-d8c7zwkj.js} +24 -24
- package/dist/chunks/{agent-spa8vgy8.js → file-mutation-d8qd4w10.js} +8 -8
- package/dist/chunks/{agent-gm52qjxn.js → file-mutation-dg69zav8.js} +15 -15
- package/dist/chunks/{agent-84rbnah8.js → file-mutation-dkkf5xq4.js} +23 -23
- package/dist/chunks/{agent-7df5b9k0.js → file-mutation-dm5qwjy7.js} +24 -24
- package/dist/chunks/{agent-xmdjjv6p.js → file-mutation-dr3mewcq.js} +15 -15
- package/dist/chunks/{agent-cn8d63zf.js → file-mutation-dz55c0zm.js} +8 -8
- package/dist/chunks/{agent-ab61cr6d.js → file-mutation-e1nbxf8q.js} +14 -14
- package/dist/chunks/{agent-xk6cct51.js → file-mutation-e28v8y2t.js} +33 -33
- package/dist/chunks/{agent-z1b9nwea.js → file-mutation-e5yz98j3.js} +4 -4
- package/dist/chunks/{agent-e834z07m.js → file-mutation-e834z07m.js} +1 -1
- package/dist/chunks/{agent-81g59q3k.js → file-mutation-e8zbksk4.js} +2 -2
- package/dist/chunks/{agent-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-s1cekj41.js → file-mutation-egmw08v6.js} +5 -5
- package/dist/chunks/{agent-nq3tx4x1.js → file-mutation-ejryywa8.js} +39 -39
- package/dist/chunks/{agent-43pxryb4.js → file-mutation-ejx5chcx.js} +35 -35
- package/dist/chunks/{agent-tf78gtve.js → file-mutation-eqzqqxkz.js} +17 -17
- package/dist/chunks/{agent-6w1z0ptf.js → file-mutation-ew73g2zp.js} +1 -1
- package/dist/chunks/{agent-cv2j9yha.js → file-mutation-f10m4awg.js} +3 -3
- package/dist/chunks/{agent-x1kqdqv8.js → file-mutation-f2rre9xz.js} +7 -7
- package/dist/chunks/{agent-xkv91zbc.js → file-mutation-f535s2sq.js} +18 -18
- package/dist/chunks/{agent-fffv3p7h.js → file-mutation-fffv3p7h.js} +1 -1
- package/dist/chunks/{agent-9q3bjtf0.js → file-mutation-fr0fh1nj.js} +20 -20
- package/dist/chunks/{agent-ercvtcgz.js → file-mutation-fv8tw6aa.js} +4 -4
- package/dist/chunks/{agent-eq3fc1qc.js → file-mutation-fvc4bqe2.js} +5 -5
- package/dist/chunks/{agent-3fq3g97k.js → file-mutation-g113tq3g.js} +4 -4
- package/dist/chunks/{agent-g5h9c0rr.js → file-mutation-g5h9c0rr.js} +2 -2
- package/dist/chunks/{agent-vmfhgzt5.js → file-mutation-g7esga4v.js} +5 -5
- package/dist/chunks/{agent-7kk9vmc1.js → file-mutation-ganf5qds.js} +28 -28
- package/dist/chunks/{agent-ea9qy1vr.js → file-mutation-gh9nzn29.js} +17 -17
- package/dist/chunks/{agent-z8hxvef0.js → file-mutation-gkq9xxxw.js} +33 -33
- package/dist/chunks/{agent-yjkkab03.js → file-mutation-gx0r2313.js} +6 -6
- package/dist/chunks/{agent-2j4fkc1b.js → file-mutation-gy8yxpp1.js} +9 -9
- package/dist/chunks/{agent-ysw37sry.js → file-mutation-gzr767ae.js} +18 -18
- package/dist/chunks/{agent-wdk09kh3.js → file-mutation-h406p1d4.js} +18 -18
- package/dist/chunks/{agent-qe4f2n8q.js → file-mutation-h65mpfhc.js} +46 -46
- package/dist/chunks/{agent-et6331cw.js → file-mutation-h931zhe2.js} +42 -42
- package/dist/chunks/{agent-30wk5qzn.js → file-mutation-hbkf0bb7.js} +3 -3
- package/dist/chunks/{agent-pwb927wa.js → file-mutation-hr21agsb.js} +80 -80
- package/dist/chunks/{agent-605j6g36.js → file-mutation-hrwtt92m.js} +25 -25
- package/dist/chunks/{agent-5465mdww.js → file-mutation-hsb38h3t.js} +23 -23
- package/dist/chunks/{agent-036gtng7.js → file-mutation-hvh7vr4z.js} +5 -5
- package/dist/chunks/{agent-t81h9cx6.js → file-mutation-hwg1rf37.js} +17 -17
- package/dist/chunks/{agent-nt0vz67d.js → file-mutation-j110d6ac.js} +11 -11
- package/dist/chunks/{agent-j113cymg.js → file-mutation-j113cymg.js} +1 -1
- package/dist/chunks/{agent-egqc00n5.js → file-mutation-j144xwzw.js} +9 -9
- package/dist/chunks/{agent-zav2k54e.js → file-mutation-jcapkbe6.js} +2 -2
- package/dist/chunks/{agent-ac2jg0km.js → file-mutation-jd41cg63.js} +44 -44
- package/dist/chunks/{agent-gtwwf5qc.js → file-mutation-jfqpy2va.js} +24 -24
- package/dist/chunks/{agent-e5dqjz6v.js → file-mutation-jneg3k74.js} +4 -4
- package/dist/chunks/{agent-shygem95.js → file-mutation-jwswcnbf.js} +15 -15
- package/dist/chunks/{agent-pc1v25hk.js → file-mutation-jx89vj1k.js} +3 -3
- package/dist/chunks/file-mutation-k1mgqf2s.js +26 -0
- package/dist/chunks/{agent-01crwgf8.js → file-mutation-k4x8dxyy.js} +7 -7
- package/dist/chunks/{agent-k814nvkf.js → file-mutation-k814nvkf.js} +1 -1
- package/dist/chunks/{agent-g0mjfn9f.js → file-mutation-k9kmnnb3.js} +10 -10
- package/dist/chunks/{agent-70e5j6cm.js → file-mutation-kaen2cat.js} +21 -21
- package/dist/chunks/{agent-k8sgxmwq.js → file-mutation-kb3vw7p8.js} +23 -23
- package/dist/chunks/{agent-wmjzvx4b.js → file-mutation-kd4chd64.js} +7 -7
- package/dist/chunks/{agent-g9jwm955.js → file-mutation-kd8e7gdr.js} +1 -1
- package/dist/chunks/{agent-hm143rc2.js → file-mutation-kf6qbgb5.js} +3 -3
- package/dist/chunks/{agent-d2jy9c0j.js → file-mutation-kkh6p5hg.js} +1 -1
- package/dist/chunks/{agent-5sgdhf0y.js → file-mutation-kp4a0nkj.js} +45 -45
- package/dist/chunks/{agent-h84cj61w.js → file-mutation-kvd7rme4.js} +2 -2
- package/dist/chunks/{agent-b39xeefv.js → file-mutation-kz13mb51.js} +32 -32
- package/dist/chunks/{agent-0bxps2dt.js → file-mutation-m14375f6.js} +26 -26
- package/dist/chunks/{agent-m1714858.js → file-mutation-m1714858.js} +1 -1
- package/dist/chunks/{agent-a56egb6w.js → file-mutation-m6r2ag02.js} +5 -5
- package/dist/chunks/{agent-cb7xvab4.js → file-mutation-m6yg81he.js} +15 -15
- package/dist/chunks/{agent-8yms0qqj.js → file-mutation-m6yx9010.js} +11 -11
- package/dist/chunks/{agent-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-rm4sw271.js → file-mutation-mfd21a06.js} +4 -4
- package/dist/chunks/{agent-4q4hrjc3.js → file-mutation-mgvc1gk7.js} +14 -14
- package/dist/chunks/{agent-c3cfh5w6.js → file-mutation-mmkbt6v3.js} +9 -9
- package/dist/chunks/{agent-x7nn8z2j.js → file-mutation-mr7gd4pm.js} +8 -8
- package/dist/chunks/{agent-dza0thjn.js → file-mutation-myc1cmw5.js} +14 -14
- package/dist/chunks/{agent-prpkhwe7.js → file-mutation-mz1zez7g.js} +46 -46
- package/dist/chunks/{agent-m96zp2x3.js → file-mutation-n0cek02z.js} +5 -5
- package/dist/chunks/{agent-vwac03cp.js → file-mutation-n0n6a7ps.js} +6 -6
- package/dist/chunks/{agent-n0p0277s.js → file-mutation-n0p0277s.js} +1 -1
- package/dist/chunks/{agent-5pr0e8th.js → file-mutation-n5h7v18c.js} +5 -5
- package/dist/chunks/{agent-b50rsrab.js → file-mutation-n6v2b7cw.js} +5 -5
- package/dist/chunks/{agent-q6vmwcr3.js → file-mutation-nad4mkqt.js} +8 -8
- package/dist/chunks/{agent-nah043kf.js → file-mutation-nah043kf.js} +1 -1
- package/dist/chunks/{agent-n7j6jkwh.js → file-mutation-nmmvaykg.js} +18 -18
- package/dist/chunks/{agent-k5g4ndkg.js → file-mutation-nz1awqkw.js} +29 -29
- package/dist/chunks/{agent-p015t6z3.js → file-mutation-p015t6z3.js} +2 -2
- package/dist/chunks/{agent-t34k7vdx.js → file-mutation-p47da6wh.js} +17 -17
- package/dist/chunks/{agent-y8hmd8bf.js → file-mutation-p7bm53gt.js} +10 -10
- package/dist/chunks/{agent-9egmy7ex.js → file-mutation-pafr3hmb.js} +28 -28
- package/dist/chunks/{agent-tzwfb695.js → file-mutation-ph89xtmw.js} +33 -33
- package/dist/chunks/{agent-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{agent-e3cpefx3.js → file-mutation-pr21x5ks.js} +32 -32
- package/dist/chunks/{agent-d8mgxzbr.js → file-mutation-psvnc0zj.js} +23 -23
- package/dist/chunks/{agent-vxgn3e9c.js → file-mutation-q1xw7kgx.js} +4 -4
- package/dist/chunks/{agent-ht7bz1sv.js → file-mutation-q8ks7c1m.js} +16 -16
- package/dist/chunks/{agent-731c8v1k.js → file-mutation-qgk279fs.js} +40 -40
- package/dist/chunks/{agent-8k8r57g4.js → file-mutation-qpxdw9gm.js} +8 -8
- package/dist/chunks/{agent-r0yr0wbs.js → file-mutation-r0yr0wbs.js} +1 -1
- package/dist/chunks/{agent-pdjy0dkv.js → file-mutation-r0zz2cdc.js} +1 -1
- package/dist/chunks/{agent-860hyfcr.js → file-mutation-r2m1wrpm.js} +17 -17
- package/dist/chunks/{agent-yyd0z27r.js → file-mutation-r5zmcn5f.js} +18 -18
- package/dist/chunks/{agent-rb9dy4dg.js → file-mutation-rb9dy4dg.js} +1 -1
- package/dist/chunks/{agent-bc3gms31.js → file-mutation-rehp1ca5.js} +21 -21
- package/dist/chunks/{agent-1q5awywt.js → file-mutation-rf80fxgj.js} +5 -5
- package/dist/chunks/{agent-mvrp1pf2.js → file-mutation-rgv2frq9.js} +13 -13
- package/dist/chunks/{agent-njstssvg.js → file-mutation-rmv7btfw.js} +10 -10
- package/dist/chunks/{agent-s626qfae.js → file-mutation-rrad2nt9.js} +4 -4
- package/dist/chunks/{agent-gcjdgkn2.js → file-mutation-rt0txz63.js} +9 -9
- package/dist/chunks/{agent-1vpzeawt.js → file-mutation-rt3jy22f.js} +21 -21
- package/dist/chunks/{agent-rt5dr6hb.js → file-mutation-rt5dr6hb.js} +1 -1
- package/dist/chunks/{agent-4fqqg07t.js → file-mutation-rvw14dk0.js} +26 -26
- package/dist/chunks/file-mutation-rz0hcvs1.js +523 -0
- package/dist/chunks/{agent-f3xvtd5f.js → file-mutation-rz9csvhz.js} +11 -11
- package/dist/chunks/{agent-r8vff35f.js → file-mutation-s4rs4ktr.js} +28 -28
- package/dist/chunks/{agent-tybz541q.js → file-mutation-s7112yyh.js} +23 -23
- package/dist/chunks/{agent-fp2kss3x.js → file-mutation-sbegqkxp.js} +6 -6
- package/dist/chunks/{agent-sqjzf8x2.js → file-mutation-sqjzf8x2.js} +1 -1
- package/dist/chunks/{agent-tbmp9t5p.js → file-mutation-t9e9esc1.js} +12 -12
- package/dist/chunks/{agent-tczq8hjw.js → file-mutation-tczq8hjw.js} +1 -1
- package/dist/chunks/{agent-w1b192n3.js → file-mutation-tn2pqadg.js} +14 -14
- package/dist/chunks/{agent-enkpkfwx.js → file-mutation-tqx9c315.js} +8 -8
- package/dist/chunks/{agent-xfrhb91r.js → file-mutation-ts7thg7k.js} +40 -40
- package/dist/chunks/{agent-tw8zr1ps.js → file-mutation-tw8zr1ps.js} +1 -1
- package/dist/chunks/{agent-twv2r8f4.js → file-mutation-twv2r8f4.js} +2 -2
- package/dist/chunks/{agent-v2r1d0zg.js → file-mutation-v2r1d0zg.js} +1 -1
- package/dist/chunks/{agent-yqmxxt9c.js → file-mutation-v6x8rhc3.js} +6 -6
- package/dist/chunks/{agent-npyprqtv.js → file-mutation-vaqsjg05.js} +3 -3
- package/dist/chunks/{agent-ya0bzcwn.js → file-mutation-vbmz9jev.js} +25 -25
- package/dist/chunks/{agent-vd3b3yk9.js → file-mutation-vd3b3yk9.js} +1 -1
- package/dist/chunks/{agent-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-2fhsvw3b.js → file-mutation-vm0wcjea.js} +10 -10
- package/dist/chunks/{agent-pyzjd10w.js → file-mutation-vx3jgdek.js} +3 -3
- package/dist/chunks/{agent-j8ka3dj3.js → file-mutation-vxnb1daw.js} +28 -28
- package/dist/chunks/file-mutation-vz42csha.js +257 -0
- package/dist/chunks/{agent-w2eysc6j.js → file-mutation-w2eysc6j.js} +2 -2
- package/dist/chunks/{agent-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-2yj94xj3.js → file-mutation-w7ceskr2.js} +13 -13
- package/dist/chunks/{agent-wakvkjy4.js → file-mutation-wakvkjy4.js} +1 -1
- package/dist/chunks/{agent-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{agent-aywq2m6b.js → file-mutation-we6venq8.js} +11 -11
- package/dist/chunks/{agent-zqfy40s7.js → file-mutation-wqvpyqgm.js} +17 -17
- package/dist/chunks/{agent-ejyk05z4.js → file-mutation-xmjq5dsw.js} +20 -20
- package/dist/chunks/{agent-m9tz8kfk.js → file-mutation-xs3xca8c.js} +16 -16
- package/dist/chunks/{agent-tr53db22.js → file-mutation-y456hjcf.js} +20 -20
- package/dist/chunks/{agent-w75qjcvt.js → file-mutation-y9xrhqjb.js} +6 -6
- package/dist/chunks/{agent-yb20nhc3.js → file-mutation-yb20nhc3.js} +1 -1
- package/dist/chunks/{agent-58wwcftr.js → file-mutation-yk7z3cd9.js} +19 -19
- package/dist/chunks/{agent-cbva7xm7.js → file-mutation-ys14c7h6.js} +16 -16
- package/dist/chunks/{agent-sfayrj8h.js → file-mutation-yt06m8xx.js} +15 -15
- package/dist/chunks/{agent-vq55ta2w.js → file-mutation-yy2s616e.js} +8 -8
- package/dist/chunks/{agent-b7mz4wb4.js → file-mutation-yz63e4xv.js} +2 -2
- package/dist/chunks/{agent-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-zcv9t832.js → file-mutation-z11v4z0j.js} +20 -20
- package/dist/chunks/{agent-c22xs6zs.js → file-mutation-z2a3rv7v.js} +9 -9
- package/dist/chunks/{agent-z38nccrw.js → file-mutation-z38nccrw.js} +1 -1
- package/dist/chunks/{agent-erjptbv1.js → file-mutation-zgmrepvs.js} +4 -4
- package/dist/chunks/{agent-xw0c0mqp.js → file-mutation-zh89wwz7.js} +10 -10
- package/dist/chunks/{agent-xf07g6fp.js → file-mutation-zhbs0pmw.js} +35 -35
- package/dist/chunks/{agent-se8z0af6.js → file-mutation-zhv6stc2.js} +4 -4
- package/dist/chunks/{agent-zkg84ctx.js → file-mutation-zkg84ctx.js} +1 -1
- package/dist/chunks/{agent-0p88zpcm.js → file-mutation-zkgq49d1.js} +4 -4
- package/dist/chunks/{agent-sg8mkp01.js → file-mutation-zmk1cqnw.js} +42 -42
- 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 +87 -87
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +121 -121
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +85 -85
- package/dist/database/database.js +68 -68
- 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 +94 -94
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- 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 +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +101 -101
- 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 +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- 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 +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +134 -134
- 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 +101 -101
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +114 -114
- 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 +123 -123
- 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 +123 -123
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- 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 +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- 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 +1 -1
- 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 +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- 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 +3 -3
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +135 -135
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +132 -132
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/agent-f56tfzs6.js +0 -523
- package/dist/chunks/agent-gbftmgpj.js +0 -26
- package/dist/chunks/agent-qsxt5pmn.js +0 -257
- package/dist/chunks/agent-z7bdqmx5.js +0 -18
- /package/dist/chunks/{agent-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5fjb7ams.js → file-mutation-5fjb7ams.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a058387c.js → file-mutation-a058387c.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-0fn7fmmf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-q1xw7kgx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service83
|
|
11
|
+
} from "./file-mutation-s4rs4ktr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-vxnb1daw.js";
|
|
16
16
|
import {
|
|
17
17
|
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-pafr3hmb.js";
|
|
20
20
|
import {
|
|
21
21
|
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./file-mutation-hrwtt92m.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-mutation-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-n0n6a7ps.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
46
|
var providerID = ID13.openai;
|
|
47
|
-
var integrationID =
|
|
47
|
+
var integrationID = ID16.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service83;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID16.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model,
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service38,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service38, exports_runner };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./file-mutation-57k3rf66.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-2c4qk5dm.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin38,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin38 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service78;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin38, exports_hg };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-f10m4awg.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-998yhzzq.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-f2rre9xz.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-27bs79w9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput3,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service69,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node73
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
53
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
54
54
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service69 extends Context.Service()("@opencode/SessionStore") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
59
59
|
const { db } = yield* Service86;
|
|
60
|
-
return
|
|
60
|
+
return Service69.of({
|
|
61
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
62
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
63
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
131
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node90] });
|
|
132
132
|
|
|
133
|
-
export { ListInput3,
|
|
133
|
+
export { ListInput3, Service69, node73, exports_store };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-q1xw7kgx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service8,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer8,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node10
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service8 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var layer8 = Layer.effect(
|
|
25
|
+
var layer8 = Layer.effect(Service8, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service8.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node10 = makeGlobalNode({ service: Service8, layer: layer8, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service8, layer8, node10, exports_sdk };
|
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-f10m4awg.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-q1xw7kgx.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-vd3b3yk9.js";
|
|
12
12
|
import {
|
|
13
13
|
ID10,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service72,
|
|
15
|
+
node76
|
|
16
|
+
} from "./file-mutation-3jt9gp25.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service75,
|
|
22
|
+
node79
|
|
23
|
+
} from "./file-mutation-hrwtt92m.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
serializeToolContent2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-v2r1d0zg.js";
|
|
35
35
|
import {
|
|
36
36
|
isNativeCompaction2,
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-f2rre9xz.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-mutation-kvd7rme4.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service27,
|
|
48
|
+
node31
|
|
49
|
+
} from "./file-mutation-m14375f6.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service40,
|
|
52
|
+
node42
|
|
53
|
+
} from "./file-mutation-r2m1wrpm.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./file-mutation-8sxdqgb0.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./file-mutation-n5h7v18c.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./file-mutation-tw8zr1ps.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service4,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
79
|
layer: () => layer6,
|
|
80
|
-
node: () =>
|
|
80
|
+
node: () => node6,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service4 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -184,14 +184,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
184
184
|
};
|
|
185
185
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
186
186
|
var LEGACY_HEADING = "## Additional Context";
|
|
187
|
-
var layer6 = Layer.effect(
|
|
188
|
-
const agents = yield*
|
|
187
|
+
var layer6 = Layer.effect(Service4, Effect.gen(function* () {
|
|
188
|
+
const agents = yield* Service72;
|
|
189
189
|
const bus = yield* Service85;
|
|
190
190
|
const llm = yield* LLMClient.Service;
|
|
191
|
-
const catalog = yield*
|
|
192
|
-
const models = yield*
|
|
191
|
+
const catalog = yield* Service75;
|
|
192
|
+
const models = yield* Service40;
|
|
193
193
|
const db = (yield* Service86).db;
|
|
194
|
-
const requests = yield*
|
|
194
|
+
const requests = yield* Service27;
|
|
195
195
|
const scope = yield* Scope.Scope;
|
|
196
196
|
const precomputed = new Map;
|
|
197
197
|
const state = create3({
|
|
@@ -574,17 +574,17 @@ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
574
574
|
}, { metadata: outcome.metadata });
|
|
575
575
|
return { status: "completed" };
|
|
576
576
|
});
|
|
577
|
-
return
|
|
577
|
+
return Service4.of({
|
|
578
578
|
transform: state.transform,
|
|
579
579
|
reload: state.reload,
|
|
580
580
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
581
581
|
precompute
|
|
582
582
|
});
|
|
583
583
|
}));
|
|
584
|
-
var
|
|
585
|
-
service:
|
|
584
|
+
var node6 = makeLocationNode({
|
|
585
|
+
service: Service4,
|
|
586
586
|
layer: layer6,
|
|
587
|
-
deps: [
|
|
587
|
+
deps: [node76, node89, node90, llmClient2, node79, node31, node42]
|
|
588
588
|
});
|
|
589
589
|
var heldIndex = (held, context) => {
|
|
590
590
|
if (held.firstID !== context.messages[0]?.id || held.initial !== context.initial)
|
|
@@ -771,4 +771,4 @@ var estimateMedia = (mime) => {
|
|
|
771
771
|
return 0;
|
|
772
772
|
};
|
|
773
773
|
|
|
774
|
-
export {
|
|
774
|
+
export { Service4, buildPrompt2, layer6, node6, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./file-mutation-vxnb1daw.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./file-mutation-pafr3hmb.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service76,
|
|
23
|
+
node80
|
|
24
|
+
} from "./file-mutation-k9kmnnb3.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service75,
|
|
30
|
+
node79,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-hrwtt92m.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,7 +41,7 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service74,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
@@ -49,7 +49,7 @@ __export(exports_model_resolver, {
|
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
51
|
layer: () => layer25,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node78,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service74 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var layer25 = Layer.effect(
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service77;
|
|
274
|
+
const models = yield* Service75;
|
|
275
|
+
const integrations = yield* Service82;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service76;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer25 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service74.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
324
|
+
var node78 = makeLocationNode({
|
|
325
|
+
service: Service74,
|
|
326
326
|
layer: layer25,
|
|
327
|
-
deps: [
|
|
327
|
+
deps: [node81, node79, node86, Npm.node, node80]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service74, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer25, node78, exports_model_resolver };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info13,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule2
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info13 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule2, Info13, exports_permission };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-mutation-57k3rf66.js";
|
|
4
4
|
import {
|
|
5
5
|
ID12,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-hrwtt92m.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service55
|
|
10
|
+
} from "./file-mutation-jd41cg63.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./file-mutation-jfqpy2va.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-0h8y3ex8.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-n0n6a7ps.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service55;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service63);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service78);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|