@opencode/core 0.0.0-dev-172 → 0.0.0-dev-177
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +81 -81
- package/dist/chunks/{schema-034tev2y.js → vcs-034tev2y.js} +2 -2
- package/dist/chunks/{schema-2dah0fcg.js → vcs-079ccags.js} +3 -3
- package/dist/chunks/{schema-k624yqda.js → vcs-0d5zdg09.js} +4 -4
- package/dist/chunks/{schema-7yh8xe92.js → vcs-10wj17tq.js} +17 -17
- package/dist/chunks/{schema-8ek83jqy.js → vcs-1941k5sj.js} +31 -31
- package/dist/chunks/{schema-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
- package/dist/chunks/{schema-1kn6jdkn.js → vcs-1kn6jdkn.js} +1 -1
- package/dist/chunks/{schema-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
- package/dist/chunks/{schema-m8sj5xmd.js → vcs-1xxgzegw.js} +4 -4
- package/dist/chunks/{schema-7jz89kf0.js → vcs-1y89m7wx.js} +5 -5
- package/dist/chunks/{schema-1yq9hg58.js → vcs-1yq9hg58.js} +1 -1
- package/dist/chunks/{schema-204s3925.js → vcs-204s3925.js} +1 -1
- package/dist/chunks/{schema-7y8v7c8e.js → vcs-2660epmj.js} +11 -11
- package/dist/chunks/{schema-rccanh0n.js → vcs-27kvnj30.js} +31 -31
- package/dist/chunks/{schema-0m3hsgex.js → vcs-2evsnrbc.js} +17 -17
- package/dist/chunks/{schema-8gz737b7.js → vcs-2qdnk5gy.js} +4 -4
- package/dist/chunks/{schema-qsee9sfb.js → vcs-2qr4rt5k.js} +3 -3
- package/dist/chunks/{schema-210pe7vf.js → vcs-2v478qgw.js} +34 -34
- package/dist/chunks/{schema-qpwdfbas.js → vcs-2vmza6bx.js} +7 -7
- package/dist/chunks/{schema-xtfsy8hb.js → vcs-3012d813.js} +7 -7
- package/dist/chunks/{schema-adrdbcay.js → vcs-3becjr0v.js} +13 -13
- package/dist/chunks/{schema-df57mhq9.js → vcs-3br35akn.js} +17 -17
- package/dist/chunks/{schema-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-ja63h2sr.js → vcs-3kdbrncp.js} +5 -5
- package/dist/chunks/{schema-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schema-hte5j8rj.js → vcs-3sdek3b3.js} +53 -53
- package/dist/chunks/{schema-r1emyrvf.js → vcs-3y5kg779.js} +2 -2
- package/dist/chunks/{schema-552y5q35.js → vcs-3zm80s7d.js} +12 -12
- package/dist/chunks/{schema-hc8nqjwe.js → vcs-41w1qpn3.js} +9 -9
- package/dist/chunks/{schema-t78wmv83.js → vcs-42qb5rv4.js} +22 -22
- package/dist/chunks/{schema-dn4sdd79.js → vcs-497mjgh5.js} +25 -25
- package/dist/chunks/{schema-jrc11jm8.js → vcs-4jvymcr5.js} +9 -9
- package/dist/chunks/{schema-9kverp60.js → vcs-4m6wdh0q.js} +12 -12
- package/dist/chunks/{schema-hdfrs5mg.js → vcs-4pnypb5f.js} +7 -7
- package/dist/chunks/{schema-4pyp9zr9.js → vcs-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schema-zzzjcb07.js → vcs-4qnt9348.js} +11 -11
- package/dist/chunks/{schema-4v008n1t.js → vcs-4v008n1t.js} +1 -1
- package/dist/chunks/{schema-b9bpy08a.js → vcs-4xy4nqvy.js} +10 -10
- package/dist/chunks/{schema-1yxgftn3.js → vcs-4ya1zf4j.js} +9 -9
- package/dist/chunks/{schema-b8nj54vk.js → vcs-4zjf7cy2.js} +11 -11
- package/dist/chunks/vcs-5272mb2r.js +257 -0
- package/dist/chunks/{schema-xc81ym32.js → vcs-56exsq7y.js} +12 -12
- package/dist/chunks/{schema-40za9wsf.js → vcs-5enarcya.js} +6 -6
- package/dist/chunks/{schema-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-5y2afnr7.js → vcs-5qx92zct.js} +36 -36
- package/dist/chunks/{schema-zpr60y31.js → vcs-5ww8zx74.js} +3 -3
- package/dist/chunks/{schema-5x26af84.js → vcs-5x26af84.js} +4 -4
- package/dist/chunks/{schema-cxn0c79x.js → vcs-5x47hebm.js} +13 -13
- package/dist/chunks/{schema-0drtew17.js → vcs-5xh13x4p.js} +34 -34
- package/dist/chunks/{schema-jj7tzx6g.js → vcs-66rmjjex.js} +21 -21
- package/dist/chunks/{schema-6esdw8yj.js → vcs-6esdw8yj.js} +1 -1
- package/dist/chunks/{schema-zbrhs51n.js → vcs-711z6zs4.js} +30 -30
- package/dist/chunks/{schema-76cb1hcw.js → vcs-76cb1hcw.js} +1 -1
- package/dist/chunks/{schema-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-k7b253ks.js → vcs-7jk9ktw7.js} +35 -35
- package/dist/chunks/{schema-wv0e3mfz.js → vcs-7vva77b5.js} +11 -11
- package/dist/chunks/{schema-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schema-nj7fnw38.js → vcs-7xwxxj51.js} +48 -48
- package/dist/chunks/{schema-ah0gjdxz.js → vcs-803py63b.js} +45 -45
- package/dist/chunks/{schema-3fbhx6a4.js → vcs-81e513d9.js} +15 -15
- package/dist/chunks/{schema-btbftat3.js → vcs-82j41amh.js} +4 -4
- package/dist/chunks/{schema-yhe5e00v.js → vcs-834xe486.js} +7 -7
- package/dist/chunks/{schema-rmstegws.js → vcs-88nacy35.js} +32 -32
- package/dist/chunks/{schema-0wqwjmtr.js → vcs-893ry4nt.js} +13 -13
- package/dist/chunks/{schema-ce2ydvyh.js → vcs-8abc36xm.js} +42 -42
- package/dist/chunks/{schema-rk0m1k2s.js → vcs-8axx4zpa.js} +12 -12
- package/dist/chunks/{schema-448jnkaf.js → vcs-8cr8ejqg.js} +8 -8
- package/dist/chunks/{schema-gj697h3c.js → vcs-8dhx12dr.js} +20 -20
- package/dist/chunks/{schema-e9zqgb96.js → vcs-8e8fnv13.js} +43 -43
- package/dist/chunks/{schema-hbmj972w.js → vcs-8f2h6hsz.js} +9 -9
- package/dist/chunks/{schema-tf9r37f3.js → vcs-8rgb2cvr.js} +8 -8
- package/dist/chunks/{schema-rthtd3fc.js → vcs-8sqprg4w.js} +32 -32
- package/dist/chunks/{schema-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schema-90zstvax.js → vcs-90zstvax.js} +1 -1
- package/dist/chunks/{schema-qg7hdk6m.js → vcs-911083wy.js} +13 -13
- package/dist/chunks/{schema-f1q86js6.js → vcs-961rs8be.js} +9 -9
- package/dist/chunks/{schema-skfxre3x.js → vcs-96a4eq0m.js} +23 -23
- package/dist/chunks/{schema-5vwbz2vn.js → vcs-96tdjhwb.js} +2 -2
- package/dist/chunks/{schema-2cx4pwwp.js → vcs-9a3x2kz4.js} +13 -13
- package/dist/chunks/{schema-kq6ta67e.js → vcs-9ca4th6x.js} +22 -22
- package/dist/chunks/{schema-wfmjjmyz.js → vcs-9d4562qa.js} +17 -17
- package/dist/chunks/{schema-ct5fctns.js → vcs-9hf7djsb.js} +15 -15
- package/dist/chunks/{schema-w5sf4kaa.js → vcs-9nxy5s5f.js} +8 -8
- package/dist/chunks/{schema-ae69f5xb.js → vcs-9qdswjvr.js} +12 -12
- package/dist/chunks/{schema-15j8kqyp.js → vcs-9s8mp9xy.js} +6 -6
- package/dist/chunks/{schema-ctbc3d2x.js → vcs-9yhxtcx8.js} +9 -9
- package/dist/chunks/{schema-9z9tayqc.js → vcs-9z9tayqc.js} +2 -2
- package/dist/chunks/{schema-1x5b7tgq.js → vcs-a2jzevxz.js} +16 -16
- package/dist/chunks/{schema-4dqzxk7p.js → vcs-a9qv6y2y.js} +33 -33
- package/dist/chunks/{schema-dh7yr4e4.js → vcs-acqpw5y2.js} +22 -21
- package/dist/chunks/{schema-qzcxxbs6.js → vcs-aecr8kmf.js} +37 -37
- package/dist/chunks/{schema-pq666zke.js → vcs-axgnp1w7.js} +27 -27
- package/dist/chunks/{schema-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
- package/dist/chunks/{schema-b6vsg801.js → vcs-b6vsg801.js} +2 -2
- package/dist/chunks/{schema-5t9jfe1j.js → vcs-b8zfksyw.js} +14 -14
- package/dist/chunks/{schema-63g612mw.js → vcs-bh6hwh25.js} +3 -3
- package/dist/chunks/{schema-61ennm6n.js → vcs-bjhzkqyk.js} +4 -4
- package/dist/chunks/{schema-cbrqsbxs.js → vcs-bqxvxs63.js} +31 -31
- package/dist/chunks/{schema-xd9cc171.js → vcs-bstexjd6.js} +5 -5
- package/dist/chunks/{schema-kxh38scf.js → vcs-bzfazvnd.js} +27 -27
- package/dist/chunks/{schema-3h3qy8d6.js → vcs-bzzy1r12.js} +11 -11
- package/dist/chunks/{schema-061s75p4.js → vcs-c603at3t.js} +3 -3
- package/dist/chunks/{schema-0ahs07zn.js → vcs-c6x7d2ts.js} +4 -4
- package/dist/chunks/{schema-pfq1ksym.js → vcs-ce5fknq2.js} +5 -5
- package/dist/chunks/{schema-bkkedvkd.js → vcs-chc0g785.js} +5 -5
- package/dist/chunks/{schema-dtjqx0e4.js → vcs-ckvzbjwj.js} +21 -21
- package/dist/chunks/{schema-3ng4e935.js → vcs-cqnqmmbc.js} +17 -17
- package/dist/chunks/{schema-hvwz7mjy.js → vcs-crgewsnq.js} +5 -5
- package/dist/chunks/{schema-chb25f6y.js → vcs-cvc38qdd.js} +9 -9
- package/dist/chunks/{schema-cwrgdav8.js → vcs-cwrgdav8.js} +2 -2
- package/dist/chunks/{schema-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
- package/dist/chunks/{schema-g9ndtp1p.js → vcs-d8p3t516.js} +4 -4
- package/dist/chunks/{schema-hapd2mq8.js → vcs-d8wf4604.js} +29 -29
- package/dist/chunks/{schema-at9e0pnj.js → vcs-dc473hq1.js} +32 -32
- package/dist/chunks/{schema-grp5rwdb.js → vcs-dcphv4q7.js} +11 -11
- package/dist/chunks/{schema-srey9s68.js → vcs-drmc7326.js} +11 -11
- package/dist/chunks/{schema-p7f9amnf.js → vcs-drvbhkez.js} +6 -6
- package/dist/chunks/{schema-dt77769w.js → vcs-dt77769w.js} +1 -1
- package/dist/chunks/{schema-04z78z4p.js → vcs-dw6yk4g4.js} +19 -19
- package/dist/chunks/{schema-3x9h4h7w.js → vcs-dxf45bfp.js} +33 -33
- package/dist/chunks/{schema-408p671s.js → vcs-dxqpfg1f.js} +85 -85
- package/dist/chunks/{schema-k2yq3k02.js → vcs-dzcfjmec.js} +19 -19
- package/dist/chunks/{schema-5r72z9dp.js → vcs-dzfs5b6c.js} +8 -8
- package/dist/chunks/{schema-sqpw74e5.js → vcs-e14jxrf8.js} +23 -23
- package/dist/chunks/{schema-krr7tknq.js → vcs-e515nszc.js} +12 -12
- package/dist/chunks/{schema-e834z07m.js → vcs-e834z07m.js} +1 -1
- package/dist/chunks/{schema-2ha14jpx.js → vcs-ede588cb.js} +3 -3
- package/dist/chunks/{schema-j0fb9gww.js → vcs-ehm90j5g.js} +4 -4
- package/dist/chunks/{schema-e0sctgnq.js → vcs-eke9g6w2.js} +13 -13
- package/dist/chunks/vcs-ev660z6k.js +18 -0
- package/dist/chunks/{schema-saa9e38s.js → vcs-ezm7bgte.js} +4 -4
- package/dist/chunks/{schema-ds7r37yp.js → vcs-f01y088k.js} +5 -5
- package/dist/chunks/{schema-fajmsesy.js → vcs-f12ryszn.js} +14 -14
- package/dist/chunks/{schema-cc9g74x6.js → vcs-f3t04jjg.js} +7 -7
- package/dist/chunks/{schema-8eqybnrh.js → vcs-f9v35vn9.js} +5 -5
- package/dist/chunks/{schema-fffv3p7h.js → vcs-fffv3p7h.js} +1 -1
- package/dist/chunks/{schema-fg9p65nk.js → vcs-fg9p65nk.js} +2 -2
- package/dist/chunks/{schema-wahr43z1.js → vcs-fne85w7v.js} +4 -4
- package/dist/chunks/{schema-4ct751ez.js → vcs-fw6nb5ck.js} +28 -28
- package/dist/chunks/{schema-pe59pxdd.js → vcs-g67k3az8.js} +20 -20
- package/dist/chunks/{schema-nnhp4nhp.js → vcs-g9c34x6f.js} +14 -14
- package/dist/chunks/{schema-2mkw5nnf.js → vcs-gb3x7pd4.js} +14 -14
- package/dist/chunks/{schema-94rrg3vb.js → vcs-gcc564ca.js} +49 -49
- package/dist/chunks/{schema-gg8p9cgs.js → vcs-gg8p9cgs.js} +3 -3
- package/dist/chunks/{schema-tbn2mnzh.js → vcs-h7hv4bsx.js} +3 -3
- package/dist/chunks/{schema-qtfmf1tm.js → vcs-h871ecej.js} +21 -21
- package/dist/chunks/{schema-a6dwmrq2.js → vcs-h9cd45gd.js} +19 -19
- package/dist/chunks/vcs-hdfbhhjq.js +26 -0
- package/dist/chunks/{schema-hfgk9wzg.js → vcs-hfgk9wzg.js} +1 -1
- package/dist/chunks/{schema-7aatzr77.js → vcs-hnyptrnw.js} +28 -28
- package/dist/chunks/{schema-hpg1pkwy.js → vcs-hpg1pkwy.js} +1 -1
- package/dist/chunks/{schema-t3b400sf.js → vcs-hq1wfz6f.js} +4 -4
- package/dist/chunks/{schema-hqxkkta1.js → vcs-hqxkkta1.js} +1 -1
- package/dist/chunks/{schema-jspw90cp.js → vcs-hrf8w9bv.js} +18 -18
- package/dist/chunks/{schema-afq6afk6.js → vcs-hxe8n5wd.js} +16 -16
- package/dist/chunks/{schema-3cnqskb9.js → vcs-hznj66aq.js} +41 -41
- package/dist/chunks/{schema-bhxshkcp.js → vcs-j3fqds5k.js} +25 -25
- package/dist/chunks/{schema-9exzskw1.js → vcs-jbzt06de.js} +63 -63
- package/dist/chunks/{schema-h097nhc1.js → vcs-jc512s3p.js} +8 -8
- package/dist/chunks/{schema-jcqm84fr.js → vcs-jcqm84fr.js} +2 -2
- package/dist/chunks/{schema-1enrjds2.js → vcs-jd4h7jwf.js} +25 -25
- package/dist/chunks/{schema-jfaecv01.js → vcs-jfaecv01.js} +1 -1
- package/dist/chunks/{schema-cr4v66wc.js → vcs-jhrp8x7n.js} +16 -16
- package/dist/chunks/{schema-k031ef6b.js → vcs-jnxh9bnf.js} +22 -22
- package/dist/chunks/{schema-9rhy1jhz.js → vcs-jpf9vszk.js} +30 -30
- package/dist/chunks/{schema-jtnps1zs.js → vcs-jtnps1zs.js} +2 -2
- package/dist/chunks/{schema-9e9bdq1p.js → vcs-jxt3q3kf.js} +7 -7
- package/dist/chunks/{schema-5wkj2ywt.js → vcs-k1cjxzzv.js} +15 -15
- package/dist/chunks/{schema-qyn9kdbg.js → vcs-k6d7f0h0.js} +30 -30
- package/dist/chunks/{schema-k814nvkf.js → vcs-k814nvkf.js} +1 -1
- package/dist/chunks/{schema-k9zkdd2y.js → vcs-k9zkdd2y.js} +1 -1
- package/dist/chunks/{schema-3zadjdx1.js → vcs-kam05h7r.js} +22 -22
- package/dist/chunks/{schema-btkemy5f.js → vcs-kkmrs84d.js} +11 -11
- package/dist/chunks/{schema-kt3bjfbg.js → vcs-kt3bjfbg.js} +1 -1
- package/dist/chunks/{schema-7rm7mm2f.js → vcs-kvaqnkh5.js} +9 -9
- package/dist/chunks/{schema-yzwnyabz.js → vcs-kvkehzzy.js} +11 -11
- package/dist/chunks/{schema-qzzez12v.js → vcs-kvnh73qb.js} +11 -11
- package/dist/chunks/{schema-m1714858.js → vcs-m1714858.js} +1 -1
- package/dist/chunks/{schema-m4f8sh63.js → vcs-m23nxqzn.js} +20 -20
- package/dist/chunks/{schema-zt231353.js → vcs-m3dz0tc2.js} +30 -30
- package/dist/chunks/{schema-xsact9zs.js → vcs-m7xh3h0x.js} +4 -4
- package/dist/chunks/{schema-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-kf8fsxtd.js → vcs-mhhpcp40.js} +54 -54
- package/dist/chunks/{schema-1rdchn1p.js → vcs-mp9ebvmh.js} +12 -12
- package/dist/chunks/{schema-b0k6q4r7.js → vcs-mr1t2pzq.js} +25 -25
- package/dist/chunks/{schema-0cfns17n.js → vcs-mvmschgv.js} +34 -34
- package/dist/chunks/{schema-f4bj65gc.js → vcs-n39rwvas.js} +1 -1
- package/dist/chunks/{schema-1m459fdp.js → vcs-n93tr00k.js} +8 -8
- package/dist/chunks/{schema-770pw0s1.js → vcs-nah043kf.js} +4 -4
- package/dist/chunks/{schema-50q6hzkb.js → vcs-nahhmz6x.js} +16 -16
- package/dist/chunks/{schema-7p1vn3s6.js → vcs-ncgj4fsm.js} +9 -9
- package/dist/chunks/{schema-d9vx7wx0.js → vcs-nhenvrcv.js} +12 -12
- package/dist/chunks/{schema-xpa3vb6e.js → vcs-nqnxqd2r.js} +17 -17
- package/dist/chunks/{schema-26x8chrq.js → vcs-nrtygxmh.js} +3 -3
- package/dist/chunks/{schema-p015t6z3.js → vcs-p015t6z3.js} +2 -2
- package/dist/chunks/{schema-a4qm5kkz.js → vcs-p2esgkzz.js} +3 -3
- package/dist/chunks/{schema-3sxgyymf.js → vcs-p5t3gg5q.js} +11 -11
- package/dist/chunks/{schema-ehsb21bg.js → vcs-ph7et01j.js} +20 -20
- package/dist/chunks/{schema-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{schema-r5wdg4a9.js → vcs-prjhwpt4.js} +5 -5
- package/dist/chunks/{schema-j2na3mwa.js → vcs-pzf76rrq.js} +32 -32
- package/dist/chunks/{schema-qah7t4da.js → vcs-q85rya1m.js} +6 -6
- package/dist/chunks/{schema-j7jb94ac.js → vcs-qatsv5dz.js} +23 -23
- package/dist/chunks/{schema-8bhq06zm.js → vcs-qgj2y09a.js} +5 -5
- package/dist/chunks/{schema-t5jqs5j7.js → vcs-qj0f10hy.js} +2 -2
- package/dist/chunks/{schema-8jztxfpf.js → vcs-qjgzc4b4.js} +4 -4
- package/dist/chunks/{schema-7kxnx84r.js → vcs-qjq7p7j6.js} +25 -25
- package/dist/chunks/{schema-qp7r0hxv.js → vcs-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schema-7pa3t2xk.js → vcs-qw6ypx0r.js} +11 -11
- package/dist/chunks/{schema-090m30xj.js → vcs-qzze65dp.js} +35 -35
- package/dist/chunks/{schema-r0yr0wbs.js → vcs-r0yr0wbs.js} +1 -1
- package/dist/chunks/{schema-czjbmn1x.js → vcs-r4kh5xmg.js} +3 -3
- package/dist/chunks/{schema-r542h3bh.js → vcs-r542h3bh.js} +1 -1
- package/dist/chunks/{schema-cke2hwj1.js → vcs-r76g6m5d.js} +18 -18
- package/dist/chunks/{schema-myxan7r3.js → vcs-rb35zdj3.js} +6 -6
- package/dist/chunks/{schema-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schema-5jnjkx8j.js → vcs-rc3e9zq8.js} +22 -22
- package/dist/chunks/{schema-6f28nday.js → vcs-rdssdv87.js} +37 -37
- package/dist/chunks/{schema-ek1rnzpg.js → vcs-rnkzngrq.js} +13 -13
- package/dist/chunks/{schema-gjwgtksd.js → vcs-rnvx41re.js} +48 -48
- package/dist/chunks/{schema-vyc6s2qb.js → vcs-rq1s007a.js} +13 -13
- package/dist/chunks/{schema-kbdkx2jg.js → vcs-rramyk5b.js} +23 -23
- package/dist/chunks/{schema-rt5dr6hb.js → vcs-rt5dr6hb.js} +1 -1
- package/dist/chunks/{schema-aa5aqj1j.js → vcs-rvnzb7rd.js} +11 -11
- package/dist/chunks/{schema-mpxecfx5.js → vcs-rvr8sh1j.js} +9 -9
- package/dist/chunks/{schema-fv6xxc7y.js → vcs-s11q4rn7.js} +14 -14
- package/dist/chunks/{schema-269arx00.js → vcs-s1pbznk9.js} +22 -22
- package/dist/chunks/{schema-4s5pdsz9.js → vcs-s3yt9ny0.js} +3 -3
- package/dist/chunks/{schema-q63cb7ap.js → vcs-s7gmm2q3.js} +8 -4
- package/dist/chunks/{schema-w35wzz9x.js → vcs-s7kyse9r.js} +4 -4
- package/dist/chunks/{schema-3t4pqd58.js → vcs-s7vmaqmh.js} +25 -25
- package/dist/chunks/{schema-sa3fpqfw.js → vcs-sa3fpqfw.js} +2 -2
- package/dist/chunks/{schema-3g3amc73.js → vcs-sbanjb5j.js} +11 -11
- package/dist/chunks/{schema-e1frhwek.js → vcs-sdv7qrfx.js} +8 -8
- package/dist/chunks/{schema-fpb1sgsj.js → vcs-sfxc8tsc.js} +21 -21
- package/dist/chunks/{schema-1w0tbadz.js → vcs-shhgqsar.js} +26 -26
- package/dist/chunks/{schema-ehb90vmh.js → vcs-sp1n9vrr.js} +13 -13
- package/dist/chunks/{schema-26z001ty.js → vcs-sp5gwvgy.js} +17 -17
- package/dist/chunks/{schema-sqjzf8x2.js → vcs-sqjzf8x2.js} +1 -1
- package/dist/chunks/{schema-d2887f8n.js → vcs-ssfehs1z.js} +4 -4
- package/dist/chunks/{schema-svcy3p9a.js → vcs-svcy3p9a.js} +1 -1
- package/dist/chunks/{schema-qfdchg71.js → vcs-svxc5mk7.js} +22 -22
- package/dist/chunks/{schema-j6rxfpjy.js → vcs-swjc4wgc.js} +13 -13
- package/dist/chunks/{schema-3gr2x4rj.js → vcs-t7d5dner.js} +23 -23
- package/dist/chunks/{schema-6n305hg2.js → vcs-t9rnzgt8.js} +9 -9
- package/dist/chunks/{schema-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
- package/dist/chunks/{schema-h1qzytc1.js → vcs-tq4ca257.js} +10 -10
- package/dist/chunks/{schema-tg57hhy1.js → vcs-ts41tt44.js} +15 -15
- package/dist/chunks/{schema-twssxy5n.js → vcs-twssxy5n.js} +2 -2
- package/dist/chunks/{schema-kprhyz1z.js → vcs-tzz7d8n9.js} +83 -83
- package/dist/chunks/{schema-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schema-4rzb5v1e.js → vcs-vbfgf998.js} +16 -16
- package/dist/chunks/{schema-h0ppebc3.js → vcs-vbhy04yp.js} +8 -8
- package/dist/chunks/{schema-vqf4085a.js → vcs-vj5jshb9.js} +14 -14
- package/dist/chunks/{schema-py366xq1.js → vcs-vp7nv6ts.js} +7 -7
- package/dist/chunks/{schema-9r0x1bva.js → vcs-vzmjdaw1.js} +9 -9
- package/dist/chunks/{schema-g13qewtb.js → vcs-w2808p42.js} +6 -6
- package/dist/chunks/{schema-jesqdct3.js → vcs-w3ghn6yx.js} +4 -4
- package/dist/chunks/{schema-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-fznmdakp.js → vcs-w687dnns.js} +4 -4
- package/dist/chunks/{schema-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{schema-wnhgecwx.js → vcs-wnhgecwx.js} +1 -1
- package/dist/chunks/{schema-n5wkbxzm.js → vcs-wx1qd37n.js} +11 -11
- package/dist/chunks/{schema-yfcb8j9k.js → vcs-x1yq370d.js} +5 -5
- package/dist/chunks/{schema-x9s6m3f5.js → vcs-x22fevgm.js} +34 -34
- package/dist/chunks/{schema-dh1g62nj.js → vcs-xcrax9b3.js} +21 -21
- package/dist/chunks/{schema-txbj6sh8.js → vcs-xcrtaswj.js} +11 -11
- package/dist/chunks/{schema-mnw2gt42.js → vcs-xz2fv4yr.js} +15 -15
- package/dist/chunks/{schema-50w453fn.js → vcs-y2hjk6xz.js} +12 -12
- package/dist/chunks/{schema-5b4vr08c.js → vcs-y2syk0h5.js} +10 -10
- package/dist/chunks/{schema-g1w8m9xc.js → vcs-y9sq7js0.js} +176 -176
- package/dist/chunks/{schema-yara3q77.js → vcs-yara3q77.js} +2 -2
- package/dist/chunks/{schema-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
- package/dist/chunks/{schema-kmzgegqq.js → vcs-ydsespw1.js} +8 -8
- package/dist/chunks/{schema-dfxm9epe.js → vcs-yg76txfd.js} +26 -26
- package/dist/chunks/{schema-tcsxprfy.js → vcs-ym5kwrv0.js} +30 -30
- package/dist/chunks/{schema-ymz7p2c9.js → vcs-ymz7p2c9.js} +3 -3
- package/dist/chunks/{schema-21qby824.js → vcs-yv133y3g.js} +314 -314
- package/dist/chunks/{schema-z38nccrw.js → vcs-z38nccrw.js} +1 -1
- package/dist/chunks/{schema-jzepz2rk.js → vcs-z9wg9fq4.js} +15 -15
- package/dist/chunks/{schema-4qg5d7zq.js → vcs-zac84x8b.js} +3 -3
- package/dist/chunks/{schema-1c950baa.js → vcs-zgf2rtvh.js} +5 -5
- package/dist/chunks/{schema-hkt99n7n.js → vcs-znxracq4.js} +4 -4
- package/dist/chunks/{schema-v0jzprfb.js → vcs-zsd8tnyx.js} +7 -7
- 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 +85 -85
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -368
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -365
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +139 -139
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +338 -338
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +234 -234
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +94 -94
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +158 -158
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +231 -231
- package/dist/session/execution.js +150 -150
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +128 -128
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +236 -236
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +190 -190
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +225 -225
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +99 -99
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +158 -158
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +141 -141
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/codemode/web.d.ts +23 -1
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +88 -88
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +3 -3
- 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 +97 -97
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/schema-0kar9yb6.js +0 -26
- package/dist/chunks/schema-n3r3rt18.js +0 -18
- package/dist/chunks/schema-p8c3k4sp.js +0 -257
- /package/dist/chunks/{schema-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1jakw16s.js → vcs-1jakw16s.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → vcs-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4m86bj6y.js → vcs-4m86bj6y.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5w3e23ze.js → vcs-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → vcs-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a058387c.js → vcs-a058387c.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-beh6qq61.js → vcs-beh6qq61.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cqv5kn06.js → vcs-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fkpq3x5p.js → vcs-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jwr30sdr.js → vcs-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → vcs-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-ncqqe42p.js → vcs-ncqqe42p.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p71gwv9c.js → vcs-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-8f2h6hsz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service61
|
|
11
|
+
} from "./vcs-svxc5mk7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./vcs-911083wy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service23,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9a3x2kz4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./vcs-mvmschgv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service25,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-qatsv5dz.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-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: () => Input12,
|
|
39
|
+
Output: () => Output9,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin47,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
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 name12 = "patch";
|
|
89
|
+
var Input12 = 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 Output9 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (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 Plugin47 = {
|
|
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*
|
|
111
|
+
const environment = yield* Service61;
|
|
112
|
+
const access = yield* Service25;
|
|
113
|
+
const fileMutation = yield* Service23;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service63;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output9,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -285,7 +285,7 @@ var Plugin25 = {
|
|
|
285
285
|
return { applied, files };
|
|
286
286
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
287
287
|
output,
|
|
288
|
-
content:
|
|
288
|
+
content: toModelContent6(output),
|
|
289
289
|
metadata: { files: output.files }
|
|
290
290
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
291
291
|
}
|
|
@@ -345,4 +345,4 @@ function trimDiff(diff) {
|
|
|
345
345
|
`);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
export {
|
|
348
|
+
export { name12, Input12, Applied2, Output9, toModelContent6, Plugin47, exports_patch };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./vcs-b8zfksyw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./vcs-y2syk0h5.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
changes2,
|
|
12
12
|
inherit2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-204s3925.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
Service41,
|
|
16
16
|
awaitActivation2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-ev660z6k.js";
|
|
18
18
|
import {
|
|
19
19
|
make12,
|
|
20
20
|
requirements3,
|
|
21
21
|
storage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-y9sq7js0.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/plugin.ts
|
|
28
28
|
var exports_plugin2 = {};
|
|
29
29
|
__export(exports_plugin2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event3,
|
|
31
31
|
GuiBundle: () => GuiBundle2,
|
|
32
32
|
ID: () => ID3,
|
|
33
|
-
Info: () =>
|
|
33
|
+
Info: () => Info5,
|
|
34
34
|
Plugin: () => exports_plugin2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service41,
|
|
36
36
|
Source: () => Source2,
|
|
37
37
|
State: () => State2,
|
|
38
38
|
awaitActivation: () => awaitActivation2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node20
|
|
40
40
|
});
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event3, GuiBundle as GuiBundle2, ID as ID3, Info as Info5, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
42
42
|
import { readFile } from "node:fs/promises";
|
|
43
43
|
import { fileURLToPath } from "node:url";
|
|
44
44
|
import { Plugin } from "@opencode/schema/plugin";
|
|
45
45
|
import { Node } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
47
|
-
var layer = Layer.effect(
|
|
48
|
-
const bus = yield*
|
|
49
|
-
const kv = yield*
|
|
47
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
48
|
+
const bus = yield* Service83;
|
|
49
|
+
const kv = yield* Service85;
|
|
50
50
|
const scope = yield* Scope.make();
|
|
51
51
|
const active = new Map;
|
|
52
52
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
214
214
|
yield* shutdown2(Scope.close(scope, exit));
|
|
215
215
|
}));
|
|
216
216
|
yield* Effect.addFinalizer(close);
|
|
217
|
-
return
|
|
217
|
+
return Service41.of({
|
|
218
218
|
activate,
|
|
219
219
|
close,
|
|
220
220
|
awaitActivation: ready.await,
|
|
@@ -232,10 +232,10 @@ function slotInfo(slot) {
|
|
|
232
232
|
features: slot.plugin.features ?? { server: true }
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var
|
|
236
|
-
service:
|
|
235
|
+
var node20 = Node.makeLocationNode({
|
|
236
|
+
service: Service41,
|
|
237
237
|
layer,
|
|
238
238
|
deps: [requirements3]
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
export {
|
|
241
|
+
export { node20, exports_plugin2, Event3, GuiBundle2, ID3, Info5, Source2, State2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./vcs-y2hjk6xz.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node84
|
|
14
|
+
} from "./vcs-8f2h6hsz.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-204s3925.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service47,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node50,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,20 +34,20 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service47 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node50 = makeLocationNode({
|
|
158
|
+
service: Service47,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
161
161
|
});
|
|
162
|
-
var noopLayer2 = Layer.succeed(
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service47, Service47.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error3({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID5, Error3, Service47, node50, noopLayer2, exports_snapshot2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./vcs-b8zfksyw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node72
|
|
7
|
+
} from "./vcs-jhrp8x7n.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service2,
|
|
10
|
+
node3
|
|
11
|
+
} from "./vcs-jd4h7jwf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service41
|
|
14
|
+
} from "./vcs-ev660z6k.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node20,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-66rmjjex.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service5,
|
|
21
|
+
node6
|
|
22
|
+
} from "./vcs-ydsespw1.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-yv133y3g.js";
|
|
28
28
|
import {
|
|
29
29
|
make3,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-961rs8be.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
Service4,
|
|
35
|
-
node5
|
|
36
|
-
} from "./schema-j6rxfpjy.js";
|
|
37
|
-
import {
|
|
38
34
|
Service3,
|
|
39
35
|
node4
|
|
40
|
-
} from "./
|
|
36
|
+
} from "./vcs-swjc4wgc.js";
|
|
37
|
+
import {
|
|
38
|
+
Service4,
|
|
39
|
+
node5
|
|
40
|
+
} from "./vcs-vzmjdaw1.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./vcs-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
@@ -134,13 +134,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
134
134
|
};
|
|
135
135
|
});
|
|
136
136
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
137
|
-
const registry = yield*
|
|
138
|
-
const sdk = yield*
|
|
139
|
-
const instance = yield*
|
|
140
|
-
const sources = yield*
|
|
137
|
+
const registry = yield* Service41;
|
|
138
|
+
const sdk = yield* Service3;
|
|
139
|
+
const instance = yield* Service5;
|
|
140
|
+
const sources = yield* Service2;
|
|
141
141
|
const modules = yield* make3();
|
|
142
|
-
const bus = yield*
|
|
143
|
-
const updates = yield*
|
|
142
|
+
const bus = yield* Service83;
|
|
143
|
+
const updates = yield* Service4;
|
|
144
144
|
const internal = yield* list2();
|
|
145
145
|
let release = yield* registry.hold();
|
|
146
146
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -215,14 +215,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
215
215
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
216
216
|
}));
|
|
217
217
|
var nodeDeps = [
|
|
218
|
-
|
|
219
|
-
node5,
|
|
220
|
-
node3,
|
|
221
|
-
node8,
|
|
218
|
+
node20,
|
|
222
219
|
node4,
|
|
223
|
-
|
|
220
|
+
node6,
|
|
221
|
+
node3,
|
|
222
|
+
node5,
|
|
223
|
+
node87,
|
|
224
224
|
Npm.node,
|
|
225
|
-
|
|
225
|
+
node72,
|
|
226
226
|
requirements2
|
|
227
227
|
];
|
|
228
228
|
function pluginSource(target) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
Service77,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node81
|
|
8
|
+
} from "./vcs-h871ecej.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
@@ -17,7 +17,7 @@ __export(exports_voice, {
|
|
|
17
17
|
Service: () => Service14,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer9,
|
|
21
21
|
node: () => node16
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
@@ -39,10 +39,10 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
39
39
|
|
|
40
40
|
class Service14 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
44
|
const integrations = yield* Service77;
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID13.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -85,8 +85,8 @@ var layer10 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
85
85
|
}));
|
|
86
86
|
var node16 = makeLocationNode({
|
|
87
87
|
service: Service14,
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
88
|
+
layer: layer9,
|
|
89
|
+
deps: [node81, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2, UnavailableError2, Service14,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service14, layer9, node16, exports_voice };
|