@opencode-ai/core 0.0.0-dev-19233 → 0.0.0-dev-19236
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{job-rhwzqy16.js → file-00pw28xp.js} +29 -29
- package/dist/chunks/{job-952aqqdh.js → file-049bzhxb.js} +9 -9
- package/dist/chunks/{job-fb135p40.js → file-04k4zjse.js} +17 -17
- package/dist/chunks/{job-9vw7vcdh.js → file-066kw2xy.js} +3 -3
- package/dist/chunks/{job-sq1ke05s.js → file-08abk570.js} +34 -34
- package/dist/chunks/{job-0e0xafbb.js → file-0e0xafbb.js} +2 -2
- package/dist/chunks/{job-hnb3gsp3.js → file-0gbwq0hg.js} +23 -23
- package/dist/chunks/{job-s604mysz.js → file-0gfv995g.js} +30 -30
- package/dist/chunks/{job-ggzqw02n.js → file-0kyj2j0j.js} +14 -14
- package/dist/chunks/{job-54ney90v.js → file-0nv781ed.js} +15 -15
- package/dist/chunks/{job-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
- package/dist/chunks/{job-xg3vtz5h.js → file-10ac5mb1.js} +4 -4
- package/dist/chunks/{job-0far9rqk.js → file-14ek8s6r.js} +15 -15
- package/dist/chunks/{job-36vsdr69.js → file-17hja9f4.js} +2 -2
- package/dist/chunks/{job-fyy22dcy.js → file-17qydk6p.js} +18 -18
- package/dist/chunks/{job-q1983gs3.js → file-19knqdbs.js} +3 -3
- package/dist/chunks/{job-1ct4r87x.js → file-1ct4r87x.js} +1 -1
- package/dist/chunks/{job-p54pbamy.js → file-1fyf70sm.js} +6 -6
- package/dist/chunks/{job-jjzmpkqm.js → file-1mrma768.js} +5 -5
- package/dist/chunks/{job-89cfd633.js → file-1pdtxp2d.js} +1 -1
- package/dist/chunks/{job-8tq3sb4p.js → file-1wfjb4fb.js} +1 -1
- package/dist/chunks/{job-r30z0r03.js → file-1zremn8p.js} +15 -15
- package/dist/chunks/{job-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{job-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{job-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-nrsmc0cn.js → file-2gtf4gxt.js} +9 -9
- package/dist/chunks/{job-2ht70gj7.js → file-2ht70gj7.js} +1 -1
- package/dist/chunks/{job-7dqw4kz8.js → file-2k8khapm.js} +5 -5
- package/dist/chunks/{job-crtth3kn.js → file-2yb0w078.js} +3 -3
- package/dist/chunks/{job-gdkf5h66.js → file-303p9w1h.js} +4 -4
- package/dist/chunks/{job-cj7mjqre.js → file-33j3s859.js} +4 -4
- package/dist/chunks/{job-2b8b9bdq.js → file-35agntz9.js} +27 -27
- package/dist/chunks/{job-7ngxwvqm.js → file-39cmf8tc.js} +9 -9
- package/dist/chunks/{job-gt58j5k0.js → file-39hqv1cv.js} +26 -26
- package/dist/chunks/{job-c7vadqv7.js → file-3ew3pzd4.js} +5 -5
- package/dist/chunks/{job-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-n99q5rq0.js → file-3hfq6gnd.js} +4 -4
- package/dist/chunks/{job-wj9ny62y.js → file-3k4x7jps.js} +9 -9
- package/dist/chunks/{job-mxstmdya.js → file-3qysrpvj.js} +18 -18
- package/dist/chunks/{job-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
- package/dist/chunks/{job-r6xmjf87.js → file-3s2nsa7k.js} +3 -3
- package/dist/chunks/{job-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-k1kwjnae.js → file-3vtq9f9y.js} +11 -11
- package/dist/chunks/{job-0v8sm5cm.js → file-428apkw1.js} +16 -16
- package/dist/chunks/{job-454k5vzh.js → file-454k5vzh.js} +1 -1
- package/dist/chunks/{job-fme6xxpb.js → file-4e8crvtb.js} +7 -7
- package/dist/chunks/{job-0bf0f982.js → file-4fv3rmvn.js} +16 -16
- package/dist/chunks/{job-8aaqmbct.js → file-4qjmbshy.js} +21 -21
- package/dist/chunks/{job-4r2nyarf.js → file-4r2nyarf.js} +1 -1
- package/dist/chunks/{job-6esbpxbg.js → file-4rx2ve8e.js} +32 -32
- package/dist/chunks/{job-67nr6jxm.js → file-4skn7rc2.js} +31 -31
- package/dist/chunks/{job-fraw6xjy.js → file-4xx57fsq.js} +8 -8
- package/dist/chunks/{job-0kxr4mw8.js → file-4z3jhc10.js} +35 -35
- package/dist/chunks/{job-mfqp6xfm.js → file-56gdpj1q.js} +6 -6
- package/dist/chunks/{job-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{job-wzmmj5c3.js → file-5fhcw59z.js} +38 -38
- package/dist/chunks/{job-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
- package/dist/chunks/{job-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
- package/dist/chunks/{job-d7qhd9es.js → file-5sqy5p9k.js} +3 -3
- package/dist/chunks/{job-v4kmtq0v.js → file-64hre8q8.js} +18 -18
- package/dist/chunks/{job-fkcyqnbs.js → file-65dn8j3v.js} +14 -14
- package/dist/chunks/{job-vgpse2jg.js → file-65g4zw8b.js} +12 -12
- package/dist/chunks/{job-ye3yabn9.js → file-66hkt5g6.js} +52 -52
- package/dist/chunks/{job-jtvvp2rb.js → file-6c94r859.js} +26 -26
- package/dist/chunks/{job-7c4j9tm2.js → file-6gg9h021.js} +9 -9
- package/dist/chunks/{job-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{job-5hbtvx61.js → file-6m3yr79m.js} +26 -26
- package/dist/chunks/{job-ahxzhcff.js → file-6pdxptdt.js} +2 -2
- package/dist/chunks/{job-711hfp6y.js → file-711hfp6y.js} +2 -2
- package/dist/chunks/{job-72nftnjy.js → file-72nftnjy.js} +2 -2
- package/dist/chunks/{job-1bbkgx8g.js → file-73tb2d7t.js} +3 -3
- package/dist/chunks/{job-g4p86hxj.js → file-754np4jn.js} +18 -18
- package/dist/chunks/{job-bjs50m4b.js → file-759pz1a2.js} +8 -8
- package/dist/chunks/{job-be82m630.js → file-75w3e9am.js} +33 -33
- package/dist/chunks/{job-mtcjf44p.js → file-75yf2d83.js} +8 -8
- package/dist/chunks/{job-76wr4mq2.js → file-76wr4mq2.js} +2 -2
- package/dist/chunks/{job-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-rgpp5x08.js → file-7grmgsg7.js} +4 -4
- package/dist/chunks/{job-9cnpj473.js → file-7n7dggr2.js} +8 -8
- package/dist/chunks/{job-9bfm6dbz.js → file-7ntygjpx.js} +6 -6
- package/dist/chunks/{job-5svb1j9h.js → file-7qxyrcbr.js} +11 -11
- package/dist/chunks/{job-1z8rthr1.js → file-7stz268c.js} +42 -42
- package/dist/chunks/{job-kxpygcw9.js → file-7yqjxrmz.js} +6 -6
- package/dist/chunks/file-7zk4hah4.js +4 -0
- package/dist/chunks/{job-g2vkv3me.js → file-81wsxtk4.js} +32 -32
- package/dist/chunks/{job-764nqqnc.js → file-8b48ft5s.js} +28 -28
- package/dist/chunks/{job-6ds36eyk.js → file-8dv8mw3k.js} +7 -7
- package/dist/chunks/{job-kp9qc20g.js → file-8ej6t0kx.js} +25 -25
- package/dist/chunks/{job-jy46tkpa.js → file-8p628rfe.js} +19 -19
- package/dist/chunks/{job-nge3vtdb.js → file-92k45pvj.js} +6 -6
- package/dist/chunks/{job-93a8yfjt.js → file-93a8yfjt.js} +2 -2
- package/dist/chunks/{job-rmtx79qf.js → file-99f55ymk.js} +6 -6
- package/dist/chunks/{job-p7g4wgs5.js → file-9ddpxva0.js} +16 -16
- package/dist/chunks/{job-kam18kqc.js → file-9m6tffr9.js} +85 -85
- package/dist/chunks/{job-6t6zp6fw.js → file-a73hhrgc.js} +10 -10
- package/dist/chunks/{job-1ydgq2r4.js → file-a9zfrvqc.js} +5 -5
- package/dist/chunks/{job-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{job-7dk0wx9f.js → file-af4svgqg.js} +11 -11
- package/dist/chunks/{job-0j000hfr.js → file-aj358c6r.js} +15 -15
- package/dist/chunks/{job-8qhh6y2r.js → file-ampcz2zy.js} +26 -26
- package/dist/chunks/{job-qz0x0s1g.js → file-at07c4b9.js} +15 -15
- package/dist/chunks/{job-e9sa9zxz.js → file-b01ryz8d.js} +11 -11
- package/dist/chunks/{job-1q5awywt.js → file-b29mbqx6.js} +5 -5
- package/dist/chunks/{job-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-yq5ja4q0.js → file-b82xwvp7.js} +6 -6
- package/dist/chunks/{job-b9wsbatv.js → file-b9wsbatv.js} +1 -1
- package/dist/chunks/{job-bsvvsrn1.js → file-bcezcar3.js} +5 -5
- package/dist/chunks/{job-dtkd4wwk.js → file-bj16ny09.js} +31 -31
- package/dist/chunks/{job-smvrzaws.js → file-bnce5g0a.js} +14 -14
- package/dist/chunks/{job-2hg40tsn.js → file-bsa9yb1r.js} +30 -30
- package/dist/chunks/{job-1gz0ta6j.js → file-btr637ng.js} +27 -27
- package/dist/chunks/{job-w8zd3pxg.js → file-bwrfg74g.js} +11 -11
- package/dist/chunks/{job-ybsdre70.js → file-c36t02qb.js} +36 -36
- package/dist/chunks/{job-22ra2ec6.js → file-cbq8agb2.js} +38 -38
- package/dist/chunks/{job-adhsr3tz.js → file-cctcmebf.js} +3 -3
- package/dist/chunks/{job-v517j8yy.js → file-cek9jpa8.js} +24 -24
- package/dist/chunks/{job-31h5rjhn.js → file-cryxk9jx.js} +15 -15
- package/dist/chunks/{job-t27w4pf2.js → file-d8ch6z4t.js} +22 -22
- package/dist/chunks/{job-gfzbjyhz.js → file-defv84qj.js} +13 -13
- package/dist/chunks/{job-099yzkay.js → file-dm7yrpwm.js} +5 -5
- package/dist/chunks/{job-34akyan7.js → file-dns6mj49.js} +9 -9
- package/dist/chunks/{job-ert66qwv.js → file-dtb0ws7g.js} +284 -284
- package/dist/chunks/{job-7k14zqa2.js → file-ebtdd58c.js} +20 -20
- package/dist/chunks/{job-7g4de1gz.js → file-eyx7m0wd.js} +46 -46
- package/dist/chunks/{job-jpavn7vf.js → file-ez0vzke5.js} +8 -8
- package/dist/chunks/{job-gw3vps06.js → file-f5n5pagv.js} +9 -9
- package/dist/chunks/{job-rae5gv57.js → file-f73jprk4.js} +10 -10
- package/dist/chunks/{job-ms3efxed.js → file-fd12r7gp.js} +6 -6
- package/dist/chunks/{job-3qpta3nq.js → file-fksjs2ph.js} +47 -47
- package/dist/chunks/{job-sbzv84es.js → file-fqrxtbzb.js} +9 -9
- package/dist/chunks/{job-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-fxypknc8.js → file-fxypknc8.js} +1 -1
- package/dist/chunks/{job-6sg32tdv.js → file-fyvm2v1v.js} +4 -4
- package/dist/chunks/{job-hrvm11jt.js → file-g2dy4bvs.js} +3 -3
- package/dist/chunks/{job-d72308c8.js → file-g2gt0w0k.js} +2 -2
- package/dist/chunks/file-g7tb25v3.js +247 -0
- package/dist/chunks/{job-ykzs9fww.js → file-ga7x5g5r.js} +15 -15
- package/dist/chunks/{job-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{job-vnzc40bj.js → file-ge7ds67b.js} +2 -2
- package/dist/chunks/{job-zvt5dnpc.js → file-gst7axd9.js} +4 -4
- package/dist/chunks/{job-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-39yamgtx.js → file-hczx788n.js} +11 -11
- package/dist/chunks/{job-heyhwy2w.js → file-heyhwy2w.js} +1 -1
- package/dist/chunks/{job-bntpbxe2.js → file-hg836chd.js} +22 -22
- package/dist/chunks/{job-18z4nfx4.js → file-hht6jkqw.js} +17 -17
- package/dist/chunks/{job-nhy5jxhy.js → file-hjt4xg1x.js} +4 -4
- package/dist/chunks/{job-9z6xj13s.js → file-ht963k40.js} +5 -5
- package/dist/chunks/{job-vssq7284.js → file-hx6eb5yw.js} +1 -1
- package/dist/chunks/{job-rhpqpny4.js → file-j01ht7zb.js} +18 -18
- package/dist/chunks/{job-awaee7qt.js → file-j5208yae.js} +6 -6
- package/dist/chunks/{job-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{job-9y5wqfte.js → file-jasnfvjs.js} +10 -10
- package/dist/chunks/{job-yvg0r0vc.js → file-jdnm8yea.js} +11 -11
- package/dist/chunks/{job-zc9338xq.js → file-jee1seff.js} +8 -8
- package/dist/chunks/{job-cw3cp746.js → file-jfx7w4w0.js} +52 -52
- package/dist/chunks/{job-f569ayv3.js → file-jg8hpbdb.js} +17 -17
- package/dist/chunks/{job-723tnx7j.js → file-jkbrzrrv.js} +24 -24
- package/dist/chunks/{job-13y9ya0v.js → file-jnv61ywj.js} +16 -16
- package/dist/chunks/{job-y75evwn6.js → file-jw46jgr9.js} +22 -22
- package/dist/chunks/{job-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
- package/dist/chunks/{job-tve492s9.js → file-k7ry919m.js} +19 -19
- package/dist/chunks/{job-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{job-60tbqhvj.js → file-kgx56mxq.js} +85 -85
- package/dist/chunks/{job-qq6z8s6d.js → file-kjsgxbnr.js} +19 -19
- package/dist/chunks/{job-yfbd16n1.js → file-kk3rr3qh.js} +5 -5
- package/dist/chunks/{job-ar2zsk5h.js → file-kkq7fz0t.js} +8 -8
- package/dist/chunks/{job-njb9p3v3.js → file-km1d5px4.js} +4 -4
- package/dist/chunks/{job-wefnnxbq.js → file-kmcjptjm.js} +1 -1
- package/dist/chunks/{job-6e5er5n1.js → file-kq7ayz9w.js} +11 -11
- package/dist/chunks/{job-j5axe61t.js → file-kt8ej3md.js} +14 -14
- package/dist/chunks/{job-hw4pv20g.js → file-kvsjn1dr.js} +2 -2
- package/dist/chunks/{job-a78wm4ce.js → file-m25102gb.js} +7 -7
- package/dist/chunks/{job-sw2z68vz.js → file-m6gkbcmq.js} +35 -35
- package/dist/chunks/{job-1vtw6nte.js → file-m7fncjt1.js} +20 -20
- package/dist/chunks/{job-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-b27vhd2z.js → file-mtq6xxnx.js} +7 -7
- package/dist/chunks/{job-tfyecq3b.js → file-mw9hhfke.js} +32 -32
- package/dist/chunks/{job-21h5670b.js → file-nknpaanp.js} +8 -8
- package/dist/chunks/{job-85yfw8f2.js → file-nw7wp838.js} +4 -4
- package/dist/chunks/{job-nxrz604p.js → file-nxrz604p.js} +2 -2
- package/dist/chunks/{job-v6ryzxxv.js → file-p0fvx2b7.js} +9 -9
- package/dist/chunks/{job-c7cd984x.js → file-p2bhzj9e.js} +9 -9
- package/dist/chunks/{job-1a276tzg.js → file-p5a9pe6q.js} +20 -20
- package/dist/chunks/{job-bdr6vkwq.js → file-p742g7s6.js} +24 -24
- package/dist/chunks/{job-g0ysksx1.js → file-pbhkjpds.js} +9 -9
- package/dist/chunks/{job-nraysfsj.js → file-phke90h3.js} +5 -5
- package/dist/chunks/{job-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{job-f1a3k8hk.js → file-pwphe3rf.js} +6 -6
- package/dist/chunks/{job-cr1qn5av.js → file-q06n7zjg.js} +5 -5
- package/dist/chunks/{job-mewap8c7.js → file-q6ypxst3.js} +4 -4
- package/dist/chunks/{job-mgg6b1b0.js → file-q87c86rb.js} +16 -16
- package/dist/chunks/{job-r1543tk3.js → file-qp4m35b7.js} +3 -3
- package/dist/chunks/{job-9185jwfw.js → file-qpfcbq6z.js} +11 -11
- package/dist/chunks/{job-j83byb14.js → file-qq11w61w.js} +4 -4
- package/dist/chunks/{job-gxpjz2fr.js → file-qqff7yvw.js} +12 -12
- package/dist/chunks/{job-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{job-9qm9egsn.js → file-qvbcabdc.js} +2 -2
- package/dist/chunks/{job-8j2rwc0w.js → file-qvrpv7pw.js} +21 -21
- package/dist/chunks/{job-ynf2m8sv.js → file-qyg26a5q.js} +60 -60
- package/dist/chunks/{job-gta7psvz.js → file-r5bh2vbg.js} +10 -10
- package/dist/chunks/{job-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
- package/dist/chunks/file-rap9a73h.js +18 -0
- package/dist/chunks/{job-krt69xys.js → file-rc3fvhed.js} +159 -159
- package/dist/chunks/{job-m5rgyzja.js → file-rg4vxe4z.js} +11 -11
- package/dist/chunks/{job-s0gpr7nd.js → file-rh7y5xh0.js} +1 -1
- package/dist/chunks/{job-vcwpx9hw.js → file-rs2df3q6.js} +9 -9
- package/dist/chunks/{job-nwdwhmak.js → file-rxkkpkzx.js} +9 -9
- package/dist/chunks/{job-988qcjmk.js → file-rzmvvtd3.js} +20 -20
- package/dist/chunks/{job-mj4bzwnf.js → file-sb82pmjh.js} +2 -2
- package/dist/chunks/{job-sba4qhjf.js → file-sba4qhjf.js} +1 -1
- package/dist/chunks/{job-4f62ejdk.js → file-sbnvhk9g.js} +20 -20
- package/dist/chunks/{job-vefskwcr.js → file-sd8ec36g.js} +3 -3
- package/dist/chunks/{job-8k41ncbx.js → file-sgecvmzg.js} +39 -39
- package/dist/chunks/{job-enq73cty.js → file-skb9jyq5.js} +46 -46
- package/dist/chunks/{job-be3ajq1c.js → file-skgjtp1k.js} +35 -35
- package/dist/chunks/{job-fjsjs8gs.js → file-sn5ar8h4.js} +1 -1
- package/dist/chunks/{job-3p4rd3p9.js → file-sthxzpft.js} +22 -22
- package/dist/chunks/{job-vkxy9tje.js → file-swhyn6z2.js} +4 -4
- package/dist/chunks/{job-2xq5ym6z.js → file-sxxkfwq9.js} +32 -32
- package/dist/chunks/{job-ztxeb84j.js → file-sy2xv61m.js} +1 -1
- package/dist/chunks/{job-hcpkpkrn.js → file-t9s2ckae.js} +22 -22
- package/dist/chunks/{job-k3fs0qt5.js → file-tag52meg.js} +7 -7
- package/dist/chunks/{job-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-n4w7srb8.js → file-te19xw12.js} +14 -14
- package/dist/chunks/{job-zc8xf61f.js → file-tjjz5xwe.js} +13 -13
- package/dist/chunks/{job-tjykrgmx.js → file-tjykrgmx.js} +1 -1
- package/dist/chunks/{job-s91rf68f.js → file-ts767fjw.js} +25 -25
- package/dist/chunks/{job-srp77x07.js → file-tsv3p22z.js} +16 -16
- package/dist/chunks/{job-rbztp1s7.js → file-v24vjsdb.js} +53 -53
- package/dist/chunks/{job-npsv0nay.js → file-v7z8bxbw.js} +11 -11
- package/dist/chunks/{job-pnabnhqb.js → file-vd657q2k.js} +22 -22
- package/dist/chunks/{job-3jj6bjb6.js → file-veabk5tt.js} +5 -5
- package/dist/chunks/{job-tyqynq3b.js → file-vhjdrq5e.js} +5 -5
- package/dist/chunks/{job-4dwv79pw.js → file-vqv04s3v.js} +4 -4
- package/dist/chunks/file-vz1btq9j.js +22 -0
- package/dist/chunks/{job-4kpe0rr7.js → file-vz6nxp08.js} +24 -24
- package/dist/chunks/{job-c28q5v06.js → file-w3v7t084.js} +25 -25
- package/dist/chunks/{job-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{job-6g7hnhz5.js → file-wd9xnjkn.js} +20 -20
- package/dist/chunks/{job-khqnst5w.js → file-wdmsjcnj.js} +8 -8
- package/dist/chunks/{job-zb979w0w.js → file-wgcrfrpe.js} +6 -6
- package/dist/chunks/{job-zbyx735k.js → file-wj16sq0a.js} +10 -10
- package/dist/chunks/{job-yfcf1nq6.js → file-ws7sq7f3.js} +20 -20
- package/dist/chunks/{job-ewrksnmv.js → file-wt8jf74x.js} +14 -14
- package/dist/chunks/{job-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-v9mzkcae.js → file-x5wdkkrz.js} +11 -11
- package/dist/chunks/{job-aeech1x6.js → file-x7ynhfcf.js} +24 -24
- package/dist/chunks/{job-29y2fmhm.js → file-xb5gd69p.js} +11 -11
- package/dist/chunks/{job-z6z3ddq4.js → file-xbh233pe.js} +6 -6
- package/dist/chunks/{job-6gw5f1b0.js → file-xqrgenjs.js} +5 -5
- package/dist/chunks/{job-k4wwzjdh.js → file-xysfxsss.js} +24 -24
- package/dist/chunks/{job-1pnbkzsb.js → file-y0hxjsdz.js} +20 -20
- package/dist/chunks/{job-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-pzk1wccs.js → file-y1r8n7hf.js} +20 -20
- package/dist/chunks/{job-y71avatq.js → file-y71avatq.js} +1 -1
- package/dist/chunks/{job-a88tc3ry.js → file-y8r8mqe0.js} +19 -19
- package/dist/chunks/{job-a0pph4fy.js → file-yb55v587.js} +5 -5
- package/dist/chunks/{job-mtqwgfqs.js → file-ybjzef57.js} +8 -8
- package/dist/chunks/{job-ajtjthsy.js → file-yg7sb877.js} +2 -2
- package/dist/chunks/{job-yp2x3t23.js → file-yp2x3t23.js} +1 -1
- package/dist/chunks/{job-j292zv19.js → file-yqgm3h52.js} +15 -15
- package/dist/chunks/{job-rw6x9wyb.js → file-z0xt53t1.js} +11 -11
- package/dist/chunks/{job-z1k01bn4.js → file-z1k01bn4.js} +2 -2
- package/dist/chunks/{job-zppqdj7p.js → file-z2aqhqx5.js} +15 -15
- package/dist/chunks/{job-tm928733.js → file-z98ztr55.js} +4 -4
- package/dist/chunks/{job-k2dt1yqc.js → file-z9bw2vtt.js} +25 -25
- package/dist/chunks/{job-52bfwkce.js → file-zkj92s1w.js} +6 -6
- package/dist/chunks/{job-bkh8009q.js → file-zmscwvaw.js} +13 -13
- package/dist/chunks/{job-nmw60bne.js → file-zwjsydpj.js} +9 -9
- package/dist/chunks/{job-5hbfwtys.js → file-zxhyecep.js} +24 -24
- package/dist/chunks/{job-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +115 -115
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +354 -354
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +124 -124
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +77 -77
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +118 -118
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +108 -108
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +73 -73
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/job-n95b3jav.js +0 -18
- package/dist/chunks/job-w3vb4krt.js +0 -4
- package/dist/chunks/job-ymysjfkp.js +0 -22
- package/dist/chunks/job-z7g6mnwh.js +0 -247
- /package/dist/chunks/{job-0fabt78z.js → file-0fabt78z.js} +0 -0
- /package/dist/chunks/{job-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3t738kvx.js → file-3t738kvx.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-41nvscxy.js → file-41nvscxy.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-982e01ww.js → file-982e01ww.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mntxs535.js → file-mntxs535.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-p8qxwesx.js → file-p8qxwesx.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-se0s1eqw.js → file-se0s1eqw.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → file-z9919s4g.js} +0 -0
- /package/dist/chunks/{job-zbjnn3ac.js → file-zbjnn3ac.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./file-754np4jn.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service66
|
|
8
|
+
} from "./file-cbq8agb2.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-3s2nsa7k.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service47
|
|
14
|
+
} from "./file-wt8jf74x.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service54
|
|
18
|
+
} from "./file-66hkt5g6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./file-9m6tffr9.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
26
|
make9
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-nknpaanp.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
36
|
Output: () => Output2,
|
|
37
|
-
Plugin: () =>
|
|
37
|
+
Plugin: () => Plugin5,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
39
|
description: () => description4,
|
|
40
|
-
name: () =>
|
|
40
|
+
name: () => name5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name5 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input5 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -77,20 +77,20 @@ var description4 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin5 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
83
|
+
const sessions = yield* Service22;
|
|
84
|
+
const jobs = yield* Service47;
|
|
85
|
+
const agents = yield* Service58;
|
|
86
|
+
const config = yield* Service66;
|
|
87
|
+
const permission = yield* Service54;
|
|
88
88
|
const subagents = yield* make9;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name5,
|
|
91
91
|
options: { codemode: false },
|
|
92
92
|
description: description4,
|
|
93
|
-
input:
|
|
93
|
+
input: Input5,
|
|
94
94
|
output: Output2,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
@@ -111,7 +111,7 @@ var Plugin34 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name5,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name5];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name5, Input5, Output2, description4, Plugin5, exports_subagent };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-hczx788n.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-swhyn6z2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./file-bsa9yb1r.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-0gfv995g.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID14,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-zkj92s1w.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID10.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID14.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -220,9 +220,9 @@ var OpenAIPlugin3 = define({
|
|
|
220
220
|
evt.baseURL = codexBaseURL;
|
|
221
221
|
evt.headers.originator = "opencode";
|
|
222
222
|
evt.headers["session-id"] = evt.sessionID;
|
|
223
|
-
}), { providerID:
|
|
223
|
+
}), { providerID: ID14.openai });
|
|
224
224
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
function headers(contentType, app) {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-5sqy5p9k.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-swhyn6z2.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-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: () => Event16,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info25,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service68,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node72
|
|
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-ai/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID12 = 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 Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info25 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service68 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
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 Info25({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service68.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(Service78, 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 Info25({
|
|
80
|
+
id: ID12.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(Service78, 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(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.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(Service78, 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(Event16.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(Service78, 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(Event16.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(Service78, 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(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key3, Value2, Event16, Info25, Service68, node72, exports_credential };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-swhyn6z2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node71
|
|
7
|
+
} from "./file-cek9jpa8.js";
|
|
8
8
|
import {
|
|
9
9
|
Service3,
|
|
10
10
|
node5
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-0nv781ed.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service33
|
|
14
|
+
} from "./file-rap9a73h.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node23,
|
|
17
|
+
ID3
|
|
18
|
+
} from "./file-17qydk6p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service5,
|
|
21
|
+
node7
|
|
22
|
+
} from "./file-759pz1a2.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-dtb0ws7g.js";
|
|
27
27
|
import {
|
|
28
28
|
make3,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-q06n7zjg.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service8,
|
|
34
|
+
node10
|
|
35
|
+
} from "./file-6gg9h021.js";
|
|
36
36
|
import {
|
|
37
37
|
Service4,
|
|
38
38
|
node6
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-nxrz604p.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./file-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
@@ -115,7 +115,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
115
115
|
failures: [
|
|
116
116
|
...failures.values(),
|
|
117
117
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
118
|
-
id:
|
|
118
|
+
id: ID3.make(plugin.id),
|
|
119
119
|
source: plugin.source ?? { type: "builtin" },
|
|
120
120
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
121
121
|
features: { server: true, ...plugin.features }
|
|
@@ -125,9 +125,9 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
};
|
|
126
126
|
});
|
|
127
127
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
|
-
const registry = yield*
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
128
|
+
const registry = yield* Service33;
|
|
129
|
+
const sdk = yield* Service8;
|
|
130
|
+
const instance = yield* Service5;
|
|
131
131
|
const sources = yield* Service3;
|
|
132
132
|
const modules = yield* make3();
|
|
133
133
|
const bus = yield* Service79;
|
|
@@ -206,14 +206,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
node23,
|
|
210
|
+
node10,
|
|
211
|
+
node7,
|
|
212
212
|
node5,
|
|
213
213
|
node6,
|
|
214
214
|
node84,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node71,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-hczx788n.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./file-bsa9yb1r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-0gfv995g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID14
|
|
14
|
+
} from "./file-zkj92s1w.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID14.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID10.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service68;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -2,46 +2,46 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./file-04k4zjse.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service44
|
|
11
|
+
} from "./file-xysfxsss.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./file-14ek8s6r.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-tjjz5xwe.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service19
|
|
24
|
+
} from "./file-q87c86rb.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service54
|
|
27
|
+
} from "./file-66hkt5g6.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
39
|
+
Input: () => Input11,
|
|
40
|
+
Output: () => Output7,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
42
|
+
Plugin: () => Plugin12,
|
|
43
|
+
name: () => name11,
|
|
44
|
+
toModelContent: () => toModelContent5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name11 = "patch";
|
|
90
|
+
var Input11 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
|
|
|
97
97
|
resource: Schema.String,
|
|
98
98
|
target: Schema.String
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Output7 = Schema.Struct({
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var toModelContent5 = (output) => [
|
|
105
105
|
"Success. Updated the following files:",
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin12 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service44;
|
|
113
|
+
const mutation = yield* Service19;
|
|
114
|
+
const fileMutation = yield* Service18;
|
|
115
|
+
const formatter = yield* Service13;
|
|
116
|
+
const location = yield* Service75;
|
|
117
|
+
const permission = yield* Service54;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name11,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
123
|
-
output:
|
|
122
|
+
input: Input11,
|
|
123
|
+
output: Output7,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
126
126
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -273,7 +273,7 @@ var Plugin38 = {
|
|
|
273
273
|
return { applied, files };
|
|
274
274
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
275
275
|
output,
|
|
276
|
-
content:
|
|
276
|
+
content: toModelContent5(output),
|
|
277
277
|
metadata: { files: output.files }
|
|
278
278
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
279
279
|
}
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name11, Input11, Applied2, Output7, toModelContent5, Plugin12, exports_patch };
|