@opencode/core 0.0.0-dev-21233 → 0.0.0-dev-21244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{skill-711r5px4.js → formatter-0cbn14fb.js} +30 -25
- package/dist/chunks/{skill-eaj1djv9.js → formatter-0gdmqesm.js} +8 -8
- package/dist/chunks/{skill-hcry4rxa.js → formatter-0tcnq6v6.js} +11 -11
- package/dist/chunks/{skill-cbghv35z.js → formatter-0v1kw2g7.js} +14 -14
- package/dist/chunks/{skill-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
- package/dist/chunks/{skill-hh8xd2g7.js → formatter-0w0hsyng.js} +2 -2
- package/dist/chunks/{skill-pcf1k9th.js → formatter-0y9f2m8n.js} +6 -6
- package/dist/chunks/{skill-q6ec7ghb.js → formatter-0zcqa60s.js} +4 -4
- package/dist/chunks/{skill-gb51gx5j.js → formatter-147shrta.js} +1 -1
- package/dist/chunks/{skill-5n5c97r3.js → formatter-14tvmdth.js} +7 -7
- package/dist/chunks/{skill-jq9wm7kj.js → formatter-1b9h5v8t.js} +2 -2
- package/dist/chunks/{skill-g46rkewk.js → formatter-1y9yjfpn.js} +17 -17
- package/dist/chunks/{skill-kbzdcc1z.js → formatter-1z0c123x.js} +30 -30
- package/dist/chunks/{skill-x4s1hxy4.js → formatter-1z4aes97.js} +19 -19
- package/dist/chunks/{skill-5s0bhjqk.js → formatter-21cye1se.js} +15 -15
- package/dist/chunks/{skill-1a8spp1r.js → formatter-2fb2gztx.js} +16 -16
- package/dist/chunks/{skill-w57ms8mt.js → formatter-2qgrx7zj.js} +15 -15
- package/dist/chunks/{skill-ptxp58at.js → formatter-2thwhjsv.js} +10 -10
- package/dist/chunks/{skill-0mshdkct.js → formatter-2xr74ag8.js} +30 -30
- package/dist/chunks/{skill-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
- package/dist/chunks/{skill-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-ybq6hy8a.js → formatter-3vtk7r3y.js} +18 -18
- package/dist/chunks/{skill-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-24s8e1ye.js → formatter-42rf9s8q.js} +19 -19
- package/dist/chunks/{skill-44ak30pa.js → formatter-44ak30pa.js} +1 -1
- package/dist/chunks/{skill-2k71kv7p.js → formatter-4537tsak.js} +4 -4
- package/dist/chunks/{skill-zn9jy13z.js → formatter-4adehn3m.js} +6 -6
- package/dist/chunks/{skill-m8tc3etm.js → formatter-4ty81hg4.js} +45 -45
- package/dist/chunks/{skill-4j4tgtq5.js → formatter-4z58m4b4.js} +4 -4
- package/dist/chunks/{skill-54ma36ye.js → formatter-54ma36ye.js} +1 -1
- package/dist/chunks/{skill-qqeeq2t9.js → formatter-57b9ws8p.js} +4 -4
- package/dist/chunks/{skill-00awx1tb.js → formatter-5bkyxj6g.js} +85 -85
- package/dist/chunks/{skill-mtpeagzc.js → formatter-5epte933.js} +3 -3
- package/dist/chunks/{skill-bykqqmg1.js → formatter-5gwznhg8.js} +21 -21
- package/dist/chunks/{skill-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-hp8bf08d.js → formatter-5mr4v717.js} +8 -8
- package/dist/chunks/{skill-rmwddm56.js → formatter-5tx2tm3v.js} +22 -22
- package/dist/chunks/{skill-51fhzrhh.js → formatter-5xac84sq.js} +26 -26
- package/dist/chunks/{skill-tx9w5tca.js → formatter-5y480sgp.js} +8 -8
- package/dist/chunks/{skill-0w5ft33m.js → formatter-5z12t68t.js} +13 -13
- package/dist/chunks/{skill-dv4gwh01.js → formatter-63qcved5.js} +43 -43
- package/dist/chunks/{skill-tmjmhw6b.js → formatter-64ksbt32.js} +9 -9
- package/dist/chunks/{skill-6827pfxn.js → formatter-6827pfxn.js} +1 -1
- package/dist/chunks/{skill-ysr3h47w.js → formatter-682gxy8b.js} +58 -58
- package/dist/chunks/{skill-db95amxg.js → formatter-6bfs7xd7.js} +20 -20
- package/dist/chunks/{skill-2ge34d2j.js → formatter-6kt042be.js} +11 -11
- package/dist/chunks/{skill-rmpja4kz.js → formatter-6ras8vtd.js} +20 -20
- package/dist/chunks/{skill-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
- package/dist/chunks/{skill-dssbfrwz.js → formatter-6yz0wx8n.js} +5 -5
- package/dist/chunks/{skill-775gj3j1.js → formatter-775gj3j1.js} +2 -2
- package/dist/chunks/{skill-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-97aeaand.js → formatter-7cx595n2.js} +9 -9
- package/dist/chunks/{skill-0jwsre1p.js → formatter-7dqw4kz8.js} +5 -5
- package/dist/chunks/{skill-ddzfx2sp.js → formatter-7jy01c2j.js} +4 -4
- package/dist/chunks/{skill-e4qjwypm.js → formatter-7m4642cz.js} +7 -7
- package/dist/chunks/{skill-eyvd4r56.js → formatter-7mg7dxek.js} +17 -17
- package/dist/chunks/{skill-smjam21t.js → formatter-83wzpacr.js} +17 -17
- package/dist/chunks/{skill-84txncab.js → formatter-84txncab.js} +1 -1
- package/dist/chunks/{skill-aj2p83by.js → formatter-86y4chpd.js} +16 -16
- package/dist/chunks/{skill-89znhe33.js → formatter-89znhe33.js} +1 -1
- package/dist/chunks/{skill-ma7sk27v.js → formatter-8cr7kka4.js} +25 -25
- package/dist/chunks/{skill-0a54jmae.js → formatter-8ddypp76.js} +9 -9
- package/dist/chunks/{skill-bdjmc03q.js → formatter-8f9p3crs.js} +17 -17
- package/dist/chunks/{skill-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
- package/dist/chunks/{skill-yc97vnhp.js → formatter-8n5tnz3w.js} +310 -310
- package/dist/chunks/{skill-m28477hs.js → formatter-8p41qfym.js} +17 -17
- package/dist/chunks/{skill-2fkbhf5s.js → formatter-93cy2f7w.js} +37 -29
- package/dist/chunks/{skill-721538d5.js → formatter-95c9qt52.js} +11 -11
- package/dist/chunks/{skill-sh4t0w1q.js → formatter-98gbvst6.js} +3 -3
- package/dist/chunks/{skill-jkh8wmvq.js → formatter-9b22j2js.js} +11 -11
- package/dist/chunks/{skill-zn5qbatk.js → formatter-9k0q07qp.js} +27 -27
- package/dist/chunks/{skill-5a1a4xxz.js → formatter-9pvd7fay.js} +28 -28
- package/dist/chunks/{skill-k76krqzs.js → formatter-a2ew8a62.js} +4 -4
- package/dist/chunks/{skill-d2kvkr0c.js → formatter-a5399v6v.js} +13 -13
- package/dist/chunks/{skill-d7q7g158.js → formatter-a7mmyf9t.js} +7 -7
- package/dist/chunks/{skill-0tb1pehm.js → formatter-a8k9xfsm.js} +17 -17
- package/dist/chunks/{skill-sv1af74h.js → formatter-ahej7gkg.js} +22 -22
- package/dist/chunks/{skill-p2w0np6h.js → formatter-aky1dekn.js} +11 -11
- package/dist/chunks/{skill-1e0fage9.js → formatter-ans500eg.js} +1 -1
- package/dist/chunks/{skill-v2bjyqkg.js → formatter-appvh9ax.js} +9 -9
- package/dist/chunks/{skill-hxbam2w6.js → formatter-b30s6mje.js} +11 -11
- package/dist/chunks/{skill-afdssyjb.js → formatter-baaqp4zd.js} +4 -4
- package/dist/chunks/{skill-n61013np.js → formatter-bbkhz5x0.js} +11 -11
- package/dist/chunks/{skill-tk14ecdn.js → formatter-be0x380s.js} +37 -37
- package/dist/chunks/{skill-bjx1sjef.js → formatter-bjx1sjef.js} +2 -2
- package/dist/chunks/{skill-ybzr8t0c.js → formatter-bry1x5ad.js} +15 -15
- package/dist/chunks/{skill-1ep4rre3.js → formatter-bzeyqsqd.js} +4 -4
- package/dist/chunks/{skill-c1fqxshp.js → formatter-c1fqxshp.js} +3 -3
- package/dist/chunks/{skill-7y6g135c.js → formatter-c2jwe8x1.js} +21 -21
- package/dist/chunks/{skill-j6ktnsbj.js → formatter-c5ggqzvz.js} +5 -5
- package/dist/chunks/{skill-a61mcpgr.js → formatter-c907h1r8.js} +25 -25
- package/dist/chunks/{skill-pea6wjc4.js → formatter-c916s19f.js} +86 -86
- package/dist/chunks/{skill-afm93r8m.js → formatter-cdnjftw5.js} +5 -5
- package/dist/chunks/{skill-k1ep3vpw.js → formatter-cebn8wab.js} +8 -8
- package/dist/chunks/{skill-axbdcqfv.js → formatter-cpgtpatm.js} +11 -11
- package/dist/chunks/{skill-d1a28jh7.js → formatter-d1a28jh7.js} +2 -2
- package/dist/chunks/{skill-t3mrtpce.js → formatter-d20vf659.js} +13 -13
- package/dist/chunks/{skill-1yf4km17.js → formatter-d3xt2zh4.js} +5 -5
- package/dist/chunks/{skill-ryvyvv32.js → formatter-d4vyzb3t.js} +31 -31
- package/dist/chunks/{skill-m7c2pgrj.js → formatter-d66rdyfa.js} +45 -45
- package/dist/chunks/{skill-vbhp0dye.js → formatter-d8c6spkq.js} +45 -45
- package/dist/chunks/{skill-z9dnddtr.js → formatter-d9yrqh4n.js} +52 -44
- package/dist/chunks/{skill-ch6w3xdz.js → formatter-dqkkx36v.js} +4 -4
- package/dist/chunks/{skill-5qd3pb7m.js → formatter-e3qxr5gk.js} +2 -2
- package/dist/chunks/{skill-e80seqcp.js → formatter-e80seqcp.js} +1 -1
- package/dist/chunks/{skill-g0zzgjed.js → formatter-ea05sntr.js} +10 -10
- package/dist/chunks/{skill-407q6sa9.js → formatter-eakdd8w5.js} +39 -39
- package/dist/chunks/{skill-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
- package/dist/chunks/{skill-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-167gessz.js → formatter-ejgr9gnj.js} +15 -15
- package/dist/chunks/{skill-c1s4czd4.js → formatter-ex98dt4j.js} +20 -20
- package/dist/chunks/{skill-k7v4hzhw.js → formatter-f3wsxmbf.js} +14 -14
- package/dist/chunks/{skill-ytw5y04d.js → formatter-f534ymt6.js} +11 -11
- package/dist/chunks/{skill-942ape3s.js → formatter-f60jq6s2.js} +16 -16
- package/dist/chunks/{skill-dr27kx24.js → formatter-f63t7jgq.js} +23 -23
- package/dist/chunks/{skill-tswswthy.js → formatter-fc29xzdc.js} +50 -50
- package/dist/chunks/{skill-fcy631f0.js → formatter-fcy631f0.js} +1 -1
- package/dist/chunks/{skill-fdms3n6w.js → formatter-fdms3n6w.js} +2 -2
- package/dist/chunks/{skill-1dcff6nc.js → formatter-fgy909bt.js} +5 -5
- package/dist/chunks/{skill-ft3hqk2c.js → formatter-ft3hqk2c.js} +2 -2
- package/dist/chunks/{skill-dzewxd6e.js → formatter-ftwm2p4f.js} +50 -50
- package/dist/chunks/{skill-6x6512f8.js → formatter-g8nc3xyp.js} +11 -11
- package/dist/chunks/{skill-xt4njr3s.js → formatter-gd0tnyjc.js} +1 -1
- package/dist/chunks/{skill-73wdtct1.js → formatter-gd1hgps2.js} +4 -4
- package/dist/chunks/{skill-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-8hpz99e3.js → formatter-gex9dnn3.js} +17 -17
- package/dist/chunks/{skill-wzwtd4q2.js → formatter-gr37njw6.js} +11 -11
- package/dist/chunks/formatter-gt2yvw7a.js +26 -0
- package/dist/chunks/{skill-9cw92fkg.js → formatter-gyrxp0ts.js} +41 -41
- package/dist/chunks/{skill-hpagwa2c.js → formatter-h289jyzk.js} +6 -6
- package/dist/chunks/{skill-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-1vnwec3s.js → formatter-h83rqqxa.js} +17 -17
- package/dist/chunks/{skill-fn9t717r.js → formatter-hbb7npd7.js} +3 -3
- package/dist/chunks/{skill-n8g9f5aw.js → formatter-hbv5rvvj.js} +8 -8
- package/dist/chunks/{skill-ht9z38af.js → formatter-heqwx97d.js} +7 -7
- package/dist/chunks/{skill-9hg616bm.js → formatter-hfbyhya8.js} +10 -10
- package/dist/chunks/{skill-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
- package/dist/chunks/{skill-1j2x33v7.js → formatter-hmzjb8dj.js} +18 -18
- package/dist/chunks/{skill-fxaymqdw.js → formatter-hq3c8me3.js} +4 -4
- package/dist/chunks/formatter-ht5y0zrb.js +18 -0
- package/dist/chunks/{skill-j09zfasm.js → formatter-j09zfasm.js} +3 -3
- package/dist/chunks/{skill-8ryk0bb9.js → formatter-j34dxvpb.js} +5 -5
- package/dist/chunks/{skill-d48v5xqa.js → formatter-jav1j83y.js} +9 -9
- package/dist/chunks/{skill-4rqs6yce.js → formatter-jekssrtq.js} +8 -8
- package/dist/chunks/{skill-hjkky8wz.js → formatter-jg6jwpe0.js} +4 -4
- package/dist/chunks/{skill-p6zwjtwx.js → formatter-jm77avtd.js} +3 -3
- package/dist/chunks/{skill-x96ngv9r.js → formatter-jxqhfc7z.js} +10 -10
- package/dist/chunks/{skill-ps2yhsm3.js → formatter-k1b4tbj2.js} +26 -26
- package/dist/chunks/{skill-j58npq09.js → formatter-k6eyzvgr.js} +13 -13
- package/dist/chunks/{skill-9skj9fwe.js → formatter-kcdx8ksy.js} +32 -32
- package/dist/chunks/{skill-4e4ttbd6.js → formatter-kk4m4jz5.js} +6 -6
- package/dist/chunks/{skill-vwwhsbvp.js → formatter-kmn2wpkp.js} +3 -3
- package/dist/chunks/{skill-wdjfy1sg.js → formatter-kp329rnm.js} +4 -4
- package/dist/chunks/{skill-ztkm05qe.js → formatter-kqezzyfk.js} +20 -20
- package/dist/chunks/{skill-kwb1v3vj.js → formatter-kwb1v3vj.js} +1 -1
- package/dist/chunks/{skill-mtvcx4kk.js → formatter-kxk813jh.js} +22 -22
- package/dist/chunks/{skill-nm2sbdyw.js → formatter-m3w3e65b.js} +6 -6
- package/dist/chunks/{skill-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-maspj1v3.js → formatter-maspj1v3.js} +1 -1
- package/dist/chunks/{skill-cwjaek22.js → formatter-me3jp302.js} +14 -14
- package/dist/chunks/{skill-95gd5fnz.js → formatter-mmfyj663.js} +6 -6
- package/dist/chunks/{skill-j5xh64qr.js → formatter-mphgtbj1.js} +9 -9
- package/dist/chunks/{skill-dgmheq7x.js → formatter-my89cahe.js} +24 -24
- package/dist/chunks/{skill-5cazt80r.js → formatter-mzfw0pb0.js} +33 -33
- package/dist/chunks/{skill-dbwk15v0.js → formatter-n6j8zy7f.js} +28 -28
- package/dist/chunks/{skill-f3rjyvb9.js → formatter-ndc46fve.js} +29 -29
- package/dist/chunks/{skill-mfgpt03n.js → formatter-nev18w5c.js} +5 -5
- package/dist/chunks/{skill-xa8dcf8m.js → formatter-nvcb2me1.js} +11 -11
- package/dist/chunks/{skill-hszepbzs.js → formatter-nxwm516h.js} +11 -11
- package/dist/chunks/{skill-0w1q6v6s.js → formatter-p07cp82q.js} +11 -11
- package/dist/chunks/{skill-3j1wy11z.js → formatter-p18ep857.js} +26 -26
- package/dist/chunks/{skill-hcms3ej7.js → formatter-p30hmy3j.js} +21 -21
- package/dist/chunks/{skill-p37cw4rj.js → formatter-p37cw4rj.js} +1 -1
- package/dist/chunks/{skill-9xnh36ct.js → formatter-p3z1s7cv.js} +26 -26
- package/dist/chunks/{skill-ek42zh69.js → formatter-pg2r46xe.js} +24 -24
- package/dist/chunks/{skill-nd4tfyg0.js → formatter-phz50fbd.js} +9 -9
- package/dist/chunks/{skill-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{skill-tdepd04k.js → formatter-pt0v59x6.js} +12 -12
- package/dist/chunks/{skill-2hn0k533.js → formatter-pxtr2dvv.js} +3 -3
- package/dist/chunks/{skill-swdxt3e8.js → formatter-py38g5de.js} +8 -8
- package/dist/chunks/{skill-z42dm00v.js → formatter-pzjmh3bc.js} +13 -13
- package/dist/chunks/{skill-1wy3a1da.js → formatter-q1xe5xm5.js} +8 -8
- package/dist/chunks/{skill-hv0kjr3z.js → formatter-q1yb1hsa.js} +20 -20
- package/dist/chunks/{skill-bzjf68bt.js → formatter-q34x7v2p.js} +33 -33
- package/dist/chunks/{skill-ma5jzer8.js → formatter-q8ksm80s.js} +36 -36
- package/dist/chunks/{skill-0qer0j0n.js → formatter-q9s9zqn4.js} +10 -10
- package/dist/chunks/{skill-24ythb25.js → formatter-qacrhxhp.js} +3 -3
- package/dist/chunks/{skill-pc6svy01.js → formatter-qapzhrk9.js} +3 -3
- package/dist/chunks/{skill-n3wcrd3g.js → formatter-qdrw3gfp.js} +7 -7
- package/dist/chunks/{skill-cddgxm6q.js → formatter-qgc12pw2.js} +28 -28
- package/dist/chunks/{skill-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-9hwaqfsw.js → formatter-qne3fa44.js} +5 -5
- package/dist/chunks/{skill-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-vscs4key.js → formatter-qtjmeqcc.js} +7 -7
- package/dist/chunks/{skill-n9y44nm0.js → formatter-qv499rce.js} +23 -23
- package/dist/chunks/{skill-5n8ca005.js → formatter-r0yrvwzz.js} +24 -24
- package/dist/chunks/{skill-4gycktp3.js → formatter-r4ekbdnr.js} +25 -25
- package/dist/chunks/{skill-n4d3d4w3.js → formatter-r9y2scxt.js} +11 -11
- package/dist/chunks/{skill-x181wg97.js → formatter-rbqdpnz1.js} +5 -5
- package/dist/chunks/{skill-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-rert0e01.js → formatter-rert0e01.js} +2 -2
- package/dist/chunks/{skill-rj3eygr5.js → formatter-rj3eygr5.js} +2 -2
- package/dist/chunks/{skill-92g1m7we.js → formatter-rk974gg7.js} +23 -23
- package/dist/chunks/{skill-qygncz6a.js → formatter-rs9wx55j.js} +24 -24
- package/dist/chunks/{skill-ytakhgxz.js → formatter-rzkcke2z.js} +34 -34
- package/dist/chunks/{skill-74ntyh7j.js → formatter-s91efq40.js} +30 -30
- package/dist/chunks/{skill-sa8ekw3f.js → formatter-sa8ekw3f.js} +2 -2
- package/dist/chunks/{skill-9sspp2kc.js → formatter-sb8qnayt.js} +16 -16
- package/dist/chunks/{skill-a0wcqrzt.js → formatter-sdjxx6pg.js} +34 -34
- package/dist/chunks/{skill-fcdhtk1s.js → formatter-sg02e71r.js} +9 -9
- package/dist/chunks/{skill-vnwacm6t.js → formatter-sh5y8zvm.js} +1 -1
- package/dist/chunks/{skill-m70jk2v7.js → formatter-ssx21478.js} +19 -19
- package/dist/chunks/{skill-j17rh5na.js → formatter-svxhdcjy.js} +14 -14
- package/dist/chunks/{skill-j2ztd3ax.js → formatter-swf92kzb.js} +20 -20
- package/dist/chunks/{skill-syv4x271.js → formatter-syv4x271.js} +1 -1
- package/dist/chunks/{skill-acy09t17.js → formatter-szd00bka.js} +4 -4
- package/dist/chunks/{skill-hpwbz69d.js → formatter-t4x3hxzy.js} +19 -19
- package/dist/chunks/{skill-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{skill-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
- package/dist/chunks/{skill-4ysfff1b.js → formatter-ttfzm2et.js} +24 -24
- package/dist/chunks/{skill-k8zn6dzp.js → formatter-tw9chead.js} +17 -17
- package/dist/chunks/{skill-tyytaxap.js → formatter-tyytaxap.js} +1 -1
- package/dist/chunks/{skill-373db230.js → formatter-v0b295w1.js} +14 -14
- package/dist/chunks/{skill-v210v162.js → formatter-v210v162.js} +2 -2
- package/dist/chunks/{skill-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
- package/dist/chunks/{skill-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-jr0bwz5h.js → formatter-vj5p38yv.js} +18 -18
- package/dist/chunks/{skill-jybvdwhe.js → formatter-vp00rtyr.js} +12 -12
- package/dist/chunks/{skill-r3ydk6z5.js → formatter-vyf7jw62.js} +6 -6
- package/dist/chunks/{skill-hdjck8j7.js → formatter-vywgh4c6.js} +34 -34
- package/dist/chunks/{skill-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-dhb2hta4.js → formatter-w1ba7bfx.js} +5 -5
- package/dist/chunks/{skill-znpdtr75.js → formatter-w3wbfgm7.js} +25 -25
- package/dist/chunks/{skill-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-7fkffz83.js → formatter-w92k2e0p.js} +6 -6
- package/dist/chunks/{skill-bn0s77k4.js → formatter-wcpje083.js} +10 -10
- package/dist/chunks/{skill-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{skill-z47sjnwy.js → formatter-whwq5x3g.js} +180 -180
- package/dist/chunks/{skill-63kqh4pp.js → formatter-wjcqngme.js} +15 -15
- package/dist/chunks/{skill-dg66qqba.js → formatter-wp4vtpe6.js} +12 -12
- package/dist/chunks/{skill-bs5qht20.js → formatter-wpqhxtcy.js} +3 -3
- package/dist/chunks/{skill-j7qxhh0w.js → formatter-wqvrfkn5.js} +8 -8
- package/dist/chunks/{skill-jvhzr3z9.js → formatter-wyvwawjm.js} +42 -42
- package/dist/chunks/{skill-gqtdsdt7.js → formatter-x661k3y3.js} +4 -4
- package/dist/chunks/{skill-2dvjh35y.js → formatter-x7bd6s3f.js} +22 -22
- package/dist/chunks/{skill-ebwpp9d0.js → formatter-x835q0ad.js} +11 -11
- package/dist/chunks/{skill-8hk5zr5e.js → formatter-xc2rqamm.js} +20 -20
- package/dist/chunks/{skill-tegs1ycp.js → formatter-xcd0eash.js} +6 -6
- package/dist/chunks/{skill-vr9br9b3.js → formatter-xcexsawf.js} +33 -33
- package/dist/chunks/{skill-wwq19wsf.js → formatter-xgsj2745.js} +5 -5
- package/dist/chunks/{skill-wknnvmh5.js → formatter-xj0ka1v1.js} +11 -11
- package/dist/chunks/{skill-q6hmgxfy.js → formatter-xmrxjf82.js} +25 -25
- package/dist/chunks/{skill-g9qy5730.js → formatter-xxqjg4x2.js} +60 -60
- package/dist/chunks/{skill-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-5hckghy7.js → formatter-y1m8s9mq.js} +25 -25
- package/dist/chunks/{skill-mz4wv8nb.js → formatter-y4t3c8zk.js} +13 -13
- package/dist/chunks/{skill-y71avatq.js → formatter-y71avatq.js} +1 -1
- package/dist/chunks/{skill-k41pdhxj.js → formatter-yn9r1x73.js} +21 -21
- package/dist/chunks/{skill-rhraev7y.js → formatter-yp2x3t23.js} +4 -4
- package/dist/chunks/{skill-3cwb9jzf.js → formatter-yvvvp4gn.js} +8 -8
- package/dist/chunks/{skill-vbek984v.js → formatter-yx0rmv9r.js} +8 -8
- package/dist/chunks/{skill-9tn557k3.js → formatter-yyht7rfr.js} +3 -3
- package/dist/chunks/{skill-00qrbj62.js → formatter-yyjkxqgj.js} +1 -1
- package/dist/chunks/{skill-06xsmntz.js → formatter-yz37vbp4.js} +2 -2
- package/dist/chunks/{skill-9g88hcsg.js → formatter-yz8mk3e2.js} +44 -44
- package/dist/chunks/{skill-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/formatter-z5mqx5tk.js +257 -0
- package/dist/chunks/{skill-wf494znr.js → formatter-za681khs.js} +11 -11
- package/dist/chunks/{skill-qx787nm7.js → formatter-zct15kyb.js} +8 -8
- package/dist/chunks/{skill-vb3m6eyp.js → formatter-zjww4jny.js} +20 -20
- package/dist/chunks/{skill-azhh6n6p.js → formatter-znhp5m3s.js} +36 -36
- package/dist/chunks/{skill-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-sd35z9tw.js → formatter-zrq3bjv4.js} +9 -9
- package/dist/chunks/{skill-6fq7r47e.js → formatter-zxczbdfd.js} +5 -5
- package/dist/chunks/{skill-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +204 -204
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- 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 +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/skill-961073wv.js +0 -26
- package/dist/chunks/skill-jpqp0310.js +0 -257
- package/dist/chunks/skill-vnkjks7b.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2bv980vf.js → formatter-2bv980vf.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → formatter-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → formatter-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{skill-pyv0edze.js → formatter-pyv0edze.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin8,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin8 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin3 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin8, exports_exa };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-j34dxvpb.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ftwm2p4f.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-0zcqa60s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./formatter-kqezzyfk.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin49,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin49 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service85;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service69;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin49, exports_plugin };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-0zcqa60s.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
|
+
Reply: () => Reply3,
|
|
25
|
+
Service: () => Service76,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer27,
|
|
29
|
+
node: () => node79,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service76 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer27 = Layer.effect(Service76, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service76.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node79 = makeLocationNode({ service: Service76, layer: layer27, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service76, layer27, node79, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service56,
|
|
3
|
+
node58,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-zrq3bjv4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node54
|
|
9
|
+
} from "./formatter-xcd0eash.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service14
|
|
12
|
+
} from "./formatter-9k0q07qp.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-z5mqx5tk.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service56, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service14);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node54.replace(Layer.succeed(Service52, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node58.replace(Layer.succeed(Service56, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./formatter-5gwznhg8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service75,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-a5399v6v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./formatter-xj0ka1v1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./formatter-682gxy8b.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./formatter-ejgr9gnj.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin28,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin28 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service16;
|
|
56
|
+
const fileMutation = yield* Service75;
|
|
57
|
+
const environment = yield* Service80;
|
|
58
|
+
const formatter = yield* Service66;
|
|
59
|
+
const permission = yield* Service57;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output8, toModelContent5, Plugin28, exports_write };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-ahej7gkg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID5.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-0zcqa60s.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
@@ -29,7 +29,7 @@ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
29
29
|
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
|
-
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
32
|
+
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-tm0kqsz3.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-ndc46fve.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-n6j8zy7f.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service85,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-0zcqa60s.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node74
|
|
9
|
+
} from "./formatter-2thwhjsv.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event14,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service69,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node72,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service69 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event14 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service71;
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service69.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node72 = makeGlobalNode({ service: Service69, layer, deps: [httpClient, node74, node89] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service69, Event14, inspect2, resolve4, node72, exports_wellknown };
|