@opencode/core 0.0.0-dev-21798 → 0.0.0-dev-21800
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-retry-kvzw13zf.js → form-02hjb68z.js} +3 -3
- package/dist/chunks/{model-retry-dh62xe4r.js → form-033a0jkt.js} +3 -3
- package/dist/chunks/{model-retry-799ckdtf.js → form-0421tmwc.js} +9 -9
- package/dist/chunks/{model-retry-nkr11kdx.js → form-0de0nmh0.js} +27 -27
- package/dist/chunks/{model-retry-mykzpx85.js → form-0e10z5fj.js} +6 -6
- package/dist/chunks/{model-retry-cyyydscs.js → form-0es6nja8.js} +24 -24
- package/dist/chunks/{model-retry-6g7mppbr.js → form-0h9bs85x.js} +9 -9
- package/dist/chunks/{model-retry-z7ttk5hb.js → form-0mmhxb94.js} +5 -5
- package/dist/chunks/{model-retry-0ht9hdz1.js → form-0mpj81pq.js} +20 -20
- package/dist/chunks/{model-retry-twpa8r42.js → form-0s6xfy83.js} +39 -39
- package/dist/chunks/{model-retry-1v37p8m9.js → form-0tw7w02j.js} +3 -3
- package/dist/chunks/{model-retry-rvbz23xa.js → form-1gvxmx3x.js} +13 -13
- package/dist/chunks/{model-retry-5v8dvpa5.js → form-1j3q5f1b.js} +4 -4
- package/dist/chunks/{model-retry-37sdb7g6.js → form-1kqbdeg9.js} +26 -26
- package/dist/chunks/{model-retry-cnhc66rt.js → form-1mz0hg4w.js} +42 -42
- package/dist/chunks/{model-retry-1x2knyw4.js → form-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-v6h5bgwd.js → form-202bxvr4.js} +8 -8
- package/dist/chunks/{model-retry-pkv4aqak.js → form-25cs5nez.js} +8 -8
- package/dist/chunks/{model-retry-27w5k9zf.js → form-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-retry-050d3ay8.js → form-2abq9rn1.js} +21 -21
- package/dist/chunks/{model-retry-ynqg5bhp.js → form-2fpg1r86.js} +4 -4
- package/dist/chunks/{model-retry-xsact9zs.js → form-2mbjfaxd.js} +4 -4
- package/dist/chunks/{model-retry-2z1j29yd.js → form-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-retry-fwhyb0gq.js → form-2zw8q38q.js} +16 -16
- package/dist/chunks/{model-retry-pg8x00ch.js → form-3418rxn8.js} +4 -4
- package/dist/chunks/{model-retry-xzya39d9.js → form-35z82n4m.js} +15 -15
- package/dist/chunks/{model-retry-36qx82yz.js → form-36qx82yz.js} +2 -2
- package/dist/chunks/{model-retry-3cbjf1nt.js → form-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-retry-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-tmc7xdjs.js → form-3nnrz6f6.js} +4 -4
- package/dist/chunks/{model-retry-jd2vyc00.js → form-3vrw48hq.js} +16 -16
- package/dist/chunks/{model-retry-3vdwfrk9.js → form-43k8zwa9.js} +5 -5
- package/dist/chunks/{model-retry-2emwncdy.js → form-443gxb00.js} +32 -32
- package/dist/chunks/{model-retry-mya9fhc3.js → form-4900y2mg.js} +18 -18
- package/dist/chunks/{model-retry-0wwnb14f.js → form-49tazegd.js} +9 -9
- package/dist/chunks/{model-retry-99y4khf1.js → form-4b160a05.js} +32 -32
- package/dist/chunks/{model-retry-hhnqmbew.js → form-4bj59q6n.js} +183 -183
- package/dist/chunks/{model-retry-3459c4aq.js → form-4j1hff5b.js} +17 -17
- package/dist/chunks/{model-retry-sm74gnkv.js → form-4se4h2v4.js} +14 -14
- package/dist/chunks/{model-retry-4v008n1t.js → form-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-jzgdpz6y.js → form-504b0z1d.js} +35 -35
- package/dist/chunks/{model-retry-j8e92swm.js → form-518pc71g.js} +43 -43
- package/dist/chunks/{model-retry-17r689qp.js → form-57mrygtr.js} +28 -28
- package/dist/chunks/{model-retry-8krtskbq.js → form-5gc3gx18.js} +13 -13
- package/dist/chunks/{model-retry-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-7r0r50e5.js → form-5nrew705.js} +5 -5
- package/dist/chunks/{model-retry-d0pkz9h4.js → form-5nx9zxzz.js} +14 -14
- package/dist/chunks/{model-retry-j9gz35am.js → form-5v4fjzaq.js} +16 -16
- package/dist/chunks/{model-retry-xj5efqxa.js → form-5y540sh8.js} +5 -5
- package/dist/chunks/{model-retry-pr8acd8t.js → form-5ze4n4sg.js} +35 -35
- package/dist/chunks/{model-retry-1yq9hg58.js → form-5zrxpy3q.js} +5 -5
- package/dist/chunks/{model-retry-72anbrp0.js → form-62c0v1tw.js} +31 -31
- package/dist/chunks/{model-retry-6esdw8yj.js → form-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-retry-17tax46a.js → form-6jh9wyah.js} +21 -21
- package/dist/chunks/{model-retry-6pjqjmy2.js → form-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-retry-kqerj9ke.js → form-6xaqvsrs.js} +6 -6
- package/dist/chunks/{model-retry-3m5yrge5.js → form-6yvmzeyy.js} +9 -9
- package/dist/chunks/{model-retry-t08j0hgd.js → form-72czzjvn.js} +12 -12
- package/dist/chunks/{model-retry-76cb1hcw.js → form-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-retry-nah043kf.js → form-770pw0s1.js} +4 -4
- package/dist/chunks/{model-retry-p79cjfbn.js → form-77pzky32.js} +19 -19
- package/dist/chunks/{model-retry-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-e4159ryx.js → form-7p111ra0.js} +6 -6
- package/dist/chunks/{model-retry-xxbj3jbs.js → form-7tymy24s.js} +4 -4
- package/dist/chunks/{model-retry-3njs8ewd.js → form-7vk1qfcv.js} +5 -5
- package/dist/chunks/{model-retry-7w2ypzdf.js → form-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-ng3brtr7.js → form-7zbjpcgf.js} +26 -26
- package/dist/chunks/{model-retry-hdfrs5mg.js → form-81sb882e.js} +9 -9
- package/dist/chunks/{model-retry-wcbhfjrd.js → form-8aa3rj35.js} +19 -19
- package/dist/chunks/{model-retry-n82jt8hg.js → form-8gfg5k83.js} +13 -13
- package/dist/chunks/{model-retry-ykrn0qsh.js → form-8kt5nrfk.js} +14 -14
- package/dist/chunks/{model-retry-ayrf2aj2.js → form-8nm5n31t.js} +20 -20
- package/dist/chunks/{model-retry-zhbxds4j.js → form-8s42wndc.js} +16 -16
- package/dist/chunks/{model-retry-8wtp7s3z.js → form-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-91rj84md.js → form-91rj84md.js} +1 -1
- package/dist/chunks/{model-retry-qzbrb55n.js → form-9ap36caz.js} +26 -26
- package/dist/chunks/{model-retry-vewr63hq.js → form-9qkkem2t.js} +25 -25
- package/dist/chunks/{model-retry-9vfx6p45.js → form-9tc86wb5.js} +36 -36
- package/dist/chunks/{model-retry-wrhwm553.js → form-9y8pfte4.js} +20 -20
- package/dist/chunks/{model-retry-y6s9gp4k.js → form-a0mbnczp.js} +28 -28
- package/dist/chunks/{model-retry-aj7mw0zk.js → form-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-retry-rs3s0t58.js → form-aksd0eqj.js} +27 -27
- package/dist/chunks/{model-retry-yw1ck7zb.js → form-ayqdz43p.js} +11 -11
- package/dist/chunks/{model-retry-b0mv4wxm.js → form-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-retry-4nff539t.js → form-b1crm3cf.js} +45 -45
- package/dist/chunks/{model-retry-3rvfd2p4.js → form-b2swvwa1.js} +33 -33
- package/dist/chunks/{model-retry-5nnwax6m.js → form-b6vsg801.js} +5 -5
- package/dist/chunks/{model-retry-d51kxexq.js → form-b7yb02yv.js} +5 -5
- package/dist/chunks/{model-retry-d22k01at.js → form-bdsby7g0.js} +7 -7
- package/dist/chunks/{model-retry-64t4yar7.js → form-bf47wrzc.js} +9 -9
- package/dist/chunks/{model-retry-bjhzkqyk.js → form-bjhzkqyk.js} +1 -1
- package/dist/chunks/{model-retry-nhe1yga1.js → form-bjx81z2n.js} +41 -41
- package/dist/chunks/{model-retry-4tpkt9ke.js → form-bk72g9n5.js} +19 -19
- package/dist/chunks/{model-retry-r2r52ss0.js → form-bp8166w3.js} +8 -8
- package/dist/chunks/{model-retry-s499zzzn.js → form-bqjkv61t.js} +6 -6
- package/dist/chunks/{model-retry-c361hsxc.js → form-braepac4.js} +28 -28
- package/dist/chunks/{model-retry-h5yq12sk.js → form-bsm4yj1q.js} +3 -3
- package/dist/chunks/{model-retry-bstexjd6.js → form-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-72at9y79.js → form-bx023ayb.js} +15 -15
- package/dist/chunks/{model-retry-9t2bhtr4.js → form-c53m598j.js} +13 -13
- package/dist/chunks/{model-retry-vhqwr51r.js → form-cbcw5jdv.js} +14 -14
- package/dist/chunks/{model-retry-jm1rj8kh.js → form-cf2bvegq.js} +40 -40
- package/dist/chunks/{model-retry-67q20rmp.js → form-cpfpnv00.js} +5 -5
- package/dist/chunks/{model-retry-5h6jm490.js → form-cq7by30v.js} +9 -9
- package/dist/chunks/{model-retry-tvf154dx.js → form-d4vw6k95.js} +14 -14
- package/dist/chunks/form-d77dj7jw.js +18 -0
- package/dist/chunks/{model-retry-7wy00epp.js → form-d7w06rve.js} +23 -23
- package/dist/chunks/{model-retry-q9xwq0xc.js → form-dbg2e74s.js} +11 -11
- package/dist/chunks/{model-retry-8kcbfhnp.js → form-dgcghd4q.js} +14 -14
- package/dist/chunks/{model-retry-faa8s968.js → form-djck26ns.js} +1 -1
- package/dist/chunks/{model-retry-9nn8g4z9.js → form-dkk62k64.js} +19 -19
- package/dist/chunks/{model-retry-hgyk1m6z.js → form-dkq45mty.js} +3 -3
- package/dist/chunks/{model-retry-hks9h3jz.js → form-dpcgzjbf.js} +19 -19
- package/dist/chunks/{model-retry-nhqzsk2y.js → form-dq0jjp1j.js} +9 -9
- package/dist/chunks/{model-retry-dvj9ct8m.js → form-dvj9ct8m.js} +3 -3
- package/dist/chunks/{model-retry-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-retry-e834z07m.js → form-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-shbma2nf.js → form-ebvnp4a0.js} +11 -11
- package/dist/chunks/{model-retry-n9p72mjb.js → form-ebwp6ca3.js} +2 -2
- package/dist/chunks/{model-retry-mbvs8a24.js → form-ecv950bf.js} +16 -16
- package/dist/chunks/{model-retry-w92g60gw.js → form-efye4wxz.js} +21 -21
- package/dist/chunks/{model-retry-r7qbvbca.js → form-en3a7p48.js} +12 -12
- package/dist/chunks/{model-retry-gs55zvzx.js → form-ewnzmz0y.js} +12 -12
- package/dist/chunks/{model-retry-8tm9bnq5.js → form-f61gwnre.js} +9 -9
- package/dist/chunks/{model-retry-v0yxjjsz.js → form-f6ydp9jt.js} +52 -52
- package/dist/chunks/{model-retry-fffv3p7h.js → form-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-856d8532.js → form-ffg4nk5v.js} +20 -20
- package/dist/chunks/{model-retry-06vpm9gp.js → form-fgc19361.js} +5 -5
- package/dist/chunks/{model-retry-376fvw41.js → form-fke86k08.js} +16 -16
- package/dist/chunks/{model-retry-10jcw8d8.js → form-fp9hrh53.js} +15 -15
- package/dist/chunks/{model-retry-msz72xyj.js → form-fpepjkf7.js} +2 -2
- package/dist/chunks/{model-retry-j2pd7159.js → form-fv302xas.js} +15 -15
- package/dist/chunks/{model-retry-g5h9c0rr.js → form-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-retry-7xj3j87d.js → form-g5w7bwk1.js} +32 -32
- package/dist/chunks/{model-retry-7yj2t834.js → form-g656cbyf.js} +17 -17
- package/dist/chunks/{model-retry-da6nt20h.js → form-g82sjckm.js} +10 -10
- package/dist/chunks/{model-retry-yk6hg7py.js → form-gf1tscqt.js} +13 -13
- package/dist/chunks/{model-retry-b8d6cdec.js → form-gfavbhs2.js} +9 -9
- package/dist/chunks/{model-retry-sp6zazaz.js → form-gfm2g1r0.js} +25 -25
- package/dist/chunks/{model-retry-d4v9tmah.js → form-gn8tkhbf.js} +2 -2
- package/dist/chunks/{model-retry-gchkqpys.js → form-gp9gf7jx.js} +3 -3
- package/dist/chunks/{model-retry-xhywq8xw.js → form-gqy1905p.js} +19 -19
- package/dist/chunks/{model-retry-456hh3yw.js → form-h2xt6wet.js} +6 -6
- package/dist/chunks/{model-retry-9hn5wjvr.js → form-h9b0ss67.js} +21 -21
- package/dist/chunks/{model-retry-pkyxh230.js → form-ha3txm3a.js} +4 -4
- package/dist/chunks/form-hpzh5cr9.js +26 -0
- package/dist/chunks/{model-retry-z1ydadez.js → form-hr9cza2g.js} +13 -13
- package/dist/chunks/{model-retry-j113cymg.js → form-j113cymg.js} +1 -1
- package/dist/chunks/{model-retry-z08m45c2.js → form-j37rmggz.js} +21 -21
- package/dist/chunks/{model-retry-7emqhgyb.js → form-j6h7yvwn.js} +15 -15
- package/dist/chunks/{model-retry-44kmfwta.js → form-jc1psbyz.js} +17 -17
- package/dist/chunks/{model-retry-jneg3k74.js → form-jneg3k74.js} +1 -1
- package/dist/chunks/{model-retry-3kdbrncp.js → form-jr1j5bze.js} +5 -5
- package/dist/chunks/{model-retry-etshtsr8.js → form-jtf5yvtr.js} +5 -5
- package/dist/chunks/{model-retry-6nwz34t5.js → form-jwwge8xs.js} +14 -14
- package/dist/chunks/{model-retry-xrc3640n.js → form-jxb3gtw0.js} +8 -8
- package/dist/chunks/{model-retry-jcqm84fr.js → form-k302pdnh.js} +9 -9
- package/dist/chunks/{model-retry-zgphpnk4.js → form-k7rxqqn4.js} +8 -8
- package/dist/chunks/{model-retry-k814nvkf.js → form-k814nvkf.js} +1 -1
- package/dist/chunks/{model-retry-z9x3jvcw.js → form-kgm25kxq.js} +16 -16
- package/dist/chunks/{model-retry-9rm0bcgy.js → form-khsrtdw5.js} +21 -21
- package/dist/chunks/{model-retry-tg1vr1qt.js → form-kmzgegqq.js} +8 -8
- package/dist/chunks/{model-retry-y7qvxgn7.js → form-kstv1z45.js} +11 -11
- package/dist/chunks/{model-retry-kt3bjfbg.js → form-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-m5vt6my1.js → form-kxadc7dx.js} +4 -4
- package/dist/chunks/{model-retry-y6haqydp.js → form-kzprjqer.js} +11 -11
- package/dist/chunks/{model-retry-m1714858.js → form-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-100payr0.js → form-m3rt4n16.js} +12 -12
- package/dist/chunks/{model-retry-zwnm9ync.js → form-m56nnkz7.js} +4 -4
- package/dist/chunks/{model-retry-x1q34xva.js → form-m5ycwyg0.js} +2 -2
- package/dist/chunks/{model-retry-pbb834xc.js → form-m8s6zs3q.js} +6 -6
- package/dist/chunks/{model-retry-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-szchc02d.js → form-mfazgctd.js} +11 -11
- package/dist/chunks/{model-retry-xc7j2c4d.js → form-mfg8gex4.js} +15 -15
- package/dist/chunks/{model-retry-1y0wdj51.js → form-mmx1mfjr.js} +9 -9
- package/dist/chunks/{model-retry-khgyexzf.js → form-mxqegms8.js} +46 -46
- package/dist/chunks/{model-retry-n0p0277s.js → form-n0p0277s.js} +1 -1
- package/dist/chunks/{model-retry-73rh2vq1.js → form-n98epqcg.js} +22 -22
- package/dist/chunks/{model-retry-x7ey6qtv.js → form-nc9xfdq7.js} +7 -7
- package/dist/chunks/{model-retry-1cmbb7v6.js → form-ndqzk6tc.js} +35 -35
- package/dist/chunks/{model-retry-2kw25s9z.js → form-ngjf4jxk.js} +12 -12
- package/dist/chunks/{model-retry-p015t6z3.js → form-p015t6z3.js} +2 -2
- package/dist/chunks/{model-retry-qqg9c0kv.js → form-p0tsr9h6.js} +4 -4
- package/dist/chunks/{model-retry-8p97zz9p.js → form-p35g19ew.js} +50 -50
- package/dist/chunks/{model-retry-hwdnhv43.js → form-p83a0njd.js} +32 -32
- package/dist/chunks/{model-retry-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-ewr5k9wg.js → form-pta84ypa.js} +8 -8
- package/dist/chunks/{model-retry-7yp67vww.js → form-ptbh3pce.js} +20 -20
- package/dist/chunks/{model-retry-qfdd46e5.js → form-pwcmqnv6.js} +40 -40
- package/dist/chunks/{model-retry-ajxt18t2.js → form-q0f28206.js} +7 -7
- package/dist/chunks/{model-retry-3qxfjpzy.js → form-q79gyas9.js} +28 -28
- package/dist/chunks/{model-retry-vqbn6xdq.js → form-q8axm0b6.js} +1 -1
- package/dist/chunks/{model-retry-5p205wab.js → form-qd7v5spn.js} +4 -4
- package/dist/chunks/{model-retry-nrch4egb.js → form-qdckhfvx.js} +25 -25
- package/dist/chunks/{model-retry-qjgzc4b4.js → form-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-retry-phzadmh4.js → form-qkghfb1m.js} +87 -87
- package/dist/chunks/{model-retry-tf6tm6wa.js → form-qp8t9fx2.js} +11 -11
- package/dist/chunks/{model-retry-r0yr0wbs.js → form-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-retry-w2eysc6j.js → form-r41sfy63.js} +6 -6
- package/dist/chunks/{model-retry-r542h3bh.js → form-r542h3bh.js} +1 -1
- package/dist/chunks/{model-retry-gjzc59g1.js → form-r658k6r9.js} +21 -21
- package/dist/chunks/{model-retry-gnv5jhj2.js → form-r7k9z7cv.js} +321 -321
- package/dist/chunks/{model-retry-rb9dy4dg.js → form-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-wyzx5psy.js → form-rdmv0akp.js} +14 -14
- package/dist/chunks/{model-retry-r621r93h.js → form-rekntzzt.js} +3 -3
- package/dist/chunks/{model-retry-b5sxz6p8.js → form-rhjvhekr.js} +4 -4
- package/dist/chunks/{model-retry-e3fssm85.js → form-rmm3vtp2.js} +17 -17
- package/dist/chunks/{model-retry-5z33grs6.js → form-rnhyqk91.js} +20 -20
- package/dist/chunks/{model-retry-yk4w5znd.js → form-rp2hzysp.js} +10 -10
- package/dist/chunks/{model-retry-0xhfrmwt.js → form-rpgjqsg9.js} +21 -21
- package/dist/chunks/{model-retry-rt5dr6hb.js → form-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-5j9j26xw.js → form-rtnxtb24.js} +11 -11
- package/dist/chunks/{model-retry-g211t61s.js → form-rvz41am7.js} +5 -5
- package/dist/chunks/{model-retry-88kypjvy.js → form-s4f8ct6t.js} +4 -4
- package/dist/chunks/{model-retry-sa3fpqfw.js → form-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-retry-qnm4ee5f.js → form-shdhkr49.js} +6 -6
- package/dist/chunks/{model-retry-3vz2yars.js → form-sk4rcz4v.js} +32 -32
- package/dist/chunks/{model-retry-z1n0gzr1.js → form-sp43gwv2.js} +14 -14
- package/dist/chunks/{model-retry-sqjzf8x2.js → form-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-retry-5snh3nsf.js → form-ssfc5kf6.js} +54 -54
- package/dist/chunks/{model-retry-b1pn0vxn.js → form-ssfehs1z.js} +4 -4
- package/dist/chunks/{model-retry-kgmyqp0y.js → form-t2ztbpje.js} +4 -4
- package/dist/chunks/{model-retry-hyyhzzxx.js → form-t6fwpnvd.js} +18 -18
- package/dist/chunks/{model-retry-g4hhz492.js → form-t6zv3t7w.js} +35 -35
- package/dist/chunks/{model-retry-x6w9baef.js → form-t7je23h6.js} +21 -21
- package/dist/chunks/{model-retry-tasvem1v.js → form-tasvem1v.js} +3 -3
- package/dist/chunks/{model-retry-nm0eb3mq.js → form-tb6jrghd.js} +20 -20
- package/dist/chunks/{model-retry-tczq8hjw.js → form-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-twv2r8f4.js → form-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-retry-3rc6xfjm.js → form-twvgeg0c.js} +10 -10
- package/dist/chunks/{model-retry-hhmywts7.js → form-ty2r1ah4.js} +10 -10
- package/dist/chunks/{model-retry-v2r1d0zg.js → form-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-kzhqem7y.js → form-v69f37bj.js} +27 -27
- package/dist/chunks/{model-retry-vd3b3yk9.js → form-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-retry-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-e207k1f0.js → form-vgsxebfn.js} +10 -10
- package/dist/chunks/{model-retry-7zhd4cey.js → form-vhnfgg21.js} +10 -10
- package/dist/chunks/{model-retry-vmfhgzt5.js → form-vmfhgzt5.js} +1 -1
- package/dist/chunks/{model-retry-zd3qvcwp.js → form-vp3f7txe.js} +14 -14
- package/dist/chunks/{model-retry-my4zabxr.js → form-vwdfpcvx.js} +3 -3
- package/dist/chunks/{model-retry-4xkwq58b.js → form-vwss2sv6.js} +24 -24
- package/dist/chunks/{model-retry-z18nf20h.js → form-vzmjdaw1.js} +9 -9
- package/dist/chunks/{model-retry-5jzmzpz9.js → form-w3ns5rkg.js} +42 -42
- package/dist/chunks/{model-retry-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-c5ncm6k8.js → form-w6byfr8d.js} +21 -21
- package/dist/chunks/{model-retry-w59prh0j.js → form-w6d7jzdm.js} +34 -34
- package/dist/chunks/{model-retry-a7hcemwv.js → form-w7frmj75.js} +8 -8
- package/dist/chunks/{model-retry-wakvkjy4.js → form-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-krw5ejhg.js → form-wb32cm0h.js} +5 -5
- package/dist/chunks/{model-retry-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-hqdkncv9.js → form-wdffqmgj.js} +8 -8
- package/dist/chunks/{model-retry-61g7nd3s.js → form-wdv0vama.js} +10 -10
- package/dist/chunks/{model-retry-0jvkxj1w.js → form-whhxszaf.js} +16 -16
- package/dist/chunks/form-wkj84943.js +261 -0
- package/dist/chunks/{model-retry-fznmdakp.js → form-wr3re1en.js} +4 -4
- package/dist/chunks/{model-retry-wy6akpvc.js → form-wysrktan.js} +7 -7
- package/dist/chunks/{model-retry-ycqv3yh7.js → form-x0yqbyz4.js} +18 -18
- package/dist/chunks/{model-retry-sn0f3s8q.js → form-x2x5zj05.js} +13 -13
- package/dist/chunks/{model-retry-cxnqxqrv.js → form-x59sy6my.js} +79 -79
- package/dist/chunks/{model-retry-cxy24jbt.js → form-x83ywg7g.js} +18 -18
- package/dist/chunks/{model-retry-125y49va.js → form-x8h9qnt8.js} +11 -11
- package/dist/chunks/{model-retry-xynhjj0h.js → form-xg7y1tnh.js} +15 -15
- package/dist/chunks/{model-retry-n2crsrfc.js → form-xh7yb18e.js} +32 -32
- package/dist/chunks/{model-retry-xkfczkpn.js → form-xkfczkpn.js} +3 -3
- package/dist/chunks/{model-retry-zmwx25fz.js → form-xnctb0t2.js} +2 -2
- package/dist/chunks/{model-retry-8gbe608w.js → form-xr0fdn46.js} +7 -7
- package/dist/chunks/{model-retry-mn4sstjx.js → form-xyznvzfj.js} +4 -4
- package/dist/chunks/{model-retry-a5pdx5y6.js → form-y6asfd6w.js} +32 -32
- package/dist/chunks/{model-retry-8kw3wj8m.js → form-y7r7kv14.js} +38 -38
- package/dist/chunks/{model-retry-yb20nhc3.js → form-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-3j5fsnm8.js → form-yhzfnwqx.js} +68 -68
- package/dist/chunks/{model-retry-67szgq6z.js → form-ywgtt5qa.js} +13 -13
- package/dist/chunks/{model-retry-zjxxcmzt.js → form-z028gk7z.js} +13 -13
- package/dist/chunks/{model-retry-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-q44gb8fn.js → form-z2w0x2ee.js} +47 -47
- package/dist/chunks/{model-retry-d2p1wmw4.js → form-z2y0gft8.js} +3 -3
- package/dist/chunks/{model-retry-z38nccrw.js → form-z38nccrw.js} +1 -1
- package/dist/chunks/{model-retry-pes7pnh1.js → form-z41z05dk.js} +6 -6
- package/dist/chunks/{model-retry-mr3sax3v.js → form-zc3z0s1e.js} +16 -16
- package/dist/chunks/{model-retry-k60f6tvy.js → form-zgaxvjwc.js} +15 -15
- package/dist/chunks/{model-retry-zkg84ctx.js → form-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-retry-vrsa97jg.js → form-zkyyckpa.js} +22 -22
- package/dist/chunks/{model-retry-7bk0syww.js → form-zv1k8n0h.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +98 -98
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- 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 +229 -229
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +109 -109
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +96 -96
- 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 +365 -365
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +96 -96
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev.js +104 -104
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +139 -139
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +223 -223
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +123 -123
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +131 -131
- 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 +132 -132
- package/dist/session/skill.js +110 -110
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +98 -98
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +89 -89
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +86 -86
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
- package/dist/chunks/model-retry-4eh702yp.js +0 -261
- package/dist/chunks/model-retry-zd4c8dy4.js +0 -26
- /package/dist/chunks/{model-retry-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a058387c.js → form-a058387c.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → form-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → form-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-sjmm3wxa.js → form-sjmm3wxa.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-vhnfgg21.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-r41sfy63.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin22 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint6,
|
|
80
|
+
export { endpoint6, Plugin22, exports_firecrawl };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID9,
|
|
6
|
+
Service70
|
|
7
|
+
} from "./form-443gxb00.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-vwdfpcvx.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-shdhkr49.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-dvj9ct8m.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service70;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID9.make(from),
|
|
91
|
+
to: ID9.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./form-ecv950bf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./form-w3ns5rkg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./form-dkk62k64.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-6pjqjmy2.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./form-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin40
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin40 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service63;
|
|
34
|
+
const location = yield* Service81;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service42;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin26 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin40, exports_worktree };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info16,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule3
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
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,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info16, exports_permission2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service87,
|
|
6
6
|
node91
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-dkq45mty.js";
|
|
8
8
|
import {
|
|
9
9
|
Service86,
|
|
10
10
|
node90
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-rhjvhekr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service83,
|
|
14
|
+
node87
|
|
15
|
+
} from "./form-72czzjvn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-81sb882e.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./form-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./form-3cbjf1nt.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./form-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info27,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node86,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID15 = ID16;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info27 = Info28;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID15
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service83;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service86;
|
|
106
106
|
const db = (yield* Service87).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event18.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID15.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event18.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID15.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
229
229
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
239
239
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
240
240
|
const resolved = {
|
|
241
241
|
previous,
|
|
242
|
-
id: id ??
|
|
242
|
+
id: id ?? ID15.global,
|
|
243
243
|
directory: repo.worktree,
|
|
244
244
|
canonical,
|
|
245
245
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,7 +264,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
264
264
|
return;
|
|
265
265
|
const node = result.stdout.toString("utf8").split(`
|
|
266
266
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
267
|
-
return node ?
|
|
267
|
+
return node ? ID15.make(node) : undefined;
|
|
268
268
|
});
|
|
269
269
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
270
270
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -272,7 +272,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
272
272
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
273
273
|
return {
|
|
274
274
|
previous,
|
|
275
|
-
id: id ??
|
|
275
|
+
id: id ?? ID15.global,
|
|
276
276
|
directory: worktree,
|
|
277
277
|
vcs: { type: "hg", store: dotHg }
|
|
278
278
|
};
|
|
@@ -299,7 +299,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
301
|
return yield* save({
|
|
302
|
-
id:
|
|
302
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
303
303
|
directory,
|
|
304
304
|
canonical: directory,
|
|
305
305
|
vcs: undefined
|
|
@@ -308,7 +308,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
308
308
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
309
309
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
310
310
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
311
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
311
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID15.global))).all().pipe(Effect.orDie);
|
|
312
312
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
313
313
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
314
314
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -321,23 +321,23 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
321
321
|
return;
|
|
322
322
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
323
323
|
if (row)
|
|
324
|
-
yield* bus.publish(
|
|
324
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
325
325
|
}), { concurrency: 8, discard: true });
|
|
326
326
|
});
|
|
327
|
-
return
|
|
327
|
+
return Service82.of({ list, update, activate, resolve, sweep });
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node86 = makeGlobalNode({
|
|
330
|
+
service: Service82,
|
|
331
331
|
layer,
|
|
332
|
-
deps: [node90, node91, FSUtil.node,
|
|
332
|
+
deps: [node90, node91, FSUtil.node, node87, AppProcess.node]
|
|
333
333
|
});
|
|
334
334
|
var sweepNode2 = makeGlobalNode({
|
|
335
335
|
name: "project-archive-sweep",
|
|
336
336
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
337
|
-
const project = yield*
|
|
337
|
+
const project = yield* Service82;
|
|
338
338
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
339
339
|
})),
|
|
340
|
-
deps: [
|
|
340
|
+
deps: [node86]
|
|
341
341
|
});
|
|
342
342
|
|
|
343
|
-
export {
|
|
343
|
+
export { ID15, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service82, node86, sweepNode2, exports_project };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./form-p35g19ew.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID3,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./form-j37rmggz.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill = {};
|
|
17
17
|
__export(exports_skill, {
|
|
18
|
-
Input: () =>
|
|
18
|
+
Input: () => Input4,
|
|
19
19
|
Output: () => Output4,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin5,
|
|
21
21
|
SkillTool: () => exports_skill,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name4,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name4 = "skill";
|
|
30
|
+
var Input4 = Schema.Struct({
|
|
31
|
+
id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,17 +43,17 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin5 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service40;
|
|
51
|
+
const permission = yield* Service50;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name4,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input4,
|
|
57
57
|
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
@@ -61,7 +61,7 @@ var Plugin6 = {
|
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name4,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin6 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name4, Input4, Output4, description2, toModelOutput2, Plugin5, exports_skill };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-fv302xas.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
17
17
|
__export(exports_parse, {
|
|
18
18
|
ShellParse: () => exports_parse,
|
|
19
|
-
scan: () =>
|
|
19
|
+
scan: () => scan2,
|
|
20
20
|
scanPortable: () => scanPortable2
|
|
21
21
|
});
|
|
22
22
|
import { Effect } from "effect";
|
|
@@ -166,7 +166,7 @@ var ARITY = {
|
|
|
166
166
|
"yarn run": 3
|
|
167
167
|
};
|
|
168
168
|
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
169
|
-
var
|
|
169
|
+
var scan2 = Effect.fnUntraced(function* (command, shell, cwd, options) {
|
|
170
170
|
if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
|
|
171
171
|
return yield* scanPortable2(command, shell, cwd);
|
|
172
172
|
return yield* scanLegacy(command, shell, cwd);
|
|
@@ -353,4 +353,4 @@ async function initialize() {
|
|
|
353
353
|
return { bash, ps };
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
export {
|
|
356
|
+
export { scan2, scanPortable2, exports_parse };
|