@opencode/core 0.0.0-dev-19898 → 0.0.0-dev-19901
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{repository-rhjbct0v.js → tool-output-02nrjc1r.js} +6 -6
- package/dist/chunks/{repository-2b9gc1bn.js → tool-output-06hvzpqw.js} +22 -22
- package/dist/chunks/{repository-sndbe2vj.js → tool-output-06p361q7.js} +3 -3
- package/dist/chunks/{repository-1kzmjx2c.js → tool-output-081ek8fx.js} +3 -3
- package/dist/chunks/{repository-08v0y3hn.js → tool-output-0a1zy6wp.js} +5 -5
- package/dist/chunks/{repository-t9fdrpzp.js → tool-output-0b2dkfpa.js} +26 -26
- package/dist/chunks/{repository-hc1zqxnq.js → tool-output-0dsvprc7.js} +21 -21
- package/dist/chunks/{repository-cmadtng6.js → tool-output-0gpx1yng.js} +70 -70
- package/dist/chunks/{repository-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-fmcqyzhx.js → tool-output-0tmgye68.js} +9 -9
- package/dist/chunks/tool-output-1675q44e.js +492 -0
- package/dist/chunks/{repository-2b63vbac.js → tool-output-17fex99v.js} +47 -47
- package/dist/chunks/{repository-pbrwaaym.js → tool-output-19gaxc1a.js} +35 -35
- package/dist/chunks/{repository-r8xr0va3.js → tool-output-1acjjqhc.js} +4 -4
- package/dist/chunks/{repository-1bbkgx8g.js → tool-output-1bbkgx8g.js} +1 -1
- package/dist/chunks/{repository-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-1g7epwpd.js → tool-output-1g7epwpd.js} +1 -1
- package/dist/chunks/{repository-msq0jde0.js → tool-output-1hc11dc4.js} +4 -4
- package/dist/chunks/{repository-hwvyndb6.js → tool-output-1rmaqtrx.js} +4 -4
- package/dist/chunks/{repository-9hrvpbwe.js → tool-output-1ts8rgva.js} +9 -9
- package/dist/chunks/{repository-y6mpqspj.js → tool-output-1wvycs1y.js} +15 -15
- package/dist/chunks/{repository-56gdpj1q.js → tool-output-1ygqh575.js} +9 -9
- package/dist/chunks/{repository-21r38tys.js → tool-output-21r38tys.js} +1 -1
- package/dist/chunks/{repository-w10e1hs6.js → tool-output-245b80zk.js} +16 -16
- package/dist/chunks/{repository-y3x7e78c.js → tool-output-27qhgprp.js} +11 -11
- package/dist/chunks/{repository-8v20qymr.js → tool-output-28bqvbmz.js} +5 -5
- package/dist/chunks/{repository-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-0pdxzthh.js → tool-output-2dstrcn9.js} +8 -8
- package/dist/chunks/{repository-pstg3rfm.js → tool-output-2jz473v5.js} +1 -1
- package/dist/chunks/{repository-8x9d09d3.js → tool-output-2t2mkpra.js} +14 -14
- package/dist/chunks/{repository-3h63p6gh.js → tool-output-2vd2dv33.js} +27 -27
- package/dist/chunks/{repository-edst9kjn.js → tool-output-30d0gec6.js} +13 -13
- package/dist/chunks/{repository-kcafpss3.js → tool-output-333bq2wg.js} +10 -10
- package/dist/chunks/{repository-q8ypk1e3.js → tool-output-33zseqes.js} +9 -9
- package/dist/chunks/{repository-e5xpd6yj.js → tool-output-34x4s2w1.js} +6 -6
- package/dist/chunks/{repository-h0kzdnr9.js → tool-output-380fkrs4.js} +10 -10
- package/dist/chunks/{repository-jv89nw97.js → tool-output-3bdjg33f.js} +9 -9
- package/dist/chunks/{repository-hx4pgqer.js → tool-output-3cp94b2x.js} +15 -15
- package/dist/chunks/{repository-nse74gxk.js → tool-output-3cxbdjpt.js} +32 -32
- package/dist/chunks/{repository-eenrddpm.js → tool-output-3f39ggam.js} +17 -17
- package/dist/chunks/{repository-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-xfc5qsak.js → tool-output-3hjdpwrp.js} +15 -15
- package/dist/chunks/{repository-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-bfbk1002.js → tool-output-3w4a2kbh.js} +29 -29
- package/dist/chunks/{repository-wm8pq2ft.js → tool-output-41c5hffj.js} +14 -14
- package/dist/chunks/{repository-19h9n27t.js → tool-output-44f1cw7y.js} +11 -11
- package/dist/chunks/{repository-j6sswngc.js → tool-output-48z5eyx9.js} +13 -13
- package/dist/chunks/{repository-sktfb2et.js → tool-output-496as97q.js} +33 -33
- package/dist/chunks/{repository-1yry28cj.js → tool-output-4ajrfae2.js} +35 -35
- package/dist/chunks/{repository-ekgj01x9.js → tool-output-4czfwtvw.js} +10 -10
- package/dist/chunks/{repository-3t9hcx1j.js → tool-output-4dhr5kmg.js} +25 -25
- package/dist/chunks/{repository-35ng7dkh.js → tool-output-4drgpw32.js} +5 -5
- package/dist/chunks/{repository-nt7esxsj.js → tool-output-4dt747xw.js} +18 -18
- package/dist/chunks/{repository-7z2ktkw9.js → tool-output-4e105jgy.js} +89 -89
- package/dist/chunks/{repository-cq37gk0t.js → tool-output-4p8fzzdy.js} +4 -4
- package/dist/chunks/{repository-rckqc9qz.js → tool-output-4pg6vk4d.js} +28 -28
- package/dist/chunks/{repository-w1s085t3.js → tool-output-4vfg1jh9.js} +20 -20
- package/dist/chunks/{repository-9yyq1p31.js → tool-output-4zzpnmyc.js} +15 -15
- package/dist/chunks/{repository-f3tw885h.js → tool-output-5218j1mp.js} +5 -5
- package/dist/chunks/{repository-drr72fqk.js → tool-output-54d63j77.js} +18 -18
- package/dist/chunks/{repository-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-2ax7wrr2.js → tool-output-5ejf4r5a.js} +5 -5
- package/dist/chunks/{repository-47dd7mnd.js → tool-output-5j26zdd4.js} +44 -44
- package/dist/chunks/{repository-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-9tm7cnby.js → tool-output-63d1yb06.js} +9 -9
- package/dist/chunks/{repository-669tq793.js → tool-output-669tq793.js} +1 -1
- package/dist/chunks/{repository-ngph99ba.js → tool-output-6f77yy2d.js} +2 -2
- package/dist/chunks/{repository-2402vzrj.js → tool-output-6h73sxmp.js} +5 -5
- package/dist/chunks/tool-output-6kdq0pjd.js +4 -0
- package/dist/chunks/{repository-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-3r3w1wnb.js → tool-output-6mt29rwn.js} +24 -24
- package/dist/chunks/{repository-4687882h.js → tool-output-6wk7cv4v.js} +32 -32
- package/dist/chunks/{repository-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-84wmtamg.js → tool-output-7h5pm557.js} +32 -32
- package/dist/chunks/{repository-7j0nqdr6.js → tool-output-7k4p3msd.js} +27 -27
- package/dist/chunks/{repository-m5e6x1g3.js → tool-output-7q2hdn5f.js} +5 -5
- package/dist/chunks/{repository-khkheph3.js → tool-output-7s2v97aj.js} +10 -10
- package/dist/chunks/{repository-z39st4x2.js → tool-output-7wdyxh4v.js} +8 -8
- package/dist/chunks/{repository-3dxbc1k2.js → tool-output-7wht8r80.js} +11 -11
- package/dist/chunks/{repository-qnqcwk6h.js → tool-output-7x0e4a3e.js} +10 -10
- package/dist/chunks/{repository-f0yxj968.js → tool-output-808ncq51.js} +6 -6
- package/dist/chunks/{repository-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-pa6m2t5v.js → tool-output-8fy70dyx.js} +26 -26
- package/dist/chunks/{repository-25dp4z6d.js → tool-output-8gfzv65x.js} +60 -60
- package/dist/chunks/{repository-8p4f9s12.js → tool-output-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-d27vxjpb.js → tool-output-8pj9g4aw.js} +13 -13
- package/dist/chunks/{repository-qftbwg1s.js → tool-output-8pkffp7a.js} +1 -1
- package/dist/chunks/{repository-3wb601pz.js → tool-output-8qmmky1n.js} +11 -11
- package/dist/chunks/{repository-9c3z8b76.js → tool-output-8vmcfqt4.js} +14 -14
- package/dist/chunks/{repository-w9k1b9tw.js → tool-output-90vha74g.js} +23 -23
- package/dist/chunks/tool-output-9sh4wc5j.js +18 -0
- package/dist/chunks/{repository-a1bz86dw.js → tool-output-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-cjjby783.js → tool-output-a359dbf8.js} +24 -24
- package/dist/chunks/{repository-27th7jhh.js → tool-output-a3j4x1tw.js} +20 -20
- package/dist/chunks/{repository-9ptzfgq2.js → tool-output-aa7sjynz.js} +11 -11
- package/dist/chunks/{repository-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-6j0pmg7r.js → tool-output-b51hwsdf.js} +39 -39
- package/dist/chunks/{repository-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-d4jrjdy2.js → tool-output-b7tg6v9h.js} +7 -7
- package/dist/chunks/{repository-7j8hvj8b.js → tool-output-b86wdy9s.js} +23 -23
- package/dist/chunks/{repository-cj19zege.js → tool-output-bh0wz0k3.js} +5 -5
- package/dist/chunks/{repository-8aj7zczc.js → tool-output-bpc8xye1.js} +12 -12
- package/dist/chunks/{repository-68df76cx.js → tool-output-bzfzcg95.js} +19 -19
- package/dist/chunks/{repository-q57fswbt.js → tool-output-c9fags9s.js} +14 -14
- package/dist/chunks/{repository-cfpkc3c9.js → tool-output-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-4dgbcxzg.js → tool-output-cpj0znwe.js} +4 -4
- package/dist/chunks/{repository-1k5ynee8.js → tool-output-crr7bgqk.js} +19 -19
- package/dist/chunks/{repository-cwa6csj7.js → tool-output-cwa6csj7.js} +2 -2
- package/dist/chunks/{repository-y62pexj6.js → tool-output-d5cct5w2.js} +4 -4
- package/dist/chunks/{repository-j3m96k93.js → tool-output-d96v7e0b.js} +31 -31
- package/dist/chunks/{repository-kg6v633v.js → tool-output-dbchr83k.js} +7 -7
- package/dist/chunks/{repository-evbgk2k8.js → tool-output-dj9sq318.js} +5 -5
- package/dist/chunks/tool-output-dk18nfnt.js +252 -0
- package/dist/chunks/{repository-a358nvtm.js → tool-output-dn23cswn.js} +9 -9
- package/dist/chunks/{repository-9zq497jr.js → tool-output-dqp45rz8.js} +16 -16
- package/dist/chunks/{repository-xfkkasph.js → tool-output-drwq78ky.js} +4 -4
- package/dist/chunks/{repository-4jegkhqk.js → tool-output-e7bm6crp.js} +16 -16
- package/dist/chunks/{repository-grxcxy9j.js → tool-output-eeaf82dq.js} +8 -8
- package/dist/chunks/{repository-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-tx9qah43.js → tool-output-enqehpm9.js} +30 -30
- package/dist/chunks/{repository-gbjvjkny.js → tool-output-enshc74s.js} +11 -11
- package/dist/chunks/{repository-nw2nz702.js → tool-output-epaqsvmn.js} +4 -4
- package/dist/chunks/{repository-4bycmxaz.js → tool-output-epkpsq8q.js} +6 -6
- package/dist/chunks/{repository-xa025a22.js → tool-output-epxzab81.js} +22 -22
- package/dist/chunks/{repository-erw5rpbs.js → tool-output-erw5rpbs.js} +2 -2
- package/dist/chunks/{repository-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-1bgmqjfz.js → tool-output-etykttqy.js} +24 -24
- package/dist/chunks/{repository-4xpxjm9m.js → tool-output-f6zdrpqa.js} +8 -8
- package/dist/chunks/{repository-5eqe6y7x.js → tool-output-f71ps7j0.js} +11 -11
- package/dist/chunks/{repository-f828m53h.js → tool-output-f828m53h.js} +2 -2
- package/dist/chunks/{repository-j7fpsdt2.js → tool-output-fd0e6drk.js} +36 -36
- package/dist/chunks/{repository-tdmh7t0y.js → tool-output-fdc9xy8k.js} +41 -41
- package/dist/chunks/{repository-njhqdk9p.js → tool-output-fdms3n6w.js} +9 -9
- package/dist/chunks/{repository-24dd53tp.js → tool-output-fhs97t90.js} +9 -9
- package/dist/chunks/{repository-nz569jqt.js → tool-output-fhz5gfgy.js} +5 -5
- package/dist/chunks/{repository-gnx9acxh.js → tool-output-fk3g28fa.js} +3 -3
- package/dist/chunks/{repository-nqnxh7mc.js → tool-output-fng9e0je.js} +6 -6
- package/dist/chunks/{repository-9e95qk9h.js → tool-output-fqg3000w.js} +53 -53
- package/dist/chunks/{repository-mtwknp0b.js → tool-output-ftb756d7.js} +9 -9
- package/dist/chunks/{repository-156zzd6s.js → tool-output-fx7xv9ry.js} +4 -4
- package/dist/chunks/{repository-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-5nncaxqn.js → tool-output-fymfmzvm.js} +22 -22
- package/dist/chunks/{repository-e9c9m0xn.js → tool-output-g405kcwd.js} +9 -9
- package/dist/chunks/{repository-4qhnatmg.js → tool-output-gbj63fq2.js} +10 -10
- package/dist/chunks/{repository-2gxdjdr0.js → tool-output-gbwbz775.js} +5 -5
- package/dist/chunks/{repository-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-b09hzw3k.js → tool-output-ggwd74jc.js} +2 -2
- package/dist/chunks/{repository-3hcj8h5a.js → tool-output-gmgzcr5s.js} +20 -20
- package/dist/chunks/{repository-xsr3yw12.js → tool-output-gr0cg7q6.js} +23 -23
- package/dist/chunks/{repository-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-747xp0mp.js → tool-output-gws4b7r9.js} +45 -45
- package/dist/chunks/{repository-s9fzvpf3.js → tool-output-gx9e308d.js} +3 -3
- package/dist/chunks/{repository-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-eycga54b.js → tool-output-hcxtz2cn.js} +11 -11
- package/dist/chunks/{repository-d3cpk3py.js → tool-output-he6djx1j.js} +28 -28
- package/dist/chunks/{repository-jzpydyb7.js → tool-output-hf2j770k.js} +11 -11
- package/dist/chunks/{repository-ssx6an5f.js → tool-output-hh2gqd14.js} +13 -13
- package/dist/chunks/{repository-hkfg6fzm.js → tool-output-hkfg6fzm.js} +2 -2
- package/dist/chunks/{repository-m38spqgz.js → tool-output-hmc3077v.js} +15 -15
- package/dist/chunks/{repository-rkn40jbr.js → tool-output-hp296tng.js} +13 -13
- package/dist/chunks/{repository-d0k1g5nx.js → tool-output-hq8zt1th.js} +6 -6
- package/dist/chunks/{repository-9689nk70.js → tool-output-j313d1gp.js} +33 -33
- package/dist/chunks/{repository-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-xcf3vq4w.js → tool-output-j5fs6qp9.js} +8 -8
- package/dist/chunks/{repository-16nrxpzh.js → tool-output-j6ynvstg.js} +15 -15
- package/dist/chunks/{repository-9e7ete8t.js → tool-output-j78cd4c2.js} +11 -11
- package/dist/chunks/{repository-6te9s930.js → tool-output-jd5ad6jn.js} +23 -23
- package/dist/chunks/{repository-b79km0je.js → tool-output-jdgt8b9h.js} +16 -16
- package/dist/chunks/{repository-wztfkr7b.js → tool-output-jhqs8np0.js} +13 -13
- package/dist/chunks/{repository-tkk5atn2.js → tool-output-jk0t2mrd.js} +22 -22
- package/dist/chunks/{repository-d28d7nnv.js → tool-output-jst88djk.js} +15 -15
- package/dist/chunks/{repository-5qkxfyep.js → tool-output-jz5sxy2v.js} +5 -5
- package/dist/chunks/{repository-6dp2jh4b.js → tool-output-k0qwsmnp.js} +4 -4
- package/dist/chunks/{repository-nzks3jc8.js → tool-output-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-gyq044ef.js → tool-output-k6mfdkmd.js} +23 -23
- package/dist/chunks/{repository-v92tbnm7.js → tool-output-khjxa8a8.js} +13 -13
- package/dist/chunks/{repository-k9kj6xed.js → tool-output-knb7evpn.js} +6 -6
- package/dist/chunks/{repository-n7349v29.js → tool-output-kq8anxe4.js} +11 -11
- package/dist/chunks/{repository-k6s7pzm2.js → tool-output-krqv6p8z.js} +24 -24
- package/dist/chunks/{repository-smgr690m.js → tool-output-ktk6m7yv.js} +12 -12
- package/dist/chunks/{repository-gxpss1xa.js → tool-output-kzr6x06e.js} +6 -6
- package/dist/chunks/{repository-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-40jd367m.js → tool-output-m73r9x6c.js} +26 -26
- package/dist/chunks/{repository-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-jw80jp6b.js → tool-output-magykp64.js} +4 -4
- package/dist/chunks/{repository-e9xyjmyr.js → tool-output-meryqakt.js} +3 -3
- package/dist/chunks/{repository-0fnnvvtf.js → tool-output-mhm5nxpj.js} +35 -35
- package/dist/chunks/{repository-kd7vez3r.js → tool-output-mkg7sf6a.js} +4 -4
- package/dist/chunks/{repository-48dzx0v6.js → tool-output-mncc1266.js} +42 -42
- package/dist/chunks/{repository-sxe2hh18.js → tool-output-mtwjx8d5.js} +5 -5
- package/dist/chunks/{repository-32eyc9pz.js → tool-output-n049gm8z.js} +8 -8
- package/dist/chunks/{repository-zrq8kphx.js → tool-output-n0tq777j.js} +8 -8
- package/dist/chunks/{repository-r1zsm33h.js → tool-output-n1ktpaa9.js} +16 -16
- package/dist/chunks/{repository-rnnxe44a.js → tool-output-n7vp38gt.js} +4 -4
- package/dist/chunks/{repository-zncvfkhn.js → tool-output-ngk7ft1f.js} +21 -21
- package/dist/chunks/{repository-76sy9xf8.js → tool-output-nmpm9ry4.js} +17 -17
- package/dist/chunks/{repository-988jgs45.js → tool-output-ny6ggxa6.js} +28 -28
- package/dist/chunks/{repository-yhhseat7.js → tool-output-nyvg7fdv.js} +8 -8
- package/dist/chunks/{repository-ztvvx4d5.js → tool-output-p2d6c6bb.js} +15 -15
- package/dist/chunks/{repository-a7csrj9g.js → tool-output-p2gbehyw.js} +5 -5
- package/dist/chunks/{repository-czfptnv9.js → tool-output-p37cw4rj.js} +8 -8
- package/dist/chunks/{repository-m9d03vsf.js → tool-output-pb1eahw5.js} +8 -8
- package/dist/chunks/{repository-y5fdqert.js → tool-output-pd65cknd.js} +30 -30
- package/dist/chunks/{repository-2aj92ezp.js → tool-output-pd85y656.js} +15 -15
- package/dist/chunks/{repository-n9arjmkd.js → tool-output-ph842b28.js} +4 -4
- package/dist/chunks/{repository-ydgy0jv4.js → tool-output-phpw85vv.js} +4 -4
- package/dist/chunks/{repository-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{repository-vncycja5.js → tool-output-pmr4s4kc.js} +4 -4
- package/dist/chunks/{repository-kmektthr.js → tool-output-pnhjcye8.js} +18 -18
- package/dist/chunks/{repository-gsep8nmr.js → tool-output-pz615jzp.js} +35 -35
- package/dist/chunks/{repository-v2p627ht.js → tool-output-pz8xdsk0.js} +94 -94
- package/dist/chunks/{repository-e7hxwpth.js → tool-output-q2xhn23d.js} +11 -11
- package/dist/chunks/{repository-ajmg8w9c.js → tool-output-q3q4fawj.js} +5 -5
- package/dist/chunks/{repository-m4wm6chx.js → tool-output-q8epdb8w.js} +30 -30
- package/dist/chunks/{repository-qng17q6g.js → tool-output-q9cdy8tv.js} +9 -9
- package/dist/chunks/{repository-qeg0a57n.js → tool-output-qamdyatg.js} +13 -13
- package/dist/chunks/{repository-gbccyn0s.js → tool-output-qec9hvjm.js} +179 -179
- package/dist/chunks/{repository-6zh7xxe6.js → tool-output-qfqsp29t.js} +26 -26
- package/dist/chunks/{repository-2k8khapm.js → tool-output-qgn6gcr1.js} +5 -5
- package/dist/chunks/{repository-qjnxxf51.js → tool-output-qjnxxf51.js} +2 -2
- package/dist/chunks/{repository-jczd64ef.js → tool-output-qkc1cvv7.js} +33 -33
- package/dist/chunks/{repository-97h7kfy1.js → tool-output-qp3v07n2.js} +8 -8
- package/dist/chunks/{repository-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-98bk72ht.js → tool-output-r263x78e.js} +11 -11
- package/dist/chunks/{repository-ygwgyd6z.js → tool-output-r52tak3e.js} +3 -3
- package/dist/chunks/{repository-08e6decx.js → tool-output-r6qre0sb.js} +29 -29
- package/dist/chunks/{repository-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-qrnms2rq.js → tool-output-rvbptfp6.js} +2 -2
- package/dist/chunks/{repository-hqt53cmn.js → tool-output-s5kb3k8e.js} +4 -4
- package/dist/chunks/{repository-3xtyrk98.js → tool-output-sa1fyfn4.js} +13 -13
- package/dist/chunks/{repository-pqsm87s1.js → tool-output-sg8a7ymw.js} +4 -4
- package/dist/chunks/{repository-qgsw5m5h.js → tool-output-t3bygzqy.js} +10 -10
- package/dist/chunks/{repository-0kwr4h1p.js → tool-output-t3fdem4h.js} +18 -18
- package/dist/chunks/{repository-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-p28j5sbe.js → tool-output-tbz0fdvh.js} +5 -5
- package/dist/chunks/{repository-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{repository-jbj23068.js → tool-output-tjjwpfh5.js} +1 -1
- package/dist/chunks/{repository-fn5ac5xw.js → tool-output-tk3z30t0.js} +29 -29
- package/dist/chunks/{repository-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-z8h8vbg2.js → tool-output-v16qm9q2.js} +15 -15
- package/dist/chunks/{repository-ah0pkc8z.js → tool-output-vbsn5z78.js} +23 -23
- package/dist/chunks/{repository-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-gtqq653r.js → tool-output-vggs0s0j.js} +26 -26
- package/dist/chunks/{repository-mst8n3qf.js → tool-output-vvzwb0bn.js} +24 -24
- package/dist/chunks/{repository-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{repository-wcjfyzwp.js → tool-output-wp04yf6p.js} +45 -45
- package/dist/chunks/{repository-v7wd1yc6.js → tool-output-wpfcz72r.js} +3 -3
- package/dist/chunks/{repository-8fpgymmv.js → tool-output-wtrs3vw2.js} +26 -26
- package/dist/chunks/{repository-8r1x53s2.js → tool-output-ww5tpm6f.js} +13 -13
- package/dist/chunks/{repository-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
- package/dist/chunks/tool-output-x57dpdjd.js +26 -0
- package/dist/chunks/{repository-xznas7s2.js → tool-output-x7bv5qy9.js} +34 -34
- package/dist/chunks/{repository-03ajav8s.js → tool-output-xdj8fn82.js} +15 -15
- package/dist/chunks/{repository-n63r6n5d.js → tool-output-xgm2h5c0.js} +14 -14
- package/dist/chunks/{repository-ebahehhd.js → tool-output-xgq1v614.js} +6 -6
- package/dist/chunks/{repository-qxp26m5h.js → tool-output-xkg5p1bf.js} +17 -17
- package/dist/chunks/{repository-txd4xrw4.js → tool-output-xxkgr1pf.js} +44 -44
- package/dist/chunks/{repository-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-evfkrj3r.js → tool-output-y3w47xgk.js} +27 -27
- package/dist/chunks/{repository-y71avatq.js → tool-output-y71avatq.js} +1 -1
- package/dist/chunks/{repository-4tvtkt0r.js → tool-output-yb7ywnjc.js} +18 -18
- package/dist/chunks/{repository-zhfk7ysy.js → tool-output-ym688k4s.js} +44 -44
- package/dist/chunks/{repository-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-adkkytg4.js → tool-output-yvqb1n05.js} +3 -3
- package/dist/chunks/{repository-hwm7e8aj.js → tool-output-yz94qm7h.js} +33 -33
- package/dist/chunks/{repository-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-y6f0p4jw.js → tool-output-z5ntc05q.js} +3 -3
- package/dist/chunks/{repository-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-0n0z2jxy.js → tool-output-z974etmn.js} +18 -18
- package/dist/chunks/{repository-k76fn4kw.js → tool-output-zav06jzw.js} +4 -4
- package/dist/chunks/{repository-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-0ej8hn87.js → tool-output-zpztgtkd.js} +9 -9
- package/dist/chunks/{repository-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-hqxaqnsz.js → tool-output-zskgmyr0.js} +14 -14
- package/dist/chunks/{repository-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- 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 +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- 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 +143 -143
- 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 +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +71 -71
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- 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 +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- 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 +94 -94
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- 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 +92 -92
- 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 +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- 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 +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +74 -74
- 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 +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +4 -4
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- 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 +2 -2
- 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 +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/repository-0bgghbta.js +0 -492
- package/dist/chunks/repository-1qq6zhmr.js +0 -26
- package/dist/chunks/repository-85dxg7gk.js +0 -252
- package/dist/chunks/repository-n95b3jav.js +0 -18
- package/dist/chunks/repository-qapv375x.js +0 -4
- /package/dist/chunks/{repository-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → tool-output-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-output-7wht8r80.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node84
|
|
8
|
+
} from "./tool-output-qamdyatg.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-output-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info24,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service61,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node64
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service61 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
53
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service81;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info24({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service61.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info24({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node64 = makeGlobalNode({ service: Service61, layer, deps: [node87, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event15, Info24, Service61, node64, exports_credential };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-kq8anxe4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-qamdyatg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./tool-output-x7bv5qy9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-output-q8epdb8w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./tool-output-496as97q.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID6,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-qkc1cvv7.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-output-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID6.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./tool-output-xxkgr1pf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./tool-output-7k4p3msd.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigCompactionPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_compaction2 = {};
|
|
16
|
+
__export(exports_compaction2, {
|
|
17
|
+
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
+
Plugin: () => Plugin29
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin29 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service41;
|
|
26
|
+
const compaction = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin11 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin29, exports_compaction2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-0b2dkfpa.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID7.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-kq8anxe4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-qamdyatg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service61
|
|
11
|
+
} from "./tool-output-x7bv5qy9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./tool-output-q8epdb8w.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-output-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./tool-output-496as97q.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-epkpsq8q.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID8.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID9.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service61;
|
|
57
|
+
const integrations = yield* Service60;
|
|
58
58
|
const bus = yield* Service81;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./tool-output-qamdyatg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event15,
|
|
7
|
+
Service61,
|
|
8
|
+
node64
|
|
9
|
+
} from "./tool-output-x7bv5qy9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service42,
|
|
12
|
+
node45
|
|
13
|
+
} from "./tool-output-jk0t2mrd.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node81
|
|
20
|
+
} from "./tool-output-8vmcfqt4.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-output-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-z974etmn.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-output-7q2hdn5f.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-output-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service43,
|
|
36
|
+
Event9,
|
|
37
|
+
node46
|
|
38
|
+
} from "./tool-output-bzfzcg95.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service41,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer17,
|
|
53
|
+
node: () => node44,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service41 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service41, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer17 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service78;
|
|
97
|
+
const watcher = yield* Service42;
|
|
98
98
|
const bus = yield* Service81;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service61;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service43;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service41.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service41,
|
|
268
|
+
layer: layer17(options),
|
|
269
|
+
deps: [node45, node84, FSUtil.node, Global.node, node81, node64, node46]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node44 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service41, Test2, testLayer2, layer17, configured6, node44, exports_config };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service42,
|
|
3
|
+
node45
|
|
4
|
+
} from "./tool-output-jk0t2mrd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node81
|
|
8
|
+
} from "./tool-output-8vmcfqt4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service41,
|
|
11
|
+
node44
|
|
12
|
+
} from "./tool-output-xxkgr1pf.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service5,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service5 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service5, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service41;
|
|
40
|
+
const watcher = yield* Service42;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service5.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service5,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node44, FSUtil.node, node45, node81]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service5,
|
|
80
|
+
layer: Layer.succeed(Service5, Service5.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service5, layer5, node6, empty2, exports_source };
|