@opencode/core 0.0.0-dev-1232 → 0.0.0-dev-1235
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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +264 -264
- package/dist/bus.js +80 -80
- package/dist/chunks/{websearch-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{websearch-4dr6mwpk.js → state-05pxkjce.js} +6 -6
- package/dist/chunks/{websearch-ek8dn5z5.js → state-08v7z8bj.js} +4 -4
- package/dist/chunks/{websearch-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
- package/dist/chunks/{websearch-hvyzqyx3.js → state-0te9php1.js} +6 -6
- package/dist/chunks/{websearch-111h17f7.js → state-0zd5ma7y.js} +15 -15
- package/dist/chunks/{websearch-k9y503kf.js → state-12h42gc5.js} +4 -4
- package/dist/chunks/{websearch-6fryj6gf.js → state-12kdk8b4.js} +13 -13
- package/dist/chunks/{websearch-tqj6km7g.js → state-13qgbh2h.js} +17 -17
- package/dist/chunks/{websearch-sgv09azg.js → state-146yjxz1.js} +7 -7
- package/dist/chunks/{websearch-g3hy2dcf.js → state-157fyfz6.js} +29 -29
- package/dist/chunks/{websearch-f053wwz5.js → state-17b8a7h3.js} +11 -11
- package/dist/chunks/{websearch-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{websearch-1aryjtsy.js → state-1aryjtsy.js} +1 -1
- package/dist/chunks/{websearch-4kf18ra5.js → state-1crda53g.js} +15 -15
- package/dist/chunks/{websearch-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{websearch-6b0q06ze.js → state-1gdzt2xj.js} +1 -1
- package/dist/chunks/{websearch-dvf4jsme.js → state-1ky2091v.js} +11 -11
- package/dist/chunks/{websearch-m6wjxm24.js → state-1kzwae0a.js} +9 -9
- package/dist/chunks/{websearch-bqfa9ah4.js → state-1qbjy8pk.js} +6 -6
- package/dist/chunks/{websearch-r1jdstg5.js → state-1v2g13eq.js} +7 -7
- package/dist/chunks/{websearch-ack7v4j2.js → state-1v50j346.js} +7 -7
- package/dist/chunks/{websearch-ycyedq5n.js → state-1vj9z2t7.js} +27 -27
- package/dist/chunks/{websearch-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{websearch-v5z2g464.js → state-1xc4xt0c.js} +12 -12
- package/dist/chunks/{websearch-hmxm8xzy.js → state-1xww10mm.js} +18 -18
- package/dist/chunks/{websearch-p7vhpwh8.js → state-1yq9hg58.js} +5 -5
- package/dist/chunks/{websearch-xz5n7eyq.js → state-21573k7e.js} +8 -8
- package/dist/chunks/{websearch-k0vfps20.js → state-29b1w24h.js} +36 -36
- package/dist/chunks/{websearch-0w7xtwyb.js → state-2ajmtsj5.js} +21 -21
- package/dist/chunks/{websearch-fe9xvc9f.js → state-2dc9xx1n.js} +5 -5
- package/dist/chunks/{websearch-2fc7eemy.js → state-2fc7eemy.js} +1 -1
- package/dist/chunks/{websearch-6bwgs6bg.js → state-2h7vmg0a.js} +18 -18
- package/dist/chunks/{websearch-z5ref48c.js → state-2jjcv7wn.js} +6 -6
- package/dist/chunks/{websearch-6dc0m251.js → state-2n6s2h8c.js} +28 -28
- package/dist/chunks/{websearch-2p60zmnr.js → state-2p60zmnr.js} +2 -2
- package/dist/chunks/{websearch-2prt43t7.js → state-2prt43t7.js} +1 -1
- package/dist/chunks/{websearch-ksab9ypf.js → state-2s8atfp2.js} +17 -17
- package/dist/chunks/{websearch-zt016tsp.js → state-2skpza5b.js} +42 -42
- package/dist/chunks/{websearch-j5ep1zh7.js → state-32cp16zq.js} +13 -13
- package/dist/chunks/{websearch-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-zax1vtk7.js → state-3hrr5cv7.js} +11 -11
- package/dist/chunks/{websearch-8n61xayc.js → state-3nmd71g8.js} +30 -30
- package/dist/chunks/{websearch-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{websearch-j7wra6j4.js → state-3p591abm.js} +18 -18
- package/dist/chunks/{websearch-7zs4mqwf.js → state-3qgwywyc.js} +4 -4
- package/dist/chunks/{websearch-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{websearch-w2eysc6j.js → state-40za9wsf.js} +9 -9
- package/dist/chunks/{websearch-rcs88kmv.js → state-41n8xc56.js} +7 -7
- package/dist/chunks/{websearch-44pmzq9c.js → state-44pmzq9c.js} +2 -2
- package/dist/chunks/{websearch-m4jcjr5j.js → state-48yfz3tb.js} +28 -28
- package/dist/chunks/{websearch-4dfqsw0d.js → state-4dfqsw0d.js} +1 -1
- package/dist/chunks/{websearch-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{websearch-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{websearch-7g1pjgvk.js → state-4g2y45a7.js} +19 -19
- package/dist/chunks/{websearch-wjpzrd7f.js → state-4jgtr414.js} +22 -22
- package/dist/chunks/{websearch-gm1hhs2y.js → state-4mdat9m4.js} +37 -37
- package/dist/chunks/{websearch-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
- package/dist/chunks/{websearch-kxf9aff9.js → state-4q2r4pwc.js} +4 -4
- package/dist/chunks/{websearch-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{websearch-31cv3dh5.js → state-4zvs82v7.js} +42 -42
- package/dist/chunks/{websearch-wtbpwwbg.js → state-56sz83fz.js} +14 -14
- package/dist/chunks/{websearch-rxx2wv69.js → state-5c1tbmp4.js} +20 -20
- package/dist/chunks/{websearch-a5yzfchs.js → state-5jandp8q.js} +2 -2
- package/dist/chunks/{websearch-t554mfa0.js → state-5kht1aj9.js} +4 -4
- package/dist/chunks/{websearch-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{websearch-e5pz0af5.js → state-5r6v6fc0.js} +18 -18
- package/dist/chunks/{websearch-h1qb5sxh.js → state-5vx230qf.js} +17 -17
- package/dist/chunks/{websearch-q9e3pbwy.js → state-610g93rr.js} +36 -36
- package/dist/chunks/{websearch-pc1capzg.js → state-61mmvpeq.js} +8 -8
- package/dist/chunks/{websearch-m3csz3sz.js → state-63mgvd2p.js} +36 -36
- package/dist/chunks/{websearch-r0xyg4b4.js → state-65jsfrh3.js} +9 -9
- package/dist/chunks/{websearch-qh5g3qaw.js → state-6h8vcvjm.js} +9 -9
- package/dist/chunks/{websearch-6y2b864j.js → state-6y2b864j.js} +1 -1
- package/dist/chunks/{websearch-jtpfd627.js → state-6yg7gkh7.js} +22 -22
- package/dist/chunks/{websearch-zrzawv1e.js → state-73txa7jk.js} +11 -11
- package/dist/chunks/{websearch-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-n77ftxdz.js → state-7cqb7awd.js} +17 -17
- package/dist/chunks/{websearch-jjq4xpy2.js → state-7fp7qfak.js} +37 -37
- package/dist/chunks/{websearch-qscjc3j2.js → state-7tnzr79b.js} +19 -19
- package/dist/chunks/{websearch-v5hpj9dd.js → state-7tpyp9vw.js} +8 -8
- package/dist/chunks/{websearch-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{websearch-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{websearch-r60cjxrr.js → state-7y60gvjh.js} +21 -21
- package/dist/chunks/{websearch-hc84yb37.js → state-7yf4mrpk.js} +18 -18
- package/dist/chunks/{websearch-775hqbnd.js → state-80mg3ag8.js} +3 -3
- package/dist/chunks/{websearch-80pdk984.js → state-80pdk984.js} +1 -1
- package/dist/chunks/{websearch-qjv9qtzh.js → state-822e8phb.js} +58 -58
- package/dist/chunks/{websearch-85jq8dht.js → state-85jq8dht.js} +1 -1
- package/dist/chunks/{websearch-5rfr5x7v.js → state-896wxer7.js} +20 -20
- package/dist/chunks/{websearch-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{websearch-prhdn06e.js → state-8cv530b8.js} +47 -47
- package/dist/chunks/{websearch-sfz147nf.js → state-8d63t3d3.js} +17 -17
- package/dist/chunks/{websearch-pk03001v.js → state-8e74rt2q.js} +63 -63
- package/dist/chunks/{websearch-yv5nt3d0.js → state-8f7gx5vx.js} +8 -8
- package/dist/chunks/{websearch-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
- package/dist/chunks/{websearch-w7j3r3wx.js → state-8n09hdvs.js} +8 -8
- package/dist/chunks/state-8phh5qdk.js +26 -0
- package/dist/chunks/{websearch-62pngrm1.js → state-8s75abyt.js} +18 -18
- package/dist/chunks/{websearch-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
- package/dist/chunks/{websearch-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{websearch-8zv0xmg5.js → state-8zv0xmg5.js} +1 -1
- package/dist/chunks/{websearch-z080rjh6.js → state-90ct6wq4.js} +4 -4
- package/dist/chunks/{websearch-c487yq9v.js → state-923z2668.js} +21 -21
- package/dist/chunks/{websearch-mc7bbwxb.js → state-92fwtejg.js} +23 -23
- package/dist/chunks/{websearch-8hfctyyf.js → state-93xmyh8q.js} +7 -7
- package/dist/chunks/{websearch-c9ad1bzd.js → state-96za3h7c.js} +20 -20
- package/dist/chunks/{websearch-3wb8385c.js → state-9cvfxry1.js} +17 -17
- package/dist/chunks/{websearch-a2x6rrz6.js → state-9e4xpj2z.js} +9 -9
- package/dist/chunks/{websearch-e6h0js2y.js → state-9fgy5dtv.js} +8 -8
- package/dist/chunks/{websearch-ak98sfmr.js → state-9hpwr794.js} +24 -24
- package/dist/chunks/{websearch-1xsrn1jb.js → state-9j57p5qp.js} +7 -7
- package/dist/chunks/{websearch-rwcc01tt.js → state-9rqhy0gk.js} +7 -7
- package/dist/chunks/{websearch-xz07m27x.js → state-9sk33afj.js} +6 -6
- package/dist/chunks/{websearch-0pdjetdx.js → state-a0d0vn03.js} +49 -49
- package/dist/chunks/{websearch-68cs06h1.js → state-a0fq0pbv.js} +9 -9
- package/dist/chunks/{websearch-92gpsfj7.js → state-a1nxhhb0.js} +16 -16
- package/dist/chunks/{websearch-g84cq3an.js → state-a6mv2m2w.js} +6 -6
- package/dist/chunks/{websearch-9dzeqje8.js → state-a7dsdcje.js} +33 -33
- package/dist/chunks/{websearch-19ah3epb.js → state-a86g2bt8.js} +5 -5
- package/dist/chunks/{websearch-52jk4hxa.js → state-abby1hp7.js} +28 -28
- package/dist/chunks/{websearch-tmgffd3y.js → state-ahghdt1q.js} +24 -24
- package/dist/chunks/{websearch-ybb6kkgg.js → state-aq73hw13.js} +13 -13
- package/dist/chunks/{websearch-nnpademv.js → state-arx8f56v.js} +377 -377
- package/dist/chunks/{websearch-c749c0he.js → state-as7nmnb0.js} +19 -19
- package/dist/chunks/{websearch-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{websearch-gyap7zjk.js → state-az7m660a.js} +9 -9
- package/dist/chunks/{websearch-vvkbhmvb.js → state-azh1rc5n.js} +16 -16
- package/dist/chunks/{websearch-xvn8mnch.js → state-azqdag7d.js} +4 -4
- package/dist/chunks/{websearch-n76qc2vh.js → state-b18kgc61.js} +21 -21
- package/dist/chunks/{websearch-b26ddj6h.js → state-b26ddj6h.js} +4 -4
- package/dist/chunks/{websearch-7qrm8gej.js → state-b7pq7ra0.js} +16 -16
- package/dist/chunks/{websearch-cr4rfj9z.js → state-bhfd478d.js} +4 -4
- package/dist/chunks/{websearch-50n315wk.js → state-bmzkfxac.js} +12 -12
- package/dist/chunks/{websearch-pd6s2s06.js → state-bqzea05b.js} +2 -2
- package/dist/chunks/{websearch-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{websearch-cj0fk2d6.js → state-btz4vdf2.js} +9 -9
- package/dist/chunks/{websearch-bgrjrzfv.js → state-bwp70zy2.js} +3 -3
- package/dist/chunks/{websearch-b4yhhcr7.js → state-bx96q59d.js} +25 -25
- package/dist/chunks/{websearch-m4xd74np.js → state-bz3qss21.js} +23 -23
- package/dist/chunks/{websearch-kn8m7vt1.js → state-c1m4q5e0.js} +8 -8
- package/dist/chunks/{websearch-9drxwj4k.js → state-c5zvymhv.js} +4 -4
- package/dist/chunks/{websearch-p0tsr9h6.js → state-c6x7d2ts.js} +4 -4
- package/dist/chunks/{websearch-exs0g044.js → state-c8psxp46.js} +20 -20
- package/dist/chunks/{websearch-zeynm7rf.js → state-ce1m7vx5.js} +59 -59
- package/dist/chunks/{websearch-p9jvgf3w.js → state-cg3fcpn4.js} +6 -6
- package/dist/chunks/{websearch-8ctrpnmd.js → state-ckn0kvtp.js} +6 -6
- package/dist/chunks/{websearch-dgwmp8xm.js → state-crx0bayg.js} +26 -26
- package/dist/chunks/{websearch-6pkpmb50.js → state-ctyzbht0.js} +7 -7
- package/dist/chunks/{websearch-wwzfkeyw.js → state-cvtq930h.js} +46 -46
- package/dist/chunks/{websearch-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{websearch-gfa7g0y5.js → state-d29c5j98.js} +8 -8
- package/dist/chunks/{websearch-7ktrmhzy.js → state-d2h8y0r7.js} +5 -5
- package/dist/chunks/{websearch-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{websearch-2pz1r8n6.js → state-d5d573qc.js} +10 -10
- package/dist/chunks/{websearch-wsj41bgh.js → state-d860fp5q.js} +28 -28
- package/dist/chunks/{websearch-tk3kseve.js → state-ddzwf2hk.js} +25 -25
- package/dist/chunks/{websearch-jpzjqzp0.js → state-dfs3ke65.js} +11 -11
- package/dist/chunks/{websearch-b1yhgcqc.js → state-dr2ev67s.js} +10 -10
- package/dist/chunks/{websearch-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{websearch-v8bjwhbx.js → state-dvnqv6yn.js} +4 -4
- package/dist/chunks/{websearch-zw6d6ftc.js → state-dypb56j1.js} +4 -4
- package/dist/chunks/{websearch-qqhzgavz.js → state-e4tacae6.js} +36 -36
- package/dist/chunks/{websearch-m6c1j8q4.js → state-earqv9bj.js} +27 -27
- package/dist/chunks/{websearch-jtb98fr2.js → state-eatz8zw3.js} +4 -4
- package/dist/chunks/{websearch-gjn56abv.js → state-ej37q9q9.js} +40 -40
- package/dist/chunks/{websearch-5rqmnkdw.js → state-em6gyk8n.js} +7 -7
- package/dist/chunks/{websearch-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{websearch-vkqdv99s.js → state-espzy6sy.js} +8 -8
- package/dist/chunks/{websearch-r7xar5ns.js → state-etrnj9s7.js} +8 -8
- package/dist/chunks/{websearch-3btdz7n5.js → state-ev2hqs01.js} +20 -20
- package/dist/chunks/{websearch-4a7gy6vj.js → state-ez4sqtdc.js} +3 -3
- package/dist/chunks/{websearch-txn66zxb.js → state-f2wdtck0.js} +21 -21
- package/dist/chunks/{websearch-nkaf1g71.js → state-fccvjkbp.js} +9 -9
- package/dist/chunks/{websearch-27nrmy7e.js → state-fcrts5pp.js} +5 -5
- package/dist/chunks/{websearch-0w4e5r6r.js → state-fd4d6nj8.js} +12 -12
- package/dist/chunks/{websearch-mfdmk53f.js → state-fdtndam9.js} +5 -5
- package/dist/chunks/{websearch-8gx8ekdc.js → state-fe0p0k7n.js} +10 -10
- package/dist/chunks/{websearch-fg9p65nk.js → state-fg9p65nk.js} +2 -2
- package/dist/chunks/{websearch-5ssya6mk.js → state-fkndk5z2.js} +3 -3
- package/dist/chunks/{websearch-yznhbnbr.js → state-fpw8a7zs.js} +17 -17
- package/dist/chunks/{websearch-n5v0kyy3.js → state-fr2qyp97.js} +18 -18
- package/dist/chunks/{websearch-pc8fx9ss.js → state-fwg5afng.js} +10 -10
- package/dist/chunks/{websearch-srs83qne.js → state-g6ahpmy1.js} +8 -8
- package/dist/chunks/{websearch-cbg4n1yx.js → state-g9gdr7fk.js} +6 -6
- package/dist/chunks/{websearch-tnh26vfm.js → state-g9ndtp1p.js} +4 -4
- package/dist/chunks/{websearch-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{websearch-rtcz4avq.js → state-gcahcqmt.js} +48 -48
- package/dist/chunks/{websearch-1y8vsgj7.js → state-gegd7n3j.js} +1 -1
- package/dist/chunks/{websearch-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
- package/dist/chunks/{websearch-xwrjpmbm.js → state-gjv7na4e.js} +10 -10
- package/dist/chunks/{websearch-7k5rntwc.js → state-gp44nzrb.js} +5 -5
- package/dist/chunks/{websearch-9swh96gm.js → state-grdxa8jy.js} +30 -30
- package/dist/chunks/{websearch-tg7s7b5t.js → state-gxs71cxp.js} +4 -4
- package/dist/chunks/{websearch-05ts0zm4.js → state-gzqyvavm.js} +14 -14
- package/dist/chunks/{websearch-ec2eb2t4.js → state-h3zmftah.js} +21 -21
- package/dist/chunks/{websearch-wyd7cc2k.js → state-h5nac3dr.js} +2 -2
- package/dist/chunks/{websearch-30gx1hm0.js → state-hadx4k33.js} +20 -20
- package/dist/chunks/state-henm3czy.js +35 -0
- package/dist/chunks/{websearch-87bgn76s.js → state-hgy5dwbr.js} +8 -8
- package/dist/chunks/{websearch-hgzwgvze.js → state-hgzwgvze.js} +2 -2
- package/dist/chunks/{websearch-703j064m.js → state-hj0xet7m.js} +5 -5
- package/dist/chunks/{websearch-x8ftxnb3.js → state-hvcjhvbh.js} +11 -11
- package/dist/chunks/{websearch-n5ketnvq.js → state-j9z46kd8.js} +14 -14
- package/dist/chunks/{websearch-rwqpm0rm.js → state-jaxmtxzk.js} +15 -15
- package/dist/chunks/{websearch-sandf7bp.js → state-jbbw453h.js} +46 -46
- package/dist/chunks/{websearch-9q71b7ke.js → state-jbwnkpvz.js} +38 -38
- package/dist/chunks/{websearch-jm70asfg.js → state-jm70asfg.js} +1 -1
- package/dist/chunks/{websearch-scmk72rv.js → state-jv5ccajn.js} +5 -5
- package/dist/chunks/{websearch-zet9msex.js → state-jyy8cr9q.js} +4 -4
- package/dist/chunks/{websearch-e8r1tr1j.js → state-kb4kbwnh.js} +6 -6
- package/dist/chunks/{websearch-20pht57w.js → state-kj9n5bvh.js} +4 -4
- package/dist/chunks/{websearch-g2207km3.js → state-ksnhqdx8.js} +12 -12
- package/dist/chunks/{websearch-9w15vasr.js → state-kt2vhnk6.js} +28 -28
- package/dist/chunks/{websearch-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{websearch-ammz2n8g.js → state-kv4xpykx.js} +10 -10
- package/dist/chunks/{websearch-h3j62h8b.js → state-kw7mz92r.js} +6 -6
- package/dist/chunks/{websearch-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{websearch-5p1jg4zm.js → state-m0r9mrhn.js} +6 -6
- package/dist/chunks/{websearch-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{websearch-j184ye9f.js → state-m2kywmf4.js} +6 -6
- package/dist/chunks/{websearch-eztt1br4.js → state-m4dsmddg.js} +43 -43
- package/dist/chunks/{websearch-bxn3east.js → state-m4htaz91.js} +11 -11
- package/dist/chunks/{websearch-m90tx7mw.js → state-m90tx7mw.js} +1 -1
- package/dist/chunks/{websearch-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-0p3bfbms.js → state-maptvskn.js} +32 -32
- package/dist/chunks/{websearch-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{websearch-att9gf62.js → state-mmq84whh.js} +27 -27
- package/dist/chunks/{websearch-ngjfqne0.js → state-mrnchmxb.js} +11 -11
- package/dist/chunks/{websearch-zewar6k7.js → state-mt2tq025.js} +32 -32
- package/dist/chunks/{websearch-99cn80v0.js → state-mxj0r9mh.js} +202 -202
- package/dist/chunks/{websearch-8ch3smn0.js → state-n4dgardt.js} +11 -11
- package/dist/chunks/{websearch-pqcaztza.js → state-nbasw9vk.js} +25 -25
- package/dist/chunks/{websearch-fyz79v46.js → state-ndssgjv1.js} +14 -14
- package/dist/chunks/{websearch-bqfe3jae.js → state-nkbtark2.js} +31 -31
- package/dist/chunks/{websearch-34h1jed7.js → state-p071w3jm.js} +8 -8
- package/dist/chunks/{websearch-amjjh717.js → state-p5jwrm42.js} +7 -7
- package/dist/chunks/{websearch-f4mnjcq6.js → state-pa611nne.js} +5 -5
- package/dist/chunks/{websearch-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-72f22rb9.js → state-pt6axzm3.js} +12 -12
- package/dist/chunks/{websearch-n3m98ma3.js → state-ptx3cj57.js} +88 -88
- package/dist/chunks/{websearch-e1ck3x3y.js → state-pwzt2vz0.js} +17 -17
- package/dist/chunks/{websearch-eyfjfzn3.js → state-pxbvf64t.js} +5 -5
- package/dist/chunks/{websearch-25bwe2cf.js → state-pyc9zk8k.js} +88 -88
- package/dist/chunks/{websearch-xk52xmt0.js → state-pzw1dw73.js} +33 -33
- package/dist/chunks/{websearch-3bm2cv32.js → state-q5wz344w.js} +36 -36
- package/dist/chunks/{websearch-jmzeqyhh.js → state-q7q8y45y.js} +43 -43
- package/dist/chunks/{websearch-xya4559f.js → state-q9yy3jv5.js} +59 -59
- package/dist/chunks/{websearch-gv1xy5mb.js → state-qh660x4p.js} +21 -21
- package/dist/chunks/state-qmh7vbk2.js +18 -0
- package/dist/chunks/{websearch-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{websearch-jtf8km5w.js → state-qqrj1cck.js} +29 -29
- package/dist/chunks/{websearch-geajjhe1.js → state-qs24j9sg.js} +17 -17
- package/dist/chunks/{websearch-nepwp8hs.js → state-qv4pjm17.js} +22 -22
- package/dist/chunks/{websearch-s5qbecjz.js → state-r0kj4fvy.js} +9 -9
- package/dist/chunks/{websearch-54hr2mxp.js → state-r4gqnmyj.js} +50 -50
- package/dist/chunks/{websearch-2hc2yyeh.js → state-r7r55277.js} +8 -8
- package/dist/chunks/{websearch-nxh95b8c.js → state-r8ek82sz.js} +4 -4
- package/dist/chunks/state-r8pfs0tk.js +273 -0
- package/dist/chunks/{websearch-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{websearch-jgtvnm6h.js → state-rcrtbk2k.js} +16 -16
- package/dist/chunks/{websearch-bagwtsrw.js → state-rdagnh11.js} +18 -18
- package/dist/chunks/{websearch-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{websearch-2rjbpx9x.js → state-rgkwkrb9.js} +29 -29
- package/dist/chunks/{websearch-9zfcngb4.js → state-rj7jtxy8.js} +3 -3
- package/dist/chunks/{websearch-nas6jdvn.js → state-rx7dnwpf.js} +15 -15
- package/dist/chunks/{websearch-fd97bfyb.js → state-rxmw0rhb.js} +11 -11
- package/dist/chunks/{websearch-c2kaqwpv.js → state-ryk8esgz.js} +15 -15
- package/dist/chunks/{websearch-jm9knw9q.js → state-s2fh24gv.js} +30 -30
- package/dist/chunks/{websearch-s47rahr7.js → state-s47rahr7.js} +1 -1
- package/dist/chunks/{websearch-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{websearch-ap9h4372.js → state-sf5110by.js} +23 -23
- package/dist/chunks/{websearch-5gw39ybe.js → state-skezxa7b.js} +8 -8
- package/dist/chunks/{websearch-4dbd6080.js → state-sm5nc94v.js} +13 -13
- package/dist/chunks/{websearch-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{websearch-0b6j7hxt.js → state-sw41xehz.js} +32 -32
- package/dist/chunks/{websearch-xsm4s5z0.js → state-syk2ttnm.js} +18 -18
- package/dist/chunks/{websearch-hs8t5r0c.js → state-sznb0j4e.js} +10 -10
- package/dist/chunks/{websearch-a5654e3q.js → state-t21xr684.js} +23 -23
- package/dist/chunks/{websearch-73ff1310.js → state-t48jrnqq.js} +3 -3
- package/dist/chunks/{websearch-g6njp1j2.js → state-t4qcw7hc.js} +5 -5
- package/dist/chunks/{websearch-p6yh9b5s.js → state-t7r51tgb.js} +11 -11
- package/dist/chunks/{websearch-ny6fe3yr.js → state-tagt9nex.js} +29 -29
- package/dist/chunks/{websearch-v4bj6baw.js → state-tb2mrvc9.js} +4 -4
- package/dist/chunks/{websearch-19fbte03.js → state-tbd5caq6.js} +13 -13
- package/dist/chunks/{websearch-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
- package/dist/chunks/{websearch-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{websearch-d9xwa0r1.js → state-tekz83mq.js} +22 -22
- package/dist/chunks/{websearch-wvb55ay7.js → state-tgnr40tg.js} +20 -20
- package/dist/chunks/{websearch-n6h2jvzg.js → state-tjyp8p49.js} +6 -6
- package/dist/chunks/{websearch-1qjs7g05.js → state-tm2sh4kj.js} +4 -4
- package/dist/chunks/{websearch-tr8x705m.js → state-tr8x705m.js} +1 -1
- package/dist/chunks/{websearch-rns4ttwd.js → state-tsfrrkx5.js} +8 -8
- package/dist/chunks/{websearch-ttz31trp.js → state-ttz31trp.js} +2 -2
- package/dist/chunks/{websearch-tvtps2q9.js → state-tvtps2q9.js} +1 -1
- package/dist/chunks/{websearch-3z5d87zb.js → state-tvtwxsyy.js} +11 -11
- package/dist/chunks/{websearch-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{websearch-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{websearch-4heg6b7m.js → state-v72vfyp1.js} +21 -21
- package/dist/chunks/{websearch-0vrn5srf.js → state-v7g2mpw4.js} +18 -18
- package/dist/chunks/{websearch-skgmd69s.js → state-vba67v53.js} +32 -32
- package/dist/chunks/{websearch-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{websearch-vgx14rfq.js → state-vjz7c0d8.js} +12 -12
- package/dist/chunks/{websearch-gqh9t38q.js → state-w1xxh1rf.js} +28 -28
- package/dist/chunks/{websearch-ad0rwnjv.js → state-w28k7sqx.js} +26 -26
- package/dist/chunks/{websearch-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-1yped5qa.js → state-w687dnns.js} +4 -4
- package/dist/chunks/{websearch-jns4gqy7.js → state-w76xjer3.js} +4 -4
- package/dist/chunks/{websearch-mmx1mfjr.js → state-w79nt68w.js} +4 -4
- package/dist/chunks/{websearch-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{websearch-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-wegkxhrn.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{websearch-q4vb1cf3.js → state-wq6ywtgw.js} +16 -16
- package/dist/chunks/{websearch-nnxkq6vt.js → state-wx96rjq6.js} +8 -8
- package/dist/chunks/{websearch-8q6ypd8k.js → state-wy93gack.js} +3 -3
- package/dist/chunks/{websearch-zhrw2qnq.js → state-xerazvms.js} +28 -28
- package/dist/chunks/{websearch-y2zaqqz4.js → state-xhqgfte7.js} +5 -5
- package/dist/chunks/{websearch-cjn5cspq.js → state-xhr0vr4z.js} +21 -21
- package/dist/chunks/{websearch-xjbsd7zy.js → state-xjbsd7zy.js} +2 -2
- package/dist/chunks/{websearch-xxschbft.js → state-xjr6c8m4.js} +4 -4
- package/dist/chunks/{websearch-8qk1c1tb.js → state-xk7swg5w.js} +18 -18
- package/dist/chunks/{websearch-yts2a8qm.js → state-xksw6ev0.js} +4 -4
- package/dist/chunks/{websearch-bj8xqmxm.js → state-xngwz0vj.js} +11 -11
- package/dist/chunks/{websearch-33k0dseb.js → state-xqv8rs9y.js} +12 -12
- package/dist/chunks/{websearch-qf4rfqpr.js → state-xs8ad273.js} +39 -39
- package/dist/chunks/{websearch-sht3veet.js → state-xvj4xk0h.js} +77 -77
- package/dist/chunks/{websearch-yjk4ptbz.js → state-y4001wz8.js} +33 -33
- package/dist/chunks/{websearch-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{websearch-6ybqgsmj.js → state-yd46kdwt.js} +51 -51
- package/dist/chunks/{websearch-7prbsepz.js → state-yesq018p.js} +5 -5
- package/dist/chunks/{websearch-sqfya584.js → state-yewyrtz9.js} +15 -15
- package/dist/chunks/{websearch-zege8c98.js → state-yk50763d.js} +22 -22
- package/dist/chunks/{websearch-2mxmg86s.js → state-ykw7y9nr.js} +23 -23
- package/dist/chunks/{websearch-tfstyyry.js → state-ynphyzz5.js} +16 -16
- package/dist/chunks/{websearch-m5qxfkdv.js → state-yny230gw.js} +3 -3
- package/dist/chunks/{websearch-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{websearch-wwc8gvd4.js → state-ytf4f56c.js} +20 -20
- package/dist/chunks/{websearch-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{websearch-7m20nzay.js → state-z0n292p6.js} +9 -9
- package/dist/chunks/{websearch-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
- package/dist/chunks/{websearch-fqrjx16v.js → state-zb8b10s4.js} +16 -16
- package/dist/chunks/{websearch-dvta312y.js → state-zdtba7n3.js} +18 -18
- package/dist/chunks/{websearch-j9nxzz3g.js → state-ze75qvmd.js} +3 -3
- package/dist/chunks/{websearch-4cydt8nr.js → state-zjd996k1.js} +3 -3
- package/dist/chunks/{websearch-cwehcaxb.js → state-zp2hh6jp.js} +42 -42
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +249 -249
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +150 -150
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +162 -162
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +254 -254
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +136 -136
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +160 -160
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +426 -426
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +258 -258
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +274 -274
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +148 -148
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +172 -172
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +261 -261
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +194 -194
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +175 -175
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +206 -206
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +163 -163
- package/dist/snapshot.js +106 -106
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +173 -173
- package/dist/tool/plugin/question.js +153 -153
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +154 -154
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +173 -173
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- 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 +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +103 -103
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/websearch-0jhfpg3w.js +0 -35
- package/dist/chunks/websearch-33a0b76g.js +0 -273
- package/dist/chunks/websearch-7yv5xa0k.js +0 -18
- package/dist/chunks/websearch-xsymj42b.js +0 -26
- /package/dist/chunks/{websearch-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{websearch-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9ceax7yg.js → state-9ceax7yg.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-ade8csyh.js → state-ade8csyh.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{websearch-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{websearch-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{websearch-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{websearch-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{websearch-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x4th4bpe.js → state-x4th4bpe.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{websearch-zxpyjp51.js → state-zxpyjp51.js} +0 -0
- /package/dist/chunks/{websearch-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-eatz8zw3.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-azqdag7d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID20,
|
|
14
|
+
Service90,
|
|
15
|
+
node92,
|
|
16
|
+
Event19
|
|
17
|
+
} from "./state-48yfz3tb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service84,
|
|
20
|
+
node86
|
|
21
|
+
} from "./state-8d63t3d3.js";
|
|
22
22
|
import {
|
|
23
23
|
AISDK_PREFIX2,
|
|
24
24
|
isAISDK2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
mergeOverlay2,
|
|
28
28
|
mergeHeaders2,
|
|
29
29
|
rewrite2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-m90tx7mw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/provider.ts
|
|
36
36
|
var exports_provider5 = {};
|
|
@@ -40,13 +40,13 @@ __export(exports_provider5, {
|
|
|
40
40
|
Compaction: () => Compaction3,
|
|
41
41
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
42
42
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
43
|
-
Event: () =>
|
|
44
|
-
ID: () =>
|
|
43
|
+
Event: () => Event17,
|
|
44
|
+
ID: () => ID16,
|
|
45
45
|
Info: () => Info24,
|
|
46
46
|
LoadError: () => LoadError3,
|
|
47
47
|
Provider: () => exports_provider5,
|
|
48
48
|
Request: () => Request4,
|
|
49
|
-
Service: () =>
|
|
49
|
+
Service: () => Service83,
|
|
50
50
|
Settings: () => Settings2,
|
|
51
51
|
Transport: () => Transport2,
|
|
52
52
|
aisdk: () => aisdk2,
|
|
@@ -58,7 +58,7 @@ __export(exports_provider5, {
|
|
|
58
58
|
mergeOverlay: () => mergeOverlay2,
|
|
59
59
|
modelSettings: () => modelSettings2,
|
|
60
60
|
nativeSettings: () => nativeSettings2,
|
|
61
|
-
node: () =>
|
|
61
|
+
node: () => node85,
|
|
62
62
|
packageName: () => packageName2,
|
|
63
63
|
timeout: () => timeout2,
|
|
64
64
|
timeouts: () => timeouts2
|
|
@@ -71,8 +71,8 @@ import { HttpTimeout } from "@opencode/ai/effect";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
75
|
-
var
|
|
74
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
|
+
var ID16 = Provider.ID;
|
|
76
76
|
|
|
77
77
|
class LoadError3 extends Schema.TaggedError()("Provider.LoadError", {
|
|
78
78
|
package: Schema.String,
|
|
@@ -302,7 +302,7 @@ var Transport2 = Provider.Transport;
|
|
|
302
302
|
var Settings2 = Provider.Settings;
|
|
303
303
|
var Info24 = Provider.Info;
|
|
304
304
|
|
|
305
|
-
class
|
|
305
|
+
class Service83 extends Context.Service()("@opencode/Provider") {
|
|
306
306
|
}
|
|
307
307
|
var definitions = new WeakMap;
|
|
308
308
|
function index(providerID, models) {
|
|
@@ -315,10 +315,10 @@ function index(providerID, models) {
|
|
|
315
315
|
definitions.set(models, indexes);
|
|
316
316
|
return result;
|
|
317
317
|
}
|
|
318
|
-
var layer = Layer.effect(
|
|
318
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
319
319
|
const bus = yield* Service93;
|
|
320
|
-
const integrations = yield*
|
|
321
|
-
const location = yield*
|
|
320
|
+
const integrations = yield* Service90;
|
|
321
|
+
const location = yield* Service84;
|
|
322
322
|
const state = create4({
|
|
323
323
|
name: "provider",
|
|
324
324
|
initial: () => new Map,
|
|
@@ -412,7 +412,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
412
412
|
const available = Array.from(records.values()).filter((record) => {
|
|
413
413
|
if (record.provider.activation === "disabled")
|
|
414
414
|
return false;
|
|
415
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
415
|
+
const integration = byID.get(record.provider.integrationID ?? ID20.make(record.provider.id));
|
|
416
416
|
if (record.sourceConnection && key3(record.sourceConnection) !== key3(integration?.connections[0]))
|
|
417
417
|
return false;
|
|
418
418
|
if (record.provider.activation === "enabled")
|
|
@@ -438,8 +438,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
438
438
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
439
439
|
});
|
|
440
440
|
});
|
|
441
|
-
yield* bus.subscribe([
|
|
442
|
-
return
|
|
441
|
+
yield* bus.subscribe([Event19.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
442
|
+
return Service83.of({
|
|
443
443
|
transform: state.transform,
|
|
444
444
|
reload: state.reload,
|
|
445
445
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -448,7 +448,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
448
448
|
snapshot
|
|
449
449
|
});
|
|
450
450
|
}));
|
|
451
|
-
var
|
|
451
|
+
var node85 = makeLocationNode({ service: Service83, layer, deps: [node95, node92, node86] });
|
|
452
452
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
453
453
|
const module = yield* Effect.tryPromise({
|
|
454
454
|
try: () => {
|
|
@@ -470,4 +470,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
470
470
|
return module;
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { ID16, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service83, node85, exports_provider5, Event17 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-eatz8zw3.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service59,
|
|
17
|
+
node61
|
|
18
|
+
} from "./state-c8psxp46.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event10,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info13,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
Source: () =>
|
|
37
|
-
node: () =>
|
|
35
|
+
Service: () => Service54,
|
|
36
|
+
Source: () => Source3,
|
|
37
|
+
node: () => node56
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event10 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Source3 = Reference.Source;
|
|
47
|
+
var Info13 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service54 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service93;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service59;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info13.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info13.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service54.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node56 = makeLocationNode({
|
|
117
|
+
service: Service54,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node95,
|
|
119
|
+
deps: [Global.node, node95, node61]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info13, Service54, node56, exports_reference2, Event10 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer6,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer6, exports_unavailable };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service47,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service47 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service47, exports_runner };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission2, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info22,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule3
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info22 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule3,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info22, exports_permission2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-henm3czy.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service92
|
|
7
|
+
} from "./state-abby1hp7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID20,
|
|
10
10
|
MethodID2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service90
|
|
12
|
+
} from "./state-48yfz3tb.js";
|
|
13
13
|
import {
|
|
14
14
|
success2,
|
|
15
15
|
error2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-yb20nhc3.js";
|
|
17
17
|
import {
|
|
18
18
|
submit2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-z0wbgq7s.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID16
|
|
22
|
+
} from "./state-w1xxh1rf.js";
|
|
23
23
|
import {
|
|
24
24
|
configuredSettings2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-em6gyk8n.js";
|
|
26
26
|
import {
|
|
27
27
|
onSwitch2,
|
|
28
28
|
reloadIfChanged2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-gjv7na4e.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/snowflake-cortex.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
|
-
var providerID =
|
|
37
|
-
var integrationID =
|
|
36
|
+
var providerID = ID16.make("snowflake-cortex");
|
|
37
|
+
var integrationID = ID20.make(providerID);
|
|
38
38
|
var methodID = MethodID2.make("browser");
|
|
39
39
|
var clientID = "LOCAL_APPLICATION";
|
|
40
40
|
var accountForm = Form.Fields.make([
|
|
@@ -56,8 +56,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
56
56
|
id: "opencode.provider.snowflake.cortex",
|
|
57
57
|
effect: Effect.fn(function* (ctx) {
|
|
58
58
|
const http = yield* HttpClient.HttpClient;
|
|
59
|
-
const credentials = yield*
|
|
60
|
-
const integrations = yield*
|
|
59
|
+
const credentials = yield* Service92;
|
|
60
|
+
const integrations = yield* Service90;
|
|
61
61
|
const configured = yield* configuredSettings2(providerID);
|
|
62
62
|
const account = { value: "" };
|
|
63
63
|
const saved = Effect.gen(function* () {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./state-xqv8rs9y.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make23
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make23 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service86;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make34 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make23, exports_git2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-7rvsyqjv.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-g9gdr7fk.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
makeFiles2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-rgc9cx3e.js";
|
|
7
7
|
import {
|
|
8
8
|
Service94,
|
|
9
9
|
node96
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-r8ek82sz.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-s47rahr7.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node67
|
|
18
|
+
} from "./state-1qbjy8pk.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID10,
|
|
31
|
+
Info: () => Info14,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service64,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured8,
|
|
36
|
+
node: () => node66
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID10 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info14 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID10,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info21 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID10,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service64 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service64,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node96,
|
|
70
|
+
deps: [node96, node67]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service94).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info14({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -161,9 +161,9 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
161
161
|
yield* Scope.close(connection.scope, Exit.void);
|
|
162
162
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
163
163
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
164
|
-
return
|
|
164
|
+
return Service64.of({
|
|
165
165
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
166
|
-
const workspaceID = input.id ??
|
|
166
|
+
const workspaceID = input.id ?? ID10.create();
|
|
167
167
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
168
168
|
if (existing) {
|
|
169
169
|
if (existing.provider === input.provider)
|
|
@@ -239,6 +239,6 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
239
239
|
})
|
|
240
240
|
});
|
|
241
241
|
}));
|
|
242
|
-
var
|
|
242
|
+
var node66 = configured8();
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { ID10, Info14, NotFound2, CreateConflict2, Service64, configured8, node66, exports_workspace };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./state-w1xxh1rf.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-em6gyk8n.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-tjyp8p49.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Form } from "@opencode/schema/form";
|
|
16
|
-
var providerID =
|
|
16
|
+
var providerID = ID16.make("cloudflare-workers-ai");
|
|
17
17
|
var CloudflareWorkersAIPlugin2 = define({
|
|
18
18
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
19
19
|
effect: Effect.fn(function* (ctx) {
|