@opencode/core 0.0.0-dev-21738 → 0.0.0-dev-21744
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{integration-aj7mw0zk.js → persistent-pty-034tev2y.js} +2 -2
- package/dist/chunks/{integration-0421tmwc.js → persistent-pty-0421tmwc.js} +2 -2
- package/dist/chunks/{integration-wq5fe6kf.js → persistent-pty-04weq3x2.js} +1 -1
- package/dist/chunks/{integration-tbt7f5gv.js → persistent-pty-0632eqgh.js} +3 -3
- package/dist/chunks/{integration-2p7mdgxa.js → persistent-pty-0684c0fn.js} +46 -46
- package/dist/chunks/{integration-t01hvs83.js → persistent-pty-06ye6eb3.js} +17 -17
- package/dist/chunks/{integration-28zrcswq.js → persistent-pty-0h92kc2j.js} +45 -45
- package/dist/chunks/{integration-t5v9nchx.js → persistent-pty-0napkvzb.js} +7 -7
- package/dist/chunks/{integration-wd90bgk9.js → persistent-pty-0rm6s08x.js} +5 -5
- package/dist/chunks/{integration-jratzyw8.js → persistent-pty-1ec99x82.js} +4 -4
- package/dist/chunks/{integration-27w5k9zf.js → persistent-pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{integration-gpbjvxjz.js → persistent-pty-1s0mnecd.js} +28 -28
- package/dist/chunks/{integration-n0h59yfy.js → persistent-pty-1sxr849h.js} +11 -11
- package/dist/chunks/{integration-fpf0j6y6.js → persistent-pty-1x1aw5pg.js} +28 -28
- package/dist/chunks/{integration-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{integration-p7vhpwh8.js → persistent-pty-1yq9hg58.js} +5 -5
- package/dist/chunks/{integration-8x5qqy5m.js → persistent-pty-217xj7j6.js} +14 -14
- package/dist/chunks/{integration-vaa2wc5c.js → persistent-pty-21shbp3c.js} +1 -1
- package/dist/chunks/{integration-z781ppa7.js → persistent-pty-22nay2w2.js} +16 -16
- package/dist/chunks/{integration-k3j7z3te.js → persistent-pty-28xx6mqq.js} +34 -34
- package/dist/chunks/{integration-k9f9yrxm.js → persistent-pty-2gxrk7d9.js} +21 -21
- package/dist/chunks/{integration-t1enbxjd.js → persistent-pty-2h4s3pty.js} +10 -10
- package/dist/chunks/{integration-6hvsw61r.js → persistent-pty-2sja5ejk.js} +17 -17
- package/dist/chunks/{integration-yqsb61sr.js → persistent-pty-2vpteqgm.js} +24 -24
- package/dist/chunks/{integration-w4cd2w7r.js → persistent-pty-2w4r60qq.js} +17 -17
- package/dist/chunks/{integration-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
- package/dist/chunks/{integration-92c1azvn.js → persistent-pty-31avdb49.js} +11 -11
- package/dist/chunks/{integration-mp7wb3aq.js → persistent-pty-32wt4071.js} +29 -29
- package/dist/chunks/{integration-c29p7cek.js → persistent-pty-34sg93nd.js} +23 -23
- package/dist/chunks/{integration-3n9r0mt5.js → persistent-pty-37ebxhrk.js} +25 -25
- package/dist/chunks/{integration-yqveydy6.js → persistent-pty-3gv0spa2.js} +4 -4
- package/dist/chunks/{integration-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-shrtc3vg.js → persistent-pty-3meb4hzg.js} +13 -13
- package/dist/chunks/persistent-pty-3n162ras.js +257 -0
- package/dist/chunks/{integration-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{integration-40za9wsf.js → persistent-pty-40za9wsf.js} +2 -2
- package/dist/chunks/{integration-sqkc98kv.js → persistent-pty-41sj8m6y.js} +37 -37
- package/dist/chunks/{integration-25ap78aj.js → persistent-pty-45sfs8sj.js} +85 -85
- package/dist/chunks/{integration-w20m3gk4.js → persistent-pty-46e84wtw.js} +19 -19
- package/dist/chunks/{integration-yas2v5eg.js → persistent-pty-4epsaaqh.js} +48 -48
- package/dist/chunks/{integration-fek4jfsr.js → persistent-pty-4n958r4n.js} +18 -18
- package/dist/chunks/{integration-htyrbg66.js → persistent-pty-4r8h05df.js} +11 -11
- package/dist/chunks/{integration-yg2naa2a.js → persistent-pty-4ty1vvqa.js} +47 -30
- package/dist/chunks/{integration-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{integration-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
- package/dist/chunks/{integration-fwky6scw.js → persistent-pty-55xtcbpn.js} +27 -27
- package/dist/chunks/{integration-e71bb87j.js → persistent-pty-56xpzs9c.js} +8 -8
- package/dist/chunks/{integration-b1cmxf8c.js → persistent-pty-5859qd6n.js} +9 -9
- package/dist/chunks/{integration-dm9c6fd7.js → persistent-pty-58hfgte4.js} +17 -17
- package/dist/chunks/{integration-ba2tfn9v.js → persistent-pty-5fmnhnpa.js} +30 -30
- package/dist/chunks/{integration-8qjax53j.js → persistent-pty-5gk89hyb.js} +5 -5
- package/dist/chunks/{integration-0m3negke.js → persistent-pty-5jdy5dqf.js} +11 -11
- package/dist/chunks/{integration-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{integration-b6vsg801.js → persistent-pty-5nnwax6m.js} +5 -5
- package/dist/chunks/{integration-72mq6egw.js → persistent-pty-5pav4dzc.js} +4 -4
- package/dist/chunks/{integration-75jptj1z.js → persistent-pty-5pdz8c62.js} +12 -12
- package/dist/chunks/{integration-fjrrbk94.js → persistent-pty-5r72z9dp.js} +8 -8
- package/dist/chunks/{integration-9pyt7g1f.js → persistent-pty-5t3az672.js} +9 -9
- package/dist/chunks/{integration-b3pd7r0n.js → persistent-pty-5ynz4802.js} +12 -12
- package/dist/chunks/{integration-axbbh74r.js → persistent-pty-664py638.js} +20 -20
- package/dist/chunks/{integration-rq6bk4rv.js → persistent-pty-67efwznc.js} +2 -2
- package/dist/chunks/{integration-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
- package/dist/chunks/{integration-nd5afmzt.js → persistent-pty-6fet8kw9.js} +29 -29
- package/dist/chunks/{integration-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
- package/dist/chunks/{integration-m0k8jwnz.js → persistent-pty-6swdm730.js} +9 -9
- package/dist/chunks/{integration-f63c4fbr.js → persistent-pty-6zrn44nt.js} +22 -22
- package/dist/chunks/{integration-187bm1zp.js → persistent-pty-70kc41j2.js} +19 -19
- package/dist/chunks/{integration-w8qtt4th.js → persistent-pty-76cb1hcw.js} +4 -4
- package/dist/chunks/{integration-nah043kf.js → persistent-pty-770pw0s1.js} +4 -4
- package/dist/chunks/{integration-w8bar7yv.js → persistent-pty-77wcnkh0.js} +3 -3
- package/dist/chunks/{integration-82ber4xz.js → persistent-pty-797shz3x.js} +4 -4
- package/dist/chunks/{integration-ca2jrm4d.js → persistent-pty-7a6h672n.js} +22 -22
- package/dist/chunks/{integration-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-fg8b1rp8.js → persistent-pty-7n4p8fby.js} +7 -6
- package/dist/chunks/{integration-th568vtq.js → persistent-pty-7rdhxjgc.js} +15 -15
- package/dist/chunks/{integration-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{integration-c80vpj51.js → persistent-pty-7w9zqejt.js} +6 -6
- package/dist/chunks/{integration-tem3s2zd.js → persistent-pty-7y4z3x5j.js} +13 -13
- package/dist/chunks/{integration-rnahtfwh.js → persistent-pty-814m6n4n.js} +5 -5
- package/dist/chunks/{integration-81cr296g.js → persistent-pty-81cr296g.js} +1 -1
- package/dist/chunks/{integration-b2ep05gz.js → persistent-pty-82jsxv0a.js} +9 -9
- package/dist/chunks/{integration-7vkhxb11.js → persistent-pty-86e8kg08.js} +16 -16
- package/dist/chunks/{integration-htpycp8g.js → persistent-pty-873dcxyb.js} +11 -11
- package/dist/chunks/{integration-4hb4a3h3.js → persistent-pty-8ccrat7s.js} +23 -23
- package/dist/chunks/{integration-yyr7v161.js → persistent-pty-8fpr5ab5.js} +18 -18
- package/dist/chunks/{integration-tt4900ab.js → persistent-pty-8je04gjc.js} +18 -18
- package/dist/chunks/{integration-231a8wys.js → persistent-pty-8k8pzbp4.js} +8 -8
- package/dist/chunks/{integration-xn2qrwhy.js → persistent-pty-8wc2fpae.js} +5 -5
- package/dist/chunks/{integration-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{integration-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
- package/dist/chunks/{integration-54ypwbd6.js → persistent-pty-95e9m93s.js} +32 -32
- package/dist/chunks/{integration-dvj9ct8m.js → persistent-pty-998yhzzq.js} +3 -3
- package/dist/chunks/{integration-a4bg04x3.js → persistent-pty-9r7t50b7.js} +23 -23
- package/dist/chunks/{integration-bb3yaws5.js → persistent-pty-a2w9rrzy.js} +11 -11
- package/dist/chunks/{integration-ad0x633c.js → persistent-pty-a4se2td7.js} +15 -15
- package/dist/chunks/{integration-mz5w6vyz.js → persistent-pty-aa2f750d.js} +23 -23
- package/dist/chunks/{integration-3cbjf1nt.js → persistent-pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{integration-37kfat3w.js → persistent-pty-b07vwb4h.js} +14 -14
- package/dist/chunks/{integration-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
- package/dist/chunks/{integration-gpdde9xv.js → persistent-pty-b3xh8pxk.js} +13 -13
- package/dist/chunks/{integration-kdj120gh.js → persistent-pty-b3yw44ee.js} +16 -16
- package/dist/chunks/{integration-cnrv013m.js → persistent-pty-b5wrmqhk.js} +42 -42
- package/dist/chunks/{integration-tp9zr2rq.js → persistent-pty-b6rq8t5k.js} +12 -12
- package/dist/chunks/{integration-42jd4697.js → persistent-pty-bjhzkqyk.js} +4 -4
- package/dist/chunks/{integration-39kss88q.js → persistent-pty-bqwdyg2t.js} +9 -9
- package/dist/chunks/{integration-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
- package/dist/chunks/{integration-rfevhcsr.js → persistent-pty-bt0t07qj.js} +11 -11
- package/dist/chunks/{integration-xcy076pd.js → persistent-pty-bxhrky7s.js} +14 -14
- package/dist/chunks/{integration-wvc911sf.js → persistent-pty-c29kbh88.js} +32 -32
- package/dist/chunks/{integration-2kbfk78s.js → persistent-pty-c3cfh5w6.js} +2 -2
- package/dist/chunks/{integration-ra34yqmw.js → persistent-pty-c4phwmq5.js} +6 -6
- package/dist/chunks/{integration-c8666r4c.js → persistent-pty-c8666r4c.js} +3 -3
- package/dist/chunks/{integration-6pqbjmba.js → persistent-pty-ce3j1brk.js} +5 -5
- package/dist/chunks/{integration-dg59c0gq.js → persistent-pty-cp9n3ykm.js} +5 -5
- package/dist/chunks/{integration-ggj2hmnp.js → persistent-pty-cpnm63yh.js} +14 -14
- package/dist/chunks/{integration-5qb5fkqm.js → persistent-pty-czrs21h8.js} +20 -20
- package/dist/chunks/{integration-jgz7zw02.js → persistent-pty-d068nwqk.js} +43 -43
- package/dist/chunks/{integration-gn8tkhbf.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{integration-rtgwksra.js → persistent-pty-d5w3mt28.js} +38 -38
- package/dist/chunks/{integration-cfx54403.js → persistent-pty-ddabbtyq.js} +9 -9
- package/dist/chunks/{integration-k13n68rj.js → persistent-pty-dg56bc3d.js} +3 -3
- package/dist/chunks/{integration-aptc9ymv.js → persistent-pty-dm97zhd4.js} +8 -8
- package/dist/chunks/{integration-tfrqqs8n.js → persistent-pty-dpj9egcy.js} +45 -45
- package/dist/chunks/{integration-nbwbvjy9.js → persistent-pty-drtz06md.js} +35 -89
- package/dist/chunks/{integration-bxhmb8dq.js → persistent-pty-dx717f1h.js} +18 -18
- package/dist/chunks/{integration-gm53ndt8.js → persistent-pty-dzx8s7jj.js} +40 -40
- package/dist/chunks/{integration-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{integration-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
- package/dist/chunks/{integration-rhvjghy6.js → persistent-pty-eab1f0bk.js} +4 -4
- package/dist/chunks/{integration-zt4nqk70.js → persistent-pty-edkmkvd1.js} +28 -28
- package/dist/chunks/{integration-8c90v03e.js → persistent-pty-eeqys4qb.js} +9 -9
- package/dist/chunks/{integration-4ytg8f8f.js → persistent-pty-ef2tezb6.js} +2 -2
- package/dist/chunks/{integration-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-azd99q09.js → persistent-pty-ehs73kjs.js} +15 -15
- package/dist/chunks/{integration-1ng22y5m.js → persistent-pty-ejef0twz.js} +15 -15
- package/dist/chunks/{integration-6d00jzc0.js → persistent-pty-f4cj6rne.js} +34 -34
- package/dist/chunks/{integration-ryg0x8nv.js → persistent-pty-faewc6h3.js} +5 -5
- package/dist/chunks/{integration-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{integration-cab04p5b.js → persistent-pty-fk3tbwms.js} +20 -20
- package/dist/chunks/{integration-msfw59f1.js → persistent-pty-fpsgw1gs.js} +8 -8
- package/dist/chunks/{integration-6p1cajhz.js → persistent-pty-fszm4xf1.js} +11 -11
- package/dist/chunks/{integration-berpjazy.js → persistent-pty-ft0wh87x.js} +13 -13
- package/dist/chunks/{integration-m09rcp5x.js → persistent-pty-g1448m63.js} +13 -13
- package/dist/chunks/{integration-bza52f61.js → persistent-pty-g3z36636.js} +47 -47
- package/dist/chunks/{integration-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
- package/dist/chunks/{integration-g1e2r5aa.js → persistent-pty-g9ndtp1p.js} +4 -4
- package/dist/chunks/{integration-39zkb5zd.js → persistent-pty-gg4d4fs9.js} +9 -9
- package/dist/chunks/{integration-29qz3jtr.js → persistent-pty-gshxnf6j.js} +2 -2
- package/dist/chunks/{integration-td1amd9e.js → persistent-pty-gt2ebmdc.js} +6 -6
- package/dist/chunks/{integration-tr7wsfwx.js → persistent-pty-gt6rtydt.js} +11 -11
- package/dist/chunks/{integration-9qeaw1f9.js → persistent-pty-h3a8j4mf.js} +11 -11
- package/dist/chunks/{integration-62zxknag.js → persistent-pty-h65t1svj.js} +24 -24
- package/dist/chunks/{integration-9vxzjcxf.js → persistent-pty-h6ss1yxx.js} +7 -7
- package/dist/chunks/{integration-y7eykgf4.js → persistent-pty-h8nswts1.js} +3 -3
- package/dist/chunks/{integration-nzz41ce0.js → persistent-pty-hkex4stx.js} +10 -10
- package/dist/chunks/{integration-ws76gasf.js → persistent-pty-hq18ybh7.js} +8 -8
- package/dist/chunks/{integration-cd5xb1a8.js → persistent-pty-hty8fpa1.js} +10 -10
- package/dist/chunks/{integration-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
- package/dist/chunks/{integration-kh2p66tm.js → persistent-pty-jaa51j8b.js} +33 -33
- package/dist/chunks/{integration-2mmwm9bk.js → persistent-pty-jn8j44c7.js} +24 -24
- package/dist/chunks/{integration-9p9xqj3m.js → persistent-pty-jneg3k74.js} +6 -6
- package/dist/chunks/{integration-dpf6ft19.js → persistent-pty-jpk6pjf6.js} +15 -15
- package/dist/chunks/{integration-jfdrgmkm.js → persistent-pty-jt1mpbrn.js} +29 -29
- package/dist/chunks/{integration-e3zpv0w5.js → persistent-pty-jvgjeprd.js} +8 -8
- package/dist/chunks/{integration-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
- package/dist/chunks/{integration-kb4gstwj.js → persistent-pty-kb4gstwj.js} +2 -2
- package/dist/chunks/{integration-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{integration-f95y2240.js → persistent-pty-m56xcexf.js} +18 -18
- package/dist/chunks/{integration-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/persistent-pty-mft421xc.js +517 -0
- package/dist/chunks/{integration-fvk5dwhp.js → persistent-pty-mp8k340y.js} +4 -4
- package/dist/chunks/{integration-09234wga.js → persistent-pty-mpsk2kx1.js} +8 -8
- package/dist/chunks/{integration-weh2hetx.js → persistent-pty-mvb2bgyw.js} +50 -50
- package/dist/chunks/{integration-vtzrwtxq.js → persistent-pty-mwn61fym.js} +24 -24
- package/dist/chunks/{integration-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
- package/dist/chunks/{integration-p6s7v59f.js → persistent-pty-n3ktk7aw.js} +21 -21
- package/dist/chunks/{integration-s4pfgn9t.js → persistent-pty-nck0by46.js} +8 -8
- package/dist/chunks/{integration-4n7467c9.js → persistent-pty-nf3vvj52.js} +50 -50
- package/dist/chunks/{integration-pxw17jbr.js → persistent-pty-nfx626fp.js} +29 -29
- package/dist/chunks/{integration-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
- package/dist/chunks/{integration-wz7jxtqf.js → persistent-pty-p6xa5pr1.js} +5 -5
- package/dist/chunks/{integration-pc1v25hk.js → persistent-pty-pc1v25hk.js} +1 -1
- package/dist/chunks/{integration-cga9yxt0.js → persistent-pty-pcd58cha.js} +22 -22
- package/dist/chunks/{integration-9pec2xkz.js → persistent-pty-pgvk0yt9.js} +15 -15
- package/dist/chunks/{integration-hj8hfv6h.js → persistent-pty-phrpk49a.js} +11 -11
- package/dist/chunks/{integration-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{integration-4e2nnt3c.js → persistent-pty-q00mhad8.js} +22 -22
- package/dist/chunks/{integration-chmbez38.js → persistent-pty-q5dphz2y.js} +3 -3
- package/dist/chunks/{integration-akrvybtg.js → persistent-pty-q5fas5yh.js} +8 -8
- package/dist/chunks/{integration-pd2brnaz.js → persistent-pty-q5j3x1t5.js} +4 -4
- package/dist/chunks/{integration-zpha887x.js → persistent-pty-qcbcpq9b.js} +53 -53
- package/dist/chunks/{integration-b0ped87k.js → persistent-pty-qf1w2vm3.js} +20 -45
- package/dist/chunks/{integration-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
- package/dist/chunks/{integration-184a1rnm.js → persistent-pty-qqg9c0kv.js} +7 -7
- package/dist/chunks/{integration-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
- package/dist/chunks/{integration-997dsrmm.js → persistent-pty-r6wgv8c9.js} +8 -8
- package/dist/chunks/{integration-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{integration-d9jtx293.js → persistent-pty-rc1szs54.js} +6 -6
- package/dist/chunks/{integration-aahqx239.js → persistent-pty-rd6jf492.js} +17 -17
- package/dist/chunks/{integration-4hxp3qtb.js → persistent-pty-rdatjt93.js} +5 -5
- package/dist/chunks/{integration-sf0wm1zq.js → persistent-pty-rhz1gb3z.js} +10 -10
- package/dist/chunks/{integration-3v7bdczc.js → persistent-pty-rmqe3ewt.js} +30 -30
- package/dist/chunks/{integration-aa1vds4w.js → persistent-pty-rp07j1kz.js} +9 -9
- package/dist/chunks/{integration-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{integration-nvf4es8p.js → persistent-pty-rv6cja6k.js} +11 -11
- package/dist/chunks/{integration-8ncpbgq8.js → persistent-pty-rxtgqbtn.js} +7 -7
- package/dist/chunks/{integration-3prnzz3j.js → persistent-pty-s463agb3.js} +21 -21
- package/dist/chunks/{integration-54nzsset.js → persistent-pty-s4q2zy2p.js} +180 -180
- package/dist/chunks/{integration-1tr9z0sp.js → persistent-pty-s70gc4nz.js} +20 -20
- package/dist/chunks/{integration-8gbbcrxg.js → persistent-pty-s8fhqc85.js} +19 -19
- package/dist/chunks/{integration-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
- package/dist/chunks/{integration-c9t2ty9q.js → persistent-pty-ssfehs1z.js} +4 -4
- package/dist/chunks/{integration-293hw9ca.js → persistent-pty-st7enesy.js} +8 -8
- package/dist/chunks/{integration-2z8g5rca.js → persistent-pty-syp495bw.js} +12 -12
- package/dist/chunks/{integration-5jamx2yv.js → persistent-pty-t98ck3nv.js} +26 -26
- package/dist/chunks/{integration-bt6ghjgk.js → persistent-pty-t9bqp2qp.js} +9 -9
- package/dist/chunks/{integration-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{integration-qjtc6gq1.js → persistent-pty-td5g3jt1.js} +33 -33
- package/dist/chunks/{integration-0cbaxxbg.js → persistent-pty-tdc7za5y.js} +8 -8
- package/dist/chunks/{integration-tg1vr1qt.js → persistent-pty-tg1vr1qt.js} +1 -1
- package/dist/chunks/{integration-8138q6ke.js → persistent-pty-tk8b4vaq.js} +4 -4
- package/dist/chunks/{integration-xjtvv4x4.js → persistent-pty-tm64snjr.js} +3 -3
- package/dist/chunks/{integration-10a4ntpq.js → persistent-pty-tqam9rzv.js} +25 -25
- package/dist/chunks/{integration-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
- package/dist/chunks/{integration-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
- package/dist/chunks/{integration-zgnw0fcf.js → persistent-pty-v0j7h7ag.js} +10 -10
- package/dist/chunks/{integration-1y0wdj51.js → persistent-pty-v0t96s7a.js} +9 -9
- package/dist/chunks/{integration-p543a797.js → persistent-pty-v1t6vrbj.js} +24 -24
- package/dist/chunks/{integration-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{integration-jpms7qeq.js → persistent-pty-v355h3zv.js} +13 -13
- package/dist/chunks/{integration-j16byp6w.js → persistent-pty-v3az1vww.js} +31 -31
- package/dist/chunks/{integration-4h1g4dr0.js → persistent-pty-v4aer5v9.js} +35 -35
- package/dist/chunks/{integration-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
- package/dist/chunks/persistent-pty-vdh3rgac.js +18 -0
- package/dist/chunks/{integration-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-9fw1kkdj.js → persistent-pty-vkgkh0jz.js} +4 -4
- package/dist/chunks/{integration-g7esga4v.js → persistent-pty-vmfhgzt5.js} +5 -5
- package/dist/chunks/{integration-2w2kp3m7.js → persistent-pty-vmt9aa9x.js} +21 -21
- package/dist/chunks/{integration-e496zp5r.js → persistent-pty-vrcsa8qx.js} +9 -9
- package/dist/chunks/{integration-s6app9e8.js → persistent-pty-vvh376nc.js} +35 -35
- package/dist/chunks/{integration-tg5e0hps.js → persistent-pty-vw0t75j9.js} +17 -17
- package/dist/chunks/{integration-ynxyfk2x.js → persistent-pty-vwdcv50m.js} +18 -18
- package/dist/chunks/{integration-mggk5pge.js → persistent-pty-w1rc0f0t.js} +14 -14
- package/dist/chunks/{integration-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-fznmdakp.js → persistent-pty-w687dnns.js} +4 -4
- package/dist/chunks/{integration-vsy3td36.js → persistent-pty-w8k0m0ac.js} +6 -6
- package/dist/chunks/{integration-7e8kqdhy.js → persistent-pty-w9jkftfk.js} +25 -25
- package/dist/chunks/{integration-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{integration-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{integration-bsd8gc3m.js → persistent-pty-wk5gspz5.js} +4 -4
- package/dist/chunks/{integration-kxnbmb7b.js → persistent-pty-wkmdz1mb.js} +11 -11
- package/dist/chunks/{integration-zhdepg1a.js → persistent-pty-wxpkhmem.js} +16 -16
- package/dist/chunks/{integration-ckcwx15s.js → persistent-pty-xen1jppb.js} +18 -18
- package/dist/chunks/{integration-bhygp9jc.js → persistent-pty-xgw47nx1.js} +4 -4
- package/dist/chunks/{integration-48kw51zw.js → persistent-pty-xkhfjrgz.js} +3 -3
- package/dist/chunks/{integration-5pfy6362.js → persistent-pty-xpsr6m59.js} +83 -83
- package/dist/chunks/{integration-ae8cr5hk.js → persistent-pty-xtd8sqng.js} +30 -30
- package/dist/chunks/{integration-xw8eq9f1.js → persistent-pty-xw8eq9f1.js} +5 -5
- package/dist/chunks/{integration-4pw8bvyx.js → persistent-pty-xxgpgb2s.js} +27 -27
- package/dist/chunks/{integration-61g7nd3s.js → persistent-pty-xyv3ye4h.js} +10 -10
- package/dist/chunks/{integration-v5prxdmf.js → persistent-pty-y0fkhhn3.js} +9 -9
- package/dist/chunks/{integration-vsxbsjjm.js → persistent-pty-y19asze6.js} +13 -13
- package/dist/chunks/{integration-a24ak4ap.js → persistent-pty-y1kds4da.js} +3 -3
- package/dist/chunks/{integration-hsv28x2v.js → persistent-pty-yagn4zf7.js} +15 -15
- package/dist/chunks/{integration-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{integration-zvfj7ymd.js → persistent-pty-ye9estr6.js} +13 -13
- package/dist/chunks/{integration-fcp6bbx8.js → persistent-pty-yhtma1qk.js} +7 -7
- package/dist/chunks/{integration-myg40cg5.js → persistent-pty-yncd7x1f.js} +16 -16
- package/dist/chunks/{integration-89tqebfq.js → persistent-pty-ywqrvznk.js} +33 -33
- package/dist/chunks/{integration-qh8m93c5.js → persistent-pty-ywtfgq8q.js} +11 -11
- package/dist/chunks/{integration-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-hmkv1rtn.js → persistent-pty-z1k5tgn5.js} +14 -14
- package/dist/chunks/{integration-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
- package/dist/chunks/{integration-w12y3ga7.js → persistent-pty-z64y35xa.js} +3 -3
- package/dist/chunks/{integration-9tcr2b8h.js → persistent-pty-z6zbh2d4.js} +23 -23
- package/dist/chunks/{integration-bbgfrd4b.js → persistent-pty-z7nbqrf3.js} +4 -4
- package/dist/chunks/{integration-srpx3bag.js → persistent-pty-z8wtpd65.js} +14 -14
- package/dist/chunks/{integration-kj8zjydm.js → persistent-pty-zcz73n1t.js} +6 -6
- package/dist/chunks/{integration-gsrk1gqh.js → persistent-pty-zfyhjv3h.js} +2 -2
- package/dist/chunks/{integration-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
- package/dist/chunks/{integration-fqds4s4w.js → persistent-pty-zkgq49d1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +87 -87
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +43 -11
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +332 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -171
- package/dist/plugin/sdk.js +76 -76
- 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 +347 -348
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +102 -102
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +164 -164
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +134 -134
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/models-dev.d.ts +4 -0
- package/dist/types/plugin/internal.d.ts +2 -3
- package/dist/types/plugin/provider/opencode.d.ts +1 -2
- package/dist/types/voice.d.ts +1 -30
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/integration-b674gax0.js +0 -257
- package/dist/chunks/integration-me0dhgxs.js +0 -18
- package/dist/chunks/integration-wpyvgsa7.js +0 -523
- /package/dist/chunks/{integration-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a058387c.js → persistent-pty-a058387c.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./persistent-pty-6zrn44nt.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./persistent-pty-nfx626fp.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./persistent-pty-0h92kc2j.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-xkhfjrgz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service66
|
|
17
|
+
} from "./persistent-pty-cpnm63yh.js";
|
|
18
18
|
import {
|
|
19
19
|
evaluate2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service68
|
|
21
|
+
} from "./persistent-pty-0684c0fn.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service21
|
|
24
|
+
} from "./persistent-pty-45sfs8sj.js";
|
|
25
25
|
import {
|
|
26
26
|
NO_TEXT2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-sqjzf8x2.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service11
|
|
30
|
+
} from "./persistent-pty-46e84wtw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/subagent.ts
|
|
36
36
|
var exports_subagent = {};
|
|
37
37
|
__export(exports_subagent, {
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin25,
|
|
41
41
|
SubagentTool: () => exports_subagent,
|
|
42
42
|
description: () => description4,
|
|
43
|
-
name: () =>
|
|
43
|
+
name: () => name8
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { Effect, Predicate, Schema } from "effect";
|
|
47
|
-
var
|
|
47
|
+
var name8 = "subagent";
|
|
48
48
|
var backgroundResult = (sessionID) => ({
|
|
49
49
|
sessionID,
|
|
50
50
|
status: "running",
|
|
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
55
55
|
].join(`
|
|
56
56
|
`)
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var Input8 = Schema.Struct({
|
|
59
59
|
agent: Schema.String.annotate({
|
|
60
60
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
61
61
|
}),
|
|
@@ -71,7 +71,7 @@ var Input4 = Schema.Struct({
|
|
|
71
71
|
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."
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
|
-
var
|
|
74
|
+
var Output6 = Schema.Struct({
|
|
75
75
|
sessionID: SessionSchema2.ID,
|
|
76
76
|
status: Schema.Literals(["completed", "running"]),
|
|
77
77
|
output: Schema.String
|
|
@@ -85,16 +85,16 @@ var description4 = [
|
|
|
85
85
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
86
86
|
].join(`
|
|
87
87
|
`);
|
|
88
|
-
var
|
|
88
|
+
var Plugin25 = {
|
|
89
89
|
id: "opencode.tool.subagent",
|
|
90
90
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
91
|
-
const sessions = yield*
|
|
92
|
-
const jobs = yield*
|
|
93
|
-
const agents = yield*
|
|
94
|
-
const config = yield*
|
|
95
|
-
const permission = yield*
|
|
96
|
-
const models = yield*
|
|
97
|
-
const subagents = yield*
|
|
91
|
+
const sessions = yield* Service21;
|
|
92
|
+
const jobs = yield* Service66;
|
|
93
|
+
const agents = yield* Service71;
|
|
94
|
+
const config = yield* Service73;
|
|
95
|
+
const permission = yield* Service68;
|
|
96
|
+
const models = yield* Service76;
|
|
97
|
+
const subagents = yield* Service11;
|
|
98
98
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
99
99
|
const ref = yield* Effect.try({
|
|
100
100
|
try: () => Ref2.parse(input),
|
|
@@ -114,11 +114,11 @@ var Plugin39 = {
|
|
|
114
114
|
return ref;
|
|
115
115
|
});
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name8,
|
|
118
118
|
options: { codemode: false },
|
|
119
119
|
description: description4,
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input8,
|
|
121
|
+
output: Output6,
|
|
122
122
|
execute: (input, context) => Effect.gen(function* () {
|
|
123
123
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
124
124
|
let current = parent;
|
|
@@ -138,7 +138,7 @@ var Plugin39 = {
|
|
|
138
138
|
if (agent.mode === "primary")
|
|
139
139
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
140
140
|
yield* permission.assert({
|
|
141
|
-
action:
|
|
141
|
+
action: name8,
|
|
142
142
|
resources: [agent.id],
|
|
143
143
|
save: [agent.id],
|
|
144
144
|
sessionID: context.sessionID,
|
|
@@ -217,7 +217,7 @@ ${output.output}
|
|
|
217
217
|
})))
|
|
218
218
|
})).pipe(Effect.orDie);
|
|
219
219
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
220
|
-
if (event.tool !==
|
|
220
|
+
if (event.tool !== name8 || !Predicate.isObject(event.input))
|
|
221
221
|
return;
|
|
222
222
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
223
223
|
return;
|
|
@@ -229,13 +229,13 @@ ${output.output}
|
|
|
229
229
|
event.input = input;
|
|
230
230
|
}));
|
|
231
231
|
const hook = (event) => Effect.gen(function* () {
|
|
232
|
-
const tool = event.tools[
|
|
232
|
+
const tool = event.tools[name8];
|
|
233
233
|
if (!tool)
|
|
234
234
|
return;
|
|
235
235
|
const selected = yield* agents.resolve(event.agent);
|
|
236
236
|
if (!selected)
|
|
237
237
|
return;
|
|
238
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
238
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
239
239
|
if (available.length === 0)
|
|
240
240
|
return;
|
|
241
241
|
tool.description = [
|
|
@@ -252,4 +252,4 @@ ${output.output}
|
|
|
252
252
|
})
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
export {
|
|
255
|
+
export { name8, Input8, Output6, description4, Plugin25, exports_subagent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tw8zr1ps.js";
|
|
7
7
|
import {
|
|
8
8
|
stringify2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-5fjb7ams.js";
|
|
10
10
|
import {
|
|
11
11
|
contentFilterError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-rdatjt93.js";
|
|
13
13
|
|
|
14
14
|
// src/session/runner/publish-llm-event.ts
|
|
15
15
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node51
|
|
5
|
+
} from "./persistent-pty-h3a8j4mf.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./persistent-pty-8k8pzbp4.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-0684c0fn.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-z1k5tgn5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error5
|
|
18
|
+
} from "./persistent-pty-h65t1svj.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-3nnrz6f6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service32,
|
|
24
|
+
node35
|
|
25
|
+
} from "./persistent-pty-t9bqp2qp.js";
|
|
26
26
|
import {
|
|
27
27
|
make14
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-vmfhgzt5.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-67efwznc.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service31,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
43
|
layer: () => layer14,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node34,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var layer14 = Layer.effect(
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service72;
|
|
165
|
+
const transport = yield* Service32;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -170,7 +170,7 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
170
170
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
171
171
|
const tools = input.tools ?? {
|
|
172
172
|
definitions: [],
|
|
173
|
-
execute: () => new
|
|
173
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
174
174
|
};
|
|
175
175
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
176
176
|
const shaped = yield* shape({
|
|
@@ -264,17 +264,17 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service31.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
274
|
+
var node34 = makeLocationNode({
|
|
275
|
+
service: Service31,
|
|
276
276
|
layer: layer14,
|
|
277
|
-
deps: [
|
|
277
|
+
deps: [node76, node35, node51]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service31, layer14, node34, exports_model_request };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Plugin7
|
|
3
|
+
} from "./persistent-pty-5r72z9dp.js";
|
|
4
4
|
import {
|
|
5
5
|
Plugin8
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-dg56bc3d.js";
|
|
7
7
|
import {
|
|
8
8
|
Plugin4
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-q5dphz2y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Plugin6
|
|
12
|
+
} from "./persistent-pty-st7enesy.js";
|
|
13
13
|
import {
|
|
14
14
|
Plugin5
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-wk5gspz5.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/websearch/index.ts
|
|
18
18
|
var WebSearchPlugins2 = [
|
|
19
|
-
|
|
19
|
+
Plugin7,
|
|
20
20
|
Plugin8,
|
|
21
21
|
Plugin4,
|
|
22
|
-
|
|
22
|
+
Plugin6,
|
|
23
23
|
Plugin5
|
|
24
24
|
];
|
|
25
25
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-xkhfjrgz.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./persistent-pty-fk3tbwms.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-zfyhjv3h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./persistent-pty-0h92kc2j.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-jneg3k74.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./persistent-pty-m56xcexf.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin45
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin45 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service44;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service73;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
43
|
const location = yield* Service82;
|
|
44
|
-
const watcher = yield*
|
|
44
|
+
const watcher = yield* Service74;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -174,4 +174,4 @@ function isUrl(source) {
|
|
|
174
174
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Plugin45, exports_instruction };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-5gk89hyb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./persistent-pty-0684c0fn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service20
|
|
9
|
+
} from "./persistent-pty-a4se2td7.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info10,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-f4cj6rne.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin22,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin22 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service20;
|
|
104
|
+
const permission = yield* Service68;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin37 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info10,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin22, exports_opencode };
|