@opencode/core 0.0.0-dev-19971 → 0.0.0-dev-19973
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{websearch-hcpzh4y5.js → file-03ddm2ac.js} +24 -24
- package/dist/chunks/{websearch-c4b2kpxw.js → file-0cv69rnt.js} +11 -11
- package/dist/chunks/{websearch-syxn4zf7.js → file-0dvw3k89.js} +12 -12
- package/dist/chunks/{websearch-ctg6kqhn.js → file-0jt3tb20.js} +7 -7
- package/dist/chunks/{websearch-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{websearch-wbkyxrgf.js → file-0r7yqxbf.js} +5 -5
- package/dist/chunks/{websearch-z7x2t1h4.js → file-13dfa88x.js} +26 -26
- package/dist/chunks/{websearch-g4mwgykz.js → file-14fc18qr.js} +9 -9
- package/dist/chunks/{websearch-96dfwwyn.js → file-18gsyhex.js} +3 -3
- package/dist/chunks/{websearch-r8xr0va3.js → file-1acjjqhc.js} +4 -4
- package/dist/chunks/{websearch-kf97d77q.js → file-1b58hg41.js} +17 -17
- package/dist/chunks/{websearch-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-gyj5qngc.js → file-1qxb3sk8.js} +20 -20
- package/dist/chunks/{websearch-8g41p69m.js → file-1s2a2y7p.js} +11 -11
- package/dist/chunks/{websearch-v6v4kqhc.js → file-1vh0nr0y.js} +50 -50
- package/dist/chunks/{websearch-yqc7fef7.js → file-1w6hh1p9.js} +3 -3
- package/dist/chunks/{websearch-1ygqh575.js → file-1ygqh575.js} +2 -2
- package/dist/chunks/{websearch-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-mtq6xxnx.js → file-25m4ah6t.js} +4 -4
- package/dist/chunks/{websearch-2rshs1gx.js → file-293f31c0.js} +28 -28
- package/dist/chunks/{websearch-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{websearch-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-8s8mxddj.js → file-2evyaa68.js} +4 -4
- package/dist/chunks/{websearch-qgn6gcr1.js → file-2k8khapm.js} +5 -5
- package/dist/chunks/{websearch-3mms5ene.js → file-2n16nqjf.js} +3 -3
- package/dist/chunks/{websearch-wxv342sh.js → file-2xcgp7gj.js} +29 -29
- package/dist/chunks/file-31g0t493.js +252 -0
- package/dist/chunks/{websearch-kskv054x.js → file-37es8sy9.js} +9 -9
- package/dist/chunks/{websearch-gzahs6bb.js → file-38bdef71.js} +11 -11
- package/dist/chunks/{websearch-tx1ywgy3.js → file-3ez6024g.js} +14 -14
- package/dist/chunks/{websearch-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-7j2yenkd.js → file-3kdhhx66.js} +5 -5
- package/dist/chunks/{websearch-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-98v28jez.js → file-3vc4dk59.js} +21 -21
- package/dist/chunks/{websearch-eynpjjts.js → file-3w1rnthq.js} +9 -9
- package/dist/chunks/{websearch-09map6a0.js → file-40n69t94.js} +24 -24
- package/dist/chunks/{websearch-hfdggbzh.js → file-43d6rre2.js} +15 -15
- package/dist/chunks/{websearch-3t60d24d.js → file-43d7fjw1.js} +7 -7
- package/dist/chunks/{websearch-pvcexzwr.js → file-45vp9cex.js} +6 -6
- package/dist/chunks/{websearch-v3wvqj48.js → file-4fr18w13.js} +12 -12
- package/dist/chunks/{websearch-fhz5gfgy.js → file-4n607a2z.js} +5 -5
- package/dist/chunks/{websearch-wk5z6jzv.js → file-4nj4bn9q.js} +5 -5
- package/dist/chunks/{websearch-j1g0a8z5.js → file-4s6t339e.js} +15 -15
- package/dist/chunks/{websearch-jxy9pp01.js → file-4ze6gm64.js} +30 -30
- package/dist/chunks/{websearch-bg1wpsny.js → file-52sgb6yw.js} +18 -18
- package/dist/chunks/{websearch-57ez7d0k.js → file-57ez7d0k.js} +2 -2
- package/dist/chunks/{websearch-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-jca4demv.js → file-5nb2d01r.js} +2 -2
- package/dist/chunks/{websearch-m9x5r80r.js → file-5nqjkrmw.js} +8 -8
- package/dist/chunks/{websearch-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-qn9b0sqe.js → file-5v4jjjtv.js} +8 -8
- package/dist/chunks/{websearch-afed7ext.js → file-607q5haz.js} +5 -5
- package/dist/chunks/{websearch-mv0eyhkp.js → file-6144aq34.js} +12 -12
- package/dist/chunks/{websearch-2cby6ycg.js → file-61ngkm40.js} +24 -24
- package/dist/chunks/{websearch-ch9ef3fj.js → file-65ttj00x.js} +4 -4
- package/dist/chunks/{websearch-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{websearch-5bgxqkp2.js → file-6cnxk7mx.js} +8 -8
- package/dist/chunks/{websearch-jcynjjsm.js → file-6fhr0pkt.js} +6 -6
- package/dist/chunks/{websearch-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{websearch-bjnm8sq4.js → file-6ktwvsfe.js} +3 -3
- package/dist/chunks/{websearch-cavr175a.js → file-6m42r3np.js} +21 -21
- package/dist/chunks/{websearch-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-wk20jg90.js → file-6v1qfv2f.js} +39 -39
- package/dist/chunks/{websearch-1anmvv20.js → file-6yjt3wjz.js} +19 -19
- package/dist/chunks/{websearch-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-q17z9dx8.js → file-7xyrrtj6.js} +5 -5
- package/dist/chunks/{websearch-7zchfbzk.js → file-85h6gxgt.js} +5 -5
- package/dist/chunks/{websearch-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-hm7h5fnq.js → file-8emmqy2y.js} +76 -76
- package/dist/chunks/{websearch-8p4f9s12.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{websearch-10915612.js → file-8r9at6cd.js} +13 -13
- package/dist/chunks/{websearch-3yfsrc7f.js → file-8yaymg6a.js} +8 -8
- package/dist/chunks/{websearch-neyhfhbv.js → file-90h6t2z6.js} +20 -20
- package/dist/chunks/{websearch-nmtdsvx9.js → file-93gey591.js} +2 -2
- package/dist/chunks/{websearch-atp9h773.js → file-95tjqs8s.js} +11 -11
- package/dist/chunks/{websearch-9ykp1bjn.js → file-9b3xwcj2.js} +20 -20
- package/dist/chunks/{websearch-qxgb7w54.js → file-9k9rc8dk.js} +47 -47
- package/dist/chunks/{websearch-a1bz86dw.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{websearch-q5v2a16e.js → file-a1mse3js.js} +4 -4
- package/dist/chunks/{websearch-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-yt0fqk68.js → file-af04s6ss.js} +5 -5
- package/dist/chunks/{websearch-484ven3d.js → file-agnfd28k.js} +20 -20
- package/dist/chunks/{websearch-t7y12kcc.js → file-agqdc7j7.js} +3 -3
- package/dist/chunks/{websearch-4c8bw516.js → file-ahd542yp.js} +8 -8
- package/dist/chunks/{websearch-8rcz2q6j.js → file-apamx443.js} +23 -23
- package/dist/chunks/{websearch-dxvesfzj.js → file-apyffp7r.js} +43 -43
- package/dist/chunks/{websearch-ng2t6yjv.js → file-arr0yzrh.js} +4 -4
- package/dist/chunks/{websearch-4rdw2jk2.js → file-av1qv8sp.js} +11 -11
- package/dist/chunks/{websearch-3mwrkndb.js → file-ax6pb1z3.js} +15 -15
- package/dist/chunks/{websearch-85h867b1.js → file-ayqs356k.js} +48 -48
- package/dist/chunks/{websearch-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-k72x7rmb.js → file-b97kwyb9.js} +6 -6
- package/dist/chunks/{websearch-fxqygnfa.js → file-bajakh74.js} +4 -4
- package/dist/chunks/{websearch-paegk39x.js → file-bccb6npm.js} +4 -4
- package/dist/chunks/{websearch-x1zq0qjw.js → file-bf79bfp2.js} +16 -16
- package/dist/chunks/{websearch-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{websearch-ernzmvnm.js → file-ch7awch3.js} +36 -36
- package/dist/chunks/{websearch-gv5sesne.js → file-cqymy0yn.js} +17 -17
- package/dist/chunks/{websearch-sgm3x1y6.js → file-cxqahwfd.js} +20 -20
- package/dist/chunks/{websearch-8ank75fn.js → file-d2c2nyzk.js} +8 -8
- package/dist/chunks/{websearch-eg9c94rq.js → file-d50t6vt6.js} +1 -1
- package/dist/chunks/{websearch-657t18yv.js → file-d6sz2yz3.js} +4 -4
- package/dist/chunks/{websearch-r2gdke7a.js → file-d72r6y07.js} +7 -7
- package/dist/chunks/{websearch-8zyqjgnv.js → file-dbv4bwgz.js} +10 -10
- package/dist/chunks/{websearch-9fe2175z.js → file-dfrxsycg.js} +19 -19
- package/dist/chunks/{websearch-19j60k9b.js → file-djr0a131.js} +27 -27
- package/dist/chunks/{websearch-y71avatq.js → file-dpkg50ah.js} +4 -4
- package/dist/chunks/{websearch-z6wvr5eg.js → file-dps3wts7.js} +6 -6
- package/dist/chunks/{websearch-52j4gwnf.js → file-dt2zx11c.js} +5 -5
- package/dist/chunks/{websearch-7m2tq7cp.js → file-e0rvsnry.js} +12 -12
- package/dist/chunks/{websearch-5qd3pb7m.js → file-e3qxr5gk.js} +2 -2
- package/dist/chunks/{websearch-sneexhcr.js → file-e8qn9sht.js} +33 -33
- package/dist/chunks/{websearch-0f92sxzd.js → file-ebz4tpb1.js} +9 -9
- package/dist/chunks/{websearch-ef5x83kb.js → file-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-1twwwxc3.js → file-ekrar7jz.js} +10 -10
- package/dist/chunks/{websearch-pv02emkf.js → file-eq5e5q4h.js} +5 -5
- package/dist/chunks/{websearch-erw5rpbs.js → file-erw5rpbs.js} +2 -2
- package/dist/chunks/{websearch-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-cw351spq.js → file-ewjewney.js} +8 -8
- package/dist/chunks/{websearch-n64525wv.js → file-f2tc9nf8.js} +35 -35
- package/dist/chunks/{websearch-tt85xgdw.js → file-f3rghsp8.js} +26 -26
- package/dist/chunks/{websearch-f828m53h.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{websearch-3gr5sfar.js → file-feb7qkw1.js} +10 -10
- package/dist/chunks/{websearch-4nwwzap6.js → file-fh0r6x4j.js} +13 -13
- package/dist/chunks/{websearch-ygv8vf3r.js → file-fhjb7rt8.js} +4 -4
- package/dist/chunks/{websearch-r6bhbggm.js → file-frz1fex2.js} +29 -29
- package/dist/chunks/{websearch-67z5vx6v.js → file-fw4wab6g.js} +16 -16
- package/dist/chunks/{websearch-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{websearch-a37y538j.js → file-g50hb2qv.js} +8 -8
- package/dist/chunks/{websearch-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-9jan11yy.js → file-gdt4cbd6.js} +20 -20
- package/dist/chunks/{websearch-1mpytbrd.js → file-gj2nqsbr.js} +2 -2
- package/dist/chunks/{websearch-hc9acsgr.js → file-gs3psw06.js} +9 -9
- package/dist/chunks/{websearch-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-490js09j.js → file-gvjzk8t4.js} +7 -7
- package/dist/chunks/{websearch-kz4d7gxj.js → file-h1jwkh9k.js} +5 -5
- package/dist/chunks/{websearch-cpj0znwe.js → file-h6r3nrb9.js} +4 -4
- package/dist/chunks/{websearch-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-b1p2bp1h.js → file-h8bbzknd.js} +10 -10
- package/dist/chunks/{websearch-r6fe7wqt.js → file-hh8ms2yj.js} +10 -10
- package/dist/chunks/{websearch-b6m9cw84.js → file-hj28bw27.js} +14 -14
- package/dist/chunks/{websearch-e61g2f31.js → file-hrnxc6yg.js} +11 -11
- package/dist/chunks/{websearch-p491qsmh.js → file-hsr3srte.js} +15 -15
- package/dist/chunks/{websearch-9yx7mf9e.js → file-hvkdp02p.js} +24 -24
- package/dist/chunks/{websearch-gjmk74th.js → file-hwe7x4em.js} +6 -6
- package/dist/chunks/file-j1yvacg2.js +26 -0
- package/dist/chunks/{websearch-rg63q7m0.js → file-j30jdxv7.js} +24 -24
- package/dist/chunks/{websearch-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-j841wva5.js → file-jbw7zkpy.js} +20 -20
- package/dist/chunks/{websearch-g8jasmdt.js → file-jhmep02j.js} +11 -11
- package/dist/chunks/{websearch-bbx8rj45.js → file-jmpfrrst.js} +11 -11
- package/dist/chunks/{websearch-8gxqpgph.js → file-jvf3yq6v.js} +4 -4
- package/dist/chunks/{websearch-h5crbhmb.js → file-jyjec5pm.js} +13 -13
- package/dist/chunks/{websearch-yr8w2f7w.js → file-k0hsyzpz.js} +29 -29
- package/dist/chunks/{websearch-4z78jc8k.js → file-k1qrnqst.js} +8 -8
- package/dist/chunks/{websearch-sc2b8fmw.js → file-k3ahcn2y.js} +28 -28
- package/dist/chunks/{websearch-k3c624dm.js → file-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-efqyzrtz.js → file-k95xev6m.js} +7 -7
- package/dist/chunks/{websearch-enpg5945.js → file-kdx6w3mz.js} +9 -9
- package/dist/chunks/{websearch-aqekamra.js → file-kk9q0gyc.js} +9 -9
- package/dist/chunks/{websearch-rnxvhcjb.js → file-kv5v901h.js} +66 -66
- package/dist/chunks/{websearch-a34cw71v.js → file-kxfr8scb.js} +8 -8
- package/dist/chunks/{websearch-2rfba7m5.js → file-kyhsppsx.js} +13 -13
- package/dist/chunks/{websearch-1yv162eq.js → file-kzbpe9h1.js} +4 -4
- package/dist/chunks/{websearch-65ecsfj5.js → file-m0v7jzh4.js} +23 -23
- package/dist/chunks/{websearch-m3fdjcah.js → file-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-jdtnppjh.js → file-m4b5czg0.js} +9 -9
- package/dist/chunks/{websearch-qyv22f12.js → file-m7kehd4x.js} +10 -10
- package/dist/chunks/{websearch-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-nfvzb2qa.js → file-mfg2tgr6.js} +12 -12
- package/dist/chunks/{websearch-eq1pz5kg.js → file-mhkvc446.js} +3 -3
- package/dist/chunks/{websearch-xfdrc2qg.js → file-mmr7bq34.js} +6 -6
- package/dist/chunks/{websearch-47j6g49p.js → file-mt9jjf2t.js} +88 -88
- package/dist/chunks/{websearch-emq5vpv3.js → file-mvka64fw.js} +24 -24
- package/dist/chunks/{websearch-pvh6zpvx.js → file-mx5etkqw.js} +33 -33
- package/dist/chunks/{websearch-ydgy0jv4.js → file-naj50rvz.js} +6 -6
- package/dist/chunks/{websearch-8h6f0t3s.js → file-nc8ss6ew.js} +22 -22
- package/dist/chunks/{websearch-4emms01x.js → file-nes099kr.js} +43 -43
- package/dist/chunks/{websearch-ap1jv5wd.js → file-npr18s3r.js} +5 -5
- package/dist/chunks/{websearch-e0pc9hss.js → file-ns454he7.js} +13 -13
- package/dist/chunks/{websearch-p28j5sbe.js → file-p28j5sbe.js} +2 -2
- package/dist/chunks/{websearch-dv1qgsyq.js → file-p37cw4rj.js} +6 -6
- package/dist/chunks/{websearch-pwvve957.js → file-p6zm9yar.js} +9 -9
- package/dist/chunks/{websearch-b2wvp900.js → file-p84jq1z2.js} +5 -5
- package/dist/chunks/{websearch-5pep6vw4.js → file-pcz5gy8z.js} +7 -7
- package/dist/chunks/file-pf31ssb9.js +18 -0
- package/dist/chunks/{websearch-x7c0erfj.js → file-phh6ekdg.js} +38 -38
- package/dist/chunks/{websearch-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-sv2wt6jj.js → file-q0y6x0zh.js} +12 -12
- package/dist/chunks/{websearch-mgmaefw5.js → file-q4td18zp.js} +6 -6
- package/dist/chunks/{websearch-zg4xcdcw.js → file-q5n1ccmn.js} +20 -20
- package/dist/chunks/{websearch-e1jqcehv.js → file-qa9wg7wp.js} +16 -16
- package/dist/chunks/{websearch-qg0jgkcp.js → file-qg0jgkcp.js} +2 -2
- package/dist/chunks/{websearch-qmqgtz8f.js → file-qmqgtz8f.js} +2 -2
- package/dist/chunks/{websearch-57b9ws8p.js → file-qqeeq2t9.js} +4 -4
- package/dist/chunks/{websearch-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-hppyn5sa.js → file-r81z0f2d.js} +11 -11
- package/dist/chunks/{websearch-273x4bvc.js → file-rbh1x862.js} +26 -26
- package/dist/chunks/{websearch-rdw6cm16.js → file-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-a30y0zke.js → file-rhxny31y.js} +24 -24
- package/dist/chunks/{websearch-1t2sqhcs.js → file-rj3kjn4t.js} +4 -4
- package/dist/chunks/{websearch-q3t37ft6.js → file-rj6d5p5e.js} +3 -3
- package/dist/chunks/{websearch-3a6re68j.js → file-rp8jz6x1.js} +6 -6
- package/dist/chunks/{websearch-bkt3ke4c.js → file-rpnnp4qr.js} +16 -16
- package/dist/chunks/{websearch-tsgfq9bb.js → file-ryrq8653.js} +5 -5
- package/dist/chunks/{websearch-tcg29b4q.js → file-ryt7pzqc.js} +1 -1
- package/dist/chunks/{websearch-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{websearch-5khnppx8.js → file-s96a3jht.js} +13 -13
- package/dist/chunks/{websearch-z0tn3z5h.js → file-sf73ykr8.js} +17 -17
- package/dist/chunks/{websearch-0pwhgh8h.js → file-sfpvnmyj.js} +22 -22
- package/dist/chunks/{websearch-jfgwv67f.js → file-sjr3sdb5.js} +8 -8
- package/dist/chunks/{websearch-8wf96ssr.js → file-sp7z2078.js} +18 -18
- package/dist/chunks/{websearch-f9tzck21.js → file-sq0f3j6x.js} +18 -18
- package/dist/chunks/{websearch-68s0cpd5.js → file-szgvf7b7.js} +1 -1
- package/dist/chunks/{websearch-n8x6vg9c.js → file-t13qry64.js} +34 -34
- package/dist/chunks/{websearch-02nrjc1r.js → file-t550f9t1.js} +8 -8
- package/dist/chunks/{websearch-t23sgjx0.js → file-t5h7y91k.js} +170 -170
- package/dist/chunks/{websearch-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-89znhe33.js → file-tcezcvh9.js} +4 -4
- package/dist/chunks/{websearch-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-d9rywp8y.js → file-tesavvmz.js} +25 -25
- package/dist/chunks/{websearch-db4bfb5s.js → file-tfm34hws.js} +11 -11
- package/dist/chunks/{websearch-2k71kv7p.js → file-tjedn1bk.js} +4 -4
- package/dist/chunks/{websearch-37s12vcn.js → file-tn0aqsam.js} +5 -5
- package/dist/chunks/{websearch-psa6e1wa.js → file-tq3e67kz.js} +11 -11
- package/dist/chunks/{websearch-rhj3edsb.js → file-tsf2j8dc.js} +43 -43
- package/dist/chunks/{websearch-zmjry135.js → file-tt15avaa.js} +3 -3
- package/dist/chunks/{websearch-xh3hyv3f.js → file-ttfkrrt2.js} +10 -10
- package/dist/chunks/{websearch-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-ezd1shxf.js → file-ty8hjbwp.js} +26 -26
- package/dist/chunks/{websearch-fsnmy6e7.js → file-tzxd4jrh.js} +4 -4
- package/dist/chunks/{websearch-zpya8g88.js → file-v5bym671.js} +5 -5
- package/dist/chunks/{websearch-wr1n0z8j.js → file-va8zjbfm.js} +293 -293
- package/dist/chunks/{websearch-gmjjhz4f.js → file-vbcz9h2j.js} +9 -9
- package/dist/chunks/{websearch-bct739vz.js → file-ve4pfa0n.js} +4 -4
- package/dist/chunks/{websearch-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-axgxjnt4.js → file-vh1ek12h.js} +8 -8
- package/dist/chunks/{websearch-wbhf1d2f.js → file-vhv9mknt.js} +29 -29
- package/dist/chunks/{websearch-2336b01z.js → file-vkt5fbj2.js} +5 -5
- package/dist/chunks/{websearch-rftj34h1.js → file-vp6gs366.js} +26 -26
- package/dist/chunks/{websearch-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-5vz0r8c8.js → file-w29rsy53.js} +17 -17
- package/dist/chunks/{websearch-5g1dq8q7.js → file-w310ddjz.js} +16 -16
- package/dist/chunks/{websearch-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-pe1tjmn3.js → file-w5tatzgg.js} +11 -11
- package/dist/chunks/{websearch-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-kbabe8wy.js → file-wf2yx5re.js} +10 -10
- package/dist/chunks/{websearch-5zrdtdrf.js → file-wf34z6h5.js} +11 -11
- package/dist/chunks/{websearch-ztz4j6tx.js → file-whx7epc8.js} +11 -11
- package/dist/chunks/{websearch-7w3s9kd0.js → file-wnmqtqbz.js} +9 -9
- package/dist/chunks/{websearch-nwjqq5p1.js → file-wqq4yjck.js} +13 -13
- package/dist/chunks/{websearch-1kq608fv.js → file-wtfd7wae.js} +24 -24
- package/dist/chunks/{websearch-1p2sdtde.js → file-wzm9vhk7.js} +6 -6
- package/dist/chunks/{websearch-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-zans6vvk.js → file-x4zvqetd.js} +32 -32
- package/dist/chunks/{websearch-qrpkzea1.js → file-x5117sxm.js} +23 -23
- package/dist/chunks/{websearch-r0y2mygc.js → file-xba06r7e.js} +18 -18
- package/dist/chunks/{websearch-e3rd11p8.js → file-xc5qzd8z.js} +15 -15
- package/dist/chunks/{websearch-y0enq6yx.js → file-xejrq3dz.js} +43 -43
- package/dist/chunks/{websearch-mrrrmvzm.js → file-xjnjfb63.js} +32 -32
- package/dist/chunks/{websearch-eamc0k64.js → file-xksa7wvh.js} +59 -59
- package/dist/chunks/{websearch-jdqyxw3b.js → file-xqrmy91b.js} +6 -6
- package/dist/chunks/{websearch-9zt0qaq4.js → file-xrtgkc4g.js} +9 -9
- package/dist/chunks/{websearch-4bfr0h1a.js → file-xw79ec0z.js} +21 -21
- package/dist/chunks/{websearch-dps2ye13.js → file-xx275nmg.js} +17 -17
- package/dist/chunks/{websearch-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-p5n00eja.js → file-y4jyg05x.js} +44 -44
- package/dist/chunks/{websearch-sxsb2wh5.js → file-y98520v9.js} +29 -29
- package/dist/chunks/{websearch-3va2t4ne.js → file-ye3wrgze.js} +21 -21
- package/dist/chunks/{websearch-7hb0xpq9.js → file-yg9zx5fs.js} +35 -35
- package/dist/chunks/{websearch-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-pb5amgwz.js → file-ywxvr4rb.js} +23 -23
- package/dist/chunks/{websearch-8ssqt2ma.js → file-yzsh5ekf.js} +11 -11
- package/dist/chunks/{websearch-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-6mtbrevk.js → file-z6wymv09.js} +15 -15
- package/dist/chunks/{websearch-4argy660.js → file-zbfspryx.js} +18 -18
- package/dist/chunks/{websearch-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-bt4vczj1.js → file-zzqh9mjf.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +111 -111
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/websearch-4v7qdvcn.js +0 -18
- package/dist/chunks/websearch-ayg7q4gs.js +0 -252
- package/dist/chunks/websearch-r0snc0mf.js +0 -26
- /package/dist/chunks/{websearch-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{websearch-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → file-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → file-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → file-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-rj6d5p5e.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError7,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -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 NotFoundError7 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 { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_skills };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./file-xx275nmg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service21
|
|
6
|
+
} from "./file-mt9jjf2t.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service21;
|
|
24
|
+
const jobs = yield* Service46;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-gj2nqsbr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service18,
|
|
12
|
+
node20
|
|
13
|
+
} from "./file-djr0a131.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service17,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node19
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event4 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service17 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service80;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service18;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service17.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node19 = makeLocationNode({
|
|
144
|
+
service: Service17,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node84,
|
|
146
|
+
deps: [FSUtil.node, node84, node20]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-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: () => Plugin4,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
@@ -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 Plugin4 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint2,
|
|
83
|
+
export { endpoint2, Plugin4, exports_exa };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-6ktwvsfe.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-fhjb7rt8.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-hrnxc6yg.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service52,
|
|
21
|
+
node55
|
|
22
|
+
} from "./file-w310ddjz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node26
|
|
26
|
+
} from "./file-8emmqy2y.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service6,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node8
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service6 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer5 = Layer.effect(Service6, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service23;
|
|
65
|
+
const store = yield* Service52;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service6.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node8 = makeLocationNode({
|
|
151
|
+
service: Service6,
|
|
152
|
+
layer: layer5,
|
|
153
|
+
deps: [node87, llmClient2, node26, node55, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service6, isUntitled2, layer5, node8, exports_title };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service66,
|
|
6
|
+
node69
|
|
7
|
+
} from "./file-y4jyg05x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer19,
|
|
20
|
+
node: () => node50
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service47 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service66;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -63,12 +63,12 @@ var layer20 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service47.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node50 = makeLocationNode({
|
|
69
|
+
service: Service47,
|
|
70
|
+
layer: layer19,
|
|
71
|
+
deps: [node69, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service47, layer19, node50, exports_generate2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-6ktwvsfe.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load4
|
|
12
|
+
} from "./file-hrnxc6yg.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-5nb2d01r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput5,
|
|
24
|
+
Service: () => Service52,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node55
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service52 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service52.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node55 = makeGlobalNode({ service: Service52, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput5, Service52, node55, exports_store };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-5v4jjjtv.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./file-4ze6gm64.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-k0hsyzpz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-2xcgp7gj.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID12.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service77;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|