@opencode/core 0.0.0-dev-21647 → 0.0.0-dev-21654
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 +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{filesystem-034tev2y.js → repository-cache-034tev2y.js} +2 -2
- package/dist/chunks/{filesystem-tpm1qpxt.js → repository-cache-0421tmwc.js} +9 -9
- package/dist/chunks/{filesystem-bkna9k4r.js → repository-cache-05t45fgn.js} +20 -20
- package/dist/chunks/{filesystem-51r6w5tg.js → repository-cache-06ne1vpq.js} +9 -9
- package/dist/chunks/{filesystem-zgjcgapj.js → repository-cache-0j8j5tyq.js} +3 -3
- package/dist/chunks/{filesystem-c9vjxdk9.js → repository-cache-0k1p4s69.js} +7 -7
- package/dist/chunks/{filesystem-dbkw9y8f.js → repository-cache-0m0bmnz6.js} +44 -44
- package/dist/chunks/{filesystem-8n969cs1.js → repository-cache-0xdzzbfj.js} +4 -4
- package/dist/chunks/{filesystem-5pn4ypd0.js → repository-cache-12dpmfar.js} +11 -11
- package/dist/chunks/{filesystem-wzfzr50j.js → repository-cache-1711wf45.js} +12 -12
- package/dist/chunks/{filesystem-8mm41x9v.js → repository-cache-18fakw40.js} +23 -23
- package/dist/chunks/{filesystem-6mf4mhq6.js → repository-cache-1914d4m2.js} +36 -36
- package/dist/chunks/{filesystem-009tt1tc.js → repository-cache-1d7c9p74.js} +37 -37
- package/dist/chunks/{filesystem-qtm30naq.js → repository-cache-1djcyy3s.js} +18 -18
- package/dist/chunks/{filesystem-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{filesystem-wckc0zrx.js → repository-cache-1erzekvj.js} +4 -4
- package/dist/chunks/{filesystem-0zwy0wgk.js → repository-cache-1q4dac4t.js} +11 -11
- package/dist/chunks/{filesystem-arsn7stx.js → repository-cache-1qbwk3vx.js} +1 -1
- package/dist/chunks/{filesystem-0m63avf2.js → repository-cache-1vg1fscw.js} +14 -14
- package/dist/chunks/{filesystem-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-hfc7xfzf.js → repository-cache-1xj3kh2r.js} +22 -22
- package/dist/chunks/{filesystem-ytxs1176.js → repository-cache-1ytqv3fd.js} +6 -6
- package/dist/chunks/{filesystem-8ryk0bb9.js → repository-cache-207ajt2h.js} +5 -5
- package/dist/chunks/{filesystem-9dk4f4hb.js → repository-cache-27bs79w9.js} +2 -2
- package/dist/chunks/{filesystem-f33ds01d.js → repository-cache-2vt8hxhk.js} +21 -21
- package/dist/chunks/{filesystem-2z1j29yd.js → repository-cache-2z1j29yd.js} +1 -1
- package/dist/chunks/{filesystem-d70em1ty.js → repository-cache-316j7v8e.js} +5 -5
- package/dist/chunks/{filesystem-dztq030m.js → repository-cache-336ztn5g.js} +39 -39
- package/dist/chunks/{filesystem-8j8gppkv.js → repository-cache-362gf1js.js} +27 -27
- package/dist/chunks/{filesystem-avbcnn8s.js → repository-cache-36sdsjr1.js} +2 -2
- package/dist/chunks/{filesystem-ar426sjr.js → repository-cache-3bp279dk.js} +21 -21
- package/dist/chunks/{filesystem-c8j7dx8q.js → repository-cache-3f8v07ch.js} +11 -11
- package/dist/chunks/{filesystem-5cn61jve.js → repository-cache-3gh72xqr.js} +4 -4
- package/dist/chunks/{filesystem-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-t3rfzc0n.js → repository-cache-3hq0yj39.js} +2 -2
- package/dist/chunks/{filesystem-7xg2jm5b.js → repository-cache-3kdbrncp.js} +5 -5
- package/dist/chunks/{filesystem-3nnrz6f6.js → repository-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-356ycsz0.js → repository-cache-3pmyxw75.js} +18 -18
- package/dist/chunks/{filesystem-5crs9zmq.js → repository-cache-48zhenr1.js} +4 -4
- package/dist/chunks/{filesystem-tfeyr919.js → repository-cache-4ay36gmp.js} +16 -16
- package/dist/chunks/{filesystem-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-4xvmh7wp.js → repository-cache-4xvmh7wp.js} +3 -3
- package/dist/chunks/{filesystem-h0d2nkz7.js → repository-cache-507qjdd6.js} +10 -10
- package/dist/chunks/{filesystem-cq8031fv.js → repository-cache-5555hpps.js} +3 -3
- package/dist/chunks/{filesystem-v81ymy3c.js → repository-cache-57t7dmdr.js} +4 -4
- package/dist/chunks/{filesystem-xggf8f2k.js → repository-cache-5agv5pnb.js} +9 -9
- package/dist/chunks/{filesystem-ymrtwgat.js → repository-cache-5azq9rsq.js} +3 -3
- package/dist/chunks/{filesystem-7qzzp3th.js → repository-cache-5dnrgg7g.js} +15 -15
- package/dist/chunks/{filesystem-jqefqkzj.js → repository-cache-5jjy01jh.js} +12 -12
- package/dist/chunks/{filesystem-98mxgbz2.js → repository-cache-5jrgt8vn.js} +18 -18
- package/dist/chunks/{filesystem-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-f9r434at.js → repository-cache-5n23vyzy.js} +9 -9
- package/dist/chunks/{filesystem-jawcrgg3.js → repository-cache-5qdsq766.js} +29 -29
- package/dist/chunks/{filesystem-p7vhpwh8.js → repository-cache-5zrxpy3q.js} +5 -5
- package/dist/chunks/{filesystem-ytj9cq62.js → repository-cache-64mfsmgx.js} +13 -13
- package/dist/chunks/repository-cache-6bshxcsx.js +18 -0
- package/dist/chunks/{filesystem-amdzwm80.js → repository-cache-6d6xnsqa.js} +5 -5
- package/dist/chunks/{filesystem-6esdw8yj.js → repository-cache-6esdw8yj.js} +1 -1
- package/dist/chunks/{filesystem-1n1y95ae.js → repository-cache-6g7sbevv.js} +9 -9
- package/dist/chunks/{filesystem-n32wkzbx.js → repository-cache-6n4ac7kc.js} +32 -32
- package/dist/chunks/{filesystem-y2sesghw.js → repository-cache-6nw1th37.js} +4 -4
- package/dist/chunks/{filesystem-6pjqjmy2.js → repository-cache-6pjqjmy2.js} +1 -1
- package/dist/chunks/{filesystem-8tv6we1q.js → repository-cache-6tnd2r5t.js} +82 -82
- package/dist/chunks/{filesystem-fwvkg7a4.js → repository-cache-6y1pjz6k.js} +11 -11
- package/dist/chunks/{filesystem-770pw0s1.js → repository-cache-770pw0s1.js} +1 -1
- package/dist/chunks/{filesystem-vq1ppevj.js → repository-cache-7bg5w1mh.js} +8 -8
- package/dist/chunks/{filesystem-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-74z5myxc.js → repository-cache-7epm6vve.js} +18 -18
- package/dist/chunks/{filesystem-4zdy853b.js → repository-cache-7vxtg88a.js} +27 -27
- package/dist/chunks/{filesystem-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-jmf5ej32.js → repository-cache-7y79ykyn.js} +4 -4
- package/dist/chunks/{filesystem-zwqbvap5.js → repository-cache-882abr6x.js} +22 -22
- package/dist/chunks/{filesystem-c6mtb9s1.js → repository-cache-8ev1pcqt.js} +10 -10
- package/dist/chunks/{filesystem-krc69tyh.js → repository-cache-8nyf59xc.js} +3 -3
- package/dist/chunks/{filesystem-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{filesystem-d8qd4w10.js → repository-cache-8ykqf5wm.js} +11 -11
- package/dist/chunks/{filesystem-91rj84md.js → repository-cache-91rj84md.js} +1 -1
- package/dist/chunks/{filesystem-6vgp65ky.js → repository-cache-95a59wgr.js} +21 -21
- package/dist/chunks/{filesystem-qg8qtdad.js → repository-cache-98vm4ve1.js} +3 -3
- package/dist/chunks/{filesystem-997dsrmm.js → repository-cache-997dsrmm.js} +2 -2
- package/dist/chunks/{filesystem-998yhzzq.js → repository-cache-998yhzzq.js} +3 -3
- package/dist/chunks/{filesystem-vbcm6ahj.js → repository-cache-9db9x33r.js} +12 -12
- package/dist/chunks/{filesystem-tj5yfdht.js → repository-cache-9jt80rn9.js} +31 -31
- package/dist/chunks/{filesystem-68fc5fjq.js → repository-cache-9r40bkxv.js} +8 -8
- package/dist/chunks/{filesystem-tzkvb7j5.js → repository-cache-a10bphs2.js} +91 -91
- package/dist/chunks/{filesystem-bvkwt3vh.js → repository-cache-a93j7cb6.js} +16 -16
- package/dist/chunks/{filesystem-gsdn6242.js → repository-cache-ae12v80k.js} +30 -30
- package/dist/chunks/{filesystem-96t1we0v.js → repository-cache-ajjhf6jy.js} +14 -14
- package/dist/chunks/{filesystem-3e0wzh8b.js → repository-cache-apz0gy3j.js} +14 -14
- package/dist/chunks/{filesystem-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{filesystem-b0mv4wxm.js → repository-cache-b0mv4wxm.js} +2 -2
- package/dist/chunks/{filesystem-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
- package/dist/chunks/{filesystem-zj4f4v9r.js → repository-cache-bbwsfe1r.js} +20 -20
- package/dist/chunks/{filesystem-ztmrs8ra.js → repository-cache-bee3dq4t.js} +5 -5
- package/dist/chunks/{filesystem-bdsrgrhy.js → repository-cache-bfknhky6.js} +17 -17
- package/dist/chunks/{filesystem-pvrft5am.js → repository-cache-bgjq6n3s.js} +50 -50
- package/dist/chunks/{filesystem-s626qfae.js → repository-cache-bjhzkqyk.js} +4 -4
- package/dist/chunks/{filesystem-c4h1hzvn.js → repository-cache-bkp072jg.js} +8 -8
- package/dist/chunks/{filesystem-5qv54f7z.js → repository-cache-bqwdyg2t.js} +9 -9
- package/dist/chunks/{filesystem-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-6mw02xdg.js → repository-cache-bwsq2f4f.js} +37 -37
- package/dist/chunks/{filesystem-z1448dy0.js → repository-cache-bx39zcgj.js} +11 -11
- package/dist/chunks/{filesystem-gv029hbs.js → repository-cache-bygpv8tp.js} +5 -5
- package/dist/chunks/{filesystem-4whg3jbc.js → repository-cache-c1wt3632.js} +2 -2
- package/dist/chunks/{filesystem-mz3a5edd.js → repository-cache-c295kw9q.js} +6 -6
- package/dist/chunks/{filesystem-v44g1jae.js → repository-cache-c3cfh5w6.js} +9 -9
- package/dist/chunks/{filesystem-c8666r4c.js → repository-cache-c8666r4c.js} +3 -3
- package/dist/chunks/{filesystem-d2887f8n.js → repository-cache-c9t2ty9q.js} +4 -4
- package/dist/chunks/{filesystem-bx21rrrk.js → repository-cache-cb840yf6.js} +22 -22
- package/dist/chunks/{filesystem-xqg92hb0.js → repository-cache-cegnsd8m.js} +17 -17
- package/dist/chunks/{filesystem-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{filesystem-6kzpt8m6.js → repository-cache-d5p6tmrf.js} +12 -12
- package/dist/chunks/{filesystem-nm4qwr9s.js → repository-cache-d79ca6ae.js} +11 -11
- package/dist/chunks/{filesystem-5t0hnzkm.js → repository-cache-d8zqpry0.js} +5 -5
- package/dist/chunks/{filesystem-5q1nw5b2.js → repository-cache-daa7zsg6.js} +35 -35
- package/dist/chunks/{filesystem-k7zas86q.js → repository-cache-dapvcjq1.js} +22 -22
- package/dist/chunks/{filesystem-vq9exjc4.js → repository-cache-dexpzvpz.js} +72 -72
- package/dist/chunks/{filesystem-0d5pkr3t.js → repository-cache-dgc6zgst.js} +5 -5
- package/dist/chunks/{filesystem-r1esf721.js → repository-cache-dqfcynkm.js} +41 -41
- package/dist/chunks/{filesystem-z0dwbekb.js → repository-cache-dvhq7cxa.js} +18 -18
- package/dist/chunks/{filesystem-51x4aarj.js → repository-cache-dy4mqkt9.js} +4 -4
- package/dist/chunks/{filesystem-sejvc57q.js → repository-cache-e34d40ft.js} +22 -22
- package/dist/chunks/{filesystem-5qd3pb7m.js → repository-cache-e3qxr5gk.js} +2 -2
- package/dist/chunks/{filesystem-fwp9mfc9.js → repository-cache-e45fk36t.js} +4 -4
- package/dist/chunks/{filesystem-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-nttn14j9.js → repository-cache-e8pm465n.js} +4 -4
- package/dist/chunks/{filesystem-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-vnxwgqtp.js → repository-cache-efrks8s7.js} +33 -33
- package/dist/chunks/{filesystem-nxdk44b7.js → repository-cache-epb2tz48.js} +9 -9
- package/dist/chunks/{filesystem-x6h7fa0f.js → repository-cache-epqvz6sp.js} +11 -11
- package/dist/chunks/{filesystem-6rvpfmay.js → repository-cache-etxarc0c.js} +5 -5
- package/dist/chunks/{filesystem-nq8bay0y.js → repository-cache-ex2c5m6n.js} +25 -25
- package/dist/chunks/{filesystem-f9ntwk7j.js → repository-cache-f1d6w5yp.js} +9 -9
- package/dist/chunks/{filesystem-jz901ekc.js → repository-cache-f2kxhge1.js} +19 -19
- package/dist/chunks/{filesystem-jg76350t.js → repository-cache-fayv5fjb.js} +47 -47
- package/dist/chunks/{filesystem-m7sf20d3.js → repository-cache-fbmv4zkf.js} +25 -25
- package/dist/chunks/{filesystem-6kjtmk7q.js → repository-cache-fera0h98.js} +10 -10
- package/dist/chunks/{filesystem-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-nvexje8a.js → repository-cache-fhcyw9er.js} +5 -5
- package/dist/chunks/{filesystem-fznmdakp.js → repository-cache-fznmdakp.js} +1 -1
- package/dist/chunks/{filesystem-padq4g58.js → repository-cache-g3dxjs5g.js} +17 -17
- package/dist/chunks/{filesystem-9fcy9jas.js → repository-cache-g4nys0an.js} +11 -11
- package/dist/chunks/{filesystem-jbszwdvq.js → repository-cache-g4y5gz37.js} +6 -6
- package/dist/chunks/{filesystem-g5h9c0rr.js → repository-cache-g5h9c0rr.js} +2 -2
- package/dist/chunks/{filesystem-g7esga4v.js → repository-cache-g7esga4v.js} +1 -1
- package/dist/chunks/{filesystem-jk3vvd6z.js → repository-cache-g8ptsmqj.js} +16 -16
- package/dist/chunks/{filesystem-gyabndjg.js → repository-cache-g96fpxa4.js} +1 -1
- package/dist/chunks/{filesystem-t271sy58.js → repository-cache-ga3nj1ct.js} +11 -11
- package/dist/chunks/{filesystem-nnv5zz39.js → repository-cache-gvq5deds.js} +23 -23
- package/dist/chunks/{filesystem-ae59h7aq.js → repository-cache-h04fff7h.js} +41 -41
- package/dist/chunks/{filesystem-wcsf77ep.js → repository-cache-h0prck52.js} +5 -5
- package/dist/chunks/{filesystem-yawxmpnv.js → repository-cache-h5q3bctd.js} +20 -20
- package/dist/chunks/{filesystem-1zaw68ze.js → repository-cache-hfwb91mh.js} +22 -22
- package/dist/chunks/{filesystem-fn89k98g.js → repository-cache-hgyydanp.js} +23 -23
- package/dist/chunks/{filesystem-rfg9rte0.js → repository-cache-hpfjxvqq.js} +19 -19
- package/dist/chunks/{filesystem-d9nsghbd.js → repository-cache-hv3v4m8k.js} +38 -38
- package/dist/chunks/{filesystem-z0qqz9cx.js → repository-cache-hvnf17n2.js} +11 -11
- package/dist/chunks/repository-cache-hwag7jbr.js +523 -0
- package/dist/chunks/{filesystem-kphdvy8n.js → repository-cache-hy96gn3p.js} +8 -8
- package/dist/chunks/{filesystem-j113cymg.js → repository-cache-j113cymg.js} +1 -1
- package/dist/chunks/{filesystem-4d5fcr8w.js → repository-cache-j1sdj48j.js} +27 -27
- package/dist/chunks/{filesystem-5xy94632.js → repository-cache-j49x6kf4.js} +8 -8
- package/dist/chunks/{filesystem-kw6yrzx1.js → repository-cache-j5c0nw1x.js} +14 -14
- package/dist/chunks/{filesystem-sm3pn1yy.js → repository-cache-j623kct8.js} +176 -176
- package/dist/chunks/{filesystem-18g90bpv.js → repository-cache-jcqm84fr.js} +9 -9
- package/dist/chunks/{filesystem-0rk2tx64.js → repository-cache-jgzdw78p.js} +27 -27
- package/dist/chunks/{filesystem-dk5xnaxx.js → repository-cache-jkg2pe84.js} +4 -4
- package/dist/chunks/{filesystem-8kvpvnp7.js → repository-cache-js4fqk0b.js} +32 -32
- package/dist/chunks/{filesystem-tx3h81rw.js → repository-cache-js82nf9k.js} +11 -11
- package/dist/chunks/{filesystem-sz9hkbm4.js → repository-cache-jsqqb0ba.js} +9 -9
- package/dist/chunks/{filesystem-jzdzfwts.js → repository-cache-jz5m0jmz.js} +58 -58
- package/dist/chunks/{filesystem-k814nvkf.js → repository-cache-k814nvkf.js} +1 -1
- package/dist/chunks/{filesystem-j3228jtb.js → repository-cache-kmpm0sjp.js} +13 -13
- package/dist/chunks/{filesystem-gxpe1m6c.js → repository-cache-kpyf14q1.js} +13 -13
- package/dist/chunks/{filesystem-5s5rpxk9.js → repository-cache-kq1mzbp8.js} +46 -46
- package/dist/chunks/{filesystem-ffejy4wd.js → repository-cache-ks3wwvy5.js} +9 -9
- package/dist/chunks/{filesystem-0mt6tx3t.js → repository-cache-kzkf7na7.js} +25 -25
- package/dist/chunks/{filesystem-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-n4d18xwc.js → repository-cache-m1gzeghs.js} +13 -13
- package/dist/chunks/repository-cache-m2yjxv7r.js +26 -0
- package/dist/chunks/{filesystem-fwbqpq8p.js → repository-cache-m8wgw1ap.js} +20 -20
- package/dist/chunks/{filesystem-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-7rh6cm1k.js → repository-cache-majbhfqf.js} +8 -8
- package/dist/chunks/{filesystem-jchrqzf6.js → repository-cache-masd7ga8.js} +4 -4
- package/dist/chunks/{filesystem-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-2wyfsdtp.js → repository-cache-mkadae17.js} +21 -21
- package/dist/chunks/{filesystem-s1rp2hzf.js → repository-cache-mt89smwx.js} +14 -14
- package/dist/chunks/{filesystem-n0p0277s.js → repository-cache-n0p0277s.js} +1 -1
- package/dist/chunks/{filesystem-nk6d3n00.js → repository-cache-n3mttp9c.js} +46 -46
- package/dist/chunks/{filesystem-gj87f6s9.js → repository-cache-n6q34c7t.js} +4 -4
- package/dist/chunks/{filesystem-8d63q4vm.js → repository-cache-nn952gpa.js} +19 -19
- package/dist/chunks/{filesystem-x934s5n8.js → repository-cache-nvvc4vjs.js} +4 -4
- package/dist/chunks/{filesystem-p015t6z3.js → repository-cache-p015t6z3.js} +2 -2
- package/dist/chunks/{filesystem-9b28cy4d.js → repository-cache-pacbbjc0.js} +5 -5
- package/dist/chunks/{filesystem-pc1v25hk.js → repository-cache-pc1v25hk.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-r3f67wnp.js → repository-cache-pkwzrktv.js} +26 -26
- package/dist/chunks/{filesystem-grrps705.js → repository-cache-pq54n2x2.js} +17 -17
- package/dist/chunks/{filesystem-st4qtcsw.js → repository-cache-q8f5hf3a.js} +31 -31
- package/dist/chunks/{filesystem-5j88v3fz.js → repository-cache-q92ejtxw.js} +28 -28
- package/dist/chunks/{filesystem-0cjz94q6.js → repository-cache-q9vkgwxm.js} +50 -50
- package/dist/chunks/{filesystem-qjgzc4b4.js → repository-cache-qjgzc4b4.js} +1 -1
- package/dist/chunks/{filesystem-9zhqcg1r.js → repository-cache-qjx0zx6g.js} +25 -25
- package/dist/chunks/{filesystem-nd5d6z5j.js → repository-cache-qkxp7296.js} +1 -1
- package/dist/chunks/repository-cache-qnhptmb8.js +257 -0
- package/dist/chunks/{filesystem-89hkn2ck.js → repository-cache-qnst15rb.js} +14 -14
- package/dist/chunks/{filesystem-p0tsr9h6.js → repository-cache-qqg9c0kv.js} +4 -4
- package/dist/chunks/{filesystem-r0yr0wbs.js → repository-cache-r0yr0wbs.js} +1 -1
- package/dist/chunks/{filesystem-3spxaejg.js → repository-cache-r4xyerk1.js} +47 -47
- package/dist/chunks/{filesystem-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-etk19sk0.js → repository-cache-rdcxq6dg.js} +28 -28
- package/dist/chunks/{filesystem-chey27p8.js → repository-cache-rfkydm6q.js} +43 -43
- package/dist/chunks/{filesystem-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-brp8afje.js → repository-cache-ry1q6mjw.js} +20 -20
- package/dist/chunks/{filesystem-4h7a260j.js → repository-cache-s1bnsxce.js} +31 -31
- package/dist/chunks/{filesystem-v93w9dtv.js → repository-cache-s1s90sgh.js} +13 -13
- package/dist/chunks/{filesystem-36nwec3d.js → repository-cache-s2dpb278.js} +34 -34
- package/dist/chunks/{filesystem-9nkjg9qd.js → repository-cache-s2pfznc4.js} +6 -6
- package/dist/chunks/{filesystem-d2dx6a7h.js → repository-cache-s7kyse9r.js} +9 -9
- package/dist/chunks/{filesystem-ap3xe38h.js → repository-cache-scxnsnp9.js} +12 -12
- package/dist/chunks/{filesystem-bxr1hg8m.js → repository-cache-shmxrrpn.js} +28 -28
- package/dist/chunks/{filesystem-kba41hf4.js → repository-cache-spy53wnz.js} +19 -19
- package/dist/chunks/{filesystem-sqjzf8x2.js → repository-cache-sqjzf8x2.js} +1 -1
- package/dist/chunks/{filesystem-s3jvwajm.js → repository-cache-sqtvtx7d.js} +18 -18
- package/dist/chunks/{filesystem-bchnzv4a.js → repository-cache-ss1jzj40.js} +29 -29
- package/dist/chunks/{filesystem-58me5448.js → repository-cache-sy5y9pr1.js} +12 -12
- package/dist/chunks/{filesystem-n5q96v35.js → repository-cache-t746b1c9.js} +13 -13
- package/dist/chunks/{filesystem-53ehtthp.js → repository-cache-taa02m37.js} +10 -10
- package/dist/chunks/{filesystem-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-s4r347cv.js → repository-cache-tjze7m48.js} +7 -7
- package/dist/chunks/{filesystem-jfm4fjtg.js → repository-cache-tmmqa6ew.js} +10 -10
- package/dist/chunks/{filesystem-j4jzjbre.js → repository-cache-tqwxcfvf.js} +21 -21
- package/dist/chunks/{filesystem-7jc9rsv4.js → repository-cache-trtfktz1.js} +25 -25
- package/dist/chunks/{filesystem-dnmtmk4w.js → repository-cache-tsfhzs96.js} +25 -25
- package/dist/chunks/{filesystem-tw8zr1ps.js → repository-cache-tw8zr1ps.js} +1 -1
- package/dist/chunks/{filesystem-twv2r8f4.js → repository-cache-twv2r8f4.js} +2 -2
- package/dist/chunks/{filesystem-bhxt7mnn.js → repository-cache-txs3q12t.js} +24 -24
- package/dist/chunks/{filesystem-w96mkmzg.js → repository-cache-v0r2q4dy.js} +27 -27
- package/dist/chunks/{filesystem-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-efr9f7w8.js → repository-cache-v5gy4fh6.js} +8 -8
- package/dist/chunks/{filesystem-tg0gd36c.js → repository-cache-v9snnrq5.js} +20 -20
- package/dist/chunks/{filesystem-vd3b3yk9.js → repository-cache-vd3b3yk9.js} +1 -1
- package/dist/chunks/{filesystem-r0dtc59e.js → repository-cache-vdkq80q2.js} +24 -24
- package/dist/chunks/{filesystem-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-sdcxcfrs.js → repository-cache-vhv0edzw.js} +6 -6
- package/dist/chunks/{filesystem-rvmjpzp1.js → repository-cache-vm0wcjea.js} +10 -10
- package/dist/chunks/{filesystem-vgqfs1n2.js → repository-cache-vmvx5n1d.js} +11 -11
- package/dist/chunks/{filesystem-m5jcjszt.js → repository-cache-vx3jgdek.js} +3 -3
- package/dist/chunks/{filesystem-c5093bv4.js → repository-cache-w12njt9q.js} +5 -5
- package/dist/chunks/{filesystem-r41sfy63.js → repository-cache-w2eysc6j.js} +6 -6
- package/dist/chunks/{filesystem-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-w8qtt4th.js → repository-cache-w8qtt4th.js} +1 -1
- package/dist/chunks/{filesystem-d6xvjcm1.js → repository-cache-w9kbxh01.js} +20 -20
- package/dist/chunks/{filesystem-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-6vawrx7p.js → repository-cache-wcqq4kvm.js} +29 -29
- package/dist/chunks/{filesystem-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-spsj76tb.js → repository-cache-wjjhfpfw.js} +7 -7
- package/dist/chunks/{filesystem-0v552w6g.js → repository-cache-x14n6813.js} +10 -10
- package/dist/chunks/{filesystem-qh4tvjey.js → repository-cache-x588deh8.js} +6 -6
- package/dist/chunks/{filesystem-kpjnnt0y.js → repository-cache-x5qs9jyb.js} +32 -32
- package/dist/chunks/{filesystem-s9v9gzsc.js → repository-cache-xfffv0qn.js} +23 -23
- package/dist/chunks/{filesystem-b0e0ha1k.js → repository-cache-xj361v57.js} +19 -19
- package/dist/chunks/{filesystem-gmjwgw4f.js → repository-cache-xjz1c7y8.js} +3 -3
- package/dist/chunks/{filesystem-d1cerpfm.js → repository-cache-xmav9z9e.js} +25 -25
- package/dist/chunks/{filesystem-jwndhsk1.js → repository-cache-xq0cmmmd.js} +15 -15
- package/dist/chunks/{filesystem-pkyesxg1.js → repository-cache-xqaf1wtx.js} +16 -16
- package/dist/chunks/{filesystem-n8gn2k8w.js → repository-cache-xqwqgje7.js} +13 -13
- package/dist/chunks/{filesystem-b59295hw.js → repository-cache-y85xtnja.js} +23 -23
- package/dist/chunks/{filesystem-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-v5hpj9dd.js → repository-cache-ydsespw1.js} +8 -8
- package/dist/chunks/{filesystem-xnj8czy5.js → repository-cache-ygxwp2qk.js} +53 -53
- package/dist/chunks/{filesystem-7qh21x13.js → repository-cache-ykqsc6sd.js} +12 -12
- package/dist/chunks/{filesystem-0pcpg2vk.js → repository-cache-ytbmzjv3.js} +9 -9
- package/dist/chunks/{filesystem-7zfzjnyd.js → repository-cache-yxeqx0e7.js} +9 -9
- package/dist/chunks/{filesystem-t3gbfrqn.js → repository-cache-yyb6gzd4.js} +11 -11
- package/dist/chunks/{filesystem-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-t6cdgaq6.js → repository-cache-z2wxp724.js} +31 -31
- package/dist/chunks/{filesystem-z38nccrw.js → repository-cache-z38nccrw.js} +1 -1
- package/dist/chunks/{filesystem-jpvfv4j9.js → repository-cache-z5gn6yp1.js} +34 -34
- package/dist/chunks/{filesystem-zqz3yng3.js → repository-cache-z5k5qppw.js} +9 -9
- package/dist/chunks/{filesystem-zkg84ctx.js → repository-cache-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +118 -118
- 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 +121 -121
- 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 +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 +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +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 +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +136 -136
- 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 +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- 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 +80 -80
- 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 +332 -332
- 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 +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 +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- 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 +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +76 -76
- 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 +351 -351
- 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 +223 -223
- 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 +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- 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 +138 -138
- 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 +128 -128
- 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 +79 -79
- 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 +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 +101 -101
- 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 +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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- 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 +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +135 -135
- package/dist/tool/plugin/edit.js +118 -118
- 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 +116 -116
- 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 +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +83 -83
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/filesystem-00ve6mdn.js +0 -18
- package/dist/chunks/filesystem-9ycsyq8d.js +0 -257
- package/dist/chunks/filesystem-mpdatzvn.js +0 -26
- package/dist/chunks/filesystem-ym2fpx9j.js +0 -523
- /package/dist/chunks/{filesystem-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5fjb7ams.js → repository-cache-5fjb7ams.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → repository-cache-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./repository-cache-ykqsc6sd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./repository-cache-fera0h98.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-vd3b3yk9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service39,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-6bshxcsx.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-j623kct8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service39,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node19
|
|
38
38
|
});
|
|
39
39
|
import { Event as Event2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service84;
|
|
45
|
+
const kv = yield* Service85;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service39.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node19 = Node.makeLocationNode({
|
|
226
|
+
service: Service39,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node19, exports_plugin2, Event2, ID2, Info3, Source2, State2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./repository-cache-ykqsc6sd.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./repository-cache-z2wxp724.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-bjhzkqyk.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-cache-g3dxjs5g.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event17,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID14,
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service78,
|
|
49
|
+
node: () => node82
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
72
|
+
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info23 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID14,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service78 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service80;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info23.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service78.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node82 = makeLocationNode({
|
|
633
|
+
service: Service78,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node84, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service78, node82, exports_integration, Event17 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./repository-cache-w9kbxh01.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./repository-cache-bgjq6n3s.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-vhv0edzw.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-770pw0s1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-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: () => Plugin26
|
|
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 Plugin26 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service64;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service65;
|
|
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 Plugin47 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin26, exports_compatibility };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-cache-98vm4ve1.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-masd7ga8.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service38,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service38 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make18({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service38.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node42 = makeLocationNode({ service: Service38, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service38, node42, exports_instruction_entry };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service72,
|
|
6
6
|
node74
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-ajjhf6jy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service22,
|
|
17
|
+
node: () => node25,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service22 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,7 +34,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
38
38
|
const environment = yield* Service72;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service22.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node25 = makeLocationNode({ service: Service22, layer, deps: [node74] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service22, readText2, syncTextBom2, node25, exports_file_mutation };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-8ev1pcqt.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES3,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-w2eysc6j.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin40,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
20
|
endpoint: () => endpoint6
|
|
21
21
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin40 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export { endpoint6,
|
|
123
|
+
export { endpoint6, Plugin40, exports_tinyfish };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service72,
|
|
8
8
|
node74
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-ajjhf6jy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./repository-cache-hgyydanp.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_read_filesystem, {
|
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
36
|
Service: () => Service33,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node37,
|
|
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
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -337,6 +337,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node74] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service33, read2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service33, read2, node37, exports_read_filesystem };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-8ev1pcqt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./repository-cache-ykqsc6sd.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./repository-cache-z2wxp724.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-ss1jzj40.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-cache-efrks8s7.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cache-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-cache-x588deh8.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -49,7 +49,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
49
49
|
}));
|
|
50
50
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
51
51
|
var browser = (app) => ({
|
|
52
|
-
integrationID:
|
|
52
|
+
integrationID: ID14.make("openai"),
|
|
53
53
|
method: {
|
|
54
54
|
id: browserMethodID,
|
|
55
55
|
type: "oauth",
|
|
@@ -122,7 +122,7 @@ function addressInUse(error) {
|
|
|
122
122
|
return "code" in error && error.code === "EADDRINUSE";
|
|
123
123
|
}
|
|
124
124
|
var headless = (app) => ({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID14.make("openai"),
|
|
126
126
|
method: {
|
|
127
127
|
id: headlessMethodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -167,7 +167,7 @@ var headless = (app) => ({
|
|
|
167
167
|
var OpenAIPlugin2 = define({
|
|
168
168
|
id: "opencode.provider.openai",
|
|
169
169
|
effect: Effect.fn(function* (ctx) {
|
|
170
|
-
const bus = yield*
|
|
170
|
+
const bus = yield* Service84;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let chatgpt;
|
|
173
173
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -182,9 +182,9 @@ var OpenAIPlugin2 = define({
|
|
|
182
182
|
editor.method.update(headless(ctx.app));
|
|
183
183
|
});
|
|
184
184
|
yield* load();
|
|
185
|
-
const configured = yield* configuredSettings2(
|
|
185
|
+
const configured = yield* configuredSettings2(ID13.openai);
|
|
186
186
|
yield* ctx.provider.transform((providers) => {
|
|
187
|
-
const item = providers.get(
|
|
187
|
+
const item = providers.get(ID13.openai);
|
|
188
188
|
if (!item)
|
|
189
189
|
return;
|
|
190
190
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -204,7 +204,7 @@ var OpenAIPlugin2 = define({
|
|
|
204
204
|
});
|
|
205
205
|
});
|
|
206
206
|
yield* ctx.model.transform((models) => {
|
|
207
|
-
for (const model of models.list(
|
|
207
|
+
for (const model of models.list(ID13.openai)) {
|
|
208
208
|
models.update(model.providerID, model.id, (draft) => {
|
|
209
209
|
if (!chatgpt)
|
|
210
210
|
return;
|
|
@@ -235,14 +235,14 @@ var OpenAIPlugin2 = define({
|
|
|
235
235
|
}));
|
|
236
236
|
evt.headers.originator = "opencode";
|
|
237
237
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
238
|
-
}), { providerID:
|
|
238
|
+
}), { providerID: ID13.openai });
|
|
239
239
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
240
240
|
delete evt.options.maxTokens;
|
|
241
241
|
});
|
|
242
242
|
for (const name of ["context", "compaction"])
|
|
243
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
243
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
244
244
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
245
|
-
yield* bus.subscribe(
|
|
245
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
246
246
|
})
|
|
247
247
|
});
|
|
248
248
|
function headers(contentType, app) {
|