@opencode/core 0.0.0-dev-19874 → 0.0.0-dev-19877
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{permission-0s0p4cwd.js → app-014xdmgp.js} +27 -27
- package/dist/chunks/{permission-8fdpqyga.js → app-01s6r663.js} +17 -17
- package/dist/chunks/{permission-n451abxa.js → app-03matkmd.js} +17 -17
- package/dist/chunks/{permission-nv194scf.js → app-06r2eyqd.js} +6 -6
- package/dist/chunks/{permission-1r87s44f.js → app-07can071.js} +25 -25
- package/dist/chunks/{permission-rhjbct0v.js → app-0gdmqesm.js} +4 -4
- package/dist/chunks/{permission-512e3z52.js → app-0hr54mt4.js} +33 -33
- package/dist/chunks/{permission-ex96t11j.js → app-0j8d1df6.js} +3 -3
- package/dist/chunks/{permission-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{permission-byrn5b2b.js → app-0sa6p4t3.js} +8 -8
- package/dist/chunks/{permission-br6fbg0g.js → app-0tv5m9zy.js} +15 -15
- package/dist/chunks/{permission-q1zmm1c6.js → app-11823ez3.js} +9 -9
- package/dist/chunks/{permission-f9hd2wq9.js → app-16rcg4y4.js} +19 -19
- package/dist/chunks/{permission-t9zs3egg.js → app-1a6p2twq.js} +4 -4
- package/dist/chunks/{permission-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-3rprmdbm.js → app-1s3za36d.js} +4 -4
- package/dist/chunks/{permission-2wfsvdr5.js → app-1wr3afwe.js} +5 -5
- package/dist/chunks/{permission-g3tbz564.js → app-1zcc4bn4.js} +11 -11
- package/dist/chunks/{permission-qtxsx7xp.js → app-20dk8r1s.js} +22 -22
- package/dist/chunks/{permission-7x3nv8st.js → app-20ycjnd3.js} +3 -3
- package/dist/chunks/{permission-fkahr21w.js → app-20zx6c52.js} +24 -24
- package/dist/chunks/{permission-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{permission-5c0f1prt.js → app-26ym7a2d.js} +4 -4
- package/dist/chunks/{permission-z63w68vq.js → app-29x78va6.js} +6 -6
- package/dist/chunks/{permission-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-kw2fbk1j.js → app-2f21k4jq.js} +19 -19
- package/dist/chunks/{permission-b8hr5nf1.js → app-2fvbvr4z.js} +13 -13
- package/dist/chunks/{permission-whsdeetv.js → app-2hsx99jb.js} +36 -36
- package/dist/chunks/{permission-7dqw4kz8.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{permission-p21hmvcj.js → app-2npqe2nd.js} +36 -36
- package/dist/chunks/{permission-zhq6vg7a.js → app-2pjc63d4.js} +1 -1
- package/dist/chunks/{permission-g190xswt.js → app-2pnhn36q.js} +21 -21
- package/dist/chunks/{permission-thx5dacy.js → app-35w9qdzz.js} +9 -9
- package/dist/chunks/{permission-41qt2ada.js → app-39c2k6vv.js} +13 -13
- package/dist/chunks/{permission-6jgheagj.js → app-39dgwvb1.js} +27 -27
- package/dist/chunks/{permission-6ersrjne.js → app-3b1q5j1v.js} +6 -6
- package/dist/chunks/{permission-133z2wzy.js → app-3e6x224v.js} +18 -18
- package/dist/chunks/{permission-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-5m6jm1x1.js → app-3m3qrqke.js} +8 -8
- package/dist/chunks/{permission-ybfk0s63.js → app-3m4ehbcm.js} +7 -7
- package/dist/chunks/{permission-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-16brjxab.js → app-3vaynbq5.js} +3 -3
- package/dist/chunks/{permission-wsw716k0.js → app-44zmf7q8.js} +43 -43
- package/dist/chunks/{permission-eq911n7z.js → app-49yvn64x.js} +1 -1
- package/dist/chunks/{permission-34fed7dh.js → app-4d4f54qe.js} +41 -41
- package/dist/chunks/app-4v7qdvcn.js +18 -0
- package/dist/chunks/{permission-fxmgg4aj.js → app-4y9pqhyv.js} +4 -4
- package/dist/chunks/{permission-c1azftch.js → app-55y9qcck.js} +5 -5
- package/dist/chunks/{permission-56gdpj1q.js → app-56gdpj1q.js} +2 -2
- package/dist/chunks/{permission-dwq6ryhm.js → app-57e9z27j.js} +8 -8
- package/dist/chunks/{permission-57ez7d0k.js → app-57ez7d0k.js} +2 -2
- package/dist/chunks/{permission-65gdz2z6.js → app-57m20ys8.js} +5 -5
- package/dist/chunks/{permission-a1bz86dw.js → app-5c4hm403.js} +3 -3
- package/dist/chunks/{permission-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-hk7qdcav.js → app-5mj83k5s.js} +9 -9
- package/dist/chunks/{permission-vmgq4x8b.js → app-5nb2d01r.js} +2 -2
- package/dist/chunks/{permission-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-emvjk7qx.js → app-5v8q48de.js} +33 -33
- package/dist/chunks/{permission-0vh97m80.js → app-5vt9esmq.js} +19 -19
- package/dist/chunks/{permission-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{permission-zbvcjcjk.js → app-688dcwrg.js} +11 -11
- package/dist/chunks/{permission-s6m8pms3.js → app-68zcn1pn.js} +5 -5
- package/dist/chunks/{permission-57bw15e8.js → app-6c2r5v8w.js} +4 -4
- package/dist/chunks/{permission-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{permission-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-yfqf8r8t.js → app-6nshdwd7.js} +27 -27
- package/dist/chunks/{permission-q3hz49bq.js → app-6r8xth9q.js} +11 -11
- package/dist/chunks/{permission-90bsn2hc.js → app-709xpvx9.js} +12 -12
- package/dist/chunks/{permission-wa1v3csk.js → app-711sgqvm.js} +9 -9
- package/dist/chunks/{permission-k1gkpfdk.js → app-79mnhcfn.js} +8 -8
- package/dist/chunks/{permission-qyvqs0b8.js → app-7b4r5at6.js} +17 -17
- package/dist/chunks/{permission-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-qhwxzw2t.js → app-7ekr1ah4.js} +29 -29
- package/dist/chunks/{permission-0yj7bxag.js → app-7ghxp6dc.js} +11 -11
- package/dist/chunks/{permission-hkfg6fzm.js → app-7gvwkz6m.js} +5 -5
- package/dist/chunks/{permission-e3jxvqwn.js → app-7hnsdr40.js} +28 -28
- package/dist/chunks/{permission-5arezbtz.js → app-7hwc72pw.js} +38 -38
- package/dist/chunks/{permission-fjpj0srt.js → app-7ka5mwj0.js} +24 -24
- package/dist/chunks/{permission-7p3wth53.js → app-7mvfcvez.js} +19 -19
- package/dist/chunks/{permission-e4rx3krv.js → app-7vneq8n3.js} +10 -10
- package/dist/chunks/{permission-42v4jjsm.js → app-7w8wfers.js} +27 -27
- package/dist/chunks/{permission-qbf0tqxf.js → app-7x1nw6gz.js} +10 -10
- package/dist/chunks/{permission-e2g8s77q.js → app-876jnmkn.js} +21 -21
- package/dist/chunks/{permission-ez18smvf.js → app-88yxd0gw.js} +49 -49
- package/dist/chunks/{permission-tcezcvh9.js → app-89znhe33.js} +4 -4
- package/dist/chunks/{permission-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-39q1dpaa.js → app-8j10kyg7.js} +11 -11
- package/dist/chunks/{permission-v76k1zv1.js → app-8kefq0e4.js} +24 -24
- package/dist/chunks/{permission-qvb3nf84.js → app-8n69n882.js} +8 -8
- package/dist/chunks/{permission-bqwjt6km.js → app-8trhq89n.js} +7 -7
- package/dist/chunks/{permission-cmwkp3r5.js → app-8v6pyhej.js} +8 -8
- package/dist/chunks/{permission-bsm67k4q.js → app-915nf07v.js} +11 -11
- package/dist/chunks/{permission-c41a26xd.js → app-9jn97mr4.js} +10 -10
- package/dist/chunks/{permission-n4zx6whp.js → app-9n0txh3w.js} +29 -29
- package/dist/chunks/{permission-m2c5z8sg.js → app-9pe371ph.js} +14 -14
- package/dist/chunks/{permission-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-49nj8t94.js → app-abfe342y.js} +5 -5
- package/dist/chunks/{permission-hgfez23e.js → app-aky1hhm0.js} +25 -25
- package/dist/chunks/{permission-gf7f2369.js → app-arndb05z.js} +8 -8
- package/dist/chunks/{permission-7adq96wr.js → app-aswv42tr.js} +11 -11
- package/dist/chunks/{permission-edrmdtr5.js → app-axtvtek4.js} +4 -4
- package/dist/chunks/{permission-zmhev87s.js → app-azynnvek.js} +57 -57
- package/dist/chunks/{permission-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-vjcfhfmy.js → app-b6mrn51r.js} +11 -11
- package/dist/chunks/{permission-7ndjbrc9.js → app-bawrj3b9.js} +2 -2
- package/dist/chunks/{permission-f54bqyfb.js → app-bd9kkww0.js} +18 -18
- package/dist/chunks/{permission-3svv6ct8.js → app-bdqrk2vk.js} +7 -7
- package/dist/chunks/{permission-9mcntd17.js → app-bdwsy2v9.js} +4 -4
- package/dist/chunks/{permission-cq37gk0t.js → app-bg2gq5qa.js} +4 -4
- package/dist/chunks/{permission-t9402zjh.js → app-bvfp0cee.js} +28 -28
- package/dist/chunks/{permission-9hj1fhe6.js → app-bw1ynhc4.js} +15 -15
- package/dist/chunks/{permission-fkf150rf.js → app-c1ef6zpr.js} +3 -3
- package/dist/chunks/{permission-py1xb1z4.js → app-c2k60acp.js} +17 -17
- package/dist/chunks/{permission-p1a36bg3.js → app-c38jyzps.js} +8 -8
- package/dist/chunks/{permission-mmdsn9e0.js → app-csxzn776.js} +12 -12
- package/dist/chunks/{permission-bewkccxp.js → app-cxgg6zzr.js} +12 -12
- package/dist/chunks/{permission-sh642x3g.js → app-cz4gxkeh.js} +54 -54
- package/dist/chunks/{permission-68n6sm91.js → app-d0kf8th3.js} +8 -8
- package/dist/chunks/{permission-6s8fh9nr.js → app-d0zj62h6.js} +16 -16
- package/dist/chunks/{permission-m7510d1m.js → app-d4awevab.js} +6 -6
- package/dist/chunks/{permission-d4he2qe1.js → app-d4he2qe1.js} +2 -2
- package/dist/chunks/{permission-qrtt9f51.js → app-d78xx6qz.js} +23 -23
- package/dist/chunks/{permission-0xj6gk8c.js → app-d7fy9tms.js} +31 -31
- package/dist/chunks/{permission-6yta8p2v.js → app-d883tjw7.js} +28 -28
- package/dist/chunks/{permission-70mvqem8.js → app-d9ytdjw8.js} +20 -20
- package/dist/chunks/{permission-embw8kgh.js → app-ddt2bs9e.js} +4 -4
- package/dist/chunks/{permission-8p4f9s12.js → app-dj2t23y0.js} +2 -2
- package/dist/chunks/{permission-7a9jqt52.js → app-dpfenvj7.js} +9 -9
- package/dist/chunks/{permission-xfkkasph.js → app-drwq78ky.js} +4 -4
- package/dist/chunks/{permission-wb9vexz9.js → app-dsqt3g70.js} +4 -4
- package/dist/chunks/{permission-86v8vtpw.js → app-dw1nbz2e.js} +10 -10
- package/dist/chunks/{permission-135kh9zw.js → app-e14sp09f.js} +9 -9
- package/dist/chunks/{permission-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
- package/dist/chunks/{permission-4dgbcxzg.js → app-ebe9bak5.js} +4 -4
- package/dist/chunks/{permission-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-erw5rpbs.js → app-erw5rpbs.js} +2 -2
- package/dist/chunks/{permission-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-803ez6w8.js → app-f5js084j.js} +18 -18
- package/dist/chunks/{permission-8aa1j6tz.js → app-f6h44vt5.js} +6 -6
- package/dist/chunks/{permission-ymcpp32q.js → app-f8wvxc75.js} +9 -9
- package/dist/chunks/{permission-59jyad5k.js → app-fab6kdz8.js} +27 -27
- package/dist/chunks/{permission-0d6t75mw.js → app-fdaj3cxn.js} +28 -28
- package/dist/chunks/{permission-qt2fr0mw.js → app-fpxm7379.js} +3 -3
- package/dist/chunks/{permission-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{permission-bmkqs0vg.js → app-g2qchbvm.js} +12 -12
- package/dist/chunks/{permission-e1cdkeep.js → app-g5zpxqd5.js} +47 -47
- package/dist/chunks/{permission-gjtr2zzm.js → app-g6ckadgp.js} +16 -16
- package/dist/chunks/{permission-xrx26rk8.js → app-gcq2fxm3.js} +12 -12
- package/dist/chunks/{permission-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-bv1ptma2.js → app-gfpj78pk.js} +4 -4
- package/dist/chunks/{permission-w7t6xnda.js → app-gh58188p.js} +15 -15
- package/dist/chunks/{permission-r98tqh7p.js → app-grfgd9mf.js} +28 -28
- package/dist/chunks/{permission-k906dc9m.js → app-gs5memm2.js} +11 -11
- package/dist/chunks/{permission-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{permission-p466wxty.js → app-h2tx7zx9.js} +22 -22
- package/dist/chunks/{permission-b7b4ctej.js → app-h4z1mxff.js} +5 -5
- package/dist/chunks/{permission-4e5yfvn2.js → app-h5gvbxth.js} +18 -18
- package/dist/chunks/{permission-18e56dsp.js → app-h6jr292a.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-0r7yqxbf.js → app-hcz3zddy.js} +5 -5
- package/dist/chunks/{permission-f828m53h.js → app-hdnk95c8.js} +2 -2
- package/dist/chunks/{permission-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-0xqqcv88.js → app-japfypf2.js} +315 -315
- package/dist/chunks/{permission-wj76ss2k.js → app-jewzahs7.js} +4 -4
- package/dist/chunks/{permission-dbz5yhxv.js → app-jnmfw45r.js} +3 -3
- package/dist/chunks/{permission-7d2bdg1a.js → app-jpqzn5nx.js} +39 -39
- package/dist/chunks/{permission-k4az9nbp.js → app-jw57wrad.js} +12 -12
- package/dist/chunks/{permission-2ydfvjrk.js → app-jzz4kwyh.js} +4 -4
- package/dist/chunks/{permission-9ytcz3ec.js → app-k27386pf.js} +27 -27
- package/dist/chunks/{permission-k3c624dm.js → app-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-4gevcj4v.js → app-kfpfq9wx.js} +11 -11
- package/dist/chunks/{permission-k9kj6xed.js → app-knb7evpn.js} +6 -6
- package/dist/chunks/{permission-9feq07d2.js → app-kytjdcrv.js} +58 -58
- package/dist/chunks/{permission-cfpkc3c9.js → app-m0jqrx5p.js} +2 -2
- package/dist/chunks/{permission-pnv527nz.js → app-m2d0j7c0.js} +9 -9
- package/dist/chunks/{permission-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-4dpfvdcx.js → app-m3pgw4q9.js} +25 -25
- package/dist/chunks/{permission-c51mfwr9.js → app-m85z7vph.js} +11 -11
- package/dist/chunks/{permission-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-n8q6nskq.js → app-mm16ex40.js} +9 -9
- package/dist/chunks/{permission-dvq28a24.js → app-nk1wytkm.js} +22 -22
- package/dist/chunks/{permission-v8rx1wg5.js → app-nm3p96rh.js} +23 -23
- package/dist/chunks/{permission-818pfwc9.js → app-nm6tfe9e.js} +11 -11
- package/dist/chunks/{permission-p28j5sbe.js → app-p28j5sbe.js} +2 -2
- package/dist/chunks/{permission-306dmwek.js → app-p29sx5d2.js} +15 -15
- package/dist/chunks/{permission-v0y2tgz2.js → app-p33jdkfk.js} +6 -6
- package/dist/chunks/{permission-c8bydgjz.js → app-p7a39gy5.js} +6 -6
- package/dist/chunks/{permission-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{permission-qk0wvp08.js → app-png4bzvj.js} +21 -21
- package/dist/chunks/{permission-1gcjnbtt.js → app-pps41de9.js} +10 -10
- package/dist/chunks/{permission-zpgpekp4.js → app-ps5kdaeb.js} +32 -32
- package/dist/chunks/{permission-vq5a0586.js → app-psst68c8.js} +32 -32
- package/dist/chunks/{permission-c214zv56.js → app-q4gtzsax.js} +28 -28
- package/dist/chunks/{permission-hqxaqnsz.js → app-qbkt3cqr.js} +11 -11
- package/dist/chunks/{permission-95v3jvss.js → app-qfdknrj4.js} +3 -3
- package/dist/chunks/{permission-4mw7cqc8.js → app-qmznc2j1.js} +32 -32
- package/dist/chunks/{permission-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/app-qtvmxc8s.js +4 -0
- package/dist/chunks/{permission-1e6x7hc1.js → app-qzjq96ve.js} +46 -46
- package/dist/chunks/{permission-r5x6zcsm.js → app-r5x6zcsm.js} +1 -1
- package/dist/chunks/{permission-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-rrrtzsfn.js → app-rfdx9aph.js} +23 -23
- package/dist/chunks/{permission-2j859j03.js → app-rfjpkbyr.js} +177 -177
- package/dist/chunks/{permission-4cp637r5.js → app-rh2h7bz2.js} +21 -21
- package/dist/chunks/{permission-5cmxdwv8.js → app-rj6d5p5e.js} +3 -3
- package/dist/chunks/app-s0mmenjh.js +252 -0
- package/dist/chunks/{permission-h71w788e.js → app-s1kvmffy.js} +9 -9
- package/dist/chunks/{permission-yrznvahk.js → app-s4enseaf.js} +2 -2
- package/dist/chunks/{permission-jg2dhj3p.js → app-senw7f5q.js} +5 -5
- package/dist/chunks/{permission-9c6xxb7z.js → app-sjgwehbe.js} +15 -15
- package/dist/chunks/{permission-zcnmdaxq.js → app-swk9pkgd.js} +11 -11
- package/dist/chunks/{permission-b7dhfy6q.js → app-t0b82sn3.js} +13 -13
- package/dist/chunks/{permission-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-5px2cs4c.js → app-tb5xxcc9.js} +89 -89
- package/dist/chunks/{permission-th0ks2de.js → app-tb9xm78q.js} +8 -8
- package/dist/chunks/{permission-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{permission-zqbabpbm.js → app-tfxsda3f.js} +35 -35
- package/dist/chunks/{permission-4w9jmjsg.js → app-thph1k7c.js} +32 -32
- package/dist/chunks/{permission-tz2bjj40.js → app-tn0aqsam.js} +5 -5
- package/dist/chunks/{permission-6c9jyh3c.js → app-ttsb85y1.js} +7 -7
- package/dist/chunks/{permission-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-msy3c7cy.js → app-v19j2x38.js} +7 -7
- package/dist/chunks/{permission-bzkxn2s0.js → app-v1kgz5pa.js} +11 -11
- package/dist/chunks/{permission-xxhb2w1s.js → app-v62cs5sj.js} +21 -21
- package/dist/chunks/{permission-cwva85yx.js → app-v6h6kk4n.js} +47 -47
- package/dist/chunks/{permission-pdw7g21z.js → app-v7ax49y9.js} +16 -16
- package/dist/chunks/{permission-dy1hyvsp.js → app-va20k388.js} +15 -15
- package/dist/chunks/{permission-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-rpzb8neq.js → app-vmv0kd87.js} +3 -3
- package/dist/chunks/{permission-thv1n79j.js → app-vqn7h5f3.js} +34 -34
- package/dist/chunks/{permission-d50pwz5n.js → app-vwcr4tjx.js} +9 -9
- package/dist/chunks/{permission-y5df08dr.js → app-vy4zg7qh.js} +12 -12
- package/dist/chunks/{permission-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-dvep9rg9.js → app-w3jg838k.js} +9 -9
- package/dist/chunks/{permission-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-w98a9qes.js → app-wa17x0f6.js} +23 -23
- package/dist/chunks/{permission-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{permission-1gpfze3n.js → app-wks3bq41.js} +37 -37
- package/dist/chunks/{permission-k18ytf7m.js → app-wpm2rk0p.js} +6 -6
- package/dist/chunks/{permission-r6y9hygx.js → app-wq38yxfv.js} +1 -1
- package/dist/chunks/{permission-xv1bbbzm.js → app-wx5y01fx.js} +11 -11
- package/dist/chunks/{permission-tq8prkjp.js → app-wxtfr31w.js} +20 -20
- package/dist/chunks/{permission-rzjcgha3.js → app-wxyrkypr.js} +16 -16
- package/dist/chunks/{permission-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-78nctmg8.js → app-x2rmejqt.js} +13 -13
- package/dist/chunks/{permission-e1226ca0.js → app-x3qv8ryf.js} +59 -59
- package/dist/chunks/{permission-y44dwybn.js → app-x4e5jp7e.js} +7 -7
- package/dist/chunks/{permission-zf0cp0vx.js → app-x8chr5sc.js} +28 -28
- package/dist/chunks/{permission-bcc8ye10.js → app-x9qt50vx.js} +13 -13
- package/dist/chunks/{permission-1sax9vwk.js → app-xg9j3gxx.js} +5 -5
- package/dist/chunks/{permission-7e6qx1a4.js → app-xgpvyysx.js} +96 -96
- package/dist/chunks/{permission-1t7w4vhc.js → app-xhpeghz7.js} +10 -10
- package/dist/chunks/{permission-7tpfyxf5.js → app-y15xkh2n.js} +19 -19
- package/dist/chunks/{permission-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-nz3vmc8v.js → app-y2nmavtm.js} +35 -35
- package/dist/chunks/{permission-eew9svzj.js → app-y5xn5bba.js} +19 -19
- package/dist/chunks/{permission-y71avatq.js → app-y71avatq.js} +1 -1
- package/dist/chunks/{permission-03ytb9na.js → app-y76zn1vz.js} +5 -5
- package/dist/chunks/{permission-w2bgfj5s.js → app-y9p6qzzr.js} +42 -42
- package/dist/chunks/{permission-160m4fy4.js → app-ybgh1m9m.js} +19 -19
- package/dist/chunks/{permission-07s31j3g.js → app-yj47cjx3.js} +15 -15
- package/dist/chunks/{permission-9vjqw7av.js → app-ykf0jhfk.js} +24 -24
- package/dist/chunks/{permission-yp2x3t23.js → app-yp2x3t23.js} +1 -1
- package/dist/chunks/{permission-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-5zqemvv0.js → app-yrhthkpk.js} +37 -37
- package/dist/chunks/{permission-9skgweab.js → app-yrq83nnf.js} +14 -14
- package/dist/chunks/{permission-bphr9z6m.js → app-yxms1dgw.js} +27 -27
- package/dist/chunks/{permission-6be1vwa6.js → app-yy70n6y7.js} +22 -22
- package/dist/chunks/{permission-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-zeyt33w1.js → app-z6p9zkzw.js} +44 -44
- package/dist/chunks/{permission-sf47z3a9.js → app-zc72yjq3.js} +22 -22
- package/dist/chunks/{permission-n1r5w7py.js → app-zdb8sah8.js} +18 -18
- package/dist/chunks/{permission-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-kqw5tw9b.js → app-zkmmppc2.js} +7 -7
- package/dist/chunks/{permission-panegg9t.js → app-zmnyjegj.js} +18 -18
- package/dist/chunks/{permission-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-gb2fhh5e.js → app-zswdvhgs.js} +20 -20
- package/dist/chunks/{permission-j34dxvpb.js → app-zw4pk1bw.js} +5 -5
- package/dist/chunks/{permission-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{permission-asft4ygz.js → app-zy4aaz3n.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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/id/id.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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +101 -101
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/permission-0mesazry.js +0 -4
- package/dist/chunks/permission-7fj5dwt0.js +0 -18
- package/dist/chunks/permission-b552wxns.js +0 -252
- /package/dist/chunks/{permission-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./app-csxzn776.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-zc72yjq3.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
20
|
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service33,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
24
|
configured: () => configured4,
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
layer: () => layer14,
|
|
26
|
+
node: () => node36
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -42,15 +42,15 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service33 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service33, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service33.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
258
|
+
var layer14 = makeLayer();
|
|
259
259
|
var configured4 = (options) => makeGlobalNode({
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
260
|
+
service: Service33,
|
|
261
|
+
layer: options === undefined ? layer14 : makeLayer(options),
|
|
262
|
+
deps: [node83, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node36 = configured4();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options4, UnavailableError2,
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError3, Service33, layer14, configured4, node36, exports_persistent_pty, Handoff2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-6c2r5v8w.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./app-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service62,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node65,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load5());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service62 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer22 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service62.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service62.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service62).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service62, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service62, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node65 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options7, Service62, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured8, node65, exports_watcher };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info8,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info8 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info8, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./app-csxzn776.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./app-7ekr1ah4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./app-m3pgw4q9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./app-709xpvx9.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-11823ez3.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-6c2r5v8w.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-20ycjnd3.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service46;
|
|
58
|
+
const toolOutput = yield* Service47;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node78
|
|
7
|
+
} from "./app-ykf0jhfk.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service75;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node78] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service77
|
|
8
|
+
} from "./app-yrq83nnf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service75
|
|
11
|
+
} from "./app-ykf0jhfk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./app-f5js084j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-2fvbvr4z.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service53
|
|
22
|
+
} from "./app-azynnvek.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service52,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-zmnyjegj.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output7,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin10,
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output7 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin10 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service75;
|
|
112
|
+
const access = yield* Service52;
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service77;
|
|
116
|
+
const permission = yield* Service53;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin31 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output7, toModelContent5, Plugin10, exports_patch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|