@opencode-ai/core 0.0.0-dev-19134 → 0.0.0-dev-19142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{agent-ab9238g2.js → app-0b9a3syv.js} +6 -6
- package/dist/chunks/{agent-0e0xafbb.js → app-0e0xafbb.js} +2 -2
- package/dist/chunks/{agent-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{agent-1rxbh4dg.js → app-0pnstday.js} +35 -35
- package/dist/chunks/{agent-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
- package/dist/chunks/{agent-9s4ajjhc.js → app-10crkvny.js} +21 -21
- package/dist/chunks/{agent-a2q94wnn.js → app-11ayww28.js} +41 -41
- package/dist/chunks/{agent-z02m7gq6.js → app-11nb5kwh.js} +9 -9
- package/dist/chunks/{agent-w7xx7zyy.js → app-12m25a1r.js} +4 -4
- package/dist/chunks/{agent-tb635r1t.js → app-19zwchw3.js} +88 -88
- package/dist/chunks/{agent-dns82vym.js → app-1ac4g41n.js} +19 -19
- package/dist/chunks/{agent-yq43v846.js → app-1ayxneq2.js} +24 -24
- package/dist/chunks/{agent-mkmcbfj7.js → app-1cnz31nk.js} +13 -13
- package/dist/chunks/{agent-1ct4r87x.js → app-1ct4r87x.js} +1 -1
- package/dist/chunks/{agent-tepvdgp6.js → app-1eg3ajsc.js} +9 -9
- package/dist/chunks/{agent-1pgk3sz4.js → app-1g3sbppe.js} +13 -13
- package/dist/chunks/{agent-yyxvg800.js → app-1jdc2svp.js} +20 -20
- package/dist/chunks/{agent-vt3sdt2p.js → app-1jynzpaq.js} +10 -10
- package/dist/chunks/{agent-01w7s3hf.js → app-1mrma768.js} +5 -5
- package/dist/chunks/{agent-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{agent-7vdy950p.js → app-2548brk4.js} +17 -17
- package/dist/chunks/{agent-806j49yq.js → app-25m4ah6t.js} +7 -7
- package/dist/chunks/{agent-91aj8tvp.js → app-28dgmzze.js} +28 -28
- package/dist/chunks/{agent-1z80kc63.js → app-28pcbh69.js} +8 -8
- package/dist/chunks/{agent-z63w68vq.js → app-29x78va6.js} +6 -6
- package/dist/chunks/{agent-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{agent-2ht70gj7.js → app-2ht70gj7.js} +1 -1
- package/dist/chunks/{agent-9wfg6z9j.js → app-2jfbx11t.js} +20 -20
- package/dist/chunks/{agent-2jqmte8w.js → app-2jqmte8w.js} +2 -2
- package/dist/chunks/{agent-2k8khapm.js → app-2k8khapm.js} +1 -1
- package/dist/chunks/{agent-hf34rg9m.js → app-2q46cvfz.js} +17 -17
- package/dist/chunks/{agent-14h757nk.js → app-2z4bcakw.js} +17 -17
- package/dist/chunks/{agent-d98jztjr.js → app-3699wah4.js} +9 -9
- package/dist/chunks/{agent-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-qkmrjpc8.js → app-3hgkq37t.js} +32 -32
- package/dist/chunks/{agent-zg6phhks.js → app-3ksgtvjj.js} +292 -292
- package/dist/chunks/{agent-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
- package/dist/chunks/{agent-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-gak3es0t.js → app-3v6hx42c.js} +11 -11
- package/dist/chunks/{agent-3xcehbhs.js → app-3xe1zpzw.js} +25 -25
- package/dist/chunks/{agent-5448aj5z.js → app-3xxzp3nh.js} +22 -22
- package/dist/chunks/{agent-bharwccy.js → app-42jtes1n.js} +18 -18
- package/dist/chunks/{agent-bqarnab4.js → app-43mprarq.js} +2 -2
- package/dist/chunks/{agent-454k5vzh.js → app-454k5vzh.js} +1 -1
- package/dist/chunks/{agent-3z68pr8k.js → app-46f0x6q8.js} +11 -11
- package/dist/chunks/{agent-qj09d9qc.js → app-49r12z1f.js} +23 -23
- package/dist/chunks/{agent-ar3vq2rb.js → app-4dxz6g2t.js} +12 -12
- package/dist/chunks/{agent-26qqzp3j.js → app-4k4vxknf.js} +11 -11
- package/dist/chunks/{agent-rhs5vnag.js → app-4qfdps26.js} +6 -6
- package/dist/chunks/{agent-4r2nyarf.js → app-4r2nyarf.js} +1 -1
- package/dist/chunks/{agent-gdkjhw4h.js → app-4w9tmb1q.js} +4 -4
- package/dist/chunks/app-4y2hpfj1.js +20 -0
- package/dist/chunks/{agent-xffcgm1v.js → app-51amr62k.js} +6 -6
- package/dist/chunks/{agent-czdarw0y.js → app-5b58gzej.js} +72 -72
- package/dist/chunks/{agent-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{agent-dd4gnkmv.js → app-5fmjy2xb.js} +11 -11
- package/dist/chunks/{agent-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
- package/dist/chunks/{agent-rxbdfnq0.js → app-5gx2hdkx.js} +3 -3
- package/dist/chunks/{agent-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
- package/dist/chunks/{agent-j935v87r.js → app-5qd3pb7m.js} +2 -2
- package/dist/chunks/{agent-jpkebe24.js → app-5qs502xj.js} +11 -11
- package/dist/chunks/{agent-jrjfj6f1.js → app-5vv1ktcy.js} +22 -22
- package/dist/chunks/{agent-a5wzkdk7.js → app-5xfb8tt8.js} +28 -28
- package/dist/chunks/{agent-hqd7e165.js → app-63daw84a.js} +10 -10
- package/dist/chunks/{agent-jteae0j7.js → app-67ztqkdy.js} +3 -3
- package/dist/chunks/{agent-6z5bwd8g.js → app-6abnk40k.js} +9 -9
- package/dist/chunks/{agent-pm2mekbm.js → app-6axwcwgk.js} +85 -85
- package/dist/chunks/{agent-x108nqtd.js → app-6dsrej2r.js} +3 -3
- package/dist/chunks/{agent-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{agent-8pk35v3b.js → app-6mbbwrj4.js} +24 -24
- package/dist/chunks/{agent-bbqqsne5.js → app-6n3kqnmf.js} +62 -62
- package/dist/chunks/{agent-rwbhhn1p.js → app-6qb1jm5z.js} +8 -8
- package/dist/chunks/{agent-e4gpwzj6.js → app-6ryd33xm.js} +6 -6
- package/dist/chunks/{agent-tp9gt758.js → app-6rzv01zx.js} +4 -4
- package/dist/chunks/{agent-kar5tx9z.js → app-6wk3pvpa.js} +15 -15
- package/dist/chunks/{agent-zbnhqhy2.js → app-6wpk4jm3.js} +11 -11
- package/dist/chunks/{agent-wfzrsdxz.js → app-6yh4f6fv.js} +11 -11
- package/dist/chunks/{agent-65xgr3ez.js → app-6z2bsf6d.js} +7 -7
- package/dist/chunks/{agent-eszpqqjx.js → app-70a7nh0p.js} +27 -27
- package/dist/chunks/{agent-711hfp6y.js → app-711hfp6y.js} +2 -2
- package/dist/chunks/{agent-72nftnjy.js → app-72nftnjy.js} +2 -2
- package/dist/chunks/{agent-m8mnxh4b.js → app-73sszyh7.js} +16 -16
- package/dist/chunks/{agent-gs7dfp15.js → app-76r8xxxn.js} +9 -9
- package/dist/chunks/app-77jnt7s6.js +247 -0
- package/dist/chunks/{agent-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-crf72gwq.js → app-7bpzgkas.js} +6 -6
- package/dist/chunks/{agent-4npbydey.js → app-7mdbrk5c.js} +15 -15
- package/dist/chunks/{agent-aaybge2e.js → app-7n7dggr2.js} +8 -8
- package/dist/chunks/{agent-sbhn25d0.js → app-7pd6f52x.js} +25 -25
- package/dist/chunks/{agent-nryvk2bb.js → app-7rq73qz7.js} +27 -27
- package/dist/chunks/{agent-hybax9yn.js → app-7tw3q1zv.js} +59 -59
- package/dist/chunks/{agent-qtc5wbcs.js → app-7vjwf2sx.js} +29 -29
- package/dist/chunks/{agent-7wbeyhp9.js → app-7w74e5nf.js} +9 -9
- package/dist/chunks/{agent-cxrechn0.js → app-7wq0tnvg.js} +23 -23
- package/dist/chunks/{agent-tcezcvh9.js → app-89znhe33.js} +4 -4
- package/dist/chunks/{agent-3h4s9wf1.js → app-8q83hqdf.js} +13 -13
- package/dist/chunks/{agent-c6afg63y.js → app-8w717yyx.js} +8 -8
- package/dist/chunks/{agent-tkg14h75.js → app-8y09mrx6.js} +6 -6
- package/dist/chunks/{agent-9hjqzppv.js → app-92c4reck.js} +29 -29
- package/dist/chunks/{agent-p32d7zzt.js → app-93wzm26s.js} +8 -8
- package/dist/chunks/{agent-a53x0zc2.js → app-9asqdat1.js} +8 -8
- package/dist/chunks/{agent-asfb91ym.js → app-9cfwdcc0.js} +13 -13
- package/dist/chunks/{agent-0wc4szmq.js → app-9k8ga460.js} +1 -1
- package/dist/chunks/{agent-b2jmq90t.js → app-9mtkw4g3.js} +32 -32
- package/dist/chunks/{agent-r7b3zwn8.js → app-9svx6tw9.js} +31 -31
- package/dist/chunks/{agent-ptcr5d7p.js → app-9v7rjn4h.js} +5 -5
- package/dist/chunks/app-9zwhrd2p.js +4 -0
- package/dist/chunks/{agent-r2res0kp.js → app-a247e3as.js} +9 -9
- package/dist/chunks/{agent-h722e297.js → app-a9zfrvqc.js} +5 -5
- package/dist/chunks/{agent-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{agent-jhtq1fsz.js → app-abzfqj08.js} +6 -6
- package/dist/chunks/{agent-e1pnr02a.js → app-ag6ev01p.js} +10 -10
- package/dist/chunks/{agent-4crm0y3y.js → app-ah84y693.js} +1 -1
- package/dist/chunks/{agent-bct739vz.js → app-an7cqtb7.js} +4 -4
- package/dist/chunks/{agent-7ekmjv5k.js → app-arefmjbx.js} +2 -2
- package/dist/chunks/{agent-2m4g9ewj.js → app-b5gjhjfs.js} +20 -20
- package/dist/chunks/{agent-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{agent-yba16dxq.js → app-b75ft6nf.js} +4 -4
- package/dist/chunks/{agent-xkc4w1jp.js → app-b89s2553.js} +13 -13
- package/dist/chunks/{agent-b9wsbatv.js → app-b9wsbatv.js} +1 -1
- package/dist/chunks/{agent-v2wh89ge.js → app-bawrj3b9.js} +2 -2
- package/dist/chunks/{agent-s4g226qt.js → app-bkc8hw0t.js} +7 -7
- package/dist/chunks/{agent-nxrz604p.js → app-bskj9zs2.js} +9 -9
- package/dist/chunks/{agent-vz2cwsm9.js → app-bvy2akch.js} +20 -20
- package/dist/chunks/app-bwt7bpgq.js +18 -0
- package/dist/chunks/{agent-810y1jh4.js → app-c1g9mjxb.js} +10 -10
- package/dist/chunks/{agent-7r0r50e5.js → app-c5c0bz0t.js} +5 -5
- package/dist/chunks/{agent-mr60vpn5.js → app-c6gpbsrj.js} +31 -31
- package/dist/chunks/{agent-7qpar7b0.js → app-cbzzwm6t.js} +30 -30
- package/dist/chunks/{agent-by97waje.js → app-cmc3px63.js} +46 -46
- package/dist/chunks/{agent-gvmasxkv.js → app-cp79y1v1.js} +13 -13
- package/dist/chunks/{agent-redfcqdd.js → app-cy44mvmp.js} +4 -4
- package/dist/chunks/{agent-p1r008p0.js → app-d8wfxvdg.js} +19 -19
- package/dist/chunks/{agent-80ems202.js → app-d904segq.js} +24 -24
- package/dist/chunks/{agent-bs24dhpj.js → app-djybk775.js} +1 -1
- package/dist/chunks/{agent-jbckvzxk.js → app-dkkesp2b.js} +17 -17
- package/dist/chunks/{agent-smb21sg5.js → app-drxmcvep.js} +28 -28
- package/dist/chunks/{agent-tgwtqm6f.js → app-dsmcg9zs.js} +16 -16
- package/dist/chunks/{agent-4w16edgh.js → app-e6xjfqn1.js} +15 -15
- package/dist/chunks/{agent-tscg86cs.js → app-eb93zemk.js} +31 -31
- package/dist/chunks/{agent-7t94ejvv.js → app-ecn9jhng.js} +4 -4
- package/dist/chunks/{agent-67h63hm0.js → app-emesvkpm.js} +28 -28
- package/dist/chunks/{agent-rk7nwdhj.js → app-epd5s80n.js} +16 -16
- package/dist/chunks/{agent-x6a99p7m.js → app-evfdbawk.js} +5 -5
- package/dist/chunks/{agent-ez5b8bq3.js → app-ez5b8bq3.js} +1 -1
- package/dist/chunks/{agent-8zped23d.js → app-ftp1bkne.js} +5 -5
- package/dist/chunks/{agent-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{agent-fxypknc8.js → app-fxypknc8.js} +1 -1
- package/dist/chunks/{agent-68seyw0w.js → app-g02688sb.js} +34 -34
- package/dist/chunks/{agent-yzmzwmzr.js → app-g1gppypj.js} +20 -20
- package/dist/chunks/{agent-g2dy4bvs.js → app-g2dy4bvs.js} +3 -3
- package/dist/chunks/{agent-g2gt0w0k.js → app-g2gt0w0k.js} +2 -2
- package/dist/chunks/{agent-wm2nxt60.js → app-gcvg6c9v.js} +34 -34
- package/dist/chunks/{agent-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-x1cmshak.js → app-ggw8ryqa.js} +27 -27
- package/dist/chunks/{agent-kzr8291h.js → app-gj4y5m52.js} +25 -25
- package/dist/chunks/{agent-0etjh3sx.js → app-gm0famdj.js} +46 -46
- package/dist/chunks/{agent-p7fwe8hr.js → app-gndgrf2p.js} +11 -11
- package/dist/chunks/{agent-r44vzmrg.js → app-gy8r63zv.js} +11 -11
- package/dist/chunks/{agent-cx951yas.js → app-h0v7sv0t.js} +24 -24
- package/dist/chunks/app-h16f3rt9.js +22 -0
- package/dist/chunks/{agent-c9cdp0vn.js → app-h3e45e1k.js} +18 -18
- package/dist/chunks/{agent-a8fdacep.js → app-h3y6t4a9.js} +25 -25
- package/dist/chunks/{agent-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-heyhwy2w.js → app-heyhwy2w.js} +1 -1
- package/dist/chunks/{agent-z11ppbym.js → app-hjwfeaa1.js} +20 -20
- package/dist/chunks/{agent-na6nvkmt.js → app-hncf1b4v.js} +18 -18
- package/dist/chunks/{agent-thfv75je.js → app-hnyf01b0.js} +5 -5
- package/dist/chunks/{agent-31sg83h3.js → app-hqbzdwyf.js} +16 -16
- package/dist/chunks/{agent-ecbt05nt.js → app-hw7r5c7p.js} +5 -5
- package/dist/chunks/{agent-nj1g2yhc.js → app-j3pby61b.js} +6 -6
- package/dist/chunks/{agent-2y34zzjz.js → app-j5208yae.js} +4 -4
- package/dist/chunks/{agent-f3y516wx.js → app-j8wswpkz.js} +10 -10
- package/dist/chunks/{agent-djhf0gy5.js → app-je94mgw6.js} +43 -43
- package/dist/chunks/{agent-thvv0w5b.js → app-jfzd9m53.js} +28 -28
- package/dist/chunks/{agent-5nhnxyzk.js → app-jg5w4ckf.js} +8 -8
- package/dist/chunks/{agent-ehjws9wm.js → app-jhw2yzs0.js} +14 -14
- package/dist/chunks/{agent-mhk86k01.js → app-jtkad9sr.js} +32 -32
- package/dist/chunks/{agent-59p9anb2.js → app-jv7yt568.js} +22 -22
- package/dist/chunks/{agent-y71avatq.js → app-jwcy2c2z.js} +4 -4
- package/dist/chunks/{agent-5bccfspb.js → app-jxqq6ybj.js} +11 -11
- package/dist/chunks/{agent-6nd0921f.js → app-k1xbqk76.js} +9 -9
- package/dist/chunks/{agent-atxn8a3g.js → app-k39vhxmz.js} +15 -15
- package/dist/chunks/{agent-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
- package/dist/chunks/{agent-1en627kf.js → app-k4jdan51.js} +9 -9
- package/dist/chunks/{agent-c7w00fnw.js → app-kbs3ytgs.js} +7 -7
- package/dist/chunks/{agent-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{agent-t49wxcvk.js → app-kght2vh2.js} +36 -36
- package/dist/chunks/{agent-3qnxcvkk.js → app-khe7zx09.js} +20 -20
- package/dist/chunks/{agent-j8nnq7em.js → app-kkm1c4fb.js} +1 -1
- package/dist/chunks/{agent-hw4pv20g.js → app-kvsjn1dr.js} +2 -2
- package/dist/chunks/{agent-759pz1a2.js → app-m4535t75.js} +8 -8
- package/dist/chunks/{agent-1n116cmy.js → app-m5045k8y.js} +9 -9
- package/dist/chunks/{agent-fm6rp3s9.js → app-m9nbq4j3.js} +37 -37
- package/dist/chunks/{agent-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-xbr894yq.js → app-mc6f4wmg.js} +11 -11
- package/dist/chunks/{agent-eq1pz5kg.js → app-mvfsc1pv.js} +3 -3
- package/dist/chunks/{agent-v7qwqw98.js → app-n6mjpdbf.js} +8 -8
- package/dist/chunks/{agent-k2tv210q.js → app-ng75afqg.js} +4 -4
- package/dist/chunks/{agent-x81n7arw.js → app-nrcsyr73.js} +20 -20
- package/dist/chunks/{agent-w750rgvc.js → app-p6mzzxr3.js} +18 -18
- package/dist/chunks/{agent-jnyk3mzb.js → app-p6pyb1k7.js} +27 -27
- package/dist/chunks/{agent-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{agent-y1z2akcv.js → app-prkjxx16.js} +8 -8
- package/dist/chunks/{agent-7zhf76n3.js → app-pycndmcz.js} +24 -24
- package/dist/chunks/{agent-adj555m4.js → app-pzjyfgzz.js} +23 -23
- package/dist/chunks/{agent-wxjr8ywh.js → app-q4msk40h.js} +18 -18
- package/dist/chunks/{agent-c03sxnnv.js → app-qa6tzkyt.js} +161 -161
- package/dist/chunks/{agent-gp7nde0h.js → app-qavd1wvc.js} +32 -32
- package/dist/chunks/{agent-022wyyth.js → app-qb0tn3m5.js} +4 -4
- package/dist/chunks/{agent-6s53yxk4.js → app-qf33an78.js} +39 -39
- package/dist/chunks/{agent-035ccfev.js → app-qg8529j6.js} +25 -25
- package/dist/chunks/{agent-3mkt1fq8.js → app-qp4easfw.js} +42 -42
- package/dist/chunks/{agent-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-qvbcabdc.js → app-qvbcabdc.js} +2 -2
- package/dist/chunks/{agent-qmgssm61.js → app-r1m5m6n7.js} +31 -31
- package/dist/chunks/{agent-7n2tcerd.js → app-r3j4zcsz.js} +11 -11
- package/dist/chunks/{agent-8rxwk6s8.js → app-r64qmg5x.js} +10 -10
- package/dist/chunks/{agent-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
- package/dist/chunks/{agent-qq0s42pd.js → app-r8vaxre5.js} +9 -9
- package/dist/chunks/{agent-nddsbw1c.js → app-rdgg5j33.js} +6 -6
- package/dist/chunks/{agent-57bm4pw2.js → app-rnbmyxw3.js} +28 -28
- package/dist/chunks/{agent-xkm3xnb1.js → app-rrmnk23p.js} +14 -14
- package/dist/chunks/{agent-9xvrg3b1.js → app-rs7d7ay9.js} +1 -1
- package/dist/chunks/{agent-ztnyd3e4.js → app-rz31k017.js} +9 -9
- package/dist/chunks/{agent-qv5d22yx.js → app-s6sc7xsb.js} +4 -4
- package/dist/chunks/{agent-czfdxcf9.js → app-s9ng70hv.js} +37 -37
- package/dist/chunks/{agent-sba4qhjf.js → app-sba4qhjf.js} +1 -1
- package/dist/chunks/{agent-v9z32g9k.js → app-sd7f8jwe.js} +7 -7
- package/dist/chunks/{agent-1ezz2wmh.js → app-srsjt1nn.js} +3 -3
- package/dist/chunks/{agent-0bhfshk5.js → app-stachqf2.js} +17 -17
- package/dist/chunks/{agent-1f1wzhgc.js → app-sxhwk0c0.js} +4 -4
- package/dist/chunks/{agent-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-p2qkj8wm.js → app-tcszm0ed.js} +22 -22
- package/dist/chunks/{agent-tjykrgmx.js → app-tjykrgmx.js} +1 -1
- package/dist/chunks/{agent-tppvcy65.js → app-tppvcy65.js} +2 -2
- package/dist/chunks/{agent-ens6nfbp.js → app-tqfvardz.js} +28 -28
- package/dist/chunks/{agent-55xx6td3.js → app-ttsb85y1.js} +7 -7
- package/dist/chunks/{agent-a15cmqra.js → app-w2t62r7y.js} +8 -8
- package/dist/chunks/{agent-kxw418nq.js → app-w39xyyj8.js} +31 -31
- package/dist/chunks/{agent-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-0rag4e4f.js → app-w4600456.js} +4 -4
- package/dist/chunks/{agent-8qyy1b3c.js → app-w91bf5kg.js} +8 -8
- package/dist/chunks/{agent-9q2vx4dz.js → app-wcevzh1p.js} +38 -38
- package/dist/chunks/{agent-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{agent-n6q5hn6k.js → app-wgdphb3s.js} +16 -16
- package/dist/chunks/{agent-xea88nm1.js → app-wq38yxfv.js} +1 -1
- package/dist/chunks/{agent-gf4sh87j.js → app-wwr3ad35.js} +1 -1
- package/dist/chunks/{agent-qb37cqa6.js → app-wwwks56p.js} +13 -13
- package/dist/chunks/{agent-9ktg0kwy.js → app-wz8xxayn.js} +25 -25
- package/dist/chunks/{agent-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{agent-2kn058km.js → app-x1z8np8d.js} +48 -48
- package/dist/chunks/{agent-jyf935bj.js → app-x20jfd50.js} +35 -35
- package/dist/chunks/{agent-65g465sb.js → app-xechrp4q.js} +12 -12
- package/dist/chunks/{agent-gf1b3qaq.js → app-xeq5x5py.js} +6 -6
- package/dist/chunks/{agent-31azyw44.js → app-xtx2skvw.js} +18 -18
- package/dist/chunks/{agent-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-93a8yfjt.js → app-y2cqme3r.js} +5 -5
- package/dist/chunks/{agent-awqyf91x.js → app-y4nzzd5t.js} +5 -5
- package/dist/chunks/{agent-zevg6rsq.js → app-y78qtzg5.js} +45 -45
- package/dist/chunks/{agent-0k2v0y72.js → app-yd4mva7c.js} +4 -4
- package/dist/chunks/{agent-yfbd16n1.js → app-yfbd16n1.js} +2 -2
- package/dist/chunks/{agent-vx3pgvz4.js → app-yfthbyyg.js} +11 -11
- package/dist/chunks/{agent-yg7sb877.js → app-yg7sb877.js} +2 -2
- package/dist/chunks/{agent-e457wa0p.js → app-ytqhcam2.js} +15 -15
- package/dist/chunks/{agent-xswknbe2.js → app-yy80zasr.js} +14 -14
- package/dist/chunks/{agent-z1k01bn4.js → app-z1k01bn4.js} +2 -2
- package/dist/chunks/{agent-z3xgatyd.js → app-z3xgatyd.js} +1 -1
- package/dist/chunks/{agent-qb76z85q.js → app-z729fpb2.js} +38 -38
- package/dist/chunks/{agent-ks21ngwh.js → app-z8emj02k.js} +10 -10
- package/dist/chunks/{agent-df7nm8fz.js → app-z9yjs9a7.js} +30 -30
- package/dist/chunks/{agent-tcvhc7ea.js → app-znp4r3b7.js} +26 -26
- package/dist/chunks/{agent-jrsbke6c.js → app-ztfeypd4.js} +5 -5
- package/dist/chunks/{agent-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +151 -151
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +114 -114
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +72 -72
- package/dist/file-mutation.js +85 -85
- 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 +214 -214
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- 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 +7 -7
- 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 +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +81 -81
- 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 +83 -83
- package/dist/job.js +73 -73
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- 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 +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +1 -1
- package/dist/plugin/update.js +6 -6
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +7 -7
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- 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 +127 -127
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- 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 +2 -2
- 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 +124 -124
- 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 +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- 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 +113 -113
- 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 +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +3 -3
- 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 +1 -1
- 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 +78 -78
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/agent-9zdhvgqs.js +0 -18
- package/dist/chunks/agent-fa7kv0pp.js +0 -247
- package/dist/chunks/agent-ngp141x2.js +0 -22
- package/dist/chunks/agent-vs313s01.js +0 -20
- package/dist/chunks/agent-w3vb4krt.js +0 -4
- /package/dist/chunks/{agent-0fabt78z.js → app-0fabt78z.js} +0 -0
- /package/dist/chunks/{agent-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3t738kvx.js → app-3t738kvx.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-41nvscxy.js → app-41nvscxy.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-982e01ww.js → app-982e01ww.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-mntxs535.js → app-mntxs535.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-p8qxwesx.js → app-p8qxwesx.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-se0s1eqw.js → app-se0s1eqw.js} +0 -0
- /package/dist/chunks/{agent-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{agent-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service52
|
|
4
|
+
} from "./app-70a7nh0p.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service62
|
|
8
|
+
} from "./app-qp4easfw.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-5gx2hdkx.js";
|
|
12
12
|
import {
|
|
13
13
|
Service37
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-1g3sbppe.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service39
|
|
18
|
+
} from "./app-7tw3q1zv.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./app-19zwchw3.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make6
|
|
27
|
+
} from "./app-3699wah4.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Output: () => Output7,
|
|
37
|
+
Plugin: () => Plugin12,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description4,
|
|
40
|
+
name: () => name10
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name10 = "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 Input10 = 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" }),
|
|
@@ -63,12 +63,12 @@ var Input6 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output7 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description4 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description2 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin12 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
83
|
+
const sessions = yield* Service16;
|
|
84
84
|
const jobs = yield* Service37;
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
85
|
+
const agents = yield* Service52;
|
|
86
|
+
const config = yield* Service62;
|
|
87
|
+
const permission = yield* Service39;
|
|
88
|
+
const subagents = yield* make6;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name10,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description4,
|
|
93
|
+
input: Input10,
|
|
94
|
+
output: Output7,
|
|
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 })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin21 = {
|
|
|
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: name10,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin21 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID9.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -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[name10];
|
|
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(name10, 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 { name10, Input10, Output7, description4, Plugin12, exports_subagent };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./app-rrmnk23p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node74
|
|
12
|
+
} from "./app-9mtkw4g3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -20,25 +20,25 @@ __export(exports_filesystem, {
|
|
|
20
20
|
Content: () => Content3,
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
|
-
Entry: () =>
|
|
24
|
-
Event: () =>
|
|
23
|
+
Entry: () => Entry4,
|
|
24
|
+
Event: () => Event19,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
28
28
|
GrepInput: () => GrepInput2,
|
|
29
|
-
ListInput: () =>
|
|
29
|
+
ListInput: () => ListInput5,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service69,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node73
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
40
40
|
import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode-ai/schema/filesystem";
|
|
41
|
-
import { Entry as
|
|
41
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode-ai/schema/filesystem";
|
|
42
42
|
var ReadInput2 = Schema.Struct({
|
|
43
43
|
path: RelativePath2
|
|
44
44
|
});
|
|
@@ -49,7 +49,7 @@ var Content3 = Schema.Struct({
|
|
|
49
49
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
50
50
|
mime: Schema.String
|
|
51
51
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
52
|
-
var
|
|
52
|
+
var ListInput5 = Schema.Struct({
|
|
53
53
|
path: Schema.String.pipe(Schema.optional)
|
|
54
54
|
});
|
|
55
55
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event19 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service69 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service74;
|
|
82
|
+
const search = yield* Service70;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service69.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node73 = makeLocationNode({
|
|
126
|
+
service: Service69,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node79, node74]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content3,
|
|
131
|
+
export { FindInput2, ReadInput2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event19, Service69, node73, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./app-73sszyh7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event16,
|
|
7
|
+
Service65,
|
|
8
|
+
node69
|
|
9
|
+
} from "./app-0pnstday.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service63,
|
|
12
|
+
node67
|
|
13
|
+
} from "./app-hjwfeaa1.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./app-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node79
|
|
20
|
+
} from "./app-rrmnk23p.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-kvsjn1dr.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-pycndmcz.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-ag6ev01p.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-0s9ayhjt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
35
|
+
Service64,
|
|
36
36
|
Event15,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
node68
|
|
38
|
+
} from "./app-stachqf2.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./app-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
47
|
Options: () => Options6,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service62,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
52
|
layer: () => layer22,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node66,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -78,7 +78,7 @@ var Options6 = Schema.Struct({
|
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service62 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service62, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var layer22 = (options) => Layer.effect(
|
|
97
|
+
var layer22 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
99
|
+
const location = yield* Service74;
|
|
100
|
+
const watcher = yield* Service63;
|
|
101
|
+
const bus = yield* Service76;
|
|
102
|
+
const credentials = yield* Service65;
|
|
103
|
+
const wellknown = yield* Service64;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -168,7 +168,7 @@ var layer22 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
170
170
|
return [
|
|
171
|
-
...yield* Effect.forEach(
|
|
171
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
172
172
|
new Directory({ type: "directory", path: directory })
|
|
173
173
|
];
|
|
174
174
|
});
|
|
@@ -223,7 +223,7 @@ var layer22 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
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 }));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event16.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 }));
|
|
227
227
|
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
@@ -235,20 +235,20 @@ var layer22 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service62.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured7(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
247
|
+
service: Service62,
|
|
248
248
|
layer: layer22(options),
|
|
249
|
-
deps: [
|
|
249
|
+
deps: [node67, node81, FSUtil.node, Global.node, node79, node69, node68]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node66 = configured7();
|
|
253
253
|
|
|
254
|
-
export { latest2, Options6,
|
|
254
|
+
export { latest2, Options6, Service62, Test2, testLayer2, layer22, configured7, node66, exports_config };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./app-73sszyh7.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-2q46cvfz.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service36,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured3,
|
|
25
|
+
layer: () => layer15,
|
|
26
|
+
node: () => node39
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode-ai/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode-ai/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service36 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service36, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service76;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service36.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer15 = makeLayer();
|
|
259
|
+
var configured3 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service36,
|
|
261
|
+
layer: options === undefined ? layer15 : makeLayer(options),
|
|
262
|
+
deps: [node81, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node39 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError2, NotFoundError3, Service36, layer15, configured3, node39, exports_persistent_pty, Handoff2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info23
|
|
6
|
+
} from "./app-b5gjhjfs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent4 = {};
|
|
13
|
+
__export(exports_agent4, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent4,
|
|
15
|
+
Info: () => Info22
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info23)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info22 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info22, exports_agent4 };
|