@opencode/core 0.0.0-dev-20549 → 0.0.0-dev-20553
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{skill-0czqcgkk.js → app-00pqadry.js} +26 -26
- package/dist/chunks/{skill-204qze95.js → app-06pwsgja.js} +54 -54
- package/dist/chunks/{skill-0vbcp93d.js → app-0emb60td.js} +2 -2
- package/dist/chunks/{skill-d8d1xeyb.js → app-0eqakyv9.js} +17 -17
- package/dist/chunks/{skill-hdnns55v.js → app-0g89njvb.js} +5 -5
- package/dist/chunks/{skill-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-f9bwzz6b.js → app-0sdng81j.js} +4 -4
- package/dist/chunks/{skill-nk433a2k.js → app-0x00cgs9.js} +10 -10
- package/dist/chunks/{skill-ftyasa8y.js → app-119gdykg.js} +16 -16
- package/dist/chunks/{skill-7s9zzz11.js → app-127qqbn7.js} +35 -35
- package/dist/chunks/{skill-aw6zf7vf.js → app-15x3adyq.js} +30 -30
- package/dist/chunks/{skill-fwx8k2v9.js → app-17fwn1r7.js} +15 -15
- package/dist/chunks/{skill-nkf980df.js → app-1acjjqhc.js} +4 -4
- package/dist/chunks/{skill-mvfsc1pv.js → app-1bbkgx8g.js} +3 -3
- package/dist/chunks/{skill-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-frz8dvr7.js → app-1fmrbde1.js} +8 -8
- package/dist/chunks/{skill-8apeemca.js → app-1gv8rvzf.js} +3 -3
- package/dist/chunks/{skill-ktgztcgk.js → app-1hty2hxv.js} +17 -17
- package/dist/chunks/{skill-g4nxgwtw.js → app-1wad33g8.js} +17 -17
- package/dist/chunks/{skill-mnwcrtbx.js → app-209p93ab.js} +11 -11
- package/dist/chunks/{skill-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-fpq9acqp.js → app-2a6rn6yr.js} +6 -6
- package/dist/chunks/{skill-97fg007x.js → app-2frz8dph.js} +15 -15
- package/dist/chunks/{skill-6bkgq6v1.js → app-2gzy96w8.js} +10 -10
- package/dist/chunks/{skill-rrjzfwx8.js → app-2hd1kp5j.js} +26 -26
- package/dist/chunks/{skill-qgn6gcr1.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{skill-9mfnyqzm.js → app-35ngnhat.js} +8 -8
- package/dist/chunks/{skill-3cegwx68.js → app-3cegwx68.js} +2 -2
- package/dist/chunks/{skill-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-24zweb5e.js → app-3fpzpwa9.js} +10 -10
- package/dist/chunks/{skill-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-54f8996e.js → app-3mqsm5j6.js} +24 -24
- package/dist/chunks/{skill-7znzy1a8.js → app-3npbq3xm.js} +11 -11
- package/dist/chunks/{skill-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-ghjbhsdc.js → app-3t8q6btf.js} +13 -13
- package/dist/chunks/{skill-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-8xty08kc.js → app-3vr2yzyr.js} +11 -11
- package/dist/chunks/{skill-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-fb37g870.js → app-43e7p76q.js} +11 -11
- package/dist/chunks/{skill-pce31vy2.js → app-43kg75ww.js} +25 -25
- package/dist/chunks/{skill-8acbzghs.js → app-47tevgnt.js} +33 -33
- package/dist/chunks/{skill-k1gkpfdk.js → app-4e8vs6eh.js} +8 -8
- package/dist/chunks/{skill-qweyhg8k.js → app-4hk0hz21.js} +15 -15
- package/dist/chunks/{skill-4d2zrdm3.js → app-4shrxzc5.js} +9 -9
- package/dist/chunks/{skill-4ts7tf6z.js → app-4ts7tf6z.js} +2 -2
- package/dist/chunks/{skill-5sfmmyr7.js → app-4veyd3ak.js} +11 -11
- package/dist/chunks/{skill-wdfkj30x.js → app-50mzsvk4.js} +4 -4
- package/dist/chunks/{skill-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{skill-7q4asrqv.js → app-561w58k2.js} +11 -11
- package/dist/chunks/{skill-56gdpj1q.js → app-56gdpj1q.js} +2 -2
- package/dist/chunks/{skill-2e0qgnqs.js → app-599m2xw1.js} +12 -12
- package/dist/chunks/{skill-e3tvp305.js → app-5az9mes2.js} +13 -13
- package/dist/chunks/{skill-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-w0tfgnf2.js → app-5pyjqqve.js} +2 -2
- package/dist/chunks/{skill-0me0fk48.js → app-5r79haxc.js} +4 -4
- package/dist/chunks/{skill-mhpkdsge.js → app-5t0csz3q.js} +18 -18
- package/dist/chunks/{skill-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-44j8xkc5.js → app-5tpxybga.js} +33 -33
- package/dist/chunks/{skill-eye7bpsw.js → app-61tpjagt.js} +8 -8
- package/dist/chunks/{skill-gts7m20h.js → app-620awpdk.js} +15 -15
- package/dist/chunks/{skill-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{skill-21ndh2pa.js → app-68vhyseh.js} +32 -32
- package/dist/chunks/{skill-9epfchn5.js → app-6mfz7pzx.js} +17 -17
- package/dist/chunks/{skill-k3d6nw88.js → app-6qbbyjh1.js} +25 -25
- package/dist/chunks/{skill-s1mfz8gf.js → app-71abwgpw.js} +8 -8
- package/dist/chunks/{skill-x11epez3.js → app-72zmgtc4.js} +21 -21
- package/dist/chunks/{skill-5zmtd2z9.js → app-79g5k6km.js} +47 -25
- package/dist/chunks/{skill-8fxtk4vp.js → app-7b6cahxy.js} +21 -21
- package/dist/chunks/{skill-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-pk6g247z.js → app-7bpzgkas.js} +6 -6
- package/dist/chunks/{skill-wh3fh10e.js → app-7fw1vb42.js} +4 -4
- package/dist/chunks/{skill-htssgadd.js → app-7mk5v0ya.js} +24 -24
- package/dist/chunks/{skill-zx605zr2.js → app-7x0x355c.js} +2 -2
- package/dist/chunks/{skill-2tk69wqd.js → app-81ctsz2t.js} +11 -11
- package/dist/chunks/{skill-84h8c373.js → app-84h8c373.js} +2 -2
- package/dist/chunks/{skill-1baywqc3.js → app-89602sqc.js} +33 -33
- package/dist/chunks/{skill-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-72p3wnsc.js → app-8h51bdva.js} +3 -3
- package/dist/chunks/{skill-cfsekr6v.js → app-8sze2n9a.js} +6 -6
- package/dist/chunks/{skill-9r817s3s.js → app-9syrq6y6.js} +20 -20
- package/dist/chunks/{skill-kyvayzm9.js → app-9t3w070m.js} +148 -148
- package/dist/chunks/{skill-wv396vej.js → app-9t7a50xb.js} +6 -6
- package/dist/chunks/{skill-4r5jmef3.js → app-9zxrk7k8.js} +3 -3
- package/dist/chunks/{skill-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-mxvxcxwy.js → app-addxnjmp.js} +4 -4
- package/dist/chunks/{skill-rb99ds0a.js → app-adyzpsam.js} +15 -15
- package/dist/chunks/{skill-d5h7byfj.js → app-ag4y98vq.js} +22 -22
- package/dist/chunks/{skill-7fxvqdxk.js → app-an2k9t17.js} +8 -8
- package/dist/chunks/{skill-w17qbrxs.js → app-anbt75kp.js} +2 -2
- package/dist/chunks/{skill-tttafqsw.js → app-as5bpre7.js} +8 -8
- package/dist/chunks/{skill-5mz8kqs7.js → app-atk0aryg.js} +5 -5
- package/dist/chunks/{skill-s6ba26vb.js → app-avn2p37b.js} +1 -1
- package/dist/chunks/{skill-ft8zwvba.js → app-avrbq183.js} +14 -14
- package/dist/chunks/{skill-9s8cx701.js → app-axckdsf5.js} +311 -311
- package/dist/chunks/{skill-my61f61y.js → app-aye9ecv5.js} +3 -3
- package/dist/chunks/{skill-3rm7g93w.js → app-az38zn9v.js} +2 -2
- package/dist/chunks/{skill-s5gzpmhw.js → app-azfw0vc8.js} +87 -87
- package/dist/chunks/{skill-57mzwree.js → app-b06te4ch.js} +12 -12
- package/dist/chunks/{skill-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-01mnn7z9.js → app-b866mxm8.js} +10 -10
- package/dist/chunks/{skill-yah7n84t.js → app-bdqj39hy.js} +3 -3
- package/dist/chunks/{skill-krv2mqyr.js → app-bepk8tqz.js} +14 -14
- package/dist/chunks/{skill-emv93qq1.js → app-bfdyam1j.js} +7 -7
- package/dist/chunks/{skill-0950byjh.js → app-bhmbf73r.js} +12 -12
- package/dist/chunks/{skill-kj770y4x.js → app-bk5ryxph.js} +23 -23
- package/dist/chunks/{skill-8etyx8dn.js → app-bkvqt9s2.js} +9 -9
- package/dist/chunks/{skill-rjg4p9d1.js → app-bsprd9wx.js} +6 -6
- package/dist/chunks/{skill-4s49zy95.js → app-c7gfppcn.js} +65 -65
- package/dist/chunks/{skill-78bdb58w.js → app-cgttfvq8.js} +20 -20
- package/dist/chunks/{skill-f1x83a2j.js → app-cm35g4cv.js} +21 -21
- package/dist/chunks/{skill-pa8pe2x7.js → app-cmwkp3r5.js} +8 -8
- package/dist/chunks/{skill-9gejvy20.js → app-cr1cyvk7.js} +1 -1
- package/dist/chunks/{skill-1pxz8ven.js → app-cxbh1760.js} +5 -5
- package/dist/chunks/{skill-rwrdjr4d.js → app-d0cczxq1.js} +18 -18
- package/dist/chunks/{skill-n30ttybe.js → app-d7b0ex47.js} +21 -21
- package/dist/chunks/{skill-956jqvkw.js → app-d952nnqc.js} +4 -4
- package/dist/chunks/{skill-hb7naxz9.js → app-dmt0etr1.js} +7 -7
- package/dist/chunks/{skill-nxm207yx.js → app-dpkg50ah.js} +4 -4
- package/dist/chunks/{skill-5v0ektps.js → app-dwec31rz.js} +1 -1
- package/dist/chunks/{skill-1kc6jmgc.js → app-e1fyheea.js} +50 -50
- package/dist/chunks/{skill-mm5kxf07.js → app-e7710hd6.js} +8 -8
- package/dist/chunks/{skill-0ryd0fps.js → app-e8qyrgb1.js} +5 -5
- package/dist/chunks/{skill-0abth3v5.js → app-e8w9g8j0.js} +4 -4
- package/dist/chunks/{skill-txmzhkwh.js → app-ec6s3nk4.js} +15 -15
- package/dist/chunks/{skill-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-mx461553.js → app-efn9spr7.js} +15 -15
- package/dist/chunks/{skill-3nfjvcck.js → app-eg04xh8w.js} +24 -24
- package/dist/chunks/{skill-ccgffmts.js → app-ejw4sar8.js} +9 -9
- package/dist/chunks/{skill-fn41217q.js → app-epc8471h.js} +11 -11
- package/dist/chunks/{skill-bv4yyc6x.js → app-eprbh5a3.js} +32 -32
- package/dist/chunks/{skill-rk7s9xkn.js → app-espax8zg.js} +4 -4
- package/dist/chunks/{skill-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-d8qf9njz.js → app-eyd7c3sc.js} +42 -42
- package/dist/chunks/{skill-t87qf2za.js → app-f07cbx1f.js} +35 -35
- package/dist/chunks/{skill-f75zav2x.js → app-f75zav2x.js} +2 -2
- package/dist/chunks/{skill-yy74e5r0.js → app-f8tc66c6.js} +34 -34
- package/dist/chunks/{skill-6sn5cjnr.js → app-fn9065ma.js} +21 -21
- package/dist/chunks/{skill-mhcp204s.js → app-fwwk8vbp.js} +9 -9
- package/dist/chunks/{skill-dx8zaj32.js → app-fwwmygte.js} +17 -17
- package/dist/chunks/{skill-kk15n38j.js → app-fzfpamp1.js} +22 -22
- package/dist/chunks/{skill-p7eqnh0e.js → app-g2prbgy8.js} +11 -11
- package/dist/chunks/{skill-t1gchkmx.js → app-g2xfyzen.js} +23 -23
- package/dist/chunks/{skill-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-krn7pgx5.js → app-ge1q9bb7.js} +27 -27
- package/dist/chunks/{skill-mtrbqqrq.js → app-gfhhve88.js} +5 -5
- package/dist/chunks/{skill-jd3ch19c.js → app-gh0thtd7.js} +5 -5
- package/dist/chunks/{skill-313f7sf4.js → app-gpx3jrtm.js} +15 -15
- package/dist/chunks/{skill-ecg5vx20.js → app-gvgmkb1r.js} +36 -36
- package/dist/chunks/{skill-btrb2kn9.js → app-h0r975nr.js} +17 -17
- package/dist/chunks/{skill-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-rjeax7xv.js → app-h79hjbwk.js} +11 -11
- package/dist/chunks/{skill-03r07v8r.js → app-h8mpbjha.js} +26 -26
- package/dist/chunks/{skill-t68szqhq.js → app-hkdpn095.js} +36 -36
- package/dist/chunks/{skill-rm4bhxsp.js → app-hktyk2mm.js} +16 -16
- package/dist/chunks/{skill-1p60wd67.js → app-hwpwbwg3.js} +30 -30
- package/dist/chunks/{skill-66vha7qm.js → app-hzx6zxpx.js} +4 -4
- package/dist/chunks/{skill-z8hqvw9j.js → app-j1hsk9k3.js} +30 -30
- package/dist/chunks/{skill-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-jewzahs7.js → app-jewzahs7.js} +1 -1
- package/dist/chunks/{skill-56b3zt1s.js → app-k1qrnqst.js} +8 -8
- package/dist/chunks/{skill-mewbwgnd.js → app-k5n7mtkn.js} +11 -11
- package/dist/chunks/{skill-9k1rebz0.js → app-k73qbsk9.js} +18 -18
- package/dist/chunks/{skill-kb9j3d72.js → app-kb9j3d72.js} +3 -3
- package/dist/chunks/{skill-bx9egp8a.js → app-ksc9mxxp.js} +8 -8
- package/dist/chunks/{skill-m3fdjcah.js → app-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-2aq8k941.js → app-m7v9qgpj.js} +20 -20
- package/dist/chunks/{skill-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-5qwkxp89.js → app-mhgx8wws.js} +4 -4
- package/dist/chunks/{skill-zmm2h1v7.js → app-mpxe8k3g.js} +9 -9
- package/dist/chunks/{skill-hyakt2q8.js → app-my8kktcc.js} +9 -9
- package/dist/chunks/{skill-n90naw0r.js → app-n19j8wrj.js} +14 -14
- package/dist/chunks/{skill-8zfn737k.js → app-n359sqf7.js} +1 -1
- package/dist/chunks/{skill-psybf3th.js → app-n6n2a0vb.js} +3 -3
- package/dist/chunks/{skill-0h9agxwz.js → app-n76mmdvs.js} +13 -13
- package/dist/chunks/{skill-b69jv39p.js → app-ncnm8wen.js} +1 -1
- package/dist/chunks/{skill-b2zsh4zx.js → app-ndmxeefq.js} +24 -24
- package/dist/chunks/{skill-c8jj867k.js → app-ndn5nttk.js} +9 -9
- package/dist/chunks/{skill-4p0s9fw7.js → app-ndpjvh3x.js} +13 -13
- package/dist/chunks/{skill-fermrrd4.js → app-nh0fz38p.js} +8 -8
- package/dist/chunks/{skill-0nyf8g8a.js → app-njcc1ez3.js} +10 -10
- package/dist/chunks/{skill-fwszetqs.js → app-nmm3vqbw.js} +26 -26
- package/dist/chunks/{skill-7kq9c397.js → app-p3hpvtvr.js} +46 -46
- package/dist/chunks/{skill-nx5bgegm.js → app-p8jze558.js} +3 -3
- package/dist/chunks/{skill-xv6fnqjt.js → app-p9yrfee4.js} +15 -15
- package/dist/chunks/{skill-3m9cba8p.js → app-pf0jmksz.js} +10 -10
- package/dist/chunks/{skill-5j1ay8ry.js → app-ph3dy5f1.js} +8 -8
- package/dist/chunks/{skill-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-x9ntbx8t.js → app-pk1ehesx.js} +9 -9
- package/dist/chunks/{skill-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{skill-s3n2d5f4.js → app-pzpzvd2t.js} +18 -18
- package/dist/chunks/{skill-q0xm7vwc.js → app-q0xm7vwc.js} +2 -2
- package/dist/chunks/{skill-az5709rs.js → app-q36raq5y.js} +9 -9
- package/dist/chunks/{skill-znmfwznf.js → app-q732d4pp.js} +3 -3
- package/dist/chunks/app-qc068m1q.js +18 -0
- package/dist/chunks/{skill-19a83w2j.js → app-qe5yr083.js} +24 -24
- package/dist/chunks/{skill-z2ga4bmk.js → app-qhhvr09t.js} +10 -10
- package/dist/chunks/{skill-qmqgtz8f.js → app-qmqgtz8f.js} +2 -2
- package/dist/chunks/{skill-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-pb4687ty.js → app-qp9egh0b.js} +5 -5
- package/dist/chunks/{skill-wwgwrvz8.js → app-qqs6yt0x.js} +24 -24
- package/dist/chunks/{skill-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-qxjc9qry.js → app-qxjc9qry.js} +3 -3
- package/dist/chunks/{skill-b38ner4f.js → app-qzpb3j9m.js} +16 -16
- package/dist/chunks/{skill-6djkftks.js → app-rarbs3xg.js} +16 -16
- package/dist/chunks/{skill-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-tp6x8zae.js → app-regw106m.js} +9 -9
- package/dist/chunks/{skill-gsjnmz30.js → app-rfrf17aw.js} +12 -12
- package/dist/chunks/{skill-z9e6h83k.js → app-rjaa4sd9.js} +18 -18
- package/dist/chunks/{skill-vg3fw4mm.js → app-rjh7gg55.js} +20 -20
- package/dist/chunks/{skill-tpf861g3.js → app-rvsg5akq.js} +15 -15
- package/dist/chunks/{skill-t6vsspdg.js → app-ryr25ayn.js} +7 -7
- package/dist/chunks/{skill-m7qqtvvt.js → app-sg3a9qd2.js} +48 -48
- package/dist/chunks/{skill-8cngkqqv.js → app-shg0hhw6.js} +16 -16
- package/dist/chunks/{skill-ebpzjdje.js → app-t4bjdndn.js} +43 -43
- package/dist/chunks/{skill-h4z318tq.js → app-t7k290n8.js} +26 -26
- package/dist/chunks/{skill-wb9wmhgc.js → app-t9ew0xaf.js} +14 -14
- package/dist/chunks/{skill-ep9add8h.js → app-tawq54z2.js} +23 -23
- package/dist/chunks/{skill-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-e9t4d1jv.js → app-tcwnpcmx.js} +9 -9
- package/dist/chunks/{skill-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{skill-6nxrbw4w.js → app-tmg02xqh.js} +6 -6
- package/dist/chunks/{skill-fwmeava6.js → app-tnjs4r2h.js} +3 -3
- package/dist/chunks/{skill-b1cd8vzz.js → app-tnnp2ngw.js} +13 -13
- package/dist/chunks/{skill-hzjscxj6.js → app-ttqk4nrk.js} +19 -19
- package/dist/chunks/{skill-pe508z78.js → app-v97jv89r.js} +17 -17
- package/dist/chunks/{skill-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-w1d288hs.js → app-vezvtjyv.js} +11 -11
- package/dist/chunks/{skill-e8fwf20g.js → app-vpn0ymxa.js} +24 -24
- package/dist/chunks/{skill-hh6grysg.js → app-vrctapba.js} +4 -4
- package/dist/chunks/{skill-42jk16ft.js → app-vv3d8hyj.js} +16 -16
- package/dist/chunks/{skill-gn2hfjap.js → app-vwpcpzep.js} +8 -8
- package/dist/chunks/{skill-4a7gy6vj.js → app-vx3jgdek.js} +2 -2
- package/dist/chunks/{skill-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-84txncab.js → app-w1eejvng.js} +5 -5
- package/dist/chunks/{skill-8a6ws7jr.js → app-w36j0bmk.js} +9 -9
- package/dist/chunks/{skill-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-w1gsm6w1.js → app-w54fwt40.js} +1 -1
- package/dist/chunks/{skill-j5hz68na.js → app-w606ffq6.js} +3 -3
- package/dist/chunks/{skill-9ewbjpe3.js → app-wd7pktgn.js} +29 -29
- package/dist/chunks/{skill-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{skill-8me93e25.js → app-ws5x6xqg.js} +40 -40
- package/dist/chunks/{skill-s0wvxc5c.js → app-wvzpvwy9.js} +26 -26
- package/dist/chunks/{skill-cksh6vzh.js → app-wxgz1mz1.js} +32 -32
- package/dist/chunks/{skill-j0gnjy6r.js → app-x0hrekb5.js} +6 -6
- package/dist/chunks/{skill-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-t7x7w9dx.js → app-x7wj6yze.js} +7 -7
- package/dist/chunks/{skill-dmgq9rsa.js → app-xa1vrh39.js} +22 -22
- package/dist/chunks/{skill-fhqaa1bv.js → app-xc8632zm.js} +11 -11
- package/dist/chunks/{skill-8ndffx4j.js → app-xecxzrdp.js} +7 -7
- package/dist/chunks/{skill-qmxdhjst.js → app-xfdghtvp.js} +32 -32
- package/dist/chunks/{skill-g5w8qwbj.js → app-xfkkasph.js} +4 -4
- package/dist/chunks/{skill-y7qb863k.js → app-xhb6bnvb.js} +20 -20
- package/dist/chunks/{skill-8y2amx6f.js → app-xkdq4c0f.js} +19 -19
- package/dist/chunks/{skill-dmqcgk4z.js → app-xkntkrq7.js} +5 -5
- package/dist/chunks/{skill-64qxmar2.js → app-xmvw5gzg.js} +25 -25
- package/dist/chunks/{skill-v6f9c3ds.js → app-xq0xqrw8.js} +41 -41
- package/dist/chunks/app-xxrc28my.js +253 -0
- package/dist/chunks/{skill-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-5bfybkpt.js → app-y2qwca5m.js} +6 -6
- package/dist/chunks/{skill-5ht3dsc4.js → app-y55dd5ke.js} +89 -89
- package/dist/chunks/{skill-w13frx98.js → app-ya0zd8mw.js} +8 -8
- package/dist/chunks/{skill-y19gyp96.js → app-yffr9dtg.js} +26 -26
- package/dist/chunks/{skill-5szw1sth.js → app-yn8nj1r6.js} +6 -6
- package/dist/chunks/{skill-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-9g5z0wv0.js → app-z0fx5gx0.js} +36 -36
- package/dist/chunks/{skill-jaxce8wn.js → app-z1xm8rrg.js} +17 -17
- package/dist/chunks/{skill-mj9ayqyd.js → app-zcm3qgvh.js} +3 -3
- package/dist/chunks/{skill-j65xbngf.js → app-zgfn406m.js} +35 -35
- package/dist/chunks/{skill-a97s5rsz.js → app-znhd2rt3.js} +15 -15
- package/dist/chunks/{skill-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-yrcj3v3g.js → app-zsr4wwhv.js} +4 -4
- package/dist/chunks/{skill-f73rjn58.js → app-zvt5dnpc.js} +4 -4
- package/dist/chunks/{skill-bx0gyb4h.js → app-zw2ke1at.js} +5 -5
- package/dist/chunks/{skill-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{skill-hdkng2sj.js → app-zyk1yjk8.js} +5 -5
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- 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 +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/compaction.d.ts +4 -1
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/skill-5rp263n0.js +0 -253
- package/dist/chunks/skill-jqh9b0xq.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-34c7v6d4.js → app-34c7v6d4.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./app-xq0xqrw8.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service65
|
|
13
|
+
} from "./app-eg04xh8w.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service56
|
|
16
|
+
} from "./app-rarbs3xg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service70
|
|
19
|
+
} from "./app-e1fyheea.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service21,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-rjaa4sd9.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service55,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-vv3d8hyj.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service50
|
|
37
|
+
} from "./app-p3hpvtvr.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./app-y55dd5ke.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-hzx6zxpx.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./app-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin5,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin5 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service25;
|
|
123
|
+
const jobs = yield* Service56;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service65;
|
|
126
|
+
const access = yield* Service21;
|
|
127
|
+
const shell = yield* Service50;
|
|
128
|
+
const shellSelect = yield* Service55;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service70;
|
|
131
|
+
const config = yield* Service52;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin14 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name5,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin14 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name5,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input5,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin14 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name5,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name5];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin5, exports_shell };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-7fw1vb42.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-addxnjmp.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Service77,
|
|
15
|
+
node81,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./app-ge1q9bb7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./app-hktyk2mm.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,13 +38,13 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
41
|
-
Event: () =>
|
|
41
|
+
Event: () => Event17,
|
|
42
42
|
ID: () => ID13,
|
|
43
|
-
Info: () =>
|
|
43
|
+
Info: () => Info22,
|
|
44
44
|
LoadError: () => LoadError3,
|
|
45
45
|
Provider: () => exports_provider3,
|
|
46
46
|
Request: () => Request3,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service76,
|
|
48
48
|
Settings: () => Settings2,
|
|
49
49
|
Transport: () => Transport2,
|
|
50
50
|
aisdk: () => aisdk2,
|
|
@@ -54,7 +54,7 @@ __export(exports_provider3, {
|
|
|
54
54
|
mergeOverlay: () => mergeOverlay2,
|
|
55
55
|
modelSettings: () => modelSettings2,
|
|
56
56
|
nativeSettings: () => nativeSettings2,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node80,
|
|
58
58
|
packageName: () => packageName2,
|
|
59
59
|
timeout: () => timeout2,
|
|
60
60
|
timeouts: () => timeouts2
|
|
@@ -68,7 +68,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
68
68
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
69
69
|
import { Credential } from "@opencode/schema/credential";
|
|
70
70
|
import { freeze } from "immer";
|
|
71
|
-
import { Event as
|
|
71
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
72
72
|
var ID13 = Provider.ID;
|
|
73
73
|
var AISDK_PREFIX2 = "aisdk:";
|
|
74
74
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -231,9 +231,9 @@ var Request3 = Provider.Request;
|
|
|
231
231
|
var Compaction3 = Provider.Compaction;
|
|
232
232
|
var Transport2 = Provider.Transport;
|
|
233
233
|
var Settings2 = Provider.Settings;
|
|
234
|
-
var
|
|
234
|
+
var Info22 = Provider.Info;
|
|
235
235
|
|
|
236
|
-
class
|
|
236
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
237
237
|
}
|
|
238
238
|
var definitions = new WeakMap;
|
|
239
239
|
function index(providerID, models) {
|
|
@@ -246,10 +246,10 @@ function index(providerID, models) {
|
|
|
246
246
|
definitions.set(models, indexes);
|
|
247
247
|
return result;
|
|
248
248
|
}
|
|
249
|
-
var layer = Layer.effect(
|
|
249
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
250
250
|
const bus = yield* Service83;
|
|
251
|
-
const integrations = yield*
|
|
252
|
-
const location = yield*
|
|
251
|
+
const integrations = yield* Service77;
|
|
252
|
+
const location = yield* Service80;
|
|
253
253
|
const state = create3({
|
|
254
254
|
name: "provider",
|
|
255
255
|
initial: () => new Map,
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
260
260
|
const current = records.get(id);
|
|
261
261
|
if (current)
|
|
262
262
|
return current;
|
|
263
|
-
const added = { provider:
|
|
263
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
264
264
|
records.set(id, added);
|
|
265
265
|
maps.add(added.models);
|
|
266
266
|
return added;
|
|
@@ -367,8 +367,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
367
367
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
368
368
|
});
|
|
369
369
|
});
|
|
370
|
-
yield* bus.subscribe([
|
|
371
|
-
return
|
|
370
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
371
|
+
return Service76.of({
|
|
372
372
|
transform: state.transform,
|
|
373
373
|
reload: state.reload,
|
|
374
374
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -377,7 +377,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
377
377
|
snapshot
|
|
378
378
|
});
|
|
379
379
|
}));
|
|
380
|
-
var
|
|
380
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
|
|
381
381
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
382
382
|
const module = yield* Effect.tryPromise({
|
|
383
383
|
try: () => {
|
|
@@ -650,4 +650,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
650
650
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
651
651
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
652
652
|
|
|
653
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2,
|
|
653
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service76, node80, exports_provider3, Event17 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9t7a50xb.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
|
+
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -109,9 +109,9 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make22({
|
|
117
117
|
key,
|
|
@@ -119,10 +119,10 @@ var make15 = (inventory) => {
|
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update3, make14, exports_instructions2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./app-rfrf17aw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service58,
|
|
16
|
+
node60
|
|
17
|
+
} from "./app-0x00cgs9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service42,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node45,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service42 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service58;
|
|
110
|
+
return Service42.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node45 = makeGlobalNode({
|
|
171
|
+
service: Service42,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node60]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service42, isError2, validateBranch2, node45, exports_repository_cache };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./app-xq0xqrw8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service10
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-79g5k6km.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin19
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin19 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service52;
|
|
26
26
|
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
@@ -39,4 +39,4 @@ var Plugin31 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin19, exports_compaction };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-bfdyam1j.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-w54fwt40.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make24 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make24(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make24, makeWithDefaults2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-sg3a9qd2.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service60,
|
|
3
|
+
node62
|
|
4
|
+
} from "./app-zgfn406m.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-vx3jgdek.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service46,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node48,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service60;
|
|
59
|
+
return Service46.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node48 = makeLocationNode({ service: Service46, layer, deps: [node62] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service46, resolved2, node48, exports_model };
|