@opencode/core 0.0.0-dev-21741 → 0.0.0-dev-21744
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{provider-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
- package/dist/chunks/{provider-32s59e8p.js → persistent-pty-0421tmwc.js} +9 -9
- package/dist/chunks/{provider-2d7s4snt.js → persistent-pty-04weq3x2.js} +1 -1
- package/dist/chunks/{provider-4fp36y3f.js → persistent-pty-0632eqgh.js} +3 -3
- package/dist/chunks/{provider-79456s4q.js → persistent-pty-0684c0fn.js} +53 -53
- package/dist/chunks/{provider-bzc2yew2.js → persistent-pty-06ye6eb3.js} +17 -17
- package/dist/chunks/{provider-zt6nk4e1.js → persistent-pty-0h92kc2j.js} +53 -53
- package/dist/chunks/{provider-b9ctexwj.js → persistent-pty-0napkvzb.js} +7 -7
- package/dist/chunks/{provider-mbrvjtz5.js → persistent-pty-0rm6s08x.js} +5 -5
- package/dist/chunks/{provider-1pyzd5rz.js → persistent-pty-1ec99x82.js} +4 -4
- package/dist/chunks/{provider-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{provider-0rm99xvh.js → persistent-pty-1s0mnecd.js} +20 -20
- package/dist/chunks/{provider-19mm4jkf.js → persistent-pty-1sxr849h.js} +18 -18
- package/dist/chunks/{provider-293zmzk3.js → persistent-pty-1x1aw5pg.js} +25 -25
- package/dist/chunks/{provider-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{provider-5zrxpy3q.js → persistent-pty-1yq9hg58.js} +5 -5
- package/dist/chunks/{provider-4apf49bg.js → persistent-pty-217xj7j6.js} +18 -18
- package/dist/chunks/{provider-8fvj0qxe.js → persistent-pty-21shbp3c.js} +1 -1
- package/dist/chunks/{provider-9kx3zt08.js → persistent-pty-22nay2w2.js} +20 -20
- package/dist/chunks/{provider-cgcf1fbe.js → persistent-pty-28xx6mqq.js} +36 -36
- package/dist/chunks/{provider-bkrx76dd.js → persistent-pty-2gxrk7d9.js} +21 -21
- package/dist/chunks/{provider-xn1qvzts.js → persistent-pty-2h4s3pty.js} +13 -13
- package/dist/chunks/{provider-mybr8r82.js → persistent-pty-2sja5ejk.js} +24 -24
- package/dist/chunks/{provider-nzabrtva.js → persistent-pty-2vpteqgm.js} +30 -30
- package/dist/chunks/{provider-bnmdnzdy.js → persistent-pty-2w4r60qq.js} +19 -19
- package/dist/chunks/{provider-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
- package/dist/chunks/{provider-jj9caqwr.js → persistent-pty-31avdb49.js} +11 -11
- package/dist/chunks/{provider-k8ydtb0c.js → persistent-pty-32wt4071.js} +31 -31
- package/dist/chunks/{provider-pa2pq7zw.js → persistent-pty-34sg93nd.js} +14 -14
- package/dist/chunks/{provider-kvn4msk3.js → persistent-pty-37ebxhrk.js} +28 -28
- package/dist/chunks/{provider-8r9nj4s8.js → persistent-pty-3gv0spa2.js} +4 -4
- package/dist/chunks/{provider-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3ek9mykt.js → persistent-pty-3meb4hzg.js} +20 -20
- package/dist/chunks/persistent-pty-3n162ras.js +257 -0
- package/dist/chunks/{provider-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{provider-40za9wsf.js → persistent-pty-40za9wsf.js} +2 -2
- package/dist/chunks/{provider-n0zcxq73.js → persistent-pty-41sj8m6y.js} +42 -42
- package/dist/chunks/{provider-ex2hmasg.js → persistent-pty-45sfs8sj.js} +90 -90
- package/dist/chunks/{provider-90mqr9hk.js → persistent-pty-46e84wtw.js} +19 -19
- package/dist/chunks/{provider-4patj9gp.js → persistent-pty-4epsaaqh.js} +43 -43
- package/dist/chunks/{provider-n6k44f0v.js → persistent-pty-4n958r4n.js} +12 -12
- package/dist/chunks/{provider-ms6z8pm2.js → persistent-pty-4r8h05df.js} +11 -11
- package/dist/chunks/{provider-fb40hhpr.js → persistent-pty-4ty1vvqa.js} +52 -35
- package/dist/chunks/{provider-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{provider-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
- package/dist/chunks/{provider-fma07qn0.js → persistent-pty-55xtcbpn.js} +32 -32
- package/dist/chunks/{provider-kc4ez2ea.js → persistent-pty-56xpzs9c.js} +8 -8
- package/dist/chunks/{provider-7n1pfn98.js → persistent-pty-5859qd6n.js} +6 -6
- package/dist/chunks/{provider-be70t1qn.js → persistent-pty-58hfgte4.js} +17 -17
- package/dist/chunks/{provider-h4fm09gc.js → persistent-pty-5fmnhnpa.js} +32 -32
- package/dist/chunks/{provider-mfwfc967.js → persistent-pty-5gk89hyb.js} +5 -5
- package/dist/chunks/{provider-c8gkay0f.js → persistent-pty-5jdy5dqf.js} +11 -11
- package/dist/chunks/{provider-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-b6vsg801.js → persistent-pty-5nnwax6m.js} +5 -5
- package/dist/chunks/{provider-q8tzggtk.js → persistent-pty-5pav4dzc.js} +16 -16
- package/dist/chunks/{provider-yd1ff7ye.js → persistent-pty-5pdz8c62.js} +12 -12
- package/dist/chunks/{provider-wzwsv8q3.js → persistent-pty-5r72z9dp.js} +8 -8
- package/dist/chunks/{provider-6q02j29c.js → persistent-pty-5t3az672.js} +9 -9
- package/dist/chunks/{provider-5dcgybnw.js → persistent-pty-5ynz4802.js} +14 -14
- package/dist/chunks/{provider-fy319ky4.js → persistent-pty-664py638.js} +22 -22
- package/dist/chunks/{provider-0w85m5rg.js → persistent-pty-67efwznc.js} +2 -2
- package/dist/chunks/{provider-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
- package/dist/chunks/{provider-fa1zjye2.js → persistent-pty-6fet8kw9.js} +33 -33
- package/dist/chunks/{provider-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
- package/dist/chunks/{provider-6a1y2vt9.js → persistent-pty-6swdm730.js} +11 -11
- package/dist/chunks/{provider-trdhprzm.js → persistent-pty-6zrn44nt.js} +25 -25
- package/dist/chunks/{provider-edpnj26g.js → persistent-pty-70kc41j2.js} +17 -17
- package/dist/chunks/{provider-w8qtt4th.js → persistent-pty-76cb1hcw.js} +4 -4
- package/dist/chunks/{provider-770pw0s1.js → persistent-pty-770pw0s1.js} +1 -1
- package/dist/chunks/{provider-z7ndhpe4.js → persistent-pty-77wcnkh0.js} +3 -3
- package/dist/chunks/{provider-5bther4g.js → persistent-pty-797shz3x.js} +4 -4
- package/dist/chunks/{provider-nbn2ey7n.js → persistent-pty-7a6h672n.js} +31 -31
- package/dist/chunks/{provider-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-vfrgx50f.js → persistent-pty-7n4p8fby.js} +11 -10
- package/dist/chunks/{provider-6t7x7vt4.js → persistent-pty-7rdhxjgc.js} +17 -17
- package/dist/chunks/{provider-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{provider-5at8t5d4.js → persistent-pty-7w9zqejt.js} +6 -6
- package/dist/chunks/{provider-xnzn40zn.js → persistent-pty-7y4z3x5j.js} +13 -13
- package/dist/chunks/{provider-k37f66a8.js → persistent-pty-814m6n4n.js} +5 -5
- package/dist/chunks/{provider-yr9cnj92.js → persistent-pty-81cr296g.js} +4 -4
- package/dist/chunks/{provider-70xnp472.js → persistent-pty-82jsxv0a.js} +9 -9
- package/dist/chunks/{provider-9fjfbv8x.js → persistent-pty-86e8kg08.js} +22 -22
- package/dist/chunks/{provider-c7sk7bjx.js → persistent-pty-873dcxyb.js} +14 -14
- package/dist/chunks/{provider-trxcyxd6.js → persistent-pty-8ccrat7s.js} +30 -30
- package/dist/chunks/{provider-xfdx5fe6.js → persistent-pty-8fpr5ab5.js} +18 -18
- package/dist/chunks/{provider-0b26th02.js → persistent-pty-8je04gjc.js} +20 -20
- package/dist/chunks/{provider-zavmbsdh.js → persistent-pty-8k8pzbp4.js} +8 -8
- package/dist/chunks/{provider-szcgc7h4.js → persistent-pty-8wc2fpae.js} +5 -5
- package/dist/chunks/{provider-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{provider-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
- package/dist/chunks/{provider-6468grjv.js → persistent-pty-95e9m93s.js} +32 -32
- package/dist/chunks/{provider-998yhzzq.js → persistent-pty-998yhzzq.js} +3 -3
- package/dist/chunks/{provider-xrrkbgsx.js → persistent-pty-9r7t50b7.js} +25 -25
- package/dist/chunks/{provider-r9jfb1cd.js → persistent-pty-a2w9rrzy.js} +11 -11
- package/dist/chunks/{provider-b1wgcghj.js → persistent-pty-a4se2td7.js} +18 -18
- package/dist/chunks/{provider-saf3hjad.js → persistent-pty-aa2f750d.js} +21 -21
- package/dist/chunks/{provider-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{provider-sgn7mg05.js → persistent-pty-b07vwb4h.js} +11 -11
- package/dist/chunks/{provider-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
- package/dist/chunks/{provider-rsemmny5.js → persistent-pty-b3xh8pxk.js} +15 -15
- package/dist/chunks/{provider-k861cbc6.js → persistent-pty-b3yw44ee.js} +16 -16
- package/dist/chunks/{provider-tmnyjpnt.js → persistent-pty-b5wrmqhk.js} +47 -47
- package/dist/chunks/{provider-vp6aw561.js → persistent-pty-b6rq8t5k.js} +12 -12
- package/dist/chunks/{provider-42jd4697.js → persistent-pty-bjhzkqyk.js} +4 -4
- package/dist/chunks/{provider-vzmjdaw1.js → persistent-pty-bqwdyg2t.js} +9 -9
- package/dist/chunks/{provider-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
- package/dist/chunks/{provider-057k196j.js → persistent-pty-bt0t07qj.js} +6 -6
- package/dist/chunks/{provider-7jzx5pkr.js → persistent-pty-bxhrky7s.js} +17 -17
- package/dist/chunks/{provider-jxd4r8gh.js → persistent-pty-c29kbh88.js} +34 -34
- package/dist/chunks/{provider-c3cfh5w6.js → persistent-pty-c3cfh5w6.js} +2 -2
- package/dist/chunks/{provider-51d35nkj.js → persistent-pty-c4phwmq5.js} +6 -6
- package/dist/chunks/{provider-c8666r4c.js → persistent-pty-c8666r4c.js} +3 -3
- package/dist/chunks/{provider-39nsvtx9.js → persistent-pty-ce3j1brk.js} +5 -5
- package/dist/chunks/{provider-skambewy.js → persistent-pty-cp9n3ykm.js} +5 -5
- package/dist/chunks/{provider-bjr1sk69.js → persistent-pty-cpnm63yh.js} +16 -16
- package/dist/chunks/{provider-8417gb1w.js → persistent-pty-czrs21h8.js} +23 -23
- package/dist/chunks/{provider-5fm86d73.js → persistent-pty-d068nwqk.js} +51 -51
- package/dist/chunks/{provider-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{provider-47te7ynq.js → persistent-pty-d5w3mt28.js} +47 -47
- package/dist/chunks/{provider-kqwvs3nc.js → persistent-pty-ddabbtyq.js} +9 -9
- package/dist/chunks/{provider-2a13tp2z.js → persistent-pty-dg56bc3d.js} +9 -9
- package/dist/chunks/{provider-wggbn9vm.js → persistent-pty-dm97zhd4.js} +7 -7
- package/dist/chunks/{provider-sgvwp5dh.js → persistent-pty-dpj9egcy.js} +45 -45
- package/dist/chunks/{provider-fr33pd02.js → persistent-pty-drtz06md.js} +29 -29
- package/dist/chunks/{provider-46ynt52a.js → persistent-pty-dx717f1h.js} +18 -18
- package/dist/chunks/{provider-m0emhkmq.js → persistent-pty-dzx8s7jj.js} +43 -43
- package/dist/chunks/{provider-5qd3pb7m.js → persistent-pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{provider-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
- package/dist/chunks/{provider-258zgyd3.js → persistent-pty-eab1f0bk.js} +4 -4
- package/dist/chunks/{provider-q2y63fzp.js → persistent-pty-edkmkvd1.js} +30 -30
- package/dist/chunks/persistent-pty-eeqys4qb.js +26 -0
- package/dist/chunks/{provider-q49789rj.js → persistent-pty-ef2tezb6.js} +2 -2
- package/dist/chunks/{provider-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-wcr2gwqf.js → persistent-pty-ehs73kjs.js} +15 -15
- package/dist/chunks/{provider-mpme1wak.js → persistent-pty-ejef0twz.js} +15 -15
- package/dist/chunks/{provider-mhqptywc.js → persistent-pty-f4cj6rne.js} +37 -37
- package/dist/chunks/{provider-pacbbjc0.js → persistent-pty-faewc6h3.js} +5 -5
- package/dist/chunks/{provider-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{provider-zhbremzm.js → persistent-pty-fk3tbwms.js} +20 -20
- package/dist/chunks/{provider-naz61gwx.js → persistent-pty-fpsgw1gs.js} +8 -8
- package/dist/chunks/{provider-aa4v34y7.js → persistent-pty-fszm4xf1.js} +15 -15
- package/dist/chunks/{provider-ny1dbsp1.js → persistent-pty-ft0wh87x.js} +13 -13
- package/dist/chunks/{provider-rf6dem1w.js → persistent-pty-g1448m63.js} +13 -13
- package/dist/chunks/{provider-b3r2jmtt.js → persistent-pty-g3z36636.js} +48 -48
- package/dist/chunks/{provider-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
- package/dist/chunks/{provider-y00x4xpa.js → persistent-pty-g9ndtp1p.js} +4 -4
- package/dist/chunks/{provider-9hrhwkwn.js → persistent-pty-gg4d4fs9.js} +27 -27
- package/dist/chunks/{provider-35ezct5e.js → persistent-pty-gshxnf6j.js} +2 -2
- package/dist/chunks/{provider-qkms8zfm.js → persistent-pty-gt2ebmdc.js} +6 -6
- package/dist/chunks/{provider-v2dw9gpr.js → persistent-pty-gt6rtydt.js} +8 -8
- package/dist/chunks/{provider-a25a1x4r.js → persistent-pty-h3a8j4mf.js} +11 -11
- package/dist/chunks/{provider-wsbmx4s9.js → persistent-pty-h65t1svj.js} +25 -25
- package/dist/chunks/{provider-pkhmamfe.js → persistent-pty-h6ss1yxx.js} +9 -9
- package/dist/chunks/{provider-c79r94da.js → persistent-pty-h8nswts1.js} +6 -6
- package/dist/chunks/{provider-3d68epx0.js → persistent-pty-hkex4stx.js} +12 -12
- package/dist/chunks/{provider-325tyq60.js → persistent-pty-hq18ybh7.js} +8 -8
- package/dist/chunks/{provider-0egfcpbc.js → persistent-pty-hty8fpa1.js} +10 -10
- package/dist/chunks/{provider-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
- package/dist/chunks/{provider-6f5ac1z8.js → persistent-pty-jaa51j8b.js} +35 -35
- package/dist/chunks/{provider-d1f6cs1b.js → persistent-pty-jn8j44c7.js} +20 -20
- package/dist/chunks/{provider-jz5mkmtx.js → persistent-pty-jneg3k74.js} +4 -4
- package/dist/chunks/{provider-1hgtrac8.js → persistent-pty-jpk6pjf6.js} +17 -17
- package/dist/chunks/{provider-7yfnjvkq.js → persistent-pty-jt1mpbrn.js} +26 -26
- package/dist/chunks/{provider-gr1qaqsf.js → persistent-pty-jvgjeprd.js} +8 -8
- package/dist/chunks/{provider-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
- package/dist/chunks/{provider-mqcadzqw.js → persistent-pty-kb4gstwj.js} +5 -5
- package/dist/chunks/{provider-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{provider-k0csj38z.js → persistent-pty-m56xcexf.js} +21 -21
- package/dist/chunks/{provider-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/persistent-pty-mft421xc.js +517 -0
- package/dist/chunks/{provider-7nznt803.js → persistent-pty-mp8k340y.js} +4 -4
- package/dist/chunks/{provider-kj5kbge2.js → persistent-pty-mpsk2kx1.js} +11 -11
- package/dist/chunks/{provider-5w231npz.js → persistent-pty-mvb2bgyw.js} +60 -60
- package/dist/chunks/{provider-xcxdyyhc.js → persistent-pty-mwn61fym.js} +23 -23
- package/dist/chunks/{provider-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
- package/dist/chunks/{provider-k7f2a4x5.js → persistent-pty-n3ktk7aw.js} +23 -23
- package/dist/chunks/{provider-q0r62q50.js → persistent-pty-nck0by46.js} +24 -24
- package/dist/chunks/{provider-tc5xkez4.js → persistent-pty-nf3vvj52.js} +50 -50
- package/dist/chunks/{provider-pjtzsg8v.js → persistent-pty-nfx626fp.js} +35 -35
- package/dist/chunks/{provider-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
- package/dist/chunks/{provider-5j03b1nz.js → persistent-pty-p6xa5pr1.js} +5 -5
- package/dist/chunks/{provider-pc1v25hk.js → persistent-pty-pc1v25hk.js} +1 -1
- package/dist/chunks/{provider-05yr7vd1.js → persistent-pty-pcd58cha.js} +20 -20
- package/dist/chunks/{provider-bnt6g489.js → persistent-pty-pgvk0yt9.js} +15 -15
- package/dist/chunks/{provider-nm0wzb90.js → persistent-pty-phrpk49a.js} +11 -11
- package/dist/chunks/{provider-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{provider-79etx3tg.js → persistent-pty-q00mhad8.js} +18 -18
- package/dist/chunks/{provider-0q4bjshc.js → persistent-pty-q5dphz2y.js} +9 -9
- package/dist/chunks/{provider-mw5gnzr4.js → persistent-pty-q5fas5yh.js} +10 -10
- package/dist/chunks/{provider-kpt1bh4f.js → persistent-pty-q5j3x1t5.js} +4 -4
- package/dist/chunks/{provider-gfmp7vh0.js → persistent-pty-qcbcpq9b.js} +73 -73
- package/dist/chunks/{provider-jm272r5s.js → persistent-pty-qf1w2vm3.js} +24 -24
- package/dist/chunks/{provider-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
- package/dist/chunks/{provider-an558sqv.js → persistent-pty-qqg9c0kv.js} +4 -4
- package/dist/chunks/{provider-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
- package/dist/chunks/{provider-r6wgv8c9.js → persistent-pty-r6wgv8c9.js} +2 -2
- package/dist/chunks/{provider-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{provider-kcyas487.js → persistent-pty-rc1szs54.js} +6 -6
- package/dist/chunks/{provider-51ndbk3m.js → persistent-pty-rd6jf492.js} +17 -17
- package/dist/chunks/{provider-s5hk0mtv.js → persistent-pty-rdatjt93.js} +5 -5
- package/dist/chunks/{provider-g24xrxm1.js → persistent-pty-rhz1gb3z.js} +9 -9
- package/dist/chunks/{provider-9jjx417m.js → persistent-pty-rmqe3ewt.js} +33 -33
- package/dist/chunks/{provider-3g4a5sj5.js → persistent-pty-rp07j1kz.js} +13 -13
- package/dist/chunks/{provider-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{provider-5sb34hzm.js → persistent-pty-rv6cja6k.js} +13 -13
- package/dist/chunks/{provider-wzkzkmw6.js → persistent-pty-rxtgqbtn.js} +4 -4
- package/dist/chunks/{provider-az8gwjeh.js → persistent-pty-s463agb3.js} +24 -24
- package/dist/chunks/{provider-9datcxrc.js → persistent-pty-s4q2zy2p.js} +186 -186
- package/dist/chunks/{provider-45401wj5.js → persistent-pty-s70gc4nz.js} +32 -32
- package/dist/chunks/{provider-fes0xpg6.js → persistent-pty-s8fhqc85.js} +25 -25
- package/dist/chunks/{provider-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
- package/dist/chunks/{provider-mtkfycnh.js → persistent-pty-ssfehs1z.js} +4 -4
- package/dist/chunks/{provider-msm4fd07.js → persistent-pty-st7enesy.js} +8 -8
- package/dist/chunks/{provider-x1cnjfky.js → persistent-pty-syp495bw.js} +11 -11
- package/dist/chunks/{provider-wm9hvyfa.js → persistent-pty-t98ck3nv.js} +23 -23
- package/dist/chunks/{provider-bd45fzh3.js → persistent-pty-t9bqp2qp.js} +11 -11
- package/dist/chunks/{provider-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{provider-2y1gb7bf.js → persistent-pty-td5g3jt1.js} +34 -34
- package/dist/chunks/{provider-fddgahsh.js → persistent-pty-tdc7za5y.js} +6 -6
- package/dist/chunks/{provider-hy8c1z76.js → persistent-pty-tg1vr1qt.js} +8 -8
- package/dist/chunks/{provider-e8hxt5xr.js → persistent-pty-tk8b4vaq.js} +4 -4
- package/dist/chunks/{provider-mfpfhbf8.js → persistent-pty-tm64snjr.js} +3 -3
- package/dist/chunks/{provider-wawda81m.js → persistent-pty-tqam9rzv.js} +27 -27
- package/dist/chunks/{provider-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
- package/dist/chunks/{provider-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
- package/dist/chunks/{provider-29328zmv.js → persistent-pty-v0j7h7ag.js} +10 -10
- package/dist/chunks/{provider-wqscedq8.js → persistent-pty-v0t96s7a.js} +9 -9
- package/dist/chunks/{provider-0760z1bf.js → persistent-pty-v1t6vrbj.js} +25 -25
- package/dist/chunks/{provider-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{provider-y5wnwt1s.js → persistent-pty-v355h3zv.js} +15 -15
- package/dist/chunks/{provider-7gpj8ndm.js → persistent-pty-v3az1vww.js} +35 -35
- package/dist/chunks/{provider-bc9hewbq.js → persistent-pty-v4aer5v9.js} +34 -34
- package/dist/chunks/{provider-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
- package/dist/chunks/persistent-pty-vdh3rgac.js +18 -0
- package/dist/chunks/{provider-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-mmk2bjs0.js → persistent-pty-vkgkh0jz.js} +4 -4
- package/dist/chunks/{provider-vmfhgzt5.js → persistent-pty-vmfhgzt5.js} +1 -1
- package/dist/chunks/{provider-8yt7yt50.js → persistent-pty-vmt9aa9x.js} +24 -24
- package/dist/chunks/{provider-6twykydk.js → persistent-pty-vrcsa8qx.js} +9 -9
- package/dist/chunks/{provider-4jdak5qx.js → persistent-pty-vvh376nc.js} +33 -33
- package/dist/chunks/{provider-rstfs7br.js → persistent-pty-vw0t75j9.js} +25 -25
- package/dist/chunks/{provider-z6y74fh4.js → persistent-pty-vwdcv50m.js} +18 -18
- package/dist/chunks/{provider-y0e44a6d.js → persistent-pty-w1rc0f0t.js} +12 -12
- package/dist/chunks/{provider-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-fznmdakp.js → persistent-pty-w687dnns.js} +4 -4
- package/dist/chunks/{provider-21paxrje.js → persistent-pty-w8k0m0ac.js} +6 -6
- package/dist/chunks/{provider-4tggksa0.js → persistent-pty-w9jkftfk.js} +23 -23
- package/dist/chunks/{provider-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{provider-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{provider-5cvy86xw.js → persistent-pty-wk5gspz5.js} +12 -12
- package/dist/chunks/{provider-fhtmtcx2.js → persistent-pty-wkmdz1mb.js} +11 -11
- package/dist/chunks/{provider-6sjjy45b.js → persistent-pty-wxpkhmem.js} +14 -14
- package/dist/chunks/{provider-yjvz0ccp.js → persistent-pty-xen1jppb.js} +18 -18
- package/dist/chunks/{provider-apgvj0s5.js → persistent-pty-xgw47nx1.js} +4 -4
- package/dist/chunks/{provider-btfhnvjh.js → persistent-pty-xkhfjrgz.js} +3 -3
- package/dist/chunks/{provider-zmq402w3.js → persistent-pty-xpsr6m59.js} +81 -81
- package/dist/chunks/{provider-b26jwmxb.js → persistent-pty-xtd8sqng.js} +29 -29
- package/dist/chunks/{provider-9pkkzrmj.js → persistent-pty-xw8eq9f1.js} +5 -5
- package/dist/chunks/{provider-rd00t4kt.js → persistent-pty-xxgpgb2s.js} +35 -35
- package/dist/chunks/{provider-2esk3rz8.js → persistent-pty-xyv3ye4h.js} +10 -10
- package/dist/chunks/{provider-071pdryd.js → persistent-pty-y0fkhhn3.js} +9 -9
- package/dist/chunks/{provider-5ckzyhpz.js → persistent-pty-y19asze6.js} +10 -10
- package/dist/chunks/{provider-vrmynpr8.js → persistent-pty-y1kds4da.js} +11 -11
- package/dist/chunks/{provider-2efbfxa2.js → persistent-pty-yagn4zf7.js} +15 -15
- package/dist/chunks/{provider-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{provider-61k36nzc.js → persistent-pty-ye9estr6.js} +15 -15
- package/dist/chunks/{provider-bw2b3f7d.js → persistent-pty-yhtma1qk.js} +7 -7
- package/dist/chunks/{provider-k5cfc06a.js → persistent-pty-yncd7x1f.js} +18 -18
- package/dist/chunks/{provider-wzkcfv1a.js → persistent-pty-ywqrvznk.js} +35 -35
- package/dist/chunks/{provider-453f90m3.js → persistent-pty-ywtfgq8q.js} +11 -11
- package/dist/chunks/{provider-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-7npwba49.js → persistent-pty-z1k5tgn5.js} +11 -11
- package/dist/chunks/{provider-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
- package/dist/chunks/{provider-gb3g7p85.js → persistent-pty-z64y35xa.js} +3 -3
- package/dist/chunks/{provider-b2me7aax.js → persistent-pty-z6zbh2d4.js} +28 -28
- package/dist/chunks/{provider-xajbcg1x.js → persistent-pty-z7nbqrf3.js} +4 -4
- package/dist/chunks/{provider-hdwxh6w6.js → persistent-pty-z8wtpd65.js} +11 -11
- package/dist/chunks/{provider-957wh7sd.js → persistent-pty-zcz73n1t.js} +6 -6
- package/dist/chunks/{provider-p9x59b0e.js → persistent-pty-zfyhjv3h.js} +14 -14
- package/dist/chunks/{provider-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
- package/dist/chunks/{provider-1b7feyff.js → persistent-pty-zkgq49d1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +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 +136 -136
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +117 -117
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +76 -76
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +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 +82 -82
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- 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 +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- 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 +125 -125
- package/dist/plugin/provider/openai-context-caps.js +92 -92
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- 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 +2 -2
- 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 +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- 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 +224 -224
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +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 +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- 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 +77 -77
- 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 +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +223 -223
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +137 -137
- 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 +136 -136
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/models-dev.d.ts +4 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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/provider-4my81qaj.js +0 -18
- package/dist/chunks/provider-srmym4gr.js +0 -257
- package/dist/chunks/provider-tme52cxz.js +0 -26
- package/dist/chunks/provider-y3vq8k3g.js +0 -517
- /package/dist/chunks/{provider-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a058387c.js → persistent-pty-a058387c.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node56
|
|
9
|
+
} from "./persistent-pty-vmt9aa9x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./persistent-pty-55xtcbpn.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service30,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node33,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service30 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service52;
|
|
335
|
+
return Service30.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [node56] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service30, read2, node33, exports_read_filesystem };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-nf3vvj52.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./persistent-pty-vmt9aa9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service52;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service86,
|
|
9
|
+
node90
|
|
10
|
+
} from "./persistent-pty-y1kds4da.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-qjgzc4b4.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node59
|
|
18
|
+
} from "./persistent-pty-fpsgw1gs.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-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: () => ID7,
|
|
31
|
+
Info: () => Info11,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service54,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured7,
|
|
36
|
+
node: () => node58
|
|
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 ID7 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info11 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID7,
|
|
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: ID7 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID7,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service54 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service54,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node90, node59]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service86).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(Service76, 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 Info11({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service76, 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 Service54.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID7.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(Service76, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node58 = configured7();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID7, Info11, NotFound2, CreateConflict2, Service54, configured7, node58, exports_workspace };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./persistent-pty-5pav4dzc.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-nfx626fp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service15,
|
|
9
|
+
Event2
|
|
10
|
+
} from "./persistent-pty-4ty1vvqa.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -35,11 +35,12 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
35
35
|
"writer.palmyra-x4-v1:0",
|
|
36
36
|
"writer.palmyra-x5-v1:0"
|
|
37
37
|
];
|
|
38
|
+
var NON_CHAT_TYPES = ["realtime", "embedding", "reranking"];
|
|
38
39
|
var ModelsDevPlugin2 = define({
|
|
39
40
|
id: "opencode.models.dev",
|
|
40
41
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
42
|
+
const modelsDev = yield* Service15;
|
|
43
|
+
const bus = yield* Service85;
|
|
43
44
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
45
|
yield* ctx.integration.transform((integrations) => {
|
|
45
46
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +73,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
73
|
loaded.data = snapshots(data);
|
|
73
74
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
75
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
76
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
77
|
const latest = yield* modelsDev.get();
|
|
77
78
|
if (snapshots(latest) !== loaded.data)
|
|
78
79
|
yield* apply(latest);
|
|
@@ -85,7 +86,7 @@ function snapshots(data) {
|
|
|
85
86
|
return cached;
|
|
86
87
|
const result = data.filter((provider) => provider.info.id !== "azure-cognitive-services" && provider.info.id !== "google-vertex-anthropic").map((provider) => ({
|
|
87
88
|
...provider,
|
|
88
|
-
models: provider.models.filter((model) => model.status !== "deprecated" && supportsText2(model) && !(provider.info.id === Provider.ID.amazonBedrock && BEDROCK_PROFILE_ONLY_IDS.includes(model.modelID ?? model.id)))
|
|
89
|
+
models: provider.models.filter((model) => model.status !== "deprecated" && supportsText2(model) && !NON_CHAT_TYPES.includes(provider.types?.get(model.id) ?? "chat") && !(provider.info.id === Provider.ID.amazonBedrock && BEDROCK_PROFILE_ONLY_IDS.includes(model.modelID ?? model.id)))
|
|
89
90
|
}));
|
|
90
91
|
prepared.set(data, result);
|
|
91
92
|
return result;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-h3a8j4mf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./persistent-pty-5pav4dzc.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./persistent-pty-rmqe3ewt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-xtd8sqng.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID13
|
|
17
|
+
} from "./persistent-pty-6fet8kw9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-nfx626fp.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID13.make("digitalocean");
|
|
31
|
+
var integrationID = ID14.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service85;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID12.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./persistent-pty-6fet8kw9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./persistent-pty-0h92kc2j.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service77;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service73);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service67,
|
|
3
|
+
node71,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-82jsxv0a.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node66
|
|
9
|
+
} from "./persistent-pty-c4phwmq5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./persistent-pty-xxgpgb2s.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-3n162ras.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service67, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service19);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node66.replace(Layer.succeed(Service62, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node71.replace(Layer.succeed(Service67, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./persistent-pty-xtd8sqng.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* Service78;
|
|
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(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin9,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin9 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin15 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin9, exports_identity };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-zfyhjv3h.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service67,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node71,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service67 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service67, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node71 = LayerNode.unbound(Service67, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service67;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service67, node71, reload2, canonical3, exports_location_service_map };
|