@opencode/core 0.0.0-dev-21779 → 0.0.0-dev-21787
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 +83 -82
- package/dist/aisdk-native.js +94 -93
- package/dist/aisdk.js +100 -99
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -76
- package/dist/chunks/{managed-policy-aj7mw0zk.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{managed-policy-apd5jra7.js → generate-0421tmwc.js} +9 -9
- package/dist/chunks/{managed-policy-t92kp9s5.js → generate-0c2df23s.js} +4 -4
- package/dist/chunks/{managed-policy-8wseh08p.js → generate-0gzf2wbx.js} +4 -4
- package/dist/chunks/{managed-policy-pdwtbhzp.js → generate-0kdh9f7n.js} +19 -19
- package/dist/chunks/generate-12ts6x5e.js +26 -0
- package/dist/chunks/{managed-policy-64a4dgx4.js → generate-1602d4m9.js} +9 -9
- package/dist/chunks/{managed-policy-ze6babrc.js → generate-16bfm19d.js} +16 -16
- package/dist/chunks/{managed-policy-27w5k9zf.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{managed-policy-atfnw7gf.js → generate-1pa7gmjv.js} +5 -5
- package/dist/chunks/{managed-policy-cxk65cmw.js → generate-1srm2qwn.js} +11 -11
- package/dist/chunks/{managed-policy-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{managed-policy-v8a9v78w.js → generate-1xnaj2rs.js} +35 -35
- package/dist/chunks/{managed-policy-49z7jvp2.js → generate-2d8gesjs.js} +29 -29
- package/dist/chunks/{managed-policy-mj9xj69n.js → generate-2f776c8r.js} +56 -56
- package/dist/chunks/{managed-policy-e0yygr8n.js → generate-2m52ht03.js} +35 -35
- package/dist/chunks/{managed-policy-ghp95cmw.js → generate-2x0b8f33.js} +18 -18
- package/dist/chunks/{managed-policy-2z1j29yd.js → generate-2z1j29yd.js} +1 -1
- package/dist/chunks/{managed-policy-f4eccy7q.js → generate-38bn2079.js} +17 -17
- package/dist/chunks/{managed-policy-ew4kz2ah.js → generate-3d5cbqv5.js} +21 -21
- package/dist/chunks/{managed-policy-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{managed-policy-ezyvxv03.js → generate-3tt8f194.js} +48 -48
- package/dist/chunks/{managed-policy-r3h5n1vp.js → generate-3yeddse9.js} +8 -8
- package/dist/chunks/{managed-policy-p5vfq2v8.js → generate-3z9mrz6q.js} +10 -10
- package/dist/chunks/{managed-policy-j2g2ntz0.js → generate-41d4f1qa.js} +19 -19
- package/dist/chunks/{managed-policy-p3ey8vsp.js → generate-455h4v89.js} +37 -37
- package/dist/chunks/{managed-policy-ca54dx7n.js → generate-46sv0t9j.js} +33 -33
- package/dist/chunks/{managed-policy-vggrzz3j.js → generate-4ctzk2hd.js} +30 -30
- package/dist/chunks/{managed-policy-xqx3k1v9.js → generate-4r35dryz.js} +25 -25
- package/dist/chunks/{managed-policy-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{managed-policy-ahhnq9fe.js → generate-4v60j7sz.js} +4 -4
- package/dist/chunks/{managed-policy-evsbz9da.js → generate-4xf0z7td.js} +9 -9
- package/dist/chunks/{managed-policy-v1hzysda.js → generate-4xn5gq7h.js} +22 -22
- package/dist/chunks/{managed-policy-4xvmh7wp.js → generate-4xvmh7wp.js} +3 -3
- package/dist/chunks/{managed-policy-68dpv4bm.js → generate-4ynggejv.js} +93 -93
- package/dist/chunks/{managed-policy-ed5jkn8v.js → generate-57esxv74.js} +2 -2
- package/dist/chunks/{managed-policy-w2eysc6j.js → generate-5enarcya.js} +6 -6
- package/dist/chunks/{managed-policy-wpdqzxj0.js → generate-5kzn450w.js} +49 -49
- package/dist/chunks/{managed-policy-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{managed-policy-x5p586pb.js → generate-5mkgcf5e.js} +29 -29
- package/dist/chunks/{managed-policy-rkdvqggb.js → generate-5nrew705.js} +5 -5
- package/dist/chunks/{managed-policy-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
- package/dist/chunks/{managed-policy-me2be6v4.js → generate-5rsk6zhh.js} +35 -35
- package/dist/chunks/{managed-policy-h7vk0jqt.js → generate-60h9p25p.js} +11 -11
- package/dist/chunks/{managed-policy-6p9bsfn5.js → generate-61377pcc.js} +16 -16
- package/dist/chunks/{managed-policy-b5vt0e29.js → generate-647zght9.js} +36 -36
- package/dist/chunks/{managed-policy-tr9mnhj9.js → generate-64w43kpe.js} +4 -4
- package/dist/chunks/{managed-policy-bs208s33.js → generate-67gs8m0e.js} +20 -20
- package/dist/chunks/{managed-policy-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{managed-policy-6pjqjmy2.js → generate-6pjqjmy2.js} +1 -1
- package/dist/chunks/{managed-policy-wtj1vzq6.js → generate-6wqb6r61.js} +10 -10
- package/dist/chunks/{managed-policy-ayhhxpsd.js → generate-6wrzbp15.js} +31 -31
- package/dist/chunks/{managed-policy-h1vf7xw6.js → generate-706a9m97.js} +18 -18
- package/dist/chunks/{managed-policy-f9fgjzmf.js → generate-72qs9vfp.js} +5 -5
- package/dist/chunks/{managed-policy-q666dkhj.js → generate-74wd5b57.js} +24 -24
- package/dist/chunks/{managed-policy-76cb1hcw.js → generate-76cb1hcw.js} +1 -1
- package/dist/chunks/{managed-policy-ckajzhn0.js → generate-76thwr1m.js} +13 -13
- package/dist/chunks/{managed-policy-8kcft6qy.js → generate-7a9fgd28.js} +14 -14
- package/dist/chunks/{managed-policy-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-r9d3bf7c.js → generate-7cdxenn5.js} +1 -1
- package/dist/chunks/generate-7m48pw0y.js +261 -0
- package/dist/chunks/{managed-policy-zq8j0fqq.js → generate-7msg3p4q.js} +19 -19
- package/dist/chunks/{managed-policy-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{managed-policy-avpzytns.js → generate-7zre7e56.js} +7 -7
- package/dist/chunks/{managed-policy-hj4bas8x.js → generate-804yeq1k.js} +5 -5
- package/dist/chunks/{managed-policy-1ft3a64b.js → generate-80pygm52.js} +32 -32
- package/dist/chunks/{managed-policy-z0tr6hr4.js → generate-816av33b.js} +85 -85
- package/dist/chunks/{managed-policy-1sb2b4hz.js → generate-843z2d51.js} +17 -17
- package/dist/chunks/{managed-policy-q85rya1m.js → generate-8682byc1.js} +6 -6
- package/dist/chunks/{managed-policy-bad2ztpq.js → generate-89e5nn63.js} +5 -5
- package/dist/chunks/{managed-policy-kwag3h57.js → generate-8acmvnn2.js} +6 -6
- package/dist/chunks/{managed-policy-9y2xp9dz.js → generate-8e105es8.js} +15 -15
- package/dist/chunks/{managed-policy-6wnv4aap.js → generate-8wnwwakb.js} +17 -17
- package/dist/chunks/{managed-policy-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{managed-policy-91rj84md.js → generate-91rj84md.js} +1 -1
- package/dist/chunks/{managed-policy-n6vhe5fc.js → generate-91rtgvd1.js} +24 -24
- package/dist/chunks/{managed-policy-cqntne3k.js → generate-91tq4j7x.js} +47 -47
- package/dist/chunks/{managed-policy-s5rxfzaz.js → generate-92krx78w.js} +3 -3
- package/dist/chunks/{managed-policy-f42edk30.js → generate-93e6r647.js} +15 -15
- package/dist/chunks/{managed-policy-y1m3tahy.js → generate-943vk4xf.js} +4 -4
- package/dist/chunks/{managed-policy-vxse5zfy.js → generate-95yk96qj.js} +13 -13
- package/dist/chunks/{managed-policy-n77kgz3v.js → generate-988e81kb.js} +18 -18
- package/dist/chunks/{managed-policy-fy5bjxgv.js → generate-998yhzzq.js} +3 -4
- package/dist/chunks/{managed-policy-f1fvgra9.js → generate-9bv6909x.js} +14 -14
- package/dist/chunks/{managed-policy-pv3f4fmb.js → generate-9ebekwpw.js} +11 -11
- package/dist/chunks/{managed-policy-t9r9zczj.js → generate-9g64908n.js} +6 -6
- package/dist/chunks/{managed-policy-esnhh37z.js → generate-9gs5w8vw.js} +23 -23
- package/dist/chunks/{managed-policy-jt052epg.js → generate-9nb4x13m.js} +10 -10
- package/dist/chunks/{managed-policy-m7zcvtr8.js → generate-9p4802g3.js} +189 -189
- package/dist/chunks/{managed-policy-jchrqzf6.js → generate-9p9xqj3m.js} +8 -8
- package/dist/chunks/{managed-policy-rdesvtjj.js → generate-9qpzkr0s.js} +4 -4
- package/dist/chunks/{managed-policy-vrn1tqz6.js → generate-9whth5bc.js} +6 -6
- package/dist/chunks/{managed-policy-w0j5ywg8.js → generate-9za7fsez.js} +40 -40
- package/dist/chunks/{managed-policy-hw53rdkh.js → generate-a78jnvn4.js} +14 -14
- package/dist/chunks/{managed-policy-3kdbrncp.js → generate-afmnpta1.js} +5 -5
- package/dist/chunks/{managed-policy-qc74gz25.js → generate-am41y27b.js} +11 -11
- package/dist/chunks/{managed-policy-sj9d558k.js → generate-apg5tkyy.js} +24 -27
- package/dist/chunks/{managed-policy-z7gjhxcb.js → generate-apyfbx3k.js} +12 -12
- package/dist/chunks/{managed-policy-9q42j6a5.js → generate-arjcrnbc.js} +11 -11
- package/dist/chunks/{managed-policy-03ememhp.js → generate-axywpa85.js} +13 -13
- package/dist/chunks/{managed-policy-awkjnfzq.js → generate-ay55ej5b.js} +20 -20
- package/dist/chunks/{managed-policy-3cbjf1nt.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{managed-policy-b0mv4wxm.js → generate-b0mv4wxm.js} +2 -2
- package/dist/chunks/{managed-policy-prazahgm.js → generate-b6vsg801.js} +2 -4
- package/dist/chunks/{managed-policy-tfcjfmds.js → generate-baak6a6c.js} +19 -19
- package/dist/chunks/{managed-policy-8554g49p.js → generate-bbcv7z05.js} +33 -33
- package/dist/chunks/{managed-policy-mkxcxg19.js → generate-bf5a4r6p.js} +24 -24
- package/dist/chunks/{managed-policy-00cr1rxs.js → generate-bgnkmjh7.js} +12 -12
- package/dist/chunks/{managed-policy-9hx0ex4r.js → generate-bprg34wm.js} +3 -3
- package/dist/chunks/{managed-policy-bstexjd6.js → generate-bstexjd6.js} +1 -1
- package/dist/chunks/{managed-policy-d2r51erv.js → generate-bx7p4zt3.js} +17 -17
- package/dist/chunks/{managed-policy-42yy1t4m.js → generate-bxpy1z3j.js} +17 -17
- package/dist/chunks/{managed-policy-dfgx57nd.js → generate-c1jyg704.js} +35 -35
- package/dist/chunks/{managed-policy-je0epjbd.js → generate-c1w24mvk.js} +9 -9
- package/dist/chunks/{managed-policy-fbjqxkhq.js → generate-c3q67jfs.js} +5 -5
- package/dist/chunks/{managed-policy-rezjgjxe.js → generate-c6sgtb47.js} +20 -20
- package/dist/chunks/{managed-policy-p0y7ddwc.js → generate-c7s0gbm9.js} +22 -22
- package/dist/chunks/{managed-policy-jrzpqne3.js → generate-c8anzs9p.js} +10 -10
- package/dist/chunks/{managed-policy-pqdrg6za.js → generate-cay4tvkt.js} +5 -5
- package/dist/chunks/{managed-policy-a5z798gd.js → generate-cg6rqdg0.js} +35 -35
- package/dist/chunks/{managed-policy-a8p5crz1.js → generate-cgrnsrfx.js} +22 -22
- package/dist/chunks/{managed-policy-7jz5d2t0.js → generate-cm3sk30v.js} +12 -12
- package/dist/chunks/{managed-policy-d2vccz4f.js → generate-cp1x68ta.js} +30 -30
- package/dist/chunks/{managed-policy-cdfeh84c.js → generate-crvaaxf0.js} +27 -27
- package/dist/chunks/{managed-policy-3fwr0gba.js → generate-ctbt5vra.js} +9 -9
- package/dist/chunks/{managed-policy-5nd54hzp.js → generate-cwjy3gzh.js} +5 -5
- package/dist/chunks/{managed-policy-s1qts2x9.js → generate-d2bz80wk.js} +1 -1
- package/dist/chunks/{managed-policy-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{managed-policy-6vzv00yv.js → generate-d6fcepcv.js} +7 -7
- package/dist/chunks/{managed-policy-9kg5w032.js → generate-ddvn7d3w.js} +8 -8
- package/dist/chunks/{managed-policy-5ny4wef6.js → generate-dqv1w111.js} +40 -40
- package/dist/chunks/{managed-policy-dd6h6kqy.js → generate-dvdcj7cr.js} +24 -24
- package/dist/chunks/{managed-policy-zvwzcwk0.js → generate-dy6x8wfh.js} +6 -6
- package/dist/chunks/{managed-policy-vvzc2rtq.js → generate-dya2dypy.js} +12 -12
- package/dist/chunks/{managed-policy-bctgpknz.js → generate-e1wm1c1c.js} +14 -14
- package/dist/chunks/{managed-policy-agqd6nxz.js → generate-e2ne77ac.js} +4 -4
- package/dist/chunks/{managed-policy-45chpwqw.js → generate-e5594mv8.js} +11 -11
- package/dist/chunks/{managed-policy-e834z07m.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{managed-policy-yzhnqbqe.js → generate-eg1p11h9.js} +46 -46
- package/dist/chunks/{managed-policy-mm1qhevh.js → generate-enjcz11b.js} +40 -40
- package/dist/chunks/{managed-policy-2jq8265x.js → generate-exvmz0y3.js} +22 -22
- package/dist/chunks/{managed-policy-rpw9k8ba.js → generate-f6h5pjek.js} +22 -22
- package/dist/chunks/generate-f8ma18fn.js +18 -0
- package/dist/chunks/{managed-policy-v7h0nwys.js → generate-f9p4evw4.js} +14 -14
- package/dist/chunks/{managed-policy-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{managed-policy-jyq39yw7.js → generate-fxg03wke.js} +18 -18
- package/dist/chunks/{managed-policy-2sp6x650.js → generate-g07s9e0a.js} +16 -16
- package/dist/chunks/{managed-policy-kjx6j1fh.js → generate-g1jzcvfp.js} +48 -48
- package/dist/chunks/{managed-policy-ygbaejqc.js → generate-g4n8wy90.js} +22 -22
- package/dist/chunks/{managed-policy-g5h9c0rr.js → generate-g5h9c0rr.js} +2 -2
- package/dist/chunks/{managed-policy-m37sd98t.js → generate-g7esga4v.js} +7 -7
- package/dist/chunks/{managed-policy-02fhkb6c.js → generate-g8wnc3yf.js} +25 -25
- package/dist/chunks/{managed-policy-je88hrb4.js → generate-gdse6xex.js} +13 -13
- package/dist/chunks/{managed-policy-j9ezjb8v.js → generate-ggaga4g8.js} +14 -14
- package/dist/chunks/{managed-policy-n9p72mjb.js → generate-gj8x1tda.js} +5 -5
- package/dist/chunks/{managed-policy-03pkq5wz.js → generate-gkng5bng.js} +6 -6
- package/dist/chunks/{managed-policy-rzbj1kbd.js → generate-grzgy5vk.js} +34 -34
- package/dist/chunks/{managed-policy-zw3k2mvr.js → generate-gwgmm0r0.js} +32 -32
- package/dist/chunks/{managed-policy-nq061v6n.js → generate-h012d7er.js} +32 -32
- package/dist/chunks/{managed-policy-2wyes2cm.js → generate-h5qan5zz.js} +8 -8
- package/dist/chunks/{managed-policy-pp9yn2rg.js → generate-hdfrs5mg.js} +9 -9
- package/dist/chunks/{managed-policy-j113cymg.js → generate-j113cymg.js} +1 -1
- package/dist/chunks/{managed-policy-v8vd993n.js → generate-jc512s3p.js} +8 -8
- package/dist/chunks/{managed-policy-47jjev45.js → generate-jdm7ypvj.js} +75 -75
- package/dist/chunks/{managed-policy-tqxcyjgt.js → generate-jeyrprj9.js} +21 -21
- package/dist/chunks/{managed-policy-5ydp8y6j.js → generate-jfz0xtmw.js} +24 -24
- package/dist/chunks/{managed-policy-26h8w6n3.js → generate-jrzjw8ef.js} +11 -11
- package/dist/chunks/{managed-policy-jt7s8sjd.js → generate-jw5hzjzk.js} +5 -5
- package/dist/chunks/generate-jwr30sdr.js +13 -0
- package/dist/chunks/{managed-policy-7kn810xp.js → generate-jyk4tkgp.js} +55 -55
- package/dist/chunks/{managed-policy-k814nvkf.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{managed-policy-m4869hkg.js → generate-kbg7fx6b.js} +11 -11
- package/dist/chunks/{managed-policy-q1bq6w6w.js → generate-kcrfampp.js} +8 -8
- package/dist/chunks/{managed-policy-skdn7emw.js → generate-kn8waak8.js} +9 -9
- package/dist/chunks/{managed-policy-9b4y21f1.js → generate-knz8nj5n.js} +9 -9
- package/dist/chunks/{managed-policy-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
- package/dist/chunks/{managed-policy-c0r0jd01.js → generate-kzqkeft0.js} +5 -5
- package/dist/chunks/{managed-policy-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{managed-policy-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{managed-policy-qwgnw2k6.js → generate-mhw5nazv.js} +21 -21
- package/dist/chunks/{managed-policy-e4bdykca.js → generate-mj7y0whk.js} +1 -1
- package/dist/chunks/{managed-policy-f27wsjye.js → generate-mjywf106.js} +27 -27
- package/dist/chunks/{managed-policy-0bqp6b53.js → generate-mn233j48.js} +9 -9
- package/dist/chunks/{managed-policy-xar3ete2.js → generate-mr4qt0w1.js} +12 -12
- package/dist/chunks/{managed-policy-2h4dmphj.js → generate-mrwfy854.js} +46 -46
- package/dist/chunks/{managed-policy-c0jb4yaq.js → generate-myck1dky.js} +25 -25
- package/dist/chunks/{managed-policy-wyrpevsh.js → generate-mycq80cg.js} +19 -19
- package/dist/chunks/{managed-policy-n0p0277s.js → generate-n0p0277s.js} +1 -1
- package/dist/chunks/{managed-policy-h9g17fvf.js → generate-n1w9rr7b.js} +5 -5
- package/dist/chunks/{managed-policy-cr69m9gz.js → generate-n39q19g8.js} +4 -4
- package/dist/chunks/{managed-policy-6zfvt8rp.js → generate-n5ka82qe.js} +13 -13
- package/dist/chunks/{managed-policy-770pw0s1.js → generate-nah043kf.js} +4 -4
- package/dist/chunks/{managed-policy-x026aahv.js → generate-nqe13dkz.js} +23 -23
- package/dist/chunks/{managed-policy-zd3s57ef.js → generate-nxe16pbc.js} +14 -14
- package/dist/chunks/{managed-policy-p015t6z3.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{managed-policy-p7vhpwh8.js → generate-p7vhpwh8.js} +1 -1
- package/dist/chunks/{managed-policy-jx89vj1k.js → generate-pc1v25hk.js} +3 -3
- package/dist/chunks/{managed-policy-3m04bkm7.js → generate-pc3q5c30.js} +6 -6
- package/dist/chunks/{managed-policy-0eeh5sc5.js → generate-pe3tcc4r.js} +30 -30
- package/dist/chunks/{managed-policy-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-dbztejgq.js → generate-pkyv6v7h.js} +0 -1
- package/dist/chunks/generate-pwprjmjf.js +517 -0
- package/dist/chunks/{managed-policy-wp43yer9.js → generate-pxvzbmhb.js} +29 -29
- package/dist/chunks/{managed-policy-n5wj02fj.js → generate-pyxrqe4f.js} +25 -19
- package/dist/chunks/{managed-policy-mz7dkqsg.js → generate-q5hbvftq.js} +17 -17
- package/dist/chunks/{managed-policy-49wfgnbx.js → generate-qc2mm8b6.js} +11 -11
- package/dist/chunks/{managed-policy-a1p7bg8r.js → generate-qcr4xbb4.js} +18 -18
- package/dist/chunks/{managed-policy-8jztxfpf.js → generate-qjgzc4b4.js} +4 -4
- package/dist/chunks/{managed-policy-vsnnaxjq.js → generate-qkc3z5ds.js} +4 -4
- package/dist/chunks/{managed-policy-9axz1114.js → generate-qv7y9773.js} +9 -9
- package/dist/chunks/{managed-policy-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{managed-policy-2gg250z3.js → generate-r38sx3r4.js} +6 -6
- package/dist/chunks/{managed-policy-8r6n0qax.js → generate-r542h3bh.js} +2 -4
- package/dist/chunks/{managed-policy-pmnt75d6.js → generate-r63szx73.js} +8 -8
- package/dist/chunks/{managed-policy-wgbrv6pc.js → generate-r8en70mr.js} +27 -27
- package/dist/chunks/{managed-policy-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{managed-policy-0ks2n9jf.js → generate-rcafeyqq.js} +6 -6
- package/dist/chunks/{managed-policy-bqxktn40.js → generate-rh6v8sme.js} +14 -14
- package/dist/chunks/{managed-policy-tmb3tnse.js → generate-rhpagg0w.js} +35 -35
- package/dist/chunks/{managed-policy-vrcsa8qx.js → generate-rjnacbrz.js} +9 -9
- package/dist/chunks/{managed-policy-k69edqc3.js → generate-rqkyt2p4.js} +50 -50
- package/dist/chunks/{managed-policy-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{managed-policy-kgbbv3sg.js → generate-rwzztdnt.js} +40 -40
- package/dist/chunks/{managed-policy-f5at3vzj.js → generate-rx5q4re9.js} +21 -21
- package/dist/chunks/{managed-policy-c0r6m18p.js → generate-s06qzxdv.js} +14 -14
- package/dist/chunks/{managed-policy-vwqqd668.js → generate-s12jh10e.js} +8 -8
- package/dist/chunks/{managed-policy-zba5tm1j.js → generate-s626qfae.js} +4 -4
- package/dist/chunks/{managed-policy-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
- package/dist/chunks/{managed-policy-rrmqzdps.js → generate-scvarvm8.js} +7 -7
- package/dist/chunks/{managed-policy-ph7pkazd.js → generate-snseane2.js} +56 -52
- package/dist/chunks/{managed-policy-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{managed-policy-ssfehs1z.js → generate-ssfehs1z.js} +1 -1
- package/dist/chunks/{managed-policy-njpdtz7k.js → generate-t8f6zgqm.js} +26 -26
- package/dist/chunks/{managed-policy-ddjqg4re.js → generate-t9z09xc1.js} +17 -17
- package/dist/chunks/{managed-policy-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{managed-policy-1ee9e5h5.js → generate-tdzazexc.js} +20 -20
- package/dist/chunks/{managed-policy-zfrqmavk.js → generate-tgy9njqc.js} +28 -28
- package/dist/chunks/{managed-policy-azemrkpd.js → generate-tn1pzc3v.js} +48 -48
- package/dist/chunks/{managed-policy-bm5tsqjy.js → generate-ttqc2aqc.js} +11 -11
- package/dist/chunks/{managed-policy-twv2r8f4.js → generate-twv2r8f4.js} +2 -2
- package/dist/chunks/{managed-policy-n89ynwx4.js → generate-v1g3t408.js} +15 -15
- package/dist/chunks/{managed-policy-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
- package/dist/chunks/{managed-policy-vd204cgb.js → generate-v8r4h2ge.js} +15 -15
- package/dist/chunks/{managed-policy-zw9jfjbq.js → generate-v9hbv2xx.js} +28 -28
- package/dist/chunks/{managed-policy-vd3b3yk9.js → generate-vd3b3yk9.js} +1 -1
- package/dist/chunks/{managed-policy-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-1e5rbrpx.js → generate-vksr3ykb.js} +23 -23
- package/dist/chunks/{managed-policy-ydn5pt77.js → generate-vrecv7xn.js} +11 -11
- package/dist/chunks/{managed-policy-sa3m9chx.js → generate-vy44t5mr.js} +11 -11
- package/dist/chunks/{managed-policy-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{managed-policy-s4dfshv0.js → generate-wb8x9t3h.js} +38 -38
- package/dist/chunks/{managed-policy-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-qqg9c0kv.js → generate-wmjzvx4b.js} +4 -4
- package/dist/chunks/{managed-policy-32rbtppw.js → generate-wn502zcs.js} +20 -20
- package/dist/chunks/{managed-policy-6d6xnsqa.js → generate-wp4rg1a9.js} +5 -5
- package/dist/chunks/{managed-policy-fe357ss9.js → generate-wqa6kp8n.js} +9 -9
- package/dist/chunks/{managed-policy-w9cf5jnd.js → generate-wqfa8sbf.js} +16 -16
- package/dist/chunks/{managed-policy-wr3re1en.js → generate-wr3re1en.js} +1 -1
- package/dist/chunks/{managed-policy-yb6typ28.js → generate-wtc8kthj.js} +28 -28
- package/dist/chunks/{managed-policy-n3q6whry.js → generate-wypdqsf3.js} +19 -19
- package/dist/chunks/{managed-policy-zgmrepvs.js → generate-x26wqd07.js} +4 -4
- package/dist/chunks/{managed-policy-x132tpv8.js → generate-x5p4acxh.js} +3 -3
- package/dist/chunks/{managed-policy-t639c3yy.js → generate-xrbpmgv4.js} +25 -25
- package/dist/chunks/{managed-policy-zm48p3w4.js → generate-xs8vwfgw.js} +8 -8
- package/dist/chunks/{managed-policy-fkz1sskx.js → generate-y02kp52f.js} +13 -13
- package/dist/chunks/{managed-policy-b6j82r80.js → generate-y0xwmjzw.js} +59 -59
- package/dist/chunks/{managed-policy-490c48bj.js → generate-y21fntsh.js} +2 -2
- package/dist/chunks/{managed-policy-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{managed-policy-efkbwkq1.js → generate-ybnpgdfy.js} +2 -3
- package/dist/chunks/{managed-policy-vwdfpcvx.js → generate-yeejah88.js} +3 -3
- package/dist/chunks/{managed-policy-3dv7tw0m.js → generate-yhm3km31.js} +4 -4
- package/dist/chunks/{managed-policy-q01s6b65.js → generate-ykykgdt7.js} +32 -32
- package/dist/chunks/{managed-policy-5k38w7sf.js → generate-yt9pczka.js} +5 -5
- package/dist/chunks/{managed-policy-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-ncsf0b7s.js → generate-z15hn2yg.js} +14 -14
- package/dist/chunks/{managed-policy-twa7y64b.js → generate-z2g5qvzj.js} +18 -18
- package/dist/chunks/{managed-policy-z38nccrw.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{managed-policy-n52dfyva.js → generate-z67a96cz.js} +18 -18
- package/dist/chunks/{managed-policy-wy76b4ds.js → generate-za6jnyck.js} +29 -29
- package/dist/chunks/{managed-policy-vmfhehpp.js → generate-zcyx2e1c.js} +35 -35
- package/dist/chunks/{managed-policy-fmq5p3ga.js → generate-zjyebp72.js} +6 -6
- package/dist/chunks/{managed-policy-zkg84ctx.js → generate-zkg84ctx.js} +1 -1
- package/dist/chunks/{managed-policy-zz2mxr8y.js → generate-zvctmeyc.js} +35 -35
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -84
- package/dist/config/discovery.js +87 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -103
- package/dist/config/plugin/agent.js +118 -117
- package/dist/config/plugin/command.js +214 -213
- package/dist/config/plugin/compaction.js +157 -156
- package/dist/config/plugin/compatibility.js +137 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -118
- package/dist/config/plugin/image.js +116 -115
- package/dist/config/plugin/instruction.js +118 -117
- package/dist/config/plugin/location-watcher.js +120 -119
- package/dist/config/plugin/mcp.js +125 -124
- package/dist/config/plugin/policy.js +119 -118
- package/dist/config/plugin/provider.js +118 -117
- package/dist/config/plugin/reference.js +120 -119
- package/dist/config/plugin/shell.js +120 -119
- package/dist/config/plugin/skill-file.js +107 -106
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -139
- package/dist/config/plugin/snapshot.js +118 -117
- package/dist/config/plugin/source.js +119 -118
- package/dist/config/plugin/tool-output.js +119 -118
- package/dist/config/plugin/websearch.js +119 -118
- package/dist/config/plugin/worktree.js +120 -119
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -120
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -88
- package/dist/database/database.js +74 -73
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +6 -0
- package/dist/database/migration.gen.js +53 -52
- package/dist/database/migration.js +55 -54
- 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 +100 -99
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -373
- 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 +98 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -99
- 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 +78 -77
- package/dist/file-access.js +109 -108
- package/dist/file-mutation.js +99 -98
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +229 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +109 -108
- package/dist/form.js +90 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -91
- package/dist/generate.js +108 -107
- package/dist/git.js +11 -11
- 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 +104 -103
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -364
- package/dist/instruction-discovery.js +88 -87
- package/dist/instructions/builtins.js +92 -91
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -90
- package/dist/job.js +80 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -76
- package/dist/location-activity.js +161 -160
- package/dist/location-lifecycle.js +112 -111
- package/dist/location-service-map.js +91 -90
- package/dist/location-services.js +362 -361
- package/dist/location.js +92 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +121 -97
- package/dist/mcp/index.js +114 -113
- package/dist/mcp/instructions.js +143 -142
- package/dist/mcp/oauth.js +82 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -94
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -103
- package/dist/model-resolver.js +104 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -104
- package/dist/models-dev.js +112 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +122 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -78
- package/dist/plugin/agent.js +78 -77
- package/dist/plugin/command.js +105 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -219
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -100
- package/dist/plugin/module.js +119 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -106
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -94
- package/dist/plugin/provider/azure.js +118 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -117
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -97
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -99
- package/dist/plugin/provider/gitlab.js +98 -97
- package/dist/plugin/provider/google-vertex.js +115 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -81
- package/dist/plugin/provider/lmstudio.js +125 -124
- package/dist/plugin/provider/local.js +124 -123
- package/dist/plugin/provider/modal.js +97 -96
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -126
- package/dist/plugin/provider/openai-context-caps.js +95 -94
- package/dist/plugin/provider/openai.js +118 -117
- package/dist/plugin/provider/opencode.js +104 -103
- package/dist/plugin/provider/openrouter.js +96 -95
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -82
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -95
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -116
- package/dist/plugin/provider/vercel.js +95 -94
- package/dist/plugin/provider/vllm.js +127 -126
- package/dist/plugin/provider/xai.js +96 -95
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -170
- package/dist/plugin/sdk.js +78 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -90
- package/dist/plugin/vcs/hg.js +91 -90
- package/dist/plugin/verbosity.js +98 -97
- package/dist/plugin/warming.js +116 -115
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -94
- package/dist/provider.js +106 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -102
- package/dist/reference/instructions.js +94 -93
- package/dist/reference.js +96 -95
- package/dist/repository-cache.js +86 -85
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -101
- package/dist/rpc.js +91 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -77
- package/dist/session/compaction.js +139 -138
- package/dist/session/context.js +167 -166
- package/dist/session/diff.js +93 -92
- 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 +226 -225
- package/dist/session/execution.js +133 -132
- package/dist/session/generate.js +167 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -96
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -124
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -134
- package/dist/session/projector.js +93 -92
- package/dist/session/prompt.js +110 -109
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -98
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +103 -102
- package/dist/session/runner/publish-llm-event.js +118 -117
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +129 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -164
- package/dist/session/shell.js +132 -131
- package/dist/session/skill.js +108 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -78
- package/dist/session/store.js +89 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -213
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +169 -168
- package/dist/session/to-session-error.js +117 -116
- package/dist/session/transfer.js +225 -225
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -217
- 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 +134 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -111
- package/dist/skill.js +117 -116
- package/dist/snapshot.js +96 -95
- 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 +142 -141
- package/dist/tool/plugin/edit.js +125 -124
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -128
- package/dist/tool/plugin/grep.js +129 -128
- package/dist/tool/plugin/mcp-resource.js +129 -128
- package/dist/tool/plugin/opencode.js +114 -113
- package/dist/tool/plugin/patch.js +127 -126
- package/dist/tool/plugin/question.js +110 -109
- package/dist/tool/plugin/read.js +128 -127
- package/dist/tool/plugin/shell.js +219 -218
- package/dist/tool/plugin/skill.js +118 -117
- package/dist/tool/plugin/subagent.js +219 -218
- package/dist/tool/plugin/todo.js +140 -139
- package/dist/tool/plugin/webfetch.js +118 -117
- package/dist/tool/plugin/websearch.js +119 -118
- package/dist/tool/plugin/write.js +127 -126
- package/dist/tool/read-filesystem.js +105 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/database/migration/20261024175301_drop_session_allowance.d.ts +3 -0
- package/dist/types/session/history.d.ts +0 -2
- package/dist/types/session/runner/publish-llm-event.d.ts +0 -1
- package/dist/types/session/schema.d.ts +0 -5
- package/dist/types/session/sql.d.ts +0 -16
- package/dist/types/session/transfer.d.ts +0 -10
- package/dist/types/session/usage.d.ts +0 -2
- package/dist/usage-limits.js +93 -92
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -96
- 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/variant.js +98 -97
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -93
- package/dist/voice.js +92 -91
- package/dist/websearch.js +88 -87
- package/dist/wellknown/plugin.js +80 -79
- package/dist/wellknown.js +85 -84
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -85
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -93
- package/dist/worktree.js +101 -100
- package/package.json +8 -8
- package/dist/chunks/managed-policy-7yv5xa0k.js +0 -18
- package/dist/chunks/managed-policy-7z6mcrx3.js +0 -261
- package/dist/chunks/managed-policy-8nedx0w1.js +0 -26
- package/dist/chunks/managed-policy-g8qg0zk0.js +0 -517
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5fjb7ams.js → generate-5fjb7ams.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service83
|
|
8
|
+
} from "./generate-61377pcc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./generate-dvdcj7cr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./generate-v1g3t408.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service17,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-95yk96qj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service78
|
|
22
|
+
} from "./generate-2f776c8r.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service77,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-fxg03wke.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin39,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin39 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service48;
|
|
112
|
+
const access = yield* Service77;
|
|
113
|
+
const fileMutation = yield* Service17;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service83;
|
|
116
|
+
const permission = yield* Service78;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin10 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output2, toModelContent2, Plugin39, exports_patch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./generate-cg6rqdg0.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-r38sx3r4.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID8.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./generate-wqfa8sbf.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
@@ -15,27 +15,27 @@ __export(exports_agent4, {
|
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
17
|
Event: () => Event19,
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info26,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service81,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node85
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
28
|
import { Event as Event19 } from "@opencode/schema/agent";
|
|
29
|
-
var
|
|
29
|
+
var ID15 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID15.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info26 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service81 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service86;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info26.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service81.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID15.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
101
|
}));
|
|
102
|
-
var
|
|
102
|
+
var node85 = makeLocationNode({ service: Service81, layer, deps: [node90] });
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { ID15, Name3, defaultID2, Color2, Info26, Service81, node85, exports_agent4, Event19 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-gkng5bng.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9p9xqj3m.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-n39q19g8.js";
|
|
18
18
|
import {
|
|
19
19
|
messageToText2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-v2r1d0zg.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/session/history.ts
|
|
26
26
|
var exports_history = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_history, {
|
|
|
32
32
|
entriesForRunner: () => entriesForRunner2,
|
|
33
33
|
firstUserMessage: () => firstUserMessage2,
|
|
34
34
|
isNativeCompaction: () => isNativeCompaction2,
|
|
35
|
-
load: () =>
|
|
35
|
+
load: () => load5,
|
|
36
36
|
preview: () => preview2
|
|
37
37
|
});
|
|
38
38
|
import { and, asc, desc, eq, gte, lt, or, sql } from "drizzle-orm";
|
|
@@ -88,7 +88,7 @@ var withRecentText = Effect.fnUntraced(function* (db, sessionID, entries) {
|
|
|
88
88
|
`);
|
|
89
89
|
return [{ ...first, message: { ...compaction, metadata: { ...compaction.metadata, recent } } }, ...entries.slice(1)];
|
|
90
90
|
});
|
|
91
|
-
var
|
|
91
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
92
92
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
93
93
|
});
|
|
94
94
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -124,4 +124,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
124
124
|
return message?.type === "user" ? message : undefined;
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
-
export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2,
|
|
127
|
+
export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service87,
|
|
9
|
+
node91
|
|
10
|
+
} from "./generate-qc2mm8b6.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-qjgzc4b4.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node53
|
|
18
|
+
} from "./generate-dy6x8wfh.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID5,
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service49,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured6,
|
|
36
|
+
node: () => node52
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID5 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info9 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID5,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID5,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service49 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured6 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service49,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node91, node53]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service87).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info9({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service49.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID5.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node52 = configured6();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID5, Info9, NotFound2, CreateConflict2, Service49, configured6, node52, exports_workspace };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info19,
|
|
6
|
+
ID9,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-r8en70mr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./generate-3tt8f194.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin31,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin31 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info19.make({
|
|
439
|
+
id: ID9.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info19.make({
|
|
446
|
+
id: ID9.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service59;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./generate-61377pcc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service83;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID10,
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./generate-46sv0t9j.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service15,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer9,
|
|
21
|
+
node: () => node17
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service15 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer9 = Layer.effect(Service15, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service73;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID10.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -67,10 +67,10 @@ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
67
67
|
if (!engine)
|
|
68
68
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError2({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer21 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service15.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
86
|
+
var node17 = makeLocationNode({
|
|
87
|
+
service: Service15,
|
|
88
|
+
layer: layer9,
|
|
89
|
+
deps: [node77, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError2, Service15, layer9, node17, exports_voice };
|