@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,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-seg26xp6.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
|
+
Info: () => Info17,
|
|
18
|
+
NotFoundError: () => NotFoundError9,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service59,
|
|
21
|
+
node: () => node62
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID7
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID7,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service59 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service87).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID7.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service59.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node62 = makeGlobalNode({ service: Service59, layer, deps: [node91] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID7, Info17, NotFoundError9, ConflictError2, Service59, node62, exports_saved };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-87r11qxp.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-gtns7z1w.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-seg26xp6.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service85,
|
|
8
|
+
node89
|
|
9
|
+
} from "./image-9m4m3tqa.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-jnew0sa6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service58,
|
|
21
|
+
node61
|
|
22
|
+
} from "./image-68zmakm4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service19,
|
|
25
|
+
node22
|
|
26
|
+
} from "./image-bjzxnqba.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./image-r542h3bh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -73,10 +73,10 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
75
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
|
-
const bus = yield*
|
|
76
|
+
const bus = yield* Service85;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service19;
|
|
79
|
+
const store = yield* Service58;
|
|
80
80
|
const db = (yield* Service87).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -165,7 +165,7 @@ Recent conversation:
|
|
|
165
165
|
var node3 = makeLocationNode({
|
|
166
166
|
service: Service2,
|
|
167
167
|
layer: layer3,
|
|
168
|
-
deps: [
|
|
168
|
+
deps: [node89, llmClient2, node22, node61, node91]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
171
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service81,
|
|
8
|
+
node84
|
|
9
|
+
} from "./image-ydwgre56.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service80,
|
|
24
|
+
node: () => node83
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service80 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service81;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service80.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node83 = makeLocationNode({ service: Service80, layer, deps: [node84, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service80, node83, exports_ripgrep };
|
|
@@ -1,33 +1,33 @@
|
|
|
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/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
16
|
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info15,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service53,
|
|
21
|
+
layer: () => layer23,
|
|
22
|
+
node: () => node55
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info15 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service53 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer23 = Layer.effect(Service53, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info15.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service53.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node55 = makeLocationNode({
|
|
75
|
+
service: Service53,
|
|
76
|
+
layer: layer23,
|
|
77
|
+
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info15, NotFoundError6, ExecutionError2, Service53, layer23, node55, exports_command5, Event10 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-asvpa677.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID4.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-seg26xp6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./image-9m4m3tqa.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service71,
|
|
11
|
+
node74
|
|
12
|
+
} from "./image-8anjt5n3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node50
|
|
16
|
+
} from "./image-s2pfznc4.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./image-c9t2ty9q.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service46
|
|
26
|
+
} from "./image-e45fk36t.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service58,
|
|
29
|
+
node61
|
|
30
|
+
} from "./image-68zmakm4.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-etdykhby.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./image-326fkxd2.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./image-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service45,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node48,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service45 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer19 = Layer.effect(Service45, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service58;
|
|
64
|
+
const instances = yield* Service48;
|
|
65
|
+
const bus = yield* Service85;
|
|
66
|
+
const jobs = yield* Service71;
|
|
67
67
|
const db = (yield* Service87).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node48 = makeGlobalNode({
|
|
127
|
+
service: Service45,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node61, node50, node89, node91, node74]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service45, terminal2, layer19, node48, noopLayer2, exports_execution };
|