@opencode/core 0.0.0-dev-21812 → 0.0.0-dev-21817
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 +87 -87
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{integration-033a0jkt.js → image-033a0jkt.js} +1 -1
- package/dist/chunks/{integration-034tev2y.js → image-034tev2y.js} +2 -2
- package/dist/chunks/{integration-q820hr6k.js → image-05nfgzjq.js} +10 -10
- package/dist/chunks/{integration-v3v80szh.js → image-07vs3nj0.js} +10 -10
- package/dist/chunks/{integration-7msw3csv.js → image-0gc146vq.js} +28 -28
- package/dist/chunks/{integration-1ghdp8kk.js → image-0m97cnkj.js} +34 -34
- package/dist/chunks/{integration-jtp9n393.js → image-0r1vx8v5.js} +31 -31
- package/dist/chunks/{integration-74yt0vzq.js → image-0s5s6e2d.js} +55 -55
- package/dist/chunks/{integration-vs2m3t8d.js → image-0tg8k0ws.js} +18 -18
- package/dist/chunks/{integration-kqy4hbwk.js → image-0xms9gce.js} +88 -88
- package/dist/chunks/{integration-g4netsws.js → image-13a2mh91.js} +16 -16
- package/dist/chunks/{integration-9kg5w032.js → image-160yv0cs.js} +8 -8
- package/dist/chunks/{integration-hwx3r6b1.js → image-16hjntf9.js} +15 -15
- package/dist/chunks/{integration-cpvd08na.js → image-184a1rnm.js} +7 -7
- package/dist/chunks/{integration-1ep2p91f.js → image-1ep2p91f.js} +2 -2
- package/dist/chunks/{integration-wr8dn7z1.js → image-1f7agfq0.js} +5 -5
- package/dist/chunks/{integration-ez61m5xe.js → image-1fwkns73.js} +5 -5
- package/dist/chunks/{integration-z2qbjhyn.js → image-1nwxscpy.js} +5 -5
- package/dist/chunks/{integration-m676x6pr.js → image-1w13evse.js} +17 -17
- package/dist/chunks/{integration-1x2knyw4.js → image-1x2knyw4.js} +1 -1
- package/dist/chunks/{integration-v9ez2kgh.js → image-1yq9hg58.js} +5 -5
- package/dist/chunks/{integration-xap91x1p.js → image-24xfnb6j.js} +13 -13
- package/dist/chunks/{integration-9e9qdt9b.js → image-2mrxht5b.js} +13 -13
- package/dist/chunks/{integration-r9478m04.js → image-2nj0wjyp.js} +2 -2
- package/dist/chunks/{integration-hhn1e55x.js → image-2yw6w8fw.js} +8 -8
- package/dist/chunks/{integration-d9f8cqns.js → image-2z1fntxb.js} +16 -16
- package/dist/chunks/{integration-2z1j29yd.js → image-2z1j29yd.js} +1 -1
- package/dist/chunks/{integration-a9jemgtr.js → image-2z7erwjw.js} +3 -3
- package/dist/chunks/{integration-fkgr69m7.js → image-31r5thkn.js} +13 -13
- package/dist/chunks/{integration-enar5c8c.js → image-326fkxd2.js} +27 -27
- package/dist/chunks/{integration-32s59e8p.js → image-32s59e8p.js} +2 -2
- package/dist/chunks/{integration-b68fg4f6.js → image-35fhh73b.js} +32 -32
- package/dist/chunks/{integration-s7xmnr8t.js → image-36qx82yz.js} +6 -6
- package/dist/chunks/{integration-cqjv9nck.js → image-37cktt0g.js} +29 -29
- package/dist/chunks/{integration-mmhxtjpe.js → image-3gqz1bk6.js} +19 -19
- package/dist/chunks/{integration-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-ndw46kc6.js → image-3n1ttctm.js} +11 -11
- package/dist/chunks/{integration-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
- package/dist/chunks/{integration-zmwx25fz.js → image-3t73xeyv.js} +2 -2
- package/dist/chunks/{integration-22vn2tfc.js → image-3zqzrtkk.js} +51 -51
- package/dist/chunks/{integration-fzjtn9cy.js → image-40p0fyqq.js} +4 -4
- package/dist/chunks/{integration-sjc0rtcr.js → image-4ad74sg8.js} +35 -35
- package/dist/chunks/{integration-7xwzfpqh.js → image-4jnmqarr.js} +13 -13
- package/dist/chunks/{integration-3vj2p3vv.js → image-4sxex0rx.js} +14 -14
- package/dist/chunks/{integration-4v008n1t.js → image-4v008n1t.js} +1 -1
- package/dist/chunks/{integration-qjj39fzk.js → image-4v1m73gd.js} +35 -35
- package/dist/chunks/{integration-ns4tg1vk.js → image-4wc3fxck.js} +30 -30
- package/dist/chunks/{integration-4xvmh7wp.js → image-4xvmh7wp.js} +3 -3
- package/dist/chunks/{integration-62ecjyyq.js → image-4xy1sasq.js} +24 -24
- package/dist/chunks/{integration-yc8z54tz.js → image-4z67m3qv.js} +25 -25
- package/dist/chunks/{integration-xkpbrv2c.js → image-51xz9zrd.js} +30 -30
- package/dist/chunks/{integration-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{integration-b6vsg801.js → image-5nnwax6m.js} +5 -5
- package/dist/chunks/{integration-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
- package/dist/chunks/{integration-w22yp63b.js → image-5qv54f7z.js} +9 -9
- package/dist/chunks/{integration-24dnymca.js → image-5sdj1qr8.js} +9 -9
- package/dist/chunks/{integration-2qzjejty.js → image-5sf4bm6j.js} +17 -17
- package/dist/chunks/{integration-ewf8e1z3.js → image-62tfx8ce.js} +9 -9
- package/dist/chunks/{integration-zrdtx4x3.js → image-68zmakm4.js} +14 -14
- package/dist/chunks/image-6b8sz5eq.js +517 -0
- package/dist/chunks/{integration-6esdw8yj.js → image-6esdw8yj.js} +1 -1
- package/dist/chunks/{integration-6pjqjmy2.js → image-6pjqjmy2.js} +1 -1
- package/dist/chunks/{integration-zwmk0vgz.js → image-6r4vkcek.js} +8 -8
- package/dist/chunks/{integration-6a013r1n.js → image-6vep9ays.js} +26 -26
- package/dist/chunks/{integration-2jzy5gvp.js → image-6xd8dker.js} +17 -17
- package/dist/chunks/image-6zjm2phc.js +18 -0
- package/dist/chunks/{integration-xm8dep68.js → image-73jz4da7.js} +18 -18
- package/dist/chunks/{integration-h4k78rza.js → image-75jwphnh.js} +51 -51
- package/dist/chunks/{integration-qqfn68em.js → image-76md86nq.js} +22 -22
- package/dist/chunks/{integration-nah043kf.js → image-770pw0s1.js} +4 -4
- package/dist/chunks/{integration-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-21wsmemr.js → image-7ce27r81.js} +13 -13
- package/dist/chunks/{integration-pvhdzchd.js → image-7chq9j9h.js} +23 -23
- package/dist/chunks/{integration-xs0pgsh6.js → image-7ecx6m67.js} +5 -5
- package/dist/chunks/{integration-s8hzhf5a.js → image-7gwka3rf.js} +8 -8
- package/dist/chunks/{integration-pmz7p4sy.js → image-7vp7j2yf.js} +4 -4
- package/dist/chunks/{integration-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
- package/dist/chunks/{integration-jh0qv5w1.js → image-80de0dpk.js} +15 -15
- package/dist/chunks/{integration-nhfzsa1p.js → image-87r11qxp.js} +7 -7
- package/dist/chunks/{integration-azcb3gk3.js → image-8anjt5n3.js} +16 -16
- package/dist/chunks/{integration-k4z47hf4.js → image-8j5cfpkk.js} +11 -11
- package/dist/chunks/{integration-n0p57zwx.js → image-8satscgr.js} +15 -15
- package/dist/chunks/{integration-z7wnyb4t.js → image-8tmbg2kp.js} +5 -5
- package/dist/chunks/{integration-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
- package/dist/chunks/{integration-w1qfq64t.js → image-8zef63vm.js} +1 -1
- package/dist/chunks/{integration-27z7tz04.js → image-91ht5475.js} +20 -20
- package/dist/chunks/{integration-91rj84md.js → image-91rj84md.js} +1 -1
- package/dist/chunks/{integration-4vgk4w6a.js → image-98hqkj1t.js} +21 -21
- package/dist/chunks/{integration-998yhzzq.js → image-998yhzzq.js} +3 -3
- package/dist/chunks/{integration-zx7azpzt.js → image-9bdme720.js} +22 -22
- package/dist/chunks/{integration-9cx9sm2q.js → image-9cx9sm2q.js} +1 -1
- package/dist/chunks/{integration-582km8zz.js → image-9m4m3tqa.js} +12 -12
- package/dist/chunks/{integration-3qncy4kt.js → image-9r6cxg0d.js} +3 -3
- package/dist/chunks/{integration-c445b2ma.js → image-9tmx0py5.js} +18 -18
- package/dist/chunks/{integration-cdpx3xqr.js → image-a4y6e5tc.js} +28 -28
- package/dist/chunks/{integration-qr09n5wa.js → image-acgs9a2s.js} +1 -1
- package/dist/chunks/{integration-77zdhryd.js → image-afasrztg.js} +10 -10
- package/dist/chunks/{integration-mn0kbaek.js → image-asvpa677.js} +27 -27
- package/dist/chunks/{integration-ayjs7tqn.js → image-ayjs7tqn.js} +2 -2
- package/dist/chunks/{integration-b0mv4wxm.js → image-b0mv4wxm.js} +2 -2
- package/dist/chunks/{integration-mnx664ps.js → image-b0zs6kwq.js} +46 -46
- package/dist/chunks/{integration-a5hswdc1.js → image-b5fch5tq.js} +31 -31
- package/dist/chunks/{integration-rrewaqtd.js → image-bfrs3k34.js} +4 -4
- package/dist/chunks/{integration-ej3th1h3.js → image-bh6xg5j5.js} +9 -9
- package/dist/chunks/{integration-c3nr5wcj.js → image-bjf48tk7.js} +11 -11
- package/dist/chunks/{integration-zzdv5d93.js → image-bjhzkqyk.js} +4 -4
- package/dist/chunks/{integration-nw3gns4q.js → image-bjzxnqba.js} +81 -81
- package/dist/chunks/{integration-7jv8arzj.js → image-br0sk681.js} +25 -25
- package/dist/chunks/{integration-yh280zkr.js → image-c1expc71.js} +21 -21
- package/dist/chunks/{integration-cvx8nhbw.js → image-c98vtka0.js} +19 -19
- package/dist/chunks/{integration-mtkfycnh.js → image-c9t2ty9q.js} +4 -4
- package/dist/chunks/{integration-bmavx65t.js → image-ca52p5rq.js} +24 -24
- package/dist/chunks/{integration-0v8grjzs.js → image-cc7p5mm7.js} +14 -14
- package/dist/chunks/{integration-x5jmwpjz.js → image-cfvcma3s.js} +43 -43
- package/dist/chunks/{integration-xjdsgsgc.js → image-cymceqyh.js} +17 -17
- package/dist/chunks/{integration-4739vc91.js → image-d29abm0w.js} +11 -11
- package/dist/chunks/{integration-d4v9tmah.js → image-d4v9tmah.js} +2 -2
- package/dist/chunks/{integration-m7g89f9n.js → image-djkw662e.js} +4 -4
- package/dist/chunks/{integration-0p88zpcm.js → image-dk5xnaxx.js} +4 -4
- package/dist/chunks/{integration-sztnemvs.js → image-dvx5xhvb.js} +19 -19
- package/dist/chunks/{integration-hd3k4wz8.js → image-e45fk36t.js} +4 -4
- package/dist/chunks/{integration-mvc3vb2a.js → image-e7xzzatt.js} +12 -12
- package/dist/chunks/{integration-e834z07m.js → image-e834z07m.js} +1 -1
- package/dist/chunks/{integration-pq8a5ftn.js → image-eq0jjftn.js} +32 -32
- package/dist/chunks/{integration-eegzrrtz.js → image-ers7egr9.js} +13 -13
- package/dist/chunks/{integration-2a7m102q.js → image-esj9r7gb.js} +16 -16
- package/dist/chunks/{integration-wf2cyww0.js → image-etdykhby.js} +5 -5
- package/dist/chunks/{integration-s8p4z092.js → image-ewbwv8zd.js} +11 -11
- package/dist/chunks/{integration-6a7ezx2c.js → image-f6a8s9j6.js} +12 -12
- package/dist/chunks/{integration-zzpc27z9.js → image-f7jaqbwj.js} +60 -60
- package/dist/chunks/{integration-aevv1b27.js → image-fbqneh5y.js} +21 -21
- package/dist/chunks/{integration-fffv3p7h.js → image-fffv3p7h.js} +1 -1
- package/dist/chunks/{integration-8vg666x5.js → image-fgfynbdy.js} +2 -2
- package/dist/chunks/{integration-1nys593y.js → image-fjw90z1x.js} +10 -10
- package/dist/chunks/{integration-vcz53cnc.js → image-fmt5mq3p.js} +15 -15
- package/dist/chunks/{integration-ns1gkfmt.js → image-frqw5egg.js} +11 -11
- package/dist/chunks/{integration-0h8y3ex8.js → image-fznmdakp.js} +4 -4
- package/dist/chunks/{integration-g5h9c0rr.js → image-g5h9c0rr.js} +2 -2
- package/dist/chunks/{integration-5v3c0w31.js → image-g5n2wz6e.js} +32 -32
- package/dist/chunks/{integration-jdfk1cmv.js → image-g5sxpg0e.js} +25 -25
- package/dist/chunks/image-gbhxq8h0.js +26 -0
- package/dist/chunks/{integration-6285fq4d.js → image-gq3cesnx.js} +8 -8
- package/dist/chunks/{integration-pa7nwqm2.js → image-gtns7z1w.js} +1 -1
- package/dist/chunks/{integration-8wht8kc5.js → image-gwv49t1j.js} +5 -5
- package/dist/chunks/{integration-mpg7afbk.js → image-gy2mam1y.js} +4 -4
- package/dist/chunks/{integration-099h1hwj.js → image-gympdgax.js} +6 -6
- package/dist/chunks/{integration-3myyj9jx.js → image-h83evwjx.js} +21 -21
- package/dist/chunks/{integration-gjw4pr93.js → image-hcmp2j52.js} +11 -11
- package/dist/chunks/{integration-af0k6e03.js → image-hdfrs5mg.js} +9 -9
- package/dist/chunks/{integration-f9bma1qn.js → image-hdprjw5h.js} +12 -12
- package/dist/chunks/{integration-fcvr1d3d.js → image-hh06m4mq.js} +28 -28
- package/dist/chunks/{integration-j113cymg.js → image-j113cymg.js} +1 -1
- package/dist/chunks/{integration-mzzay4f0.js → image-j62djdb6.js} +12 -12
- package/dist/chunks/{integration-q0sfsmmy.js → image-j95naedj.js} +52 -52
- package/dist/chunks/{integration-e5dqjz6v.js → image-jchrqzf6.js} +4 -4
- package/dist/chunks/{integration-6yretb28.js → image-jheynnxb.js} +11 -11
- package/dist/chunks/{integration-sp4szsb6.js → image-jhhnbm9k.js} +9 -9
- package/dist/chunks/{integration-dd3y08z3.js → image-jhj078t7.js} +18 -18
- package/dist/chunks/{integration-r7xar5ns.js → image-jj9caqwr.js} +11 -11
- package/dist/chunks/{integration-tq47yr9q.js → image-jjg5yz1h.js} +9 -9
- package/dist/chunks/{integration-kjg0r6wn.js → image-jnew0sa6.js} +10 -10
- package/dist/chunks/{integration-2k41ftbf.js → image-jxmjtapz.js} +9 -9
- package/dist/chunks/{integration-k814nvkf.js → image-k814nvkf.js} +1 -1
- package/dist/chunks/{integration-ncys0ejx.js → image-kep8e7gv.js} +47 -47
- package/dist/chunks/{integration-43sfaggh.js → image-kmw1we2g.js} +58 -58
- package/dist/chunks/{integration-mh81y02m.js → image-knsqv29b.js} +9 -9
- package/dist/chunks/{integration-gs020t2a.js → image-kr6h56mz.js} +3 -3
- package/dist/chunks/{integration-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
- package/dist/chunks/{integration-m1714858.js → image-m1714858.js} +1 -1
- package/dist/chunks/{integration-h27fzsgv.js → image-m53nxytj.js} +28 -28
- package/dist/chunks/{integration-8x2emzdm.js → image-m9a097ew.js} +21 -21
- package/dist/chunks/{integration-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-maspj1v3.js → image-maspj1v3.js} +1 -1
- package/dist/chunks/{integration-k3knae48.js → image-mb69sj47.js} +8 -8
- package/dist/chunks/{integration-ehfeyf7e.js → image-mbxehrxz.js} +6 -6
- package/dist/chunks/{integration-7ye4ae45.js → image-me7kxg3j.js} +8 -8
- package/dist/chunks/{integration-kxgkgtx4.js → image-mgcbmcs2.js} +4 -4
- package/dist/chunks/{integration-m5e9s2n3.js → image-mjvp2mh8.js} +17 -17
- package/dist/chunks/{integration-xgb9jx38.js → image-mn53dk4j.js} +6 -6
- package/dist/chunks/{integration-1cymfj1p.js → image-ms29xhn4.js} +27 -27
- package/dist/chunks/{integration-ta7szm67.js → image-mwm3htwg.js} +11 -11
- package/dist/chunks/{integration-1xcgmt4f.js → image-mz3rk0b0.js} +28 -28
- package/dist/chunks/{integration-6es4hneh.js → image-n37ne1mj.js} +12 -12
- package/dist/chunks/{integration-yyqzfxc7.js → image-nev9sh8h.js} +2 -2
- package/dist/chunks/{integration-gt45kfe9.js → image-nn9s4rnw.js} +11 -11
- package/dist/chunks/{integration-weewmp9q.js → image-nssth8b2.js} +25 -25
- package/dist/chunks/{integration-bh1et42v.js → image-nszthedh.js} +3 -3
- package/dist/chunks/{integration-q0x40dkk.js → image-nv9yd4aq.js} +9 -9
- package/dist/chunks/{integration-1txcpx25.js → image-nw37va1b.js} +30 -30
- package/dist/chunks/{integration-z8ym8esj.js → image-ny9zvw5p.js} +15 -15
- package/dist/chunks/{integration-p015t6z3.js → image-p015t6z3.js} +2 -2
- package/dist/chunks/{integration-txmkmbh1.js → image-pa402c6d.js} +11 -11
- package/dist/chunks/{integration-pacbbjc0.js → image-pacbbjc0.js} +2 -2
- package/dist/chunks/{integration-bvafcta0.js → image-pdbd51ba.js} +4 -4
- package/dist/chunks/{integration-5qee7q8k.js → image-pdvd7m1f.js} +20 -20
- package/dist/chunks/{integration-9r1sq0hf.js → image-pg44jm9h.js} +51 -51
- package/dist/chunks/{integration-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{integration-kyjtz1sy.js → image-prd1yy6a.js} +1 -1
- package/dist/chunks/{integration-pzh119na.js → image-prfjjx5x.js} +18 -18
- package/dist/chunks/{integration-414jxfdf.js → image-q228ra72.js} +23 -23
- package/dist/chunks/{integration-bdx4kxdv.js → image-q5cww84q.js} +21 -21
- package/dist/chunks/{integration-t63ar4cc.js → image-qb6v4vc1.js} +31 -31
- package/dist/chunks/{integration-9cdp65mn.js → image-qdk12pb8.js} +14 -14
- package/dist/chunks/{integration-wb5aj4gb.js → image-qdq5fnth.js} +32 -32
- package/dist/chunks/{integration-qjgzc4b4.js → image-qjgzc4b4.js} +1 -1
- package/dist/chunks/{integration-1smgd7ca.js → image-qnq98bxd.js} +7 -7
- package/dist/chunks/{integration-kv3ttt63.js → image-qpkxdm9j.js} +37 -37
- package/dist/chunks/{integration-y8bhjcew.js → image-qt5zzp9n.js} +21 -21
- package/dist/chunks/{integration-5bffra33.js → image-qv58hjd6.js} +3 -3
- package/dist/chunks/{integration-6gyjkw7v.js → image-qvhf4eb3.js} +19 -19
- package/dist/chunks/{integration-jr035f3y.js → image-qx116f43.js} +14 -14
- package/dist/chunks/{integration-r0yr0wbs.js → image-r0yr0wbs.js} +1 -1
- package/dist/chunks/{integration-m2xmg036.js → image-r2bs0s4v.js} +26 -26
- package/dist/chunks/{integration-1qx3pmcb.js → image-r2xd4ew5.js} +6 -6
- package/dist/chunks/{integration-w2eysc6j.js → image-r41sfy63.js} +6 -6
- package/dist/chunks/{integration-r542h3bh.js → image-r542h3bh.js} +1 -1
- package/dist/chunks/{integration-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
- package/dist/chunks/{integration-rjnacbrz.js → image-rjnacbrz.js} +2 -2
- package/dist/chunks/{integration-dggevncg.js → image-rq7797r7.js} +39 -39
- package/dist/chunks/{integration-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
- package/dist/chunks/{integration-w22292kr.js → image-rxyj7snx.js} +45 -45
- package/dist/chunks/{integration-hd1zzqtm.js → image-s1zj6bzn.js} +10 -10
- package/dist/chunks/{integration-dwwyec8z.js → image-s2pfznc4.js} +6 -6
- package/dist/chunks/{integration-g8dxatgd.js → image-s4x4f4r4.js} +14 -14
- package/dist/chunks/{integration-btjvwe70.js → image-s5psx021.js} +16 -16
- package/dist/chunks/{integration-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
- package/dist/chunks/{integration-k02enjmv.js → image-seg26xp6.js} +3 -3
- package/dist/chunks/{integration-sqjzf8x2.js → image-sqjzf8x2.js} +1 -1
- package/dist/chunks/{integration-2m9ncb4x.js → image-stk41r0w.js} +2 -2
- package/dist/chunks/{integration-6d6xnsqa.js → image-sv2aw4yq.js} +5 -5
- package/dist/chunks/{integration-8wc2fpae.js → image-szcgc7h4.js} +5 -5
- package/dist/chunks/{integration-jry8eft3.js → image-t6s00cw5.js} +28 -28
- package/dist/chunks/{integration-tczq8hjw.js → image-tczq8hjw.js} +1 -1
- package/dist/chunks/{integration-jjpbn9y3.js → image-tm2402v8.js} +17 -17
- package/dist/chunks/{integration-e2p6x81g.js → image-trdpwh3n.js} +25 -25
- package/dist/chunks/{integration-my4zabxr.js → image-ts7mkfs9.js} +3 -3
- package/dist/chunks/{integration-twv2r8f4.js → image-twv2r8f4.js} +2 -2
- package/dist/chunks/{integration-qmxyfk6f.js → image-v1c3zz2b.js} +6 -6
- package/dist/chunks/{integration-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
- package/dist/chunks/{integration-c5vw9ajk.js → image-vcjzr598.js} +35 -35
- package/dist/chunks/{integration-vd3b3yk9.js → image-vd3b3yk9.js} +1 -1
- package/dist/chunks/{integration-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-dr0fct71.js → image-vfm5f3jw.js} +19 -19
- package/dist/chunks/{integration-e5gw6wwr.js → image-vm0wcjea.js} +10 -10
- package/dist/chunks/{integration-vmfhgzt5.js → image-vmfhgzt5.js} +1 -1
- package/dist/chunks/{integration-mw8s5zmh.js → image-vprwmse2.js} +22 -22
- package/dist/chunks/{integration-z7qgckdk.js → image-vy169t87.js} +48 -48
- package/dist/chunks/{integration-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-76cb1hcw.js → image-w8qtt4th.js} +4 -4
- package/dist/chunks/{integration-wakvkjy4.js → image-wakvkjy4.js} +1 -1
- package/dist/chunks/{integration-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{integration-kj42jrrq.js → image-wdc9bbpj.js} +32 -32
- package/dist/chunks/{integration-8b714bza.js → image-we1bjw9z.js} +8 -8
- package/dist/chunks/{integration-8zgwz0zm.js → image-wkazdzfr.js} +11 -11
- package/dist/chunks/{integration-mmx1mfjr.js → image-wqscedq8.js} +9 -9
- package/dist/chunks/{integration-4wvhc9k4.js → image-wrjr8pqm.js} +25 -25
- package/dist/chunks/{integration-mdp36yda.js → image-wyc60a8y.js} +3 -3
- package/dist/chunks/{integration-x38zy5q9.js → image-x20p7pmj.js} +10 -10
- package/dist/chunks/{integration-7d9wahhq.js → image-x22ax0pw.js} +20 -20
- package/dist/chunks/{integration-2wvpxzhr.js → image-x77sr07r.js} +7 -7
- package/dist/chunks/{integration-xd9cc171.js → image-xd9cc171.js} +1 -1
- package/dist/chunks/{integration-nt2e7ypv.js → image-xft7rm5f.js} +9 -9
- package/dist/chunks/{integration-54emna5z.js → image-xjd998z8.js} +21 -21
- package/dist/chunks/{integration-4pw98qd4.js → image-xsvq7cjt.js} +4 -4
- package/dist/chunks/{integration-ek9rkj5r.js → image-xt2t3akc.js} +187 -187
- package/dist/chunks/{integration-8aqd9tw0.js → image-xxd5pr01.js} +41 -41
- package/dist/chunks/image-y6d7k03n.js +261 -0
- package/dist/chunks/{integration-nsew6na4.js → image-y82bb1at.js} +7 -7
- package/dist/chunks/{integration-yb20nhc3.js → image-yb20nhc3.js} +1 -1
- package/dist/chunks/{integration-1bs2cpw9.js → image-yd49en6q.js} +27 -27
- package/dist/chunks/{integration-gjatpjy7.js → image-ydwgre56.js} +24 -24
- package/dist/chunks/{integration-pp110xbz.js → image-ye8ddrkf.js} +6 -6
- package/dist/chunks/{integration-w3ewejsb.js → image-ymr836y3.js} +17 -17
- package/dist/chunks/{integration-tep6g6t6.js → image-yx7jxc79.js} +2 -2
- package/dist/chunks/{integration-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-z38nccrw.js → image-z38nccrw.js} +1 -1
- package/dist/chunks/{integration-n6y7mxjs.js → image-z418xn19.js} +14 -14
- package/dist/chunks/{integration-3zmhjc9p.js → image-z7ksd8kv.js} +28 -28
- package/dist/chunks/{integration-s4vbq7v2.js → image-zcs1bfp9.js} +22 -22
- package/dist/chunks/{integration-rkpdfm1f.js → image-zdpw5xas.js} +31 -31
- package/dist/chunks/{integration-z9kr5gn7.js → image-ze5bwnkk.js} +9 -9
- package/dist/chunks/{integration-j4a3jt28.js → image-zg4bxvx0.js} +15 -15
- package/dist/chunks/{integration-3k0zbkzd.js → image-zjcmeswb.js} +24 -24
- package/dist/chunks/{integration-zkg84ctx.js → image-zkg84ctx.js} +1 -1
- 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 +87 -87
- package/dist/config/discovery.js +89 -89
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +70 -70
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- 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 +78 -78
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +109 -109
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +96 -96
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +161 -161
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +141 -141
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +96 -96
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +105 -105
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +107 -107
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +96 -96
- 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 +94 -94
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +226 -226
- package/dist/session/execution.js +131 -131
- package/dist/session/generate.js +167 -167
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +99 -99
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- 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 +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +129 -129
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +165 -165
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +96 -96
- 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 +138 -138
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +127 -127
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +116 -116
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +103 -103
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +91 -91
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +97 -97
- 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 +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +90 -90
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +101 -101
- package/package.json +8 -8
- package/dist/chunks/integration-a4baghsc.js +0 -26
- package/dist/chunks/integration-a610t88q.js +0 -18
- package/dist/chunks/integration-kpsjcb79.js +0 -517
- package/dist/chunks/integration-twhys2c4.js +0 -261
- /package/dist/chunks/{integration-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-5fjb7ams.js → image-5fjb7ams.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a058387c.js → image-a058387c.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cqv5kn06.js → image-cqv5kn06.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jwr30sdr.js → image-jwr30sdr.js} +0 -0
- /package/dist/chunks/{integration-jze0r7bz.js → image-jze0r7bz.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-pkyv6v7h.js → image-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wjj7prxr.js → image-wjj7prxr.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./image-9m4m3tqa.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID8,
|
|
19
|
+
Info: () => Info18,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service60,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node63
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
29
|
+
var ID8 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID8.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info18 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service60 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service85;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info18.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service60.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID8.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
101
|
}));
|
|
102
|
-
var
|
|
102
|
+
var node63 = makeLocationNode({ service: Service60, layer, deps: [node89] });
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { ID8, Name3, defaultID2, Color2, Info18, Service60, node63, exports_agent4, Event13 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./image-0gc146vq.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./image-ymr836y3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service83;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service86,
|
|
6
|
+
node90
|
|
7
|
+
} from "./image-j62djdb6.js";
|
|
8
8
|
import {
|
|
9
9
|
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-xd9cc171.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node80
|
|
17
|
+
} from "./image-afasrztg.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service76,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node79,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service76 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service86;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service77;
|
|
110
|
+
return Service76.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node79 = makeGlobalNode({
|
|
173
|
+
service: Service76,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node90, Global.node, node80]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service76, isError2, validateBranch2, node79, exports_repository_cache };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service50
|
|
4
|
+
} from "./image-3zqzrtkk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin28,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin43 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin28, exports_warming };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-q228ra72.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info20
|
|
11
|
+
} from "./image-0gc146vq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID10.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,10 +118,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info20.make({
|
|
122
|
+
...Info20.default(ID12.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
124
|
+
modelID: ID10.make(remote.id),
|
|
125
125
|
providerID: ID12.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-pa402c6d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./image-9m4m3tqa.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./image-0r1vx8v5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-b5fch5tq.js";
|
|
16
16
|
import {
|
|
17
17
|
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-q228ra72.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID10,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info20
|
|
24
|
+
} from "./image-0gc146vq.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./image-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./image-7vp7j2yf.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
46
|
var providerID = ID12.openai;
|
|
47
|
-
var integrationID =
|
|
47
|
+
var integrationID = ID13.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service85;
|
|
183
|
+
const credentials = yield* Service74;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID12.openai, ID10.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin29
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin29 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin50 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin29, exports_mcp_codemode_defaults };
|