@opencode/core 0.0.0-dev-220 → 0.0.0-dev-224
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 +89 -89
- package/dist/aisdk-native.js +99 -99
- package/dist/aisdk.js +105 -105
- package/dist/app.js +7 -7
- package/dist/bus.js +77 -77
- package/dist/chunks/{kv-gfge5jvq.js → filesystem-04kfhdy6.js} +4 -4
- package/dist/chunks/{kv-v2ez46s2.js → filesystem-0ef2mh1p.js} +11 -11
- package/dist/chunks/{kv-sqjzf8x2.js → filesystem-0j7gp832.js} +4 -4
- package/dist/chunks/{kv-7vppvan5.js → filesystem-0j7sp27n.js} +5 -5
- package/dist/chunks/{kv-ye8h2zwf.js → filesystem-0p5w6zwq.js} +22 -22
- package/dist/chunks/{kv-0w2jttgf.js → filesystem-0w2jttgf.js} +2 -2
- package/dist/chunks/{kv-6ajg7n55.js → filesystem-11khfpwy.js} +5 -5
- package/dist/chunks/{kv-h6f1yd3e.js → filesystem-167dk08f.js} +37 -37
- package/dist/chunks/{kv-dqha5xxy.js → filesystem-195h2ce0.js} +33 -33
- package/dist/chunks/{kv-8bhp05y1.js → filesystem-195qsevx.js} +78 -78
- package/dist/chunks/{kv-b7gscnqx.js → filesystem-19gd0q7m.js} +17 -17
- package/dist/chunks/{kv-xxampj5x.js → filesystem-1e6my1g7.js} +17 -17
- package/dist/chunks/{kv-d94yyeb9.js → filesystem-1fyseb9g.js} +30 -30
- package/dist/chunks/{kv-c46s9eb3.js → filesystem-1gyrxqmm.js} +5 -5
- package/dist/chunks/{kv-ds7s58c2.js → filesystem-1q8aebw4.js} +3 -3
- package/dist/chunks/{kv-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{kv-tvfgc8z5.js → filesystem-204nxwvy.js} +45 -45
- package/dist/chunks/{kv-204s3925.js → filesystem-204s3925.js} +1 -1
- package/dist/chunks/{kv-vzppetdn.js → filesystem-26x8chrq.js} +6 -6
- package/dist/chunks/{kv-1ep2p91f.js → filesystem-27w5k9zf.js} +2 -2
- package/dist/chunks/{kv-8rgb2cvr.js → filesystem-2am13szv.js} +11 -11
- package/dist/chunks/filesystem-2dkjcnxp.js +18 -0
- package/dist/chunks/{kv-jx1rt6bm.js → filesystem-2gdytpx5.js} +35 -35
- package/dist/chunks/{kv-v05nc33y.js → filesystem-2k2r9cp7.js} +17 -17
- package/dist/chunks/{kv-tsf79j3w.js → filesystem-2rhrbycz.js} +5 -5
- package/dist/chunks/{kv-pnd6yhbb.js → filesystem-31s64znz.js} +24 -24
- package/dist/chunks/{kv-agqd6nxz.js → filesystem-36qx82yz.js} +2 -2
- package/dist/chunks/{kv-ayjs7tqn.js → filesystem-3cbjf1nt.js} +2 -2
- package/dist/chunks/{kv-nqt0rnqz.js → filesystem-3gse1gra.js} +10 -10
- package/dist/chunks/{kv-j1rmbcb1.js → filesystem-3gytc1y7.js} +28 -28
- package/dist/chunks/{kv-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-5a22xwpn.js → filesystem-3j4skgfc.js} +9 -9
- package/dist/chunks/{kv-7vqmw3sn.js → filesystem-3n9wrer5.js} +19 -19
- package/dist/chunks/{kv-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{kv-4847f668.js → filesystem-3xfh9pkc.js} +16 -16
- package/dist/chunks/{kv-rm3kdsrk.js → filesystem-40j8v2af.js} +339 -339
- package/dist/chunks/{kv-yg4xz38f.js → filesystem-43h1mxk5.js} +81 -81
- package/dist/chunks/{kv-jhcvgvr6.js → filesystem-4m1azjz9.js} +21 -21
- package/dist/chunks/{kv-52t9gqeq.js → filesystem-4papv57p.js} +30 -30
- package/dist/chunks/{kv-4pyp9zr9.js → filesystem-4pyp9zr9.js} +1 -1
- package/dist/chunks/{kv-04ha61zj.js → filesystem-4r140ydd.js} +10 -10
- package/dist/chunks/{kv-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{kv-at3qw7wz.js → filesystem-4xgq8f2s.js} +14 -14
- package/dist/chunks/{kv-qvjwss32.js → filesystem-53f1f277.js} +8 -8
- package/dist/chunks/{kv-jcpk82zm.js → filesystem-57ye470h.js} +5 -5
- package/dist/chunks/{kv-thnc25bd.js → filesystem-5d1r9gpy.js} +16 -16
- package/dist/chunks/{kv-w2eysc6j.js → filesystem-5enarcya.js} +6 -6
- package/dist/chunks/{kv-61thn005.js → filesystem-5erf8ecf.js} +20 -20
- package/dist/chunks/{kv-c2fax6kv.js → filesystem-5f4zfvgc.js} +4 -4
- package/dist/chunks/{kv-gbgp8t9w.js → filesystem-5hsr0zt7.js} +27 -27
- package/dist/chunks/{kv-eamxt9ya.js → filesystem-5k0ygmt7.js} +25 -25
- package/dist/chunks/{kv-jmydtm9v.js → filesystem-5khgwaht.js} +30 -30
- package/dist/chunks/{kv-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-4tqs0jzk.js → filesystem-5w1mdqt7.js} +4 -4
- package/dist/chunks/{kv-rt637qmr.js → filesystem-62brbbaq.js} +20 -20
- package/dist/chunks/{kv-h1fd1zdz.js → filesystem-630xfjjk.js} +3 -3
- package/dist/chunks/{kv-j6q561b5.js → filesystem-684rr1fc.js} +5 -5
- package/dist/chunks/{kv-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{kv-d7akxsfc.js → filesystem-6s4bs33q.js} +6 -6
- package/dist/chunks/{kv-76cb1hcw.js → filesystem-76cb1hcw.js} +1 -1
- package/dist/chunks/{kv-jchkmxa0.js → filesystem-79dcp6vm.js} +11 -11
- package/dist/chunks/{kv-3bn85y8g.js → filesystem-79vckntf.js} +31 -31
- package/dist/chunks/{kv-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-v9x4gzxv.js → filesystem-7g2g3969.js} +18 -18
- package/dist/chunks/{kv-3hsgvtvz.js → filesystem-7gf675tv.js} +25 -25
- package/dist/chunks/{kv-ma7t0w64.js → filesystem-7m14jn42.js} +12 -12
- package/dist/chunks/{kv-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{kv-hynthsg4.js → filesystem-7xx3q0hc.js} +9 -9
- package/dist/chunks/filesystem-8b3vzgkx.js +17 -0
- package/dist/chunks/{kv-3jymkt4s.js → filesystem-8dfptpqb.js} +4 -4
- package/dist/chunks/{kv-1xvmkwc1.js → filesystem-8fgfvr5b.js} +16 -16
- package/dist/chunks/{kv-8jztxfpf.js → filesystem-8jztxfpf.js} +1 -1
- package/dist/chunks/{kv-vwttaq9x.js → filesystem-8k393grp.js} +11 -11
- package/dist/chunks/{kv-kgc898hj.js → filesystem-8sv07mwj.js} +10 -10
- package/dist/chunks/{kv-sh593rcs.js → filesystem-8txy58cb.js} +15 -15
- package/dist/chunks/{kv-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{kv-mwkpd8g6.js → filesystem-8x0pab5n.js} +8 -8
- package/dist/chunks/{kv-xwmtk72n.js → filesystem-8x6dz44a.js} +8 -8
- package/dist/chunks/{kv-4qy1z7f6.js → filesystem-90kfhhe6.js} +22 -22
- package/dist/chunks/{kv-90zstvax.js → filesystem-90zstvax.js} +1 -1
- package/dist/chunks/{kv-ww3hkwgk.js → filesystem-98tqkwke.js} +11 -11
- package/dist/chunks/{kv-633sd1y2.js → filesystem-9a0z0sm4.js} +17 -17
- package/dist/chunks/{kv-4g429xmd.js → filesystem-9azm90ns.js} +20 -20
- package/dist/chunks/{kv-kahm3ndg.js → filesystem-9bnd18qk.js} +15 -15
- package/dist/chunks/{kv-9swetm95.js → filesystem-9exsw83t.js} +11 -11
- package/dist/chunks/{kv-e5p345z4.js → filesystem-9js77jy1.js} +3 -3
- package/dist/chunks/{kv-ks9peych.js → filesystem-9jzp3j8d.js} +25 -25
- package/dist/chunks/{kv-ybt8qzqk.js → filesystem-9pt42hrs.js} +18 -18
- package/dist/chunks/{kv-s8sm6pz9.js → filesystem-9t393xpw.js} +42 -42
- package/dist/chunks/{kv-f6m9q3z5.js → filesystem-9yk2b1f9.js} +7 -7
- package/dist/chunks/{kv-034tev2y.js → filesystem-aj7mw0zk.js} +2 -2
- package/dist/chunks/{kv-8y4f3b6m.js → filesystem-aktfspq0.js} +11 -11
- package/dist/chunks/{kv-pa952zd5.js → filesystem-am4a9j2m.js} +1 -1
- package/dist/chunks/{kv-xef7rqtq.js → filesystem-amvexxv0.js} +48 -48
- package/dist/chunks/{kv-hgkkk3en.js → filesystem-b4a5nyx5.js} +173 -173
- package/dist/chunks/{kv-5nnwax6m.js → filesystem-b6vsg801.js} +5 -5
- package/dist/chunks/{kv-yf4mtc0f.js → filesystem-bafv7pw0.js} +7 -7
- package/dist/chunks/{kv-7gsvdv77.js → filesystem-bd6gbyhv.js} +8 -8
- package/dist/chunks/{kv-3ynrmz35.js → filesystem-bm0v3ha5.js} +28 -28
- package/dist/chunks/{kv-ckem8rwf.js → filesystem-bpqrf6t1.js} +14 -14
- package/dist/chunks/{kv-4sbgv4xb.js → filesystem-bsrm4kv0.js} +6 -6
- package/dist/chunks/{kv-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
- package/dist/chunks/{kv-9s28vret.js → filesystem-bt2f0stj.js} +23 -23
- package/dist/chunks/{kv-gbeftx2c.js → filesystem-bt9jv65t.js} +30 -30
- package/dist/chunks/{kv-m4dmg5tq.js → filesystem-bv0cpx15.js} +14 -14
- package/dist/chunks/{kv-x3zd0b7w.js → filesystem-c28jsxxt.js} +24 -24
- package/dist/chunks/{kv-dxzgq9mt.js → filesystem-c6zarp28.js} +11 -11
- package/dist/chunks/{kv-9gj0w5vn.js → filesystem-c951tkze.js} +7 -7
- package/dist/chunks/{kv-b1pn0vxn.js → filesystem-c9t2ty9q.js} +4 -4
- package/dist/chunks/{kv-69shnrg3.js → filesystem-ce6qzbvg.js} +17 -17
- package/dist/chunks/filesystem-cn3hegtz.js +26 -0
- package/dist/chunks/{kv-0ahs07zn.js → filesystem-cpvd08na.js} +4 -4
- package/dist/chunks/{kv-ewym2d35.js → filesystem-crx66x63.js} +28 -28
- package/dist/chunks/{kv-cwrgdav8.js → filesystem-cwrgdav8.js} +2 -2
- package/dist/chunks/{kv-nswvxj5k.js → filesystem-cx9pac8b.js} +4 -4
- package/dist/chunks/{kv-mzw7cnwp.js → filesystem-d3ckdkwn.js} +3 -3
- package/dist/chunks/{kv-sz1d7yss.js → filesystem-daeazrnz.js} +14 -14
- package/dist/chunks/{kv-5mm8f81r.js → filesystem-dkqbcpdf.js} +5 -5
- package/dist/chunks/{kv-dt77769w.js → filesystem-dt77769w.js} +1 -1
- package/dist/chunks/filesystem-dwbakpgx.js +257 -0
- package/dist/chunks/{kv-9svpjq3a.js → filesystem-e4zn5652.js} +3 -3
- package/dist/chunks/{kv-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{kv-wm6mgyw2.js → filesystem-e8mz2xb5.js} +43 -43
- package/dist/chunks/{kv-hryaegyv.js → filesystem-e9fqtmvn.js} +6 -6
- package/dist/chunks/{kv-9xm13q7e.js → filesystem-ehrt3y5n.js} +12 -12
- package/dist/chunks/{kv-k98kmmbk.js → filesystem-enmtzxqx.js} +13 -13
- package/dist/chunks/{kv-kd2z5z9c.js → filesystem-ew8c46dw.js} +11 -11
- package/dist/chunks/{kv-j6bs70x1.js → filesystem-f76bnh21.js} +34 -34
- package/dist/chunks/{kv-w05smnam.js → filesystem-f7b4jqep.js} +22 -22
- package/dist/chunks/{kv-63krpghe.js → filesystem-fdje41h6.js} +32 -32
- package/dist/chunks/{kv-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{kv-2rd32aej.js → filesystem-ffg810n4.js} +16 -16
- package/dist/chunks/{kv-prq7xxp2.js → filesystem-fg9p65nk.js} +6 -6
- package/dist/chunks/{kv-n7v9rxsn.js → filesystem-fghs85vj.js} +21 -21
- package/dist/chunks/{kv-qe6tdfev.js → filesystem-fs6ar2fx.js} +18 -18
- package/dist/chunks/{kv-7a3c5r1g.js → filesystem-fzbtpn6v.js} +4 -4
- package/dist/chunks/{kv-wr3re1en.js → filesystem-fznmdakp.js} +4 -4
- package/dist/chunks/{kv-gmcaypba.js → filesystem-g14zw2sb.js} +44 -44
- package/dist/chunks/{kv-s8q4kr0g.js → filesystem-g2d7pwec.js} +3 -3
- package/dist/chunks/{kv-a42ahrx1.js → filesystem-g8ffzbm5.js} +3 -3
- package/dist/chunks/{kv-bf66261d.js → filesystem-gcbtwra8.js} +2 -2
- package/dist/chunks/{kv-57rxwkwv.js → filesystem-gerrpf33.js} +4 -4
- package/dist/chunks/{kv-t93906nx.js → filesystem-gfv476g8.js} +12 -12
- package/dist/chunks/{kv-rqgh6f0p.js → filesystem-gfwwbhdd.js} +25 -25
- package/dist/chunks/{kv-p48hdm09.js → filesystem-ghs82689.js} +11 -11
- package/dist/chunks/{kv-d4v9tmah.js → filesystem-gn8tkhbf.js} +2 -2
- package/dist/chunks/{kv-g4a9tkat.js → filesystem-gq549b3b.js} +4 -4
- package/dist/chunks/{kv-ea0rn8y9.js → filesystem-gr5tmgzz.js} +5 -5
- package/dist/chunks/{kv-74mpvf4f.js → filesystem-gyqryh5y.js} +8 -8
- package/dist/chunks/{kv-nad4mkqt.js → filesystem-h0ppebc3.js} +8 -8
- package/dist/chunks/{kv-tbz6hn3s.js → filesystem-h5137fsx.js} +3 -3
- package/dist/chunks/{kv-js46qwqq.js → filesystem-h68jz125.js} +38 -38
- package/dist/chunks/{kv-shx1cm30.js → filesystem-hb2vdfk5.js} +10 -10
- package/dist/chunks/{kv-m7xh3h0x.js → filesystem-hd3k4wz8.js} +4 -4
- package/dist/chunks/{kv-aa2ns65p.js → filesystem-hk9d81vf.js} +16 -16
- package/dist/chunks/{kv-hpg1pkwy.js → filesystem-hpg1pkwy.js} +1 -1
- package/dist/chunks/{kv-fejsg08h.js → filesystem-ht92kc8y.js} +25 -25
- package/dist/chunks/{kv-daj7chhq.js → filesystem-j3gxxqsz.js} +23 -23
- package/dist/chunks/{kv-jfaecv01.js → filesystem-jfaecv01.js} +1 -1
- package/dist/chunks/{kv-k7fcp7vh.js → filesystem-jphwvgs8.js} +8 -8
- package/dist/chunks/{kv-8x5yjrep.js → filesystem-js15026g.js} +13 -13
- package/dist/chunks/{kv-jtnps1zs.js → filesystem-jtnps1zs.js} +2 -2
- package/dist/chunks/{kv-25xb6pe7.js → filesystem-jv7sy112.js} +25 -22
- package/dist/chunks/{kv-bg484meh.js → filesystem-jydyt1jv.js} +29 -29
- package/dist/chunks/{kv-t9bz6ak5.js → filesystem-jz8jyxed.js} +30 -30
- package/dist/chunks/{kv-34jrcrfp.js → filesystem-jzcwvdq8.js} +13 -13
- package/dist/chunks/{kv-0c5200xg.js → filesystem-k004b52r.js} +25 -25
- package/dist/chunks/{kv-xw5bqvrx.js → filesystem-k4a4wn9h.js} +9 -9
- package/dist/chunks/{kv-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
- package/dist/chunks/{kv-kkzv3wph.js → filesystem-k93vvdep.js} +9 -9
- package/dist/chunks/{kv-egz82r8a.js → filesystem-kavymhq0.js} +8 -8
- package/dist/chunks/{kv-ts8cpkvv.js → filesystem-kbh9re52.js} +41 -41
- package/dist/chunks/{kv-x75aecwm.js → filesystem-kcbmbrq1.js} +20 -20
- package/dist/chunks/{kv-adxkyhe2.js → filesystem-kg14195c.js} +8 -8
- package/dist/chunks/{kv-kgvyhc3g.js → filesystem-kkkxjsrn.js} +10 -10
- package/dist/chunks/{kv-kt3bjfbg.js → filesystem-kt3bjfbg.js} +1 -1
- package/dist/chunks/{kv-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{kv-8vbymk7s.js → filesystem-m337p9dc.js} +9 -9
- package/dist/chunks/{kv-nepyj2zh.js → filesystem-m8pt14ww.js} +6 -6
- package/dist/chunks/{kv-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-qa1v0dcw.js → filesystem-mbca2wch.js} +10 -10
- package/dist/chunks/{kv-efaww74b.js → filesystem-mjyzbzxc.js} +2 -2
- package/dist/chunks/{kv-5bt48bf8.js → filesystem-mkryjhx5.js} +32 -32
- package/dist/chunks/{kv-ephaerw8.js → filesystem-mstrsafp.js} +1 -1
- package/dist/chunks/{kv-w667zm0d.js → filesystem-mv5c0h3x.js} +6 -6
- package/dist/chunks/{kv-zfbaz3eg.js → filesystem-mw6cyxws.js} +22 -22
- package/dist/chunks/{kv-ta4h3adp.js → filesystem-n561m3b7.js} +13 -13
- package/dist/chunks/{kv-770pw0s1.js → filesystem-nah043kf.js} +4 -4
- package/dist/chunks/{kv-t9bxgeh8.js → filesystem-nazdnmrt.js} +12 -12
- package/dist/chunks/{kv-f9bjw1xa.js → filesystem-nrefv84q.js} +67 -59
- package/dist/chunks/{kv-h9gr7s7t.js → filesystem-nshrevkn.js} +9 -9
- package/dist/chunks/{kv-6zzadmn7.js → filesystem-nsve5tx4.js} +11 -11
- package/dist/chunks/{kv-b702c733.js → filesystem-ny1sy5a3.js} +1 -1
- package/dist/chunks/{kv-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{kv-p7vhpwh8.js → filesystem-p7vhpwh8.js} +1 -1
- package/dist/chunks/{kv-1r7af8ee.js → filesystem-pakndkhn.js} +3 -3
- package/dist/chunks/{kv-n3jfc8px.js → filesystem-pdbtcapx.js} +28 -28
- package/dist/chunks/{kv-8pffgsza.js → filesystem-pjg812bt.js} +15 -15
- package/dist/chunks/{kv-2ftpkp9m.js → filesystem-pkayehgb.js} +11 -11
- package/dist/chunks/{kv-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{kv-dgf6zq35.js → filesystem-pnr9n7z9.js} +16 -16
- package/dist/chunks/{kv-yara3q77.js → filesystem-pxtfkpje.js} +2 -2
- package/dist/chunks/{kv-78a6ksdd.js → filesystem-q09rr5xd.js} +27 -27
- package/dist/chunks/{kv-v3c6vjpc.js → filesystem-q9n7yxac.js} +10 -10
- package/dist/chunks/{kv-zwyvyh0a.js → filesystem-qcgrm8q2.js} +34 -34
- package/dist/chunks/{kv-q2pskytr.js → filesystem-qh51c2hm.js} +14 -14
- package/dist/chunks/{kv-pxdj1q62.js → filesystem-qm7hy0s1.js} +28 -28
- package/dist/chunks/{kv-qp7r0hxv.js → filesystem-qp7r0hxv.js} +1 -1
- package/dist/chunks/{kv-qqvy8y24.js → filesystem-qqvy8y24.js} +1 -1
- package/dist/chunks/{kv-t1m8yzy8.js → filesystem-qvmjkfdq.js} +11 -11
- package/dist/chunks/{kv-j83smehp.js → filesystem-qwzahezh.js} +3 -3
- package/dist/chunks/{kv-hjfa1fnd.js → filesystem-qy5vca9h.js} +5 -5
- package/dist/chunks/{kv-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
- package/dist/chunks/{kv-hvy79q2t.js → filesystem-r4j0x99n.js} +9 -9
- package/dist/chunks/{kv-r542h3bh.js → filesystem-r542h3bh.js} +1 -1
- package/dist/chunks/{kv-5ybmaaxe.js → filesystem-r66kyd6j.js} +24 -24
- package/dist/chunks/{kv-e72jqpxh.js → filesystem-rawze43q.js} +39 -39
- package/dist/chunks/{kv-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{kv-0a14bvbq.js → filesystem-rrjvevf9.js} +12 -12
- package/dist/chunks/{kv-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{kv-jscvymgc.js → filesystem-rx9fgwcp.js} +9 -9
- package/dist/chunks/{kv-q61bmwds.js → filesystem-rxg1n2es.js} +3 -3
- package/dist/chunks/{kv-ryf5krpb.js → filesystem-s336ghke.js} +11 -11
- package/dist/chunks/{kv-s7gmm2q3.js → filesystem-s7gmm2q3.js} +3 -3
- package/dist/chunks/{kv-12cn17wj.js → filesystem-s7wv3tb2.js} +18 -18
- package/dist/chunks/{kv-sa3fpqfw.js → filesystem-sa3fpqfw.js} +2 -2
- package/dist/chunks/{kv-4ye3148g.js → filesystem-smjmfamq.js} +93 -91
- package/dist/chunks/{kv-e07q2w5p.js → filesystem-snb901t2.js} +4 -4
- package/dist/chunks/{kv-2vyekkkc.js → filesystem-snc187et.js} +21 -21
- package/dist/chunks/{kv-ajcpcdxh.js → filesystem-srb5905y.js} +15 -15
- package/dist/chunks/{kv-svcy3p9a.js → filesystem-svcy3p9a.js} +1 -1
- package/dist/chunks/{kv-6bzdkscq.js → filesystem-t5ntgcha.js} +30 -30
- package/dist/chunks/{kv-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{kv-n78qdz6f.js → filesystem-tfzwejs7.js} +11 -11
- package/dist/chunks/{kv-av2nmxmh.js → filesystem-tg6k312r.js} +19 -19
- package/dist/chunks/{kv-q7efev1k.js → filesystem-tge6e9e7.js} +18 -18
- package/dist/chunks/{kv-mt04zp9g.js → filesystem-tgpcajrp.js} +25 -25
- package/dist/chunks/{kv-sth2mpx1.js → filesystem-tvp0dzzs.js} +2 -2
- package/dist/chunks/{kv-599a1s2w.js → filesystem-twh1nspr.js} +9 -9
- package/dist/chunks/{kv-twssxy5n.js → filesystem-twssxy5n.js} +2 -2
- package/dist/chunks/{kv-3qx2d3by.js → filesystem-tz83c6yk.js} +35 -35
- package/dist/chunks/{kv-s7kyse9r.js → filesystem-v0t96s7a.js} +4 -4
- package/dist/chunks/{kv-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{kv-e86zhykr.js → filesystem-v7t6jh72.js} +13 -13
- package/dist/chunks/{kv-18g90bpv.js → filesystem-vc2a1z4h.js} +9 -9
- package/dist/chunks/{kv-26hpmn7d.js → filesystem-vd8rwa0c.js} +18 -18
- package/dist/chunks/{kv-sw303ny0.js → filesystem-vh2h6g1h.js} +10 -10
- package/dist/chunks/{kv-m37sd98t.js → filesystem-vmfhgzt5.js} +4 -4
- package/dist/chunks/{kv-qbard0ja.js → filesystem-vpe8h0t6.js} +56 -56
- package/dist/chunks/{kv-sraj155f.js → filesystem-vsmzqk2y.js} +56 -56
- package/dist/chunks/{kv-wbqjejvk.js → filesystem-vsr0eqbt.js} +2 -2
- package/dist/chunks/{kv-7tq5dytk.js → filesystem-vx54jen0.js} +21 -21
- package/dist/chunks/{kv-fzb1j6q3.js → filesystem-vykrxgmq.js} +4 -4
- package/dist/chunks/{kv-t5p319pj.js → filesystem-vys2hz9a.js} +2 -2
- package/dist/chunks/{kv-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-jxda6dbt.js → filesystem-waj9pdqz.js} +25 -25
- package/dist/chunks/{kv-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{kv-r555eje6.js → filesystem-wav8c0w2.js} +25 -25
- package/dist/chunks/{kv-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{kv-wnhgecwx.js → filesystem-wnhgecwx.js} +1 -1
- package/dist/chunks/{kv-dnkd09hs.js → filesystem-wr75p8wj.js} +19 -19
- package/dist/chunks/{kv-92azg307.js → filesystem-wz5tj16h.js} +5 -5
- package/dist/chunks/{kv-hc58cmaw.js → filesystem-x6rjmcaj.js} +11 -11
- package/dist/chunks/{kv-e6dfer8c.js → filesystem-x85yhxtw.js} +25 -25
- package/dist/chunks/{kv-nt66xtkz.js → filesystem-xfqm8zp4.js} +24 -24
- package/dist/chunks/{kv-95sp4hdf.js → filesystem-xk2zn0cv.js} +4 -4
- package/dist/chunks/{kv-s91tv05p.js → filesystem-xkkam4tz.js} +11 -11
- package/dist/chunks/{kv-9xhmkd72.js → filesystem-xm3a73ht.js} +8 -8
- package/dist/chunks/{kv-b0npgc9t.js → filesystem-xt0z8zst.js} +8 -8
- package/dist/chunks/{kv-012zgee3.js → filesystem-y73qp9rw.js} +3 -3
- package/dist/chunks/{kv-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{kv-64a4dgx4.js → filesystem-yc4xwjk4.js} +9 -9
- package/dist/chunks/{kv-f37hb3vx.js → filesystem-ydjecrt5.js} +30 -14
- package/dist/chunks/{kv-hknpeeyr.js → filesystem-yh0hfha7.js} +21 -21
- package/dist/chunks/{kv-2zp5a6yg.js → filesystem-yjjyz0e3.js} +3 -3
- package/dist/chunks/{kv-v5hpj9dd.js → filesystem-ykvsfm8k.js} +8 -8
- package/dist/chunks/{kv-kx2hsc0a.js → filesystem-ym1e38ts.js} +6 -6
- package/dist/chunks/{kv-r8z6cp6s.js → filesystem-yr0nyka5.js} +10 -10
- package/dist/chunks/{kv-mfq1s597.js → filesystem-yvpg4w4a.js} +20 -20
- package/dist/chunks/{kv-65qthyj5.js → filesystem-ywhza86r.js} +18 -18
- package/dist/chunks/{kv-qwxwvmsk.js → filesystem-yyx7mbnb.js} +23 -23
- package/dist/chunks/{kv-qkzwxqy8.js → filesystem-z2m3me10.js} +10 -10
- package/dist/chunks/{kv-2jzckm7x.js → filesystem-z2wtb6wa.js} +48 -48
- package/dist/chunks/{kv-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
- package/dist/chunks/{kv-61frstw0.js → filesystem-z8rc56ez.js} +30 -30
- package/dist/chunks/{kv-n5q9ghjn.js → filesystem-zcrmr4y4.js} +47 -47
- package/dist/chunks/{kv-8p5baybq.js → filesystem-zk53j53a.js} +5 -5
- package/dist/chunks/{kv-5v7cas5c.js → filesystem-zqvff56k.js} +13 -13
- package/dist/chunks/{kv-yav7psvj.js → filesystem-zryjy72y.js} +27 -27
- package/dist/chunks/{kv-p6k3stbe.js → filesystem-zwftgptp.js} +9 -9
- package/dist/chunks/{kv-xddmewgr.js → filesystem-zyc5d1d0.js} +24 -24
- package/dist/chunks/{kv-egwx6sc7.js → filesystem-zytxfbbq.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +109 -109
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +164 -164
- package/dist/config/plugin/compatibility.js +144 -144
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +123 -123
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +125 -125
- package/dist/config/plugin/provider.js +124 -124
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +140 -140
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +147 -147
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +74 -74
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration.gen.js +57 -57
- package/dist/database/migration.js +59 -59
- 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 +102 -102
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +387 -386
- 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 +103 -103
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +105 -105
- 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 +78 -78
- package/dist/file-access.js +150 -150
- package/dist/file-mutation.js +104 -104
- 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 +85 -85
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +230 -230
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +109 -109
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +92 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +117 -117
- 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 +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/notice.js +8 -0
- 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 +378 -377
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +97 -97
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +97 -97
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +81 -81
- package/dist/location-activity.js +165 -165
- package/dist/location-lifecycle.js +144 -144
- package/dist/location-service-map.js +96 -96
- package/dist/location-services.js +375 -374
- package/dist/location.js +99 -99
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +101 -101
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +170 -170
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +100 -100
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- 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 +90 -90
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +83 -83
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +348 -347
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +107 -107
- package/dist/plugin/module.js +125 -125
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +140 -140
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +101 -101
- package/dist/plugin/provider/azure.js +123 -123
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +123 -123
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/credential-settings.js +82 -82
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +103 -103
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +105 -105
- package/dist/plugin/provider/gitlab.js +104 -104
- package/dist/plugin/provider/google-vertex.js +120 -120
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +86 -86
- package/dist/plugin/provider/lmstudio.js +132 -132
- package/dist/plugin/provider/local.js +129 -129
- package/dist/plugin/provider/modal.js +102 -102
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +132 -132
- package/dist/plugin/provider/openai-context-caps.js +100 -100
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +126 -126
- package/dist/plugin/provider/openrouter.js +101 -101
- package/dist/plugin/provider/poe.js +87 -87
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +101 -101
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +101 -101
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +174 -174
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +143 -143
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +366 -365
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +96 -96
- package/dist/plugin/vcs/hg.js +96 -96
- package/dist/plugin/verbosity.js +103 -103
- package/dist/plugin/warming.js +121 -121
- 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 +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +100 -100
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +90 -90
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +96 -96
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +227 -227
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -122
- package/dist/session/command.js +82 -82
- package/dist/session/compaction.js +166 -166
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +98 -98
- 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 +241 -234
- package/dist/session/execution.js +156 -156
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +129 -129
- package/dist/session/inbox.js +140 -140
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +130 -130
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +157 -157
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +158 -158
- package/dist/session/projector.js +136 -136
- package/dist/session/prompt.js +142 -142
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +132 -132
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +241 -241
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +110 -110
- package/dist/session/runner/publish-llm-event.js +143 -143
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +156 -156
- package/dist/session/runner/to-llm-message.js +130 -130
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +174 -174
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +141 -141
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +135 -135
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +217 -217
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +194 -194
- package/dist/session/to-session-error.js +142 -142
- package/dist/session/transfer.js +248 -226
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +145 -145
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +169 -169
- package/dist/tool/plugin/edit.js +158 -158
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +156 -156
- package/dist/tool/plugin/grep.js +162 -162
- package/dist/tool/plugin/image-generate.js +231 -230
- package/dist/tool/plugin/mcp-resource.js +156 -156
- package/dist/tool/plugin/opencode.js +155 -155
- package/dist/tool/plugin/patch.js +160 -160
- package/dist/tool/plugin/question.js +142 -142
- package/dist/tool/plugin/read.js +163 -163
- package/dist/tool/plugin/schedule.js +221 -221
- package/dist/tool/plugin/shell.js +226 -226
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +228 -228
- package/dist/tool/plugin/todo.js +147 -147
- package/dist/tool/plugin/webfetch.js +151 -151
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +160 -160
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/config/plugin/command.d.ts +1 -1
- package/dist/types/image/notice.d.ts +7 -0
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/plugin/command.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/models-dev.d.ts +1 -1
- package/dist/types/session/blob.d.ts +884 -17
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/revert.d.ts +2 -2
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/session.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/image-generate.d.ts +1 -0
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/usage-limits.js +97 -97
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +102 -102
- 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 +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -99
- package/dist/voice.js +98 -98
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +84 -84
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +90 -90
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- 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/kv-0ae5074t.js +0 -257
- package/dist/chunks/kv-731rr8nf.js +0 -26
- package/dist/chunks/kv-me0dhgxs.js +0 -18
- /package/dist/chunks/{kv-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1jakw16s.js → filesystem-1jakw16s.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5w3e23ze.js → filesystem-5w3e23ze.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-beh6qq61.js → filesystem-beh6qq61.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cqv5kn06.js → filesystem-cqv5kn06.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fkpq3x5p.js → filesystem-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jwr30sdr.js → filesystem-jwr30sdr.js} +0 -0
- /package/dist/chunks/{kv-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-ncqqe42p.js → filesystem-ncqqe42p.js} +0 -0
- /package/dist/chunks/{kv-nh4v3znn.js → filesystem-nh4v3znn.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p5j5bg0f.js → filesystem-p5j5bg0f.js} +0 -0
- /package/dist/chunks/{kv-p71gwv9c.js → filesystem-p71gwv9c.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-ty7weeps.js → filesystem-ty7weeps.js} +0 -0
- /package/dist/chunks/{kv-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
- /package/dist/chunks/{kv-zb5gs1ba.js → filesystem-zb5gs1ba.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node55
|
|
4
|
+
} from "./filesystem-zyc5d1d0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-xt0z8zst.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service22,
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,19 +61,19 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service22 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service52;
|
|
68
|
+
return Service22.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
76
|
-
key:
|
|
75
|
+
return make20({
|
|
76
|
+
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
79
79
|
render: {
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node26 = makeLocationNode({ service: Service22, layer, deps: [node55] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service22, node26, exports_instructions2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-vsmzqk2y.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-p5j5bg0f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-e8mz2xb5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin33
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin33 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin33, exports_plan };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-zb5gs1ba.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError8, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-204s3925.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./filesystem-g14zw2sb.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-z38nccrw.js";
|
|
10
10
|
import {
|
|
11
11
|
statements2,
|
|
12
12
|
decision2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-pakndkhn.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/policy.ts
|
|
22
22
|
var exports_policy = {};
|
|
23
23
|
__export(exports_policy, {
|
|
24
24
|
ConfigPolicyPlugin: () => exports_policy,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin7
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
|
-
var
|
|
29
|
+
var Plugin7 = define({
|
|
30
30
|
id: "opencode.config.policy",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const config = yield*
|
|
32
|
+
const config = yield* Service71;
|
|
33
33
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
34
34
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
35
35
|
const policies = () => statements2(loaded.entries);
|
|
@@ -73,4 +73,4 @@ var Plugin22 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin7, exports_policy };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-7m14jn42.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service87,
|
|
12
12
|
node91
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-g8ffzbm5.js";
|
|
14
14
|
import {
|
|
15
15
|
Service86,
|
|
16
16
|
node90
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-5f4zfvgc.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-aj7mw0zk.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-3cbjf1nt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID15,
|
|
26
|
+
NotFoundError12
|
|
27
|
+
} from "./filesystem-amvexxv0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./filesystem-2k2r9cp7.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service50,
|
|
33
|
+
node53
|
|
34
|
+
} from "./filesystem-ew8c46dw.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-gn8tkhbf.js";
|
|
39
39
|
import {
|
|
40
40
|
Service49
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./filesystem-ffg810n4.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,8 +49,8 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput4,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event7,
|
|
53
|
+
Info: () => Info11,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
@@ -61,7 +61,7 @@ __export(exports_worktree2, {
|
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node51
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput4 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info11 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,7 +90,7 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event7 = Worktree.Event;
|
|
94
94
|
|
|
95
95
|
class Service48 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
@@ -100,11 +100,11 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service86;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service50;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError12({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
118
|
return Context.get(context, Service49).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
259
|
+
var node51 = Node.makeGlobalNode({
|
|
260
260
|
service: Service48,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node90, node91, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node90, node91, AppProcess.node, node53]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput4, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput4, RemoveInput2, Info11, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service48, node51, exports_worktree2, OperationError2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-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,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-5f4zfvgc.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/command.ts
|
|
14
14
|
var exports_command4 = {};
|
|
15
15
|
__export(exports_command4, {
|
|
16
16
|
Command: () => exports_command4,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event4,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
19
|
Info: () => Info7,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Service: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError4,
|
|
21
|
+
Service: () => Service33,
|
|
22
|
+
layer: () => layer16,
|
|
23
|
+
node: () => node36
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
28
|
+
import { Event as Event4 } from "@opencode/schema/command";
|
|
29
29
|
var Info7 = Command.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
33
33
|
message: Schema.String
|
|
34
34
|
}) {
|
|
@@ -40,9 +40,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service33 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var layer16 = Layer.effect(Service33, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service86;
|
|
47
47
|
const info = (definition) => Info7.make({
|
|
48
48
|
name: definition.name,
|
|
@@ -56,7 +56,7 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service33.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -67,14 +67,14 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
67
67
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
68
68
|
const definition = state.get().get(input.name);
|
|
69
69
|
if (!definition)
|
|
70
|
-
return yield* new
|
|
70
|
+
return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
|
|
71
71
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
77
|
-
layer:
|
|
75
|
+
var node36 = makeLocationNode({
|
|
76
|
+
service: Service33,
|
|
77
|
+
layer: layer16,
|
|
78
78
|
deps: [node90]
|
|
79
79
|
});
|
|
80
80
|
function errorMessage(error) {
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export { Info7,
|
|
90
|
+
export { Info7, NotFoundError4, ExecutionError2, Service33, layer16, node36, exports_command4, Event4 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./filesystem-2k2r9cp7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service75
|
|
12
|
+
} from "./filesystem-r66kyd6j.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service62
|
|
15
|
+
} from "./filesystem-qh51c2hm.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-1fyseb9g.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service56
|
|
24
|
+
} from "./filesystem-e8mz2xb5.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service45
|
|
27
|
+
} from "./filesystem-wav8c0w2.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
@@ -35,9 +35,9 @@ __export(exports_glob, {
|
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
36
|
Input: () => Input9,
|
|
37
37
|
Output: () => Output7,
|
|
38
|
-
Plugin: () =>
|
|
38
|
+
Plugin: () => Plugin47,
|
|
39
39
|
name: () => name9,
|
|
40
|
-
toModelContent: () =>
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
@@ -56,21 +56,21 @@ var Input9 = Schema.Struct({
|
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
58
|
var Output7 = Schema.Array(Entry2);
|
|
59
|
-
var
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin47 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service75;
|
|
70
|
+
const ripgrep = yield* Service62;
|
|
71
|
+
const location = yield* Service79;
|
|
72
|
+
const access = yield* Service45;
|
|
73
|
+
const permission = yield* Service56;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
75
|
name: name9,
|
|
76
76
|
options: { codemode: false },
|
|
@@ -118,11 +118,11 @@ var Plugin10 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { name9, Input9, Output7,
|
|
128
|
+
export { name9, Input9, Output7, toModelContent4, Plugin47, exports_glob };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-8jztxfpf.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-sa3fpqfw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -24,11 +24,11 @@ __export(exports_git3, {
|
|
|
24
24
|
Git: () => exports_git3,
|
|
25
25
|
OperationError: () => OperationError3,
|
|
26
26
|
Repository: () => Repository2,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service81,
|
|
28
28
|
TreeID: () => TreeID2,
|
|
29
29
|
Worktree: () => Worktree2,
|
|
30
30
|
WorktreeError: () => WorktreeError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node85
|
|
32
32
|
});
|
|
33
33
|
import os from "os";
|
|
34
34
|
import path from "path";
|
|
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
109
109
|
}) {
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
class
|
|
112
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
115
115
|
const fs = yield* FSUtil.Service;
|
|
116
116
|
const proc = yield* AppProcess.Service;
|
|
117
117
|
const locks = makeUnsafe2();
|
|
@@ -834,7 +834,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
834
834
|
kind: index === 0 ? "main" : "linked"
|
|
835
835
|
}));
|
|
836
836
|
});
|
|
837
|
-
return
|
|
837
|
+
return Service81.of({
|
|
838
838
|
repo: { discover, fingerprint, clone, create },
|
|
839
839
|
remote: { get: remote },
|
|
840
840
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -851,7 +851,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
851
851
|
objects: { pack: packObjects }
|
|
852
852
|
});
|
|
853
853
|
}));
|
|
854
|
-
var
|
|
854
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
855
855
|
function run(cwd, proc, args) {
|
|
856
856
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
857
857
|
}
|
|
@@ -918,4 +918,4 @@ function resolvePath(cwd, value) {
|
|
|
918
918
|
return path.resolve(cwd, normalized);
|
|
919
919
|
}
|
|
920
920
|
|
|
921
|
-
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2,
|
|
921
|
+
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|