@opencode/core 0.0.0-dev-21730 → 0.0.0-dev-21734
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 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-resolver-2ny6xyme.js → persistent-pty-00s53wgx.js} +1 -1
- package/dist/chunks/{model-resolver-yg834er4.js → persistent-pty-01res37g.js} +18 -18
- package/dist/chunks/{model-resolver-dh62xe4r.js → persistent-pty-033a0jkt.js} +3 -3
- package/dist/chunks/{model-resolver-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
- package/dist/chunks/{model-resolver-fvp60fwe.js → persistent-pty-03qj99jn.js} +5 -5
- package/dist/chunks/{model-resolver-69ea4gs9.js → persistent-pty-04jfy8dp.js} +24 -24
- package/dist/chunks/{model-resolver-wy7bdrzd.js → persistent-pty-05gkwb83.js} +4 -4
- package/dist/chunks/{model-resolver-amjb1f6j.js → persistent-pty-0725bc3m.js} +21 -21
- package/dist/chunks/{model-resolver-8vhkf3wd.js → persistent-pty-091vk1nr.js} +26 -26
- package/dist/chunks/{model-resolver-2kj7f5bg.js → persistent-pty-0ahs07zn.js} +7 -7
- package/dist/chunks/{model-resolver-tyfqe8mq.js → persistent-pty-0bjvb68n.js} +35 -35
- package/dist/chunks/{model-resolver-ta21jq92.js → persistent-pty-0c68abaz.js} +17 -17
- package/dist/chunks/{model-resolver-0trvysgd.js → persistent-pty-10bbn146.js} +5 -5
- package/dist/chunks/{model-resolver-pgt2b3dq.js → persistent-pty-121mwpky.js} +15 -15
- package/dist/chunks/{model-resolver-tg1vr1qt.js → persistent-pty-160yv0cs.js} +8 -8
- package/dist/chunks/{model-resolver-mbb71zxb.js → persistent-pty-161q6wr2.js} +26 -26
- package/dist/chunks/persistent-pty-18cbc7hj.js +523 -0
- package/dist/chunks/{model-resolver-jcqm84fr.js → persistent-pty-18g90bpv.js} +9 -9
- package/dist/chunks/{model-resolver-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-resolver-bn231r82.js → persistent-pty-1mbb3nqq.js} +11 -11
- package/dist/chunks/{model-resolver-9d19w6f1.js → persistent-pty-1r5fcxrd.js} +15 -15
- package/dist/chunks/{model-resolver-5zryechk.js → persistent-pty-1v15skyy.js} +2 -2
- package/dist/chunks/{model-resolver-vcxs933z.js → persistent-pty-1v7y2gfm.js} +8 -8
- package/dist/chunks/{model-resolver-qcchxstm.js → persistent-pty-1wr4254w.js} +14 -14
- package/dist/chunks/{model-resolver-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-1yq9hg58.js → persistent-pty-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-resolver-tasvem1v.js → persistent-pty-1z6jjy5p.js} +3 -3
- package/dist/chunks/{model-resolver-0b0dvc3v.js → persistent-pty-23fw7d8n.js} +11 -11
- package/dist/chunks/{model-resolver-f6r0dzq4.js → persistent-pty-25yt9nvs.js} +13 -13
- package/dist/chunks/{model-resolver-yxb96n0x.js → persistent-pty-294nmx0v.js} +41 -41
- package/dist/chunks/{model-resolver-b2zdt2y6.js → persistent-pty-2kyrhkym.js} +5 -5
- package/dist/chunks/{model-resolver-01t4jxfe.js → persistent-pty-2q88n7qb.js} +4 -4
- package/dist/chunks/{model-resolver-8rdd1j7g.js → persistent-pty-2qkmb929.js} +43 -43
- package/dist/chunks/{model-resolver-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-resolver-6f6tsj36.js → persistent-pty-2zve0z6t.js} +15 -15
- package/dist/chunks/{model-resolver-v9e2a6a3.js → persistent-pty-33jdcjy6.js} +20 -20
- package/dist/chunks/{model-resolver-sn02bkrk.js → persistent-pty-34kc3y55.js} +18 -18
- package/dist/chunks/{model-resolver-55w0c6dm.js → persistent-pty-3e5cks6s.js} +33 -33
- package/dist/chunks/{model-resolver-g42b6ca9.js → persistent-pty-3gv0spa2.js} +4 -4
- package/dist/chunks/{model-resolver-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-ew2d9bn2.js → persistent-pty-3mferp1a.js} +26 -26
- package/dist/chunks/{model-resolver-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-x7pzp06w.js → persistent-pty-3ntfh06s.js} +8 -8
- package/dist/chunks/{model-resolver-52rn342d.js → persistent-pty-408p0c2c.js} +30 -30
- package/dist/chunks/{model-resolver-5enarcya.js → persistent-pty-40za9wsf.js} +6 -6
- package/dist/chunks/{model-resolver-knfnv5xd.js → persistent-pty-4s7gz49e.js} +46 -46
- package/dist/chunks/{model-resolver-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-bp5sb8yv.js → persistent-pty-4wwst2cr.js} +16 -16
- package/dist/chunks/{model-resolver-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-resolver-8gxpx3mz.js → persistent-pty-54bdth8f.js} +18 -18
- package/dist/chunks/{model-resolver-8na9xnnb.js → persistent-pty-54zw250x.js} +3 -3
- package/dist/chunks/{model-resolver-kw1hde90.js → persistent-pty-5a4vd8th.js} +8 -8
- package/dist/chunks/{model-resolver-17r7g020.js → persistent-pty-5m7egt4k.js} +34 -34
- package/dist/chunks/{model-resolver-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-yc4xwjk4.js → persistent-pty-5qv54f7z.js} +9 -9
- package/dist/chunks/{model-resolver-nzf6z8jh.js → persistent-pty-61g7nd3s.js} +10 -10
- package/dist/chunks/{model-resolver-pfjg1qnb.js → persistent-pty-660eev4r.js} +21 -21
- package/dist/chunks/{model-resolver-egspkehf.js → persistent-pty-66nsc0mc.js} +10 -10
- package/dist/chunks/{model-resolver-kc3bzs90.js → persistent-pty-68ed1heq.js} +3 -3
- package/dist/chunks/persistent-pty-6903n5ex.js +26 -0
- package/dist/chunks/{model-resolver-n527a7dv.js → persistent-pty-6b7kqf9p.js} +23 -23
- package/dist/chunks/{model-resolver-bm6kf062.js → persistent-pty-6bjkdwrx.js} +27 -27
- package/dist/chunks/{model-resolver-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-resolver-7agbanmz.js → persistent-pty-6feaf270.js} +26 -26
- package/dist/chunks/{model-resolver-d7kh2pfg.js → persistent-pty-6n590pe1.js} +20 -20
- package/dist/chunks/{model-resolver-8thk20xz.js → persistent-pty-6pe7vn7p.js} +13 -13
- package/dist/chunks/{model-resolver-n65a2gzt.js → persistent-pty-6pgzxxev.js} +10 -10
- package/dist/chunks/{model-resolver-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-resolver-9chjwwnc.js → persistent-pty-6ydxn510.js} +4 -4
- package/dist/chunks/{model-resolver-76cb1hcw.js → persistent-pty-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-resolver-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-8njhevex.js → persistent-pty-7qq4ydd3.js} +11 -11
- package/dist/chunks/{model-resolver-dt9gh0d3.js → persistent-pty-7rrajkn6.js} +13 -13
- package/dist/chunks/{model-resolver-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-cgdq2tez.js → persistent-pty-7wyxsj6k.js} +4 -4
- package/dist/chunks/{model-resolver-w4ynznac.js → persistent-pty-8fttzn5c.js} +11 -11
- package/dist/chunks/{model-resolver-6gn7yv20.js → persistent-pty-8gfmmcm9.js} +7 -7
- package/dist/chunks/{model-resolver-7859jp66.js → persistent-pty-8hdpe52s.js} +23 -23
- package/dist/chunks/{model-resolver-j77g158z.js → persistent-pty-8k8pzbp4.js} +8 -8
- package/dist/chunks/{model-resolver-cb2t80kt.js → persistent-pty-8km5q4vd.js} +88 -88
- package/dist/chunks/{model-resolver-d910c31a.js → persistent-pty-8m8genj6.js} +35 -35
- package/dist/chunks/{model-resolver-t9qyj45c.js → persistent-pty-8tkzkck7.js} +12 -12
- package/dist/chunks/{model-resolver-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-7ag3s6hb.js → persistent-pty-8ybp78tx.js} +4 -4
- package/dist/chunks/{model-resolver-r7xar5ns.js → persistent-pty-8ykqf5wm.js} +8 -8
- package/dist/chunks/{model-resolver-j8wtckwx.js → persistent-pty-8ze93nwk.js} +8 -8
- package/dist/chunks/{model-resolver-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
- package/dist/chunks/{model-resolver-998yhzzq.js → persistent-pty-998yhzzq.js} +3 -3
- package/dist/chunks/{model-resolver-pve0p3g2.js → persistent-pty-9get8zjh.js} +35 -35
- package/dist/chunks/{model-resolver-f2kkq0wr.js → persistent-pty-9j1dz88j.js} +45 -45
- package/dist/chunks/{model-resolver-57a19r08.js → persistent-pty-9rvvae9w.js} +21 -21
- package/dist/chunks/{model-resolver-a05vx38g.js → persistent-pty-9syqs7e3.js} +45 -45
- package/dist/chunks/{model-resolver-vv5h4bmz.js → persistent-pty-a5wwxj4r.js} +3 -3
- package/dist/chunks/{model-resolver-v27kyr9e.js → persistent-pty-ac29g10j.js} +9 -9
- package/dist/chunks/{model-resolver-ywtfgq8q.js → persistent-pty-ae89zrxe.js} +11 -11
- package/dist/chunks/{model-resolver-jwrjw8tj.js → persistent-pty-ajn3f7q8.js} +44 -44
- package/dist/chunks/{model-resolver-kqw486ce.js → persistent-pty-anm6wys2.js} +4 -4
- package/dist/chunks/{model-resolver-7g125bra.js → persistent-pty-atkwrhtv.js} +4 -4
- package/dist/chunks/{model-resolver-m8jzyt6a.js → persistent-pty-avt17yc9.js} +9 -9
- package/dist/chunks/{model-resolver-r73hsa18.js → persistent-pty-ax6rcmt6.js} +21 -21
- package/dist/chunks/{model-resolver-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-resolver-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-resolver-b1pn0vxn.js → persistent-pty-b1pn0vxn.js} +1 -1
- package/dist/chunks/{model-resolver-jfavpyep.js → persistent-pty-b3cs7hat.js} +11 -11
- package/dist/chunks/{model-resolver-b6vsg801.js → persistent-pty-b6vsg801.js} +2 -2
- package/dist/chunks/{model-resolver-pj41ajb0.js → persistent-pty-bf187ngt.js} +5 -5
- package/dist/chunks/{model-resolver-zj7p4na3.js → persistent-pty-bhyfhejz.js} +10 -10
- package/dist/chunks/{model-resolver-9d64739r.js → persistent-pty-bpvzah12.js} +8 -8
- package/dist/chunks/{model-resolver-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
- package/dist/chunks/{model-resolver-fj95ckg7.js → persistent-pty-bt7dwcvz.js} +35 -35
- package/dist/chunks/{model-resolver-ng64mz8r.js → persistent-pty-bwnaxshz.js} +21 -21
- package/dist/chunks/{model-resolver-gnqfcwar.js → persistent-pty-c3qhhm1y.js} +18 -18
- package/dist/chunks/{model-resolver-tn5gxkrv.js → persistent-pty-c4phwmq5.js} +6 -6
- package/dist/chunks/{model-resolver-9bgp8a97.js → persistent-pty-ccjrskvd.js} +13 -13
- package/dist/chunks/{model-resolver-8nhp9y4m.js → persistent-pty-ce5jk55z.js} +4 -4
- package/dist/chunks/{model-resolver-2n1v95fn.js → persistent-pty-cech5wam.js} +11 -11
- package/dist/chunks/{model-resolver-md2ky9q0.js → persistent-pty-cpkbxa7x.js} +9 -9
- package/dist/chunks/{model-resolver-dphsmz0w.js → persistent-pty-csnb57rc.js} +18 -18
- package/dist/chunks/{model-resolver-bjzh04bx.js → persistent-pty-ctasavsb.js} +16 -16
- package/dist/chunks/{model-resolver-pfght9z5.js → persistent-pty-cvfh7m2t.js} +8 -8
- package/dist/chunks/{model-resolver-eff1wqft.js → persistent-pty-cx2kx0qt.js} +22 -22
- package/dist/chunks/{model-resolver-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-4rgde0gy.js → persistent-pty-d9jre66y.js} +9 -9
- package/dist/chunks/{model-resolver-fw6eeex0.js → persistent-pty-dctwdp88.js} +4 -4
- package/dist/chunks/{model-resolver-s0t4rwnt.js → persistent-pty-dgxgs7gd.js} +11 -11
- package/dist/chunks/{model-resolver-tw4wrdz4.js → persistent-pty-e6gw0w82.js} +11 -11
- package/dist/chunks/{model-resolver-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-n48tsgyy.js → persistent-pty-e8nh79sb.js} +9 -9
- package/dist/chunks/{model-resolver-jhtz5kdf.js → persistent-pty-ef2tezb6.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-95jjqqz3.js → persistent-pty-eh70mckh.js} +88 -88
- package/dist/chunks/{model-resolver-de152cyr.js → persistent-pty-eh8nrxr4.js} +13 -13
- package/dist/chunks/{model-resolver-y71ddsac.js → persistent-pty-esf8vws2.js} +7 -7
- package/dist/chunks/{model-resolver-9jh4j41s.js → persistent-pty-esn29r3v.js} +67 -67
- package/dist/chunks/{model-resolver-rcgvv2s7.js → persistent-pty-f5vh2ee2.js} +13 -13
- package/dist/chunks/{model-resolver-9rrv4vns.js → persistent-pty-f9mjwvbf.js} +22 -22
- package/dist/chunks/{model-resolver-h1abq7en.js → persistent-pty-f9wddpqr.js} +48 -48
- package/dist/chunks/{model-resolver-2zpzp2bh.js → persistent-pty-fbbt1p90.js} +28 -28
- package/dist/chunks/{model-resolver-9ej1024d.js → persistent-pty-fd4whgj1.js} +15 -15
- package/dist/chunks/{model-resolver-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-042my71g.js → persistent-pty-fggnmsc4.js} +18 -18
- package/dist/chunks/{model-resolver-3dy2brb4.js → persistent-pty-fk3tbwms.js} +16 -16
- package/dist/chunks/{model-resolver-z9pdc6em.js → persistent-pty-fkdwm9b5.js} +16 -16
- package/dist/chunks/{model-resolver-256dg9vb.js → persistent-pty-fn8ks8sk.js} +4 -4
- package/dist/chunks/{model-resolver-59x0c00c.js → persistent-pty-fnx72q8e.js} +34 -34
- package/dist/chunks/{model-resolver-wzbm9yap.js → persistent-pty-fpe37385.js} +17 -17
- package/dist/chunks/{model-resolver-z7724tht.js → persistent-pty-fsmg7dz8.js} +14 -14
- package/dist/chunks/{model-resolver-kf7rszbb.js → persistent-pty-ftsvrs41.js} +30 -30
- package/dist/chunks/persistent-pty-fvd0rj3z.js +257 -0
- package/dist/chunks/{model-resolver-5c5bthfb.js → persistent-pty-fvkpm49k.js} +43 -43
- package/dist/chunks/{model-resolver-cabw4y3p.js → persistent-pty-fxyx2m2r.js} +6 -6
- package/dist/chunks/{model-resolver-26zk5kqv.js → persistent-pty-g0qn3exy.js} +11 -11
- package/dist/chunks/{model-resolver-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-resolver-yvktxnyk.js → persistent-pty-g5p6kgnn.js} +13 -13
- package/dist/chunks/{model-resolver-jzrjgn5s.js → persistent-pty-g6dbhsy2.js} +21 -21
- package/dist/chunks/{model-resolver-vmfhgzt5.js → persistent-pty-g7esga4v.js} +5 -5
- package/dist/chunks/{model-resolver-n3hhze48.js → persistent-pty-gc6gmd57.js} +19 -19
- package/dist/chunks/{model-resolver-8bkscwtx.js → persistent-pty-ge050bsd.js} +14 -14
- package/dist/chunks/{model-resolver-pacbbjc0.js → persistent-pty-gj8x1tda.js} +5 -5
- package/dist/chunks/{model-resolver-k0ykqcdp.js → persistent-pty-gkta77xp.js} +26 -26
- package/dist/chunks/{model-resolver-9e09nyr2.js → persistent-pty-gqyxmvm3.js} +35 -35
- package/dist/chunks/persistent-pty-grzehpz7.js +18 -0
- package/dist/chunks/{model-resolver-snwj5w21.js → persistent-pty-gz08a6qd.js} +1 -1
- package/dist/chunks/{model-resolver-j0b81h47.js → persistent-pty-h42ma301.js} +17 -17
- package/dist/chunks/{model-resolver-vn71xy6d.js → persistent-pty-h49tjgxv.js} +10 -10
- package/dist/chunks/{model-resolver-j7kazd1q.js → persistent-pty-h57qbt9v.js} +6 -6
- package/dist/chunks/{model-resolver-ejnxmkmt.js → persistent-pty-h8x3rwmh.js} +2 -2
- package/dist/chunks/{model-resolver-5jkzvvxq.js → persistent-pty-ha1j02re.js} +21 -21
- package/dist/chunks/{model-resolver-e1b6vpy5.js → persistent-pty-hbabaj69.js} +14 -14
- package/dist/chunks/{model-resolver-8mjwfqkh.js → persistent-pty-hbjmb8md.js} +6 -6
- package/dist/chunks/{model-resolver-8sttbfsr.js → persistent-pty-hqhqtbhg.js} +11 -11
- package/dist/chunks/{model-resolver-ehjrwymt.js → persistent-pty-hvmts6en.js} +27 -27
- package/dist/chunks/{model-resolver-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
- package/dist/chunks/{model-resolver-qfjcwetg.js → persistent-pty-j15yj0h5.js} +16 -16
- package/dist/chunks/{model-resolver-xs05vffk.js → persistent-pty-j1yh4sgk.js} +13 -13
- package/dist/chunks/{model-resolver-kxeaxsag.js → persistent-pty-j8fhehe3.js} +7 -7
- package/dist/chunks/{model-resolver-8wc2fpae.js → persistent-pty-ja63h2sr.js} +5 -5
- package/dist/chunks/{model-resolver-dw589k72.js → persistent-pty-jbfg18k8.js} +24 -24
- package/dist/chunks/{model-resolver-jneg3k74.js → persistent-pty-jneg3k74.js} +1 -1
- package/dist/chunks/{model-resolver-dh9mz5xr.js → persistent-pty-jv13vvcg.js} +11 -11
- package/dist/chunks/{model-resolver-0d85nndc.js → persistent-pty-jw74enqw.js} +35 -35
- package/dist/chunks/{model-resolver-f5xnbmcd.js → persistent-pty-jxvpemrm.js} +50 -50
- package/dist/chunks/{model-resolver-snpgexks.js → persistent-pty-k1pq61t6.js} +45 -45
- package/dist/chunks/{model-resolver-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
- package/dist/chunks/{model-resolver-9epsjbby.js → persistent-pty-kf3n0zsb.js} +11 -11
- package/dist/chunks/{model-resolver-qpj4fywd.js → persistent-pty-khr1vc7x.js} +20 -20
- package/dist/chunks/{model-resolver-nt5q7dy9.js → persistent-pty-kn420qbw.js} +19 -19
- package/dist/chunks/{model-resolver-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-186bq886.js → persistent-pty-m6ccv8cv.js} +16 -16
- package/dist/chunks/{model-resolver-5p1zsrt3.js → persistent-pty-m6nxwkyz.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-249p08pd.js → persistent-pty-md3qpsr3.js} +6 -6
- package/dist/chunks/{model-resolver-tkmwn4n3.js → persistent-pty-mmkbt6v3.js} +9 -9
- package/dist/chunks/{model-resolver-917s922w.js → persistent-pty-mmwnf7h5.js} +18 -18
- package/dist/chunks/{model-resolver-k352a69z.js → persistent-pty-msan5q7r.js} +4 -4
- package/dist/chunks/{model-resolver-s6zqpwam.js → persistent-pty-mw7msr43.js} +21 -21
- package/dist/chunks/{model-resolver-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
- package/dist/chunks/{model-resolver-nah043kf.js → persistent-pty-nah043kf.js} +1 -1
- package/dist/chunks/{model-resolver-mwk65ptt.js → persistent-pty-nc3280dk.js} +30 -30
- package/dist/chunks/{model-resolver-z49nhv4t.js → persistent-pty-njpcv6ga.js} +15 -15
- package/dist/chunks/{model-resolver-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
- package/dist/chunks/{model-resolver-d4fqamkg.js → persistent-pty-p3ns8jke.js} +13 -13
- package/dist/chunks/{model-resolver-9rqahw18.js → persistent-pty-pczbwg7v.js} +5 -5
- package/dist/chunks/{model-resolver-q8rzw8xh.js → persistent-pty-pesbm1zb.js} +10 -10
- package/dist/chunks/{model-resolver-j440n9b6.js → persistent-pty-phjxmwhn.js} +21 -21
- package/dist/chunks/{model-resolver-rsmyvrz3.js → persistent-pty-pjs8qn0x.js} +24 -24
- package/dist/chunks/{model-resolver-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-e893v5n6.js → persistent-pty-pnr414s4.js} +21 -21
- package/dist/chunks/{model-resolver-hv07rj1n.js → persistent-pty-pykbr5hq.js} +14 -14
- package/dist/chunks/{model-resolver-4v4bfvma.js → persistent-pty-q17z9dx8.js} +5 -5
- package/dist/chunks/{model-resolver-v5d8y8eg.js → persistent-pty-q96z823n.js} +18 -18
- package/dist/chunks/{model-resolver-e12mrd8m.js → persistent-pty-q9yhf14s.js} +40 -40
- package/dist/chunks/{model-resolver-5k8yxqxr.js → persistent-pty-qgy371m4.js} +36 -36
- package/dist/chunks/{model-resolver-8jztxfpf.js → persistent-pty-qjgzc4b4.js} +4 -4
- package/dist/chunks/{model-resolver-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-resolver-0gka690g.js → persistent-pty-r1k9m3eb.js} +8 -8
- package/dist/chunks/{model-resolver-k7hnktg1.js → persistent-pty-r8qav4j0.js} +5 -5
- package/dist/chunks/{model-resolver-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-b5sgdy3n.js → persistent-pty-rdah1jex.js} +10 -10
- package/dist/chunks/{model-resolver-kfwqqrwd.js → persistent-pty-reectsvn.js} +28 -28
- package/dist/chunks/{model-resolver-v79kmtvw.js → persistent-pty-rjdr2w59.js} +17 -17
- package/dist/chunks/{model-resolver-g80tn5h1.js → persistent-pty-rk6acy23.js} +19 -19
- package/dist/chunks/{model-resolver-4dmmmd7w.js → persistent-pty-rqvbyf66.js} +18 -18
- package/dist/chunks/{model-resolver-s626qfae.js → persistent-pty-rrad2nt9.js} +4 -4
- package/dist/chunks/{model-resolver-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-83rat119.js → persistent-pty-rw3vattc.js} +3 -3
- package/dist/chunks/{model-resolver-tyfsk4mw.js → persistent-pty-s2bbvfew.js} +5 -5
- package/dist/chunks/{model-resolver-1qsx4797.js → persistent-pty-s56mqf4d.js} +9 -9
- package/dist/chunks/{model-resolver-mmx1mfjr.js → persistent-pty-s7kyse9r.js} +4 -4
- package/dist/chunks/{model-resolver-tw8wcj15.js → persistent-pty-s95241p9.js} +7 -7
- package/dist/chunks/{model-resolver-xj5vncmq.js → persistent-pty-sgy5bk4a.js} +30 -30
- package/dist/chunks/{model-resolver-g4n4wp2d.js → persistent-pty-skvb6hty.js} +5 -5
- package/dist/chunks/{model-resolver-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-resolver-6wq3ehfr.js → persistent-pty-sy012hfn.js} +5 -5
- package/dist/chunks/{model-resolver-avkwaw75.js → persistent-pty-szdqchb7.js} +9 -9
- package/dist/chunks/{model-resolver-yh4ym469.js → persistent-pty-t3qvsv4x.js} +4 -4
- package/dist/chunks/{model-resolver-c4vfmmrn.js → persistent-pty-t42gxy5r.js} +8 -8
- package/dist/chunks/{model-resolver-b5h3d3b4.js → persistent-pty-t4g57g0x.js} +28 -28
- package/dist/chunks/{model-resolver-ev24k3w5.js → persistent-pty-tay0mcsq.js} +7 -7
- package/dist/chunks/{model-resolver-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-vg0zp5sr.js → persistent-pty-tjb7g1kd.js} +12 -12
- package/dist/chunks/{model-resolver-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-resolver-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-resolver-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-resolver-sshe6cnz.js → persistent-pty-vd2fkr8n.js} +19 -19
- package/dist/chunks/{model-resolver-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-resolver-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-799ckdtf.js → persistent-pty-vgk61ywp.js} +9 -9
- package/dist/chunks/{model-resolver-spep79sh.js → persistent-pty-vzpstrvw.js} +28 -28
- package/dist/chunks/{model-resolver-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-fznmdakp.js → persistent-pty-w687dnns.js} +4 -4
- package/dist/chunks/{model-resolver-zkgq49d1.js → persistent-pty-w7zjqt6n.js} +4 -4
- package/dist/chunks/{model-resolver-j1y01s4s.js → persistent-pty-w8ghnhvg.js} +189 -189
- package/dist/chunks/{model-resolver-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-hdcqmdk3.js → persistent-pty-wb3scwf2.js} +24 -24
- package/dist/chunks/{model-resolver-ysdmcr0h.js → persistent-pty-wb4j7ppe.js} +18 -18
- package/dist/chunks/{model-resolver-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-r3hept05.js → persistent-pty-wgh1engb.js} +17 -17
- package/dist/chunks/{model-resolver-2yxcna2e.js → persistent-pty-wrevpsh3.js} +35 -35
- package/dist/chunks/{model-resolver-yzex6x75.js → persistent-pty-wwmj1kay.js} +20 -20
- package/dist/chunks/{model-resolver-65shdcb9.js → persistent-pty-x4gbert3.js} +7 -7
- package/dist/chunks/{model-resolver-r28byzty.js → persistent-pty-xh5r1497.js} +32 -32
- package/dist/chunks/{model-resolver-w8yd89gy.js → persistent-pty-xkhfjrgz.js} +3 -3
- package/dist/chunks/{model-resolver-r7qkw0sp.js → persistent-pty-xq1w8mg4.js} +12 -12
- package/dist/chunks/{model-resolver-ethxtnrp.js → persistent-pty-xw8kzvbj.js} +54 -54
- package/dist/chunks/{model-resolver-14enk98j.js → persistent-pty-xxcxpnax.js} +28 -28
- package/dist/chunks/{model-resolver-tw97zmqb.js → persistent-pty-y0f86df7.js} +13 -13
- package/dist/chunks/{model-resolver-h97v9g1b.js → persistent-pty-y7np224s.js} +6 -6
- package/dist/chunks/{model-resolver-0h5mky2z.js → persistent-pty-y9cdfkc4.js} +24 -24
- package/dist/chunks/{model-resolver-t7x5nw9y.js → persistent-pty-yayqpxs7.js} +19 -19
- package/dist/chunks/{model-resolver-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-288p6brk.js → persistent-pty-yk8k27y0.js} +24 -24
- package/dist/chunks/{model-resolver-tc5pmsfr.js → persistent-pty-yngw6wxf.js} +27 -27
- package/dist/chunks/{model-resolver-58t9v70a.js → persistent-pty-ypvpgzxc.js} +43 -43
- package/dist/chunks/{model-resolver-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
- package/dist/chunks/{model-resolver-njnmff7p.js → persistent-pty-zf39jeyk.js} +18 -18
- package/dist/chunks/{model-resolver-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-resolver-kntpyapc.js → persistent-pty-zteabxmp.js} +1 -1
- package/dist/chunks/{model-resolver-fgr7hd3e.js → persistent-pty-ztffxed8.js} +12 -12
- 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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- 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 +115 -115
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +94 -94
- 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 +3 -3
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- 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 +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +138 -138
- 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 +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -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 +116 -116
- 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 +123 -123
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -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 +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +8 -8
- 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 +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- 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 +136 -136
- 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 +13 -13
- package/dist/session/inbox.js +93 -93
- 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 +2 -2
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +128 -128
- 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 +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -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 +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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +12 -12
- 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 +5 -5
- 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 +3 -3
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-267g1ppg.js +0 -257
- package/dist/chunks/model-resolver-me0dhgxs.js +0 -18
- package/dist/chunks/model-resolver-qyndfgfp.js +0 -523
- package/dist/chunks/model-resolver-zk2w4fb9.js +0 -26
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a058387c.js → persistent-pty-a058387c.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e3qxr5gk.js → persistent-pty-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-6ydxn510.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-vd3b3yk9.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-rrad2nt9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID16,
|
|
14
|
+
Service82,
|
|
15
|
+
node86,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./persistent-pty-vzpstrvw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./persistent-pty-wgh1engb.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -30,13 +30,13 @@ __export(exports_provider3, {
|
|
|
30
30
|
Compaction: () => Compaction3,
|
|
31
31
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
32
32
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
|
+
ID: () => ID13,
|
|
35
|
+
Info: () => Info22,
|
|
36
36
|
LoadError: () => LoadError3,
|
|
37
37
|
Provider: () => exports_provider3,
|
|
38
38
|
Request: () => Request3,
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service78,
|
|
40
40
|
Settings: () => Settings2,
|
|
41
41
|
Transport: () => Transport2,
|
|
42
42
|
aisdk: () => aisdk2,
|
|
@@ -48,7 +48,7 @@ __export(exports_provider3, {
|
|
|
48
48
|
mergeOverlay: () => mergeOverlay2,
|
|
49
49
|
modelSettings: () => modelSettings2,
|
|
50
50
|
nativeSettings: () => nativeSettings2,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node82,
|
|
52
52
|
packageName: () => packageName2,
|
|
53
53
|
timeout: () => timeout2,
|
|
54
54
|
timeouts: () => timeouts2
|
|
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
323
323
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
324
324
|
|
|
325
325
|
// src/provider.ts
|
|
326
|
-
import { Event as
|
|
327
|
-
var
|
|
326
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
327
|
+
var ID13 = Provider.ID;
|
|
328
328
|
var AISDK_PREFIX2 = "aisdk:";
|
|
329
329
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
330
330
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -538,9 +538,9 @@ var Request3 = Provider.Request;
|
|
|
538
538
|
var Compaction3 = Provider.Compaction;
|
|
539
539
|
var Transport2 = Provider.Transport;
|
|
540
540
|
var Settings2 = Provider.Settings;
|
|
541
|
-
var
|
|
541
|
+
var Info22 = Provider.Info;
|
|
542
542
|
|
|
543
|
-
class
|
|
543
|
+
class Service78 extends Context.Service()("@opencode/Provider") {
|
|
544
544
|
}
|
|
545
545
|
var definitions = new WeakMap;
|
|
546
546
|
function index(providerID, models) {
|
|
@@ -553,10 +553,10 @@ function index(providerID, models) {
|
|
|
553
553
|
definitions.set(models, indexes);
|
|
554
554
|
return result;
|
|
555
555
|
}
|
|
556
|
-
var layer = Layer.effect(
|
|
556
|
+
var layer = Layer.effect(Service78, Effect2.gen(function* () {
|
|
557
557
|
const bus = yield* Service85;
|
|
558
|
-
const integrations = yield*
|
|
559
|
-
const location = yield*
|
|
558
|
+
const integrations = yield* Service82;
|
|
559
|
+
const location = yield* Service79;
|
|
560
560
|
const state = create3({
|
|
561
561
|
name: "provider",
|
|
562
562
|
initial: () => new Map,
|
|
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
567
567
|
const current = records.get(id);
|
|
568
568
|
if (current)
|
|
569
569
|
return current;
|
|
570
|
-
const added = { provider:
|
|
570
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
571
571
|
records.set(id, added);
|
|
572
572
|
maps.add(added.models);
|
|
573
573
|
return added;
|
|
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
648
648
|
const available = Array.from(records.values()).filter((record) => {
|
|
649
649
|
if (record.provider.activation === "disabled")
|
|
650
650
|
return false;
|
|
651
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
651
|
+
const integration = byID.get(record.provider.integrationID ?? ID16.make(record.provider.id));
|
|
652
652
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
653
653
|
return false;
|
|
654
654
|
if (record.provider.activation === "enabled")
|
|
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
674
674
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
675
675
|
});
|
|
676
676
|
});
|
|
677
|
-
yield* bus.subscribe([
|
|
678
|
-
return
|
|
677
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
678
|
+
return Service78.of({
|
|
679
679
|
transform: state.transform,
|
|
680
680
|
reload: state.reload,
|
|
681
681
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service75, Effect2.gen(function* () {
|
|
|
684
684
|
snapshot
|
|
685
685
|
});
|
|
686
686
|
}));
|
|
687
|
-
var
|
|
687
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node86, node83] });
|
|
688
688
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
689
689
|
const module = yield* Effect2.tryPromise({
|
|
690
690
|
try: () => {
|
|
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
706
706
|
return module;
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
709
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event16 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service82
|
|
4
|
+
} from "./persistent-pty-vzpstrvw.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service82;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID16.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-5fjb7ams.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin18,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin18 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin18, exports_tool_input_repair };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./persistent-pty-wgh1engb.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-ha1j02re.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin4,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin4 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin4, exports_hg };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-p3ns8jke.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service54,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node58
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service54 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service54, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service54.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service52, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node58 = makeGlobalNode({ service: Service54, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service54, node58, exports_environment };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./persistent-pty-fk3tbwms.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./persistent-pty-wgh1engb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service73
|
|
12
|
+
} from "./persistent-pty-294nmx0v.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./persistent-pty-34kc3y55.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./persistent-pty-18g90bpv.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-05gkwb83.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-nah043kf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill2 = {};
|
|
34
|
+
__export(exports_skill2, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
36
|
+
Plugin: () => Plugin23
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin23 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service73;
|
|
47
|
+
const discovery = yield* Service8;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service79;
|
|
51
|
+
const watcher = yield* Service74;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin12 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,7 +116,7 @@ var Plugin12 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source3.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -144,7 +144,7 @@ var Plugin12 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source3.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin12 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source3.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin12 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin23, exports_skill2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./persistent-pty-fk3tbwms.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./persistent-pty-294nmx0v.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-05gkwb83.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin19
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin19 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service73;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service74;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -76,4 +76,4 @@ var Plugin16 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin19, exports_compatibility };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./persistent-pty-vzpstrvw.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-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: () =>
|
|
17
|
+
Service: () => Service20,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer11,
|
|
21
|
+
node: () => node22
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,13 +37,13 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service20 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer11 = Layer.effect(Service20, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service82;
|
|
45
45
|
let hosted;
|
|
46
|
-
const findConnection = (provider) => integrations.get(
|
|
46
|
+
const findConnection = (provider) => integrations.get(ID16.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
|
|
47
47
|
const models = Effect.fn("Voice.models")(function* () {
|
|
48
48
|
const host = hosted;
|
|
49
49
|
const list = yield* Effect.forEach(Realtime.engines, (engine) => host?.models.includes(engine.model) ? Effect.succeed({
|
|
@@ -84,7 +84,7 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
84
84
|
return yield* new InvalidRequestError2({ message: "Only hosted voice sessions take instructions" });
|
|
85
85
|
return yield* hosted.instruct(input);
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service20.of({
|
|
88
88
|
models,
|
|
89
89
|
session,
|
|
90
90
|
instruct,
|
|
@@ -93,10 +93,10 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
}));
|
|
96
|
-
var
|
|
97
|
-
service:
|
|
98
|
-
layer:
|
|
99
|
-
deps: [
|
|
96
|
+
var node22 = makeLocationNode({
|
|
97
|
+
service: Service20,
|
|
98
|
+
layer: layer11,
|
|
99
|
+
deps: [node86, requestExecutor2]
|
|
100
100
|
});
|
|
101
101
|
var missingKeyMessage = {
|
|
102
102
|
openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
|
|
@@ -104,4 +104,4 @@ var missingKeyMessage = {
|
|
|
104
104
|
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)."
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
export { InvalidRequestError2, UnavailableError2,
|
|
107
|
+
export { InvalidRequestError2, UnavailableError2, Service20, layer11, node22, exports_voice };
|