@opencode/core 0.0.0-dev-414 → 0.0.0-dev-416
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +244 -244
- package/dist/bus.js +84 -84
- package/dist/chunks/{tool-output-58pttf49.js → rpc-003yp2qb.js} +14 -14
- package/dist/chunks/{tool-output-034tev2y.js → rpc-034tev2y.js} +2 -2
- package/dist/chunks/{tool-output-47ryrbsr.js → rpc-053t38hf.js} +34 -34
- package/dist/chunks/{tool-output-91hd72e6.js → rpc-0f2rj61r.js} +13 -13
- package/dist/chunks/{tool-output-m0nv2s6g.js → rpc-0wc0170a.js} +19 -19
- package/dist/chunks/{tool-output-2nz0hz4v.js → rpc-0x4avvrg.js} +6 -6
- package/dist/chunks/rpc-0z1kk8n9.js +66 -0
- package/dist/chunks/{tool-output-2mfvt79s.js → rpc-0ztp0khy.js} +40 -40
- package/dist/chunks/{tool-output-w626vwya.js → rpc-11kznhm7.js} +16 -16
- package/dist/chunks/{tool-output-vevkpw32.js → rpc-14wknv36.js} +27 -27
- package/dist/chunks/{tool-output-7tpyp9vw.js → rpc-160yv0cs.js} +8 -8
- package/dist/chunks/{tool-output-q8pshc7p.js → rpc-16jn7cn7.js} +31 -31
- package/dist/chunks/{tool-output-gm3aap8b.js → rpc-16mfx2c5.js} +16 -16
- package/dist/chunks/{tool-output-s1fq37pt.js → rpc-17fahn3m.js} +36 -36
- package/dist/chunks/{tool-output-1aqsckx4.js → rpc-1aqsckx4.js} +1 -1
- package/dist/chunks/{tool-output-1ep2p91f.js → rpc-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-output-y5f43ss0.js → rpc-1h062x6t.js} +19 -19
- package/dist/chunks/{tool-output-sbz71ybr.js → rpc-1scgcwfj.js} +3 -3
- package/dist/chunks/{tool-output-msd2a3qm.js → rpc-1v2g13eq.js} +4 -4
- package/dist/chunks/{tool-output-1x5nxxj6.js → rpc-1vk6hrwj.js} +19 -19
- package/dist/chunks/{tool-output-z1wjfz5r.js → rpc-1w279wcd.js} +5 -5
- package/dist/chunks/{tool-output-1x2knyw4.js → rpc-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-output-1yq9hg58.js → rpc-1yq9hg58.js} +1 -1
- package/dist/chunks/{tool-output-hjnjc3ts.js → rpc-233argac.js} +8 -8
- package/dist/chunks/{tool-output-25h84942.js → rpc-25h84942.js} +1 -1
- package/dist/chunks/{tool-output-k471febm.js → rpc-26e1psex.js} +15 -15
- package/dist/chunks/{tool-output-2p60zmnr.js → rpc-2p60zmnr.js} +2 -2
- package/dist/chunks/{tool-output-hk5d44cj.js → rpc-313zmk5k.js} +18 -18
- package/dist/chunks/{tool-output-38aws4xb.js → rpc-38aws4xb.js} +1 -1
- package/dist/chunks/{tool-output-m7xh3h0x.js → rpc-3gv0spa2.js} +4 -4
- package/dist/chunks/{tool-output-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-output-4b2d4jvr.js → rpc-3mb214kb.js} +44 -44
- package/dist/chunks/{tool-output-3pr4hzmd.js → rpc-3mvx38w7.js} +46 -46
- package/dist/chunks/{tool-output-3nnrz6f6.js → rpc-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-output-b9538ehs.js → rpc-3rn9q11q.js} +11 -11
- package/dist/chunks/{tool-output-72twm2v4.js → rpc-3tanpf6c.js} +8 -8
- package/dist/chunks/{tool-output-40y6dtc2.js → rpc-40y6dtc2.js} +1 -1
- package/dist/chunks/{tool-output-w2eysc6j.js → rpc-40za9wsf.js} +9 -9
- package/dist/chunks/{tool-output-44pmzq9c.js → rpc-44pmzq9c.js} +2 -2
- package/dist/chunks/{tool-output-5mrmepdz.js → rpc-4atban0p.js} +26 -26
- package/dist/chunks/{tool-output-6s25qbx5.js → rpc-4dgy431j.js} +20 -20
- package/dist/chunks/{tool-output-4dx1dgte.js → rpc-4dx1dgte.js} +1 -1
- package/dist/chunks/{tool-output-r542h3bh.js → rpc-4f25tdd0.js} +5 -5
- package/dist/chunks/{tool-output-vsrcvdbp.js → rpc-4j1pjsa9.js} +9 -9
- package/dist/chunks/{tool-output-r2qs3xm4.js → rpc-4naj32e0.js} +5 -5
- package/dist/chunks/{tool-output-4pyp9zr9.js → rpc-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-output-4v008n1t.js → rpc-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-output-6e014dxf.js → rpc-53kbtjgk.js} +4 -4
- package/dist/chunks/{tool-output-nw5e8k36.js → rpc-57aqwfwp.js} +9 -9
- package/dist/chunks/{tool-output-kbvmeww6.js → rpc-5a5pr3ck.js} +16 -16
- package/dist/chunks/{tool-output-gvtbqs37.js → rpc-5jgqfq96.js} +24 -24
- package/dist/chunks/{tool-output-pn1g3a6b.js → rpc-5jve1gyn.js} +9 -9
- package/dist/chunks/{tool-output-5m9w47nd.js → rpc-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-output-5nnwax6m.js → rpc-5nnwax6m.js} +2 -2
- package/dist/chunks/{tool-output-jjwgamnn.js → rpc-5qwnbn94.js} +40 -40
- package/dist/chunks/{tool-output-awr8zced.js → rpc-5qzrmt86.js} +11 -11
- package/dist/chunks/{tool-output-nw6m28kg.js → rpc-5y90z918.js} +8 -8
- package/dist/chunks/{tool-output-y18044z9.js → rpc-690yahak.js} +27 -27
- package/dist/chunks/{tool-output-6wcgn2sn.js → rpc-6benpqn8.js} +11 -11
- package/dist/chunks/{tool-output-6esdw8yj.js → rpc-6esdw8yj.js} +1 -1
- package/dist/chunks/{tool-output-8x9y3wj0.js → rpc-6twykydk.js} +9 -9
- package/dist/chunks/{tool-output-23sxcper.js → rpc-6vx2fqsh.js} +52 -43
- package/dist/chunks/{tool-output-3bgf9gas.js → rpc-6xtjqz2m.js} +4 -4
- package/dist/chunks/{tool-output-0q74zvx8.js → rpc-73n38n5m.js} +5 -5
- package/dist/chunks/{tool-output-76cb1hcw.js → rpc-76cb1hcw.js} +1 -1
- package/dist/chunks/{tool-output-512c6xck.js → rpc-773xawyx.js} +30 -30
- package/dist/chunks/{tool-output-jv5ccajn.js → rpc-78p2h4ex.js} +5 -5
- package/dist/chunks/{tool-output-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-output-cvekmevm.js → rpc-7c3byvqa.js} +3 -3
- package/dist/chunks/{tool-output-9eehkm70.js → rpc-7etptj4x.js} +3 -3
- package/dist/chunks/{tool-output-rcwte2gz.js → rpc-7fsmcf5c.js} +5 -5
- package/dist/chunks/{tool-output-7kr66rt3.js → rpc-7kr66rt3.js} +1 -1
- package/dist/chunks/{tool-output-4jmbjz4b.js → rpc-7mve9j0q.js} +12 -12
- package/dist/chunks/{tool-output-7nqkf5r1.js → rpc-7nqkf5r1.js} +2 -2
- package/dist/chunks/{tool-output-89t125av.js → rpc-7pw3eeq7.js} +24 -24
- package/dist/chunks/{tool-output-86h84dgm.js → rpc-7s50p6s5.js} +12 -12
- package/dist/chunks/{tool-output-x6rj5ag8.js → rpc-7t85rym9.js} +29 -29
- package/dist/chunks/{tool-output-2dxmxezk.js → rpc-7tb32prv.js} +28 -28
- package/dist/chunks/{tool-output-zenbbnxs.js → rpc-7v32djr5.js} +4 -4
- package/dist/chunks/{tool-output-7w2ypzdf.js → rpc-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-output-p5234p6z.js → rpc-80cy8wxt.js} +17 -17
- package/dist/chunks/{tool-output-775hqbnd.js → rpc-80mg3ag8.js} +3 -3
- package/dist/chunks/{tool-output-ymrht6aq.js → rpc-81m33mvt.js} +15 -15
- package/dist/chunks/{tool-output-fffs0adq.js → rpc-836ahjv0.js} +91 -91
- package/dist/chunks/{tool-output-89287pr7.js → rpc-89287pr7.js} +1 -1
- package/dist/chunks/{tool-output-a2wbfja7.js → rpc-89rb9xh3.js} +14 -14
- package/dist/chunks/{tool-output-z7t4av84.js → rpc-8bae9qg4.js} +5 -5
- package/dist/chunks/{tool-output-mczqk924.js → rpc-8kzyxvcj.js} +16 -16
- package/dist/chunks/{tool-output-12a87htm.js → rpc-8n09hdvs.js} +8 -8
- package/dist/chunks/{tool-output-d4r7bw8v.js → rpc-8sa14nhd.js} +11 -11
- package/dist/chunks/{tool-output-8wtp7s3z.js → rpc-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-output-xksw6ev0.js → rpc-8xz27cp9.js} +4 -4
- package/dist/chunks/{tool-output-90zstvax.js → rpc-90zstvax.js} +1 -1
- package/dist/chunks/{tool-output-qk5sk9d1.js → rpc-93xmyh8q.js} +4 -4
- package/dist/chunks/{tool-output-hhad1vm6.js → rpc-95f8dd5e.js} +84 -84
- package/dist/chunks/{tool-output-d9jtx293.js → rpc-99h31re4.js} +6 -6
- package/dist/chunks/{tool-output-x2vva8d3.js → rpc-9frvjbed.js} +18 -18
- package/dist/chunks/{tool-output-fhkqk1r9.js → rpc-9h29zwzz.js} +25 -30
- package/dist/chunks/{tool-output-rc2vjfj3.js → rpc-9v96avtt.js} +10 -10
- package/dist/chunks/{tool-output-k299tfhp.js → rpc-a4ycr27e.js} +17 -17
- package/dist/chunks/{tool-output-7v3a25eq.js → rpc-a9k8tc5j.js} +22 -22
- package/dist/chunks/{tool-output-ea95xyjz.js → rpc-aaxh80qp.js} +22 -22
- package/dist/chunks/{tool-output-4h870mwt.js → rpc-ack38t55.js} +9 -9
- package/dist/chunks/{tool-output-nr30s6az.js → rpc-adm9hbm7.js} +36 -36
- package/dist/chunks/{tool-output-3vb4mqdz.js → rpc-akn4t001.js} +6 -6
- package/dist/chunks/{tool-output-26hq56c8.js → rpc-asaqahta.js} +8 -8
- package/dist/chunks/{tool-output-7mqhc36n.js → rpc-ay5revt4.js} +29 -29
- package/dist/chunks/{tool-output-ayjs7tqn.js → rpc-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-output-aayef9sa.js → rpc-az3g39r9.js} +27 -27
- package/dist/chunks/{tool-output-8cg7mtm3.js → rpc-b2armg7w.js} +4 -4
- package/dist/chunks/{tool-output-97nmq6qt.js → rpc-b9t1pfge.js} +13 -13
- package/dist/chunks/{tool-output-99a35fj9.js → rpc-bj7w10bj.js} +45 -45
- package/dist/chunks/{tool-output-bstexjd6.js → rpc-bstexjd6.js} +1 -1
- package/dist/chunks/{tool-output-0gdrrj59.js → rpc-c7gk57p6.js} +4 -4
- package/dist/chunks/{tool-output-vsjdp9ys.js → rpc-c9ckycx8.js} +63 -63
- package/dist/chunks/{tool-output-vppgzv8k.js → rpc-c9mxd3eg.js} +25 -25
- package/dist/chunks/{tool-output-t2p0ew0j.js → rpc-cm015486.js} +28 -28
- package/dist/chunks/{tool-output-s0v7rep7.js → rpc-cnt6bnzr.js} +11 -11
- package/dist/chunks/{tool-output-4nrzv09y.js → rpc-cq6fw8sx.js} +3 -3
- package/dist/chunks/{tool-output-cr4rfj9z.js → rpc-cr4rfj9z.js} +1 -1
- package/dist/chunks/{tool-output-vt4r9rmy.js → rpc-ctmpqb7w.js} +9 -9
- package/dist/chunks/{tool-output-cwrgdav8.js → rpc-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-output-d2dt6bgk.js → rpc-d2dt6bgk.js} +2 -2
- package/dist/chunks/{tool-output-d4v9tmah.js → rpc-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-output-dt77769w.js → rpc-dt77769w.js} +1 -1
- package/dist/chunks/{tool-output-fayfa192.js → rpc-dtscfpm0.js} +14 -14
- package/dist/chunks/{tool-output-p81x92nj.js → rpc-dveyat1s.js} +18 -18
- package/dist/chunks/{tool-output-bdrs2z3m.js → rpc-e31mk9fd.js} +4 -4
- package/dist/chunks/{tool-output-e834z07m.js → rpc-e834z07m.js} +1 -1
- package/dist/chunks/{tool-output-9bxk99c0.js → rpc-en8se85n.js} +35 -35
- package/dist/chunks/{tool-output-eqw4pqj1.js → rpc-eqw4pqj1.js} +2 -2
- package/dist/chunks/{tool-output-vj06p0pw.js → rpc-etemhy56.js} +21 -21
- package/dist/chunks/{tool-output-wytjz9m1.js → rpc-evg94e0m.js} +36 -36
- package/dist/chunks/rpc-ezna1kdx.js +18 -0
- package/dist/chunks/{tool-output-y015ger5.js → rpc-ezxpw9py.js} +14 -14
- package/dist/chunks/{tool-output-wwx5ard4.js → rpc-f1nhy0sx.js} +32 -32
- package/dist/chunks/{tool-output-5y1sjzb3.js → rpc-f1r0yd0j.js} +15 -15
- package/dist/chunks/{tool-output-ger7zcw0.js → rpc-f5x1bra2.js} +83 -83
- package/dist/chunks/{tool-output-h0vegxnz.js → rpc-f6813r2x.js} +16 -16
- package/dist/chunks/rpc-fatxb1h0.js +261 -0
- package/dist/chunks/{tool-output-f832y1x6.js → rpc-fbc398mr.js} +17 -17
- package/dist/chunks/{tool-output-fffv3p7h.js → rpc-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-output-fg9p65nk.js → rpc-fg9p65nk.js} +2 -2
- package/dist/chunks/{tool-output-67722fpf.js → rpc-fh36nf8c.js} +15 -15
- package/dist/chunks/{tool-output-tawxrnzy.js → rpc-fj2kqg5f.js} +9 -9
- package/dist/chunks/{tool-output-qvtwmp4v.js → rpc-fkasyrab.js} +6 -6
- package/dist/chunks/{tool-output-abpd71k8.js → rpc-fs61hn2z.js} +35 -35
- package/dist/chunks/{tool-output-zap2qrn6.js → rpc-fyp4nyd4.js} +53 -53
- package/dist/chunks/{tool-output-j0p3wt22.js → rpc-g4v74gy6.js} +8 -8
- package/dist/chunks/{tool-output-fdsq4nkg.js → rpc-g5fnnx9z.js} +38 -38
- package/dist/chunks/{tool-output-8bwt60nn.js → rpc-gaf6qzjh.js} +25 -25
- package/dist/chunks/{tool-output-7acjz561.js → rpc-gaz3gjfe.js} +17 -17
- package/dist/chunks/{tool-output-gbjdnr5j.js → rpc-gbjdnr5j.js} +2 -2
- package/dist/chunks/{tool-output-9ajmt6vp.js → rpc-gcxh5vx1.js} +28 -28
- package/dist/chunks/{tool-output-a0j8qq2q.js → rpc-ghdkeaam.js} +10 -10
- package/dist/chunks/{tool-output-e6443jt4.js → rpc-gjxr7tfs.js} +26 -26
- package/dist/chunks/{tool-output-ngzda9ew.js → rpc-gvdabkps.js} +11 -11
- package/dist/chunks/{tool-output-tg7s7b5t.js → rpc-gxs71cxp.js} +4 -4
- package/dist/chunks/{tool-output-swp9676w.js → rpc-h3n8tyn9.js} +76 -54
- package/dist/chunks/{tool-output-9p4ehe4s.js → rpc-h4a24dsn.js} +1 -1
- package/dist/chunks/{tool-output-tye4jm7z.js → rpc-h87b1agq.js} +13 -13
- package/dist/chunks/{tool-output-hh7kjqtw.js → rpc-hh7kjqtw.js} +1 -1
- package/dist/chunks/{tool-output-hpg1pkwy.js → rpc-hpg1pkwy.js} +1 -1
- package/dist/chunks/{tool-output-645bvkjp.js → rpc-hqccc9by.js} +26 -26
- package/dist/chunks/{tool-output-b8s66ae1.js → rpc-hretfjjx.js} +2 -2
- package/dist/chunks/{tool-output-nagnkqr6.js → rpc-j1n6cdx3.js} +28 -28
- package/dist/chunks/{tool-output-r17fbvme.js → rpc-j82m12k7.js} +7 -7
- package/dist/chunks/{tool-output-jg2zh5pw.js → rpc-j8xp337f.js} +22 -22
- package/dist/chunks/{tool-output-vnt9yanb.js → rpc-jadkkbh8.js} +49 -49
- package/dist/chunks/{tool-output-5np0zeyb.js → rpc-jbx05nge.js} +3 -3
- package/dist/chunks/{tool-output-1cfb3ja4.js → rpc-jgttmm4a.js} +5 -5
- package/dist/chunks/{tool-output-62zd5tzk.js → rpc-jjvvtnfs.js} +5 -5
- package/dist/chunks/{tool-output-zv05gzp2.js → rpc-jkzfstx9.js} +8 -8
- package/dist/chunks/{tool-output-1sggqcq7.js → rpc-jrdqc7et.js} +15 -15
- package/dist/chunks/{tool-output-jtnps1zs.js → rpc-jtnps1zs.js} +2 -2
- package/dist/chunks/{tool-output-ny7f08vg.js → rpc-jww34mk0.js} +27 -27
- package/dist/chunks/{tool-output-rht77n8g.js → rpc-jxmjatb5.js} +46 -46
- package/dist/chunks/{tool-output-k46dd5bg.js → rpc-k46dd5bg.js} +1 -1
- package/dist/chunks/{tool-output-bzk4e86s.js → rpc-k5nze2cd.js} +14 -14
- package/dist/chunks/{tool-output-9rkwrxfk.js → rpc-k8ydvx9t.js} +59 -59
- package/dist/chunks/{tool-output-1q3ynm4k.js → rpc-kcjdv8bm.js} +4 -4
- package/dist/chunks/{tool-output-ds7rcmaq.js → rpc-kkrssrbd.js} +6 -6
- package/dist/chunks/{tool-output-910fvjmp.js → rpc-kpkjbdm7.js} +18 -18
- package/dist/chunks/{tool-output-kt3bjfbg.js → rpc-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-output-kzczzf4v.js → rpc-kzczzf4v.js} +1 -1
- package/dist/chunks/{tool-output-m1714858.js → rpc-m1714858.js} +1 -1
- package/dist/chunks/{tool-output-akgyqp61.js → rpc-m4a57d5d.js} +42 -42
- package/dist/chunks/{tool-output-5z8he119.js → rpc-m8000t4j.js} +12 -12
- package/dist/chunks/{tool-output-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-output-mb7mbhnz.js → rpc-mb7mbhnz.js} +3 -3
- package/dist/chunks/{tool-output-1mx2bc9e.js → rpc-mct7a04t.js} +14 -14
- package/dist/chunks/{tool-output-0b163asm.js → rpc-me2hzm4v.js} +18 -18
- package/dist/chunks/{tool-output-g6dp5760.js → rpc-mnvgqty7.js} +21 -21
- package/dist/chunks/{tool-output-4vtptq5k.js → rpc-mr1qea7m.js} +20 -20
- package/dist/chunks/{tool-output-50yzfa9j.js → rpc-mw0artam.js} +11 -11
- package/dist/chunks/{tool-output-wws03c5r.js → rpc-mzm8bzzq.js} +4 -4
- package/dist/chunks/{tool-output-epek4a5p.js → rpc-n3czbcc8.js} +12 -12
- package/dist/chunks/{tool-output-9m6c4ezy.js → rpc-n4nfadeg.js} +77 -72
- package/dist/chunks/{tool-output-9qrwb8k7.js → rpc-n4njf5qd.js} +13 -13
- package/dist/chunks/{tool-output-9sy1j1hj.js → rpc-n59awk7t.js} +6 -6
- package/dist/chunks/{tool-output-d4c7shmq.js → rpc-n5kddzgv.js} +20 -20
- package/dist/chunks/rpc-n66np8d1.js +52 -0
- package/dist/chunks/{tool-output-nah043kf.js → rpc-nah043kf.js} +1 -1
- package/dist/chunks/{tool-output-p6zg4dhx.js → rpc-narjdbd2.js} +21 -21
- package/dist/chunks/{tool-output-m4yf5w44.js → rpc-natbyxsp.js} +4 -4
- package/dist/chunks/{tool-output-010nnc36.js → rpc-nc69wymw.js} +2 -2
- package/dist/chunks/{tool-output-1g3qyytn.js → rpc-ncew0vb7.js} +43 -43
- package/dist/chunks/{tool-output-z5vfezcj.js → rpc-nrn54an1.js} +4 -4
- package/dist/chunks/{tool-output-djbenah6.js → rpc-ntxqw4zz.js} +26 -26
- package/dist/chunks/{tool-output-1xb40zjp.js → rpc-nv2c5e9q.js} +2 -2
- package/dist/chunks/{tool-output-yda8zn6p.js → rpc-nxvc44k8.js} +10 -10
- package/dist/chunks/{tool-output-ycwx78vx.js → rpc-nyf5hwvb.js} +11 -11
- package/dist/chunks/{tool-output-fvb41pf8.js → rpc-nzmw8n1y.js} +12 -12
- package/dist/chunks/{tool-output-p015t6z3.js → rpc-p015t6z3.js} +2 -2
- package/dist/chunks/{tool-output-a7yp6d7t.js → rpc-p2jax678.js} +16 -16
- package/dist/chunks/{tool-output-knp9m8w9.js → rpc-p35s2f0x.js} +17 -17
- package/dist/chunks/{tool-output-ekwgaabz.js → rpc-p4hj3rpp.js} +9 -9
- package/dist/chunks/{tool-output-jepvzq3c.js → rpc-pfwhzn8k.js} +4 -4
- package/dist/chunks/{tool-output-tp5zrv48.js → rpc-pj9ytb2t.js} +8 -8
- package/dist/chunks/{tool-output-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{tool-output-b7bv7jb3.js → rpc-pxfbqz3r.js} +5 -5
- package/dist/chunks/{tool-output-qyd1p9rf.js → rpc-q482fffg.js} +36 -36
- package/dist/chunks/{tool-output-6n7pn9gh.js → rpc-q645m655.js} +17 -17
- package/dist/chunks/{tool-output-7p9rt9ey.js → rpc-q6z6t8x0.js} +9 -9
- package/dist/chunks/{tool-output-n0jdt3rz.js → rpc-qdj0qsvg.js} +40 -40
- package/dist/chunks/{tool-output-y7pr8mjg.js → rpc-qfgdwcd7.js} +7 -7
- package/dist/chunks/{tool-output-e142mz3h.js → rpc-qj2pkgjz.js} +4 -4
- package/dist/chunks/{tool-output-xmezeey3.js → rpc-qjv30t73.js} +6 -6
- package/dist/chunks/{tool-output-29ama3y5.js → rpc-qp4rek59.js} +39 -39
- package/dist/chunks/{tool-output-qp7r0hxv.js → rpc-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-output-qqvy8y24.js → rpc-qqvy8y24.js} +1 -1
- package/dist/chunks/{tool-output-vzppetdn.js → rpc-qw2t3dzn.js} +6 -6
- package/dist/chunks/{tool-output-rkj6wcfg.js → rpc-qyfc9v9c.js} +32 -32
- package/dist/chunks/{tool-output-3p57dcxh.js → rpc-r96ere88.js} +4 -4
- package/dist/chunks/{tool-output-rb9dy4dg.js → rpc-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-output-dm6r7tzz.js → rpc-rdscbfg2.js} +5 -5
- package/dist/chunks/{tool-output-m19sy26v.js → rpc-rf1vxx78.js} +6 -6
- package/dist/chunks/{tool-output-wwd95bf7.js → rpc-rh29xf90.js} +5 -5
- package/dist/chunks/{tool-output-jhhtxfg3.js → rpc-rjkfg8bm.js} +3 -3
- package/dist/chunks/{tool-output-p1z0fq97.js → rpc-rrm5yn5h.js} +25 -32
- package/dist/chunks/{tool-output-rt5dr6hb.js → rpc-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-output-s7k5h28y.js → rpc-rxh3nxpw.js} +25 -25
- package/dist/chunks/{tool-output-rec5aqyp.js → rpc-s4kyhetj.js} +3 -3
- package/dist/chunks/{tool-output-k22x5ye3.js → rpc-s8cpj9fb.js} +25 -25
- package/dist/chunks/{tool-output-sa3fpqfw.js → rpc-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-output-sbya78hr.js → rpc-sbya78hr.js} +1 -1
- package/dist/chunks/{tool-output-ckhwx57m.js → rpc-sgc6405s.js} +30 -30
- package/dist/chunks/{tool-output-rsa28rqp.js → rpc-shtnpd1d.js} +7 -7
- package/dist/chunks/{tool-output-t8bwj9jx.js → rpc-sm6ta99e.js} +15 -15
- package/dist/chunks/{tool-output-sqjzf8x2.js → rpc-sqjzf8x2.js} +1 -1
- package/dist/chunks/{tool-output-05p6s1y0.js → rpc-ss8ra66z.js} +9 -9
- package/dist/chunks/{tool-output-q29s8h24.js → rpc-st4byt9w.js} +17 -17
- package/dist/chunks/{tool-output-svcy3p9a.js → rpc-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-output-gakb3x60.js → rpc-sw6m62cd.js} +14 -14
- package/dist/chunks/{tool-output-szwm4crx.js → rpc-szwm4crx.js} +4 -4
- package/dist/chunks/{tool-output-mvdsgs7j.js → rpc-szz5g1cm.js} +24 -24
- package/dist/chunks/{tool-output-j9hh82jk.js → rpc-t6ase0yh.js} +17 -17
- package/dist/chunks/{tool-output-xz39hjpy.js → rpc-t6rbahh6.js} +18 -18
- package/dist/chunks/{tool-output-zjak90x9.js → rpc-t808fjx2.js} +28 -28
- package/dist/chunks/{tool-output-05ba5mfj.js → rpc-t9m5ffg7.js} +11 -11
- package/dist/chunks/{tool-output-4t5ggsxr.js → rpc-tbyvd26d.js} +25 -25
- package/dist/chunks/{tool-output-grywys1z.js → rpc-tckq1zd3.js} +3 -3
- package/dist/chunks/{tool-output-tczq8hjw.js → rpc-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-output-n6ggezyx.js → rpc-tf1xn9q6.js} +13 -13
- package/dist/chunks/{tool-output-sdhj15t2.js → rpc-thh5wg1b.js} +21 -21
- package/dist/chunks/{tool-output-svre0zes.js → rpc-tjc6f4pm.js} +3 -3
- package/dist/chunks/{tool-output-had5ky31.js → rpc-tnz34mgg.js} +25 -25
- package/dist/chunks/{tool-output-rw6jesk4.js → rpc-tpprkter.js} +4 -4
- package/dist/chunks/{tool-output-tr8x705m.js → rpc-tr8x705m.js} +1 -1
- package/dist/chunks/{tool-output-yrmdwehr.js → rpc-trrzz0pv.js} +9 -9
- package/dist/chunks/{tool-output-twssxy5n.js → rpc-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-output-9tjv61ta.js → rpc-tyak2n23.js} +27 -27
- package/dist/chunks/{tool-output-j3b9gser.js → rpc-v1cmtwqq.js} +31 -31
- package/dist/chunks/{tool-output-v2r1d0zg.js → rpc-v2r1d0zg.js} +1 -1
- package/dist/chunks/rpc-v3be0dee.js +555 -0
- package/dist/chunks/{tool-output-6m4mcxgr.js → rpc-v8vsfr7j.js} +19 -19
- package/dist/chunks/{tool-output-sn0grdfw.js → rpc-vascph72.js} +6 -6
- package/dist/chunks/{tool-output-ncghqsj0.js → rpc-vd0tvg8q.js} +5 -5
- package/dist/chunks/{tool-output-jc1ry150.js → rpc-veb23xdb.js} +13 -13
- package/dist/chunks/{tool-output-bnhtga9d.js → rpc-vhhvf33t.js} +11 -11
- package/dist/chunks/{tool-output-vjf35v1f.js → rpc-vjf35v1f.js} +1 -1
- package/dist/chunks/{tool-output-14n1rax1.js → rpc-vqf9x4n2.js} +14 -14
- package/dist/chunks/{tool-output-nme5sxr1.js → rpc-vrnse76x.js} +11 -11
- package/dist/chunks/{tool-output-rj7j5fvs.js → rpc-vt2d6wap.js} +4 -4
- package/dist/chunks/{tool-output-9sym950x.js → rpc-vt9btcah.js} +4 -4
- package/dist/chunks/{tool-output-7qkt4q81.js → rpc-w0xfwvp8.js} +11 -11
- package/dist/chunks/{tool-output-7y4ph9hc.js → rpc-w3wcj2dt.js} +41 -41
- package/dist/chunks/{tool-output-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-output-wr3re1en.js → rpc-w687dnns.js} +4 -4
- package/dist/chunks/{tool-output-bpwbgrn1.js → rpc-w6rj4brd.js} +18 -18
- package/dist/chunks/{tool-output-2kg89srt.js → rpc-w79nt68w.js} +4 -4
- package/dist/chunks/{tool-output-4s0j67en.js → rpc-w7x9xhr0.js} +5 -5
- package/dist/chunks/rpc-w9e1hhap.js +74 -0
- package/dist/chunks/{tool-output-1xwkm2n4.js → rpc-w9r2bhp7.js} +7 -7
- package/dist/chunks/{tool-output-wakvkjy4.js → rpc-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-output-e3dgmqen.js → rpc-wbz71wqg.js} +11 -11
- package/dist/chunks/{tool-output-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{tool-output-wegkxhrn.js → rpc-wegkxhrn.js} +2 -2
- package/dist/chunks/{tool-output-k3cx6fhe.js → rpc-wfdx5ztx.js} +4 -4
- package/dist/chunks/{tool-output-wnhgecwx.js → rpc-wnhgecwx.js} +1 -1
- package/dist/chunks/{tool-output-ck93vgh7.js → rpc-wr39a8nh.js} +40 -40
- package/dist/chunks/{tool-output-9ezz371g.js → rpc-wtsms3my.js} +13 -13
- package/dist/chunks/{tool-output-wvr8xscb.js → rpc-wvr8xscb.js} +1 -1
- package/dist/chunks/{tool-output-8vhjrmh4.js → rpc-ww813j0m.js} +20 -20
- package/dist/chunks/{tool-output-d093jf42.js → rpc-x09egrtq.js} +26 -26
- package/dist/chunks/{tool-output-qxpm6yha.js → rpc-x34ysmrm.js} +5 -5
- package/dist/chunks/{tool-output-rjkph18f.js → rpc-x5mq78kg.js} +8 -8
- package/dist/chunks/{tool-output-tw1emtk5.js → rpc-x5q8dexz.js} +8 -8
- package/dist/chunks/{tool-output-nrjwhj54.js → rpc-x771mf3a.js} +17 -17
- package/dist/chunks/{tool-output-55d3516c.js → rpc-x7xjn570.js} +17 -17
- package/dist/chunks/{tool-output-rwgb98jw.js → rpc-xb8695ce.js} +2 -2
- package/dist/chunks/{tool-output-m5h9jhne.js → rpc-xf3y3k6n.js} +21 -21
- package/dist/chunks/{tool-output-5byqfn78.js → rpc-xj5xdzrv.js} +59 -59
- package/dist/chunks/{tool-output-j3f8hyeg.js → rpc-xmx7xj34.js} +4 -4
- package/dist/chunks/{tool-output-94e33dpz.js → rpc-xtr9hwyk.js} +3 -3
- package/dist/chunks/{tool-output-3cvrmmry.js → rpc-xy2adanr.js} +11 -11
- package/dist/chunks/{tool-output-wjwwany9.js → rpc-xykgae23.js} +7 -7
- package/dist/chunks/{tool-output-5n637sdt.js → rpc-y8gj21cy.js} +20 -20
- package/dist/chunks/rpc-y8gkkgea.js +26 -0
- package/dist/chunks/{tool-output-yara3q77.js → rpc-yara3q77.js} +2 -2
- package/dist/chunks/{tool-output-yb20nhc3.js → rpc-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-output-4szm9gmw.js → rpc-yb8k4fwr.js} +30 -30
- package/dist/chunks/{tool-output-9yd9g58m.js → rpc-ymt4gvf5.js} +25 -25
- package/dist/chunks/{tool-output-yr705xyq.js → rpc-yr705xyq.js} +1 -1
- package/dist/chunks/{tool-output-912hxr42.js → rpc-z3tfgyrb.js} +35 -35
- package/dist/chunks/{tool-output-jtcqy3t1.js → rpc-z8a4mkdq.js} +6 -6
- package/dist/chunks/{tool-output-j9nxzz3g.js → rpc-ze75qvmd.js} +3 -3
- package/dist/chunks/{tool-output-5vc0ksv3.js → rpc-zkr99nfe.js} +51 -51
- package/dist/chunks/{tool-output-6c4sqzpk.js → rpc-zma0vbn5.js} +11 -11
- package/dist/chunks/{tool-output-w4ae7zfx.js → rpc-zmyya5j2.js} +16 -16
- package/dist/chunks/{tool-output-41q15x2p.js → rpc-zr8knj2t.js} +193 -193
- package/dist/chunks/{tool-output-pxa6t0fv.js → rpc-zrgf1q50.js} +8 -8
- package/dist/chunks/{tool-output-963hk181.js → rpc-zyfhsknv.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +129 -129
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +81 -81
- 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 +62 -62
- 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 +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -428
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +115 -115
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +112 -112
- 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 +112 -112
- 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/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 +421 -419
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +102 -102
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +175 -175
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -416
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- 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 +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -395
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +4 -4
- 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 +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- 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 +4 -4
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +1 -1
- 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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -106
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -108
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -105
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +96 -0
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -210
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -405
- 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 +106 -106
- package/dist/plugin/warming.js +128 -128
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +241 -241
- 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 +103 -103
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- 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 +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +255 -255
- 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 +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- 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 +242 -242
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +146 -146
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +225 -225
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +200 -200
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +243 -243
- package/dist/session/usage.js +3 -3
- package/dist/session.js +229 -229
- package/dist/shared-cache.js +16 -0
- 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 +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +147 -147
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +104 -104
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +155 -155
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/types/github-copilot/models.d.ts +4 -3
- package/dist/types/modal/models.d.ts +27 -3
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/azure.d.ts +3 -2
- package/dist/types/plugin/provider/digitalocean.d.ts +2 -2
- package/dist/types/plugin/provider/github-copilot.d.ts +3 -2
- package/dist/types/plugin/provider/modal.d.ts +3 -2
- package/dist/types/plugin/provider/refresh.d.ts +35 -0
- package/dist/types/shared-cache.d.ts +30 -0
- package/dist/usage-limits.js +98 -98
- 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 +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/tool-output-44x04625.js +0 -75
- package/dist/chunks/tool-output-6bshxcsx.js +0 -18
- package/dist/chunks/tool-output-7n7tjwsx.js +0 -261
- package/dist/chunks/tool-output-8w0p4c6e.js +0 -549
- package/dist/chunks/tool-output-k8xt9y3w.js +0 -26
- /package/dist/chunks/{tool-output-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-output-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-output-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-output-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-output-1kah00gy.js → rpc-1kah00gy.js} +0 -0
- /package/dist/chunks/{tool-output-1pevy3nx.js → rpc-1pevy3nx.js} +0 -0
- /package/dist/chunks/{tool-output-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-output-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-output-2bv980vf.js → rpc-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-output-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-output-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-output-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-output-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-output-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-output-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-output-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-output-4qk9sjk2.js → rpc-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{tool-output-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-output-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-output-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-output-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-output-5w3e23ze.js → rpc-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-output-6agm2x70.js → rpc-6agm2x70.js} +0 -0
- /package/dist/chunks/{tool-output-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-output-6q2bdcd1.js → rpc-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-output-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-output-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-output-7stb81gk.js → rpc-7stb81gk.js} +0 -0
- /package/dist/chunks/{tool-output-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-output-84wd9syh.js → rpc-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-output-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-output-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-output-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-output-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-output-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-output-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-output-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-output-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-output-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-output-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-output-beh6qq61.js → rpc-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-output-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-output-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-output-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-output-cqv5kn06.js → rpc-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-output-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-output-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-output-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-output-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-output-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-output-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-output-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-output-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-output-ean2d8b5.js → rpc-ean2d8b5.js} +0 -0
- /package/dist/chunks/{tool-output-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-output-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-output-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-output-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-output-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-output-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-output-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-output-fkpq3x5p.js → rpc-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-output-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-output-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-output-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-output-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-output-hcxmzztb.js → rpc-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-output-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-output-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-output-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-output-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-output-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-output-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-output-jwr30sdr.js → rpc-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-output-jze0r7bz.js → rpc-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-output-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-output-m18g726c.js → rpc-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-output-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-output-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-output-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-output-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-output-nh4v3znn.js → rpc-nh4v3znn.js} +0 -0
- /package/dist/chunks/{tool-output-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-output-p71gwv9c.js → rpc-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-output-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-output-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-output-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-output-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-output-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-output-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-output-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-output-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-output-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-output-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-output-t03h4f5z.js → rpc-t03h4f5z.js} +0 -0
- /package/dist/chunks/{tool-output-ty7weeps.js → rpc-ty7weeps.js} +0 -0
- /package/dist/chunks/{tool-output-ve7vex1e.js → rpc-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-output-vtarvj67.js → rpc-vtarvj67.js} +0 -0
- /package/dist/chunks/{tool-output-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-output-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-output-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-output-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-output-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-output-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-output-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-output-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-output-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-output-z5v4ffb3.js → rpc-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-output-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./rpc-3mb214kb.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service72
|
|
10
|
+
} from "./rpc-0ztp0khy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
Output: () => Output8,
|
|
21
|
+
Plugin: () => Plugin31,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name9,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name9 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input9 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output8 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin31 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service77;
|
|
68
|
+
const permission = yield* Service72;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name9,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input9,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name9,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin12 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name9, Info2, Input9, Output8, summarize2, Plugin31, exports_todo };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HEADER2,
|
|
3
3
|
FORK_HEADER2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-yr705xyq.js";
|
|
5
5
|
import {
|
|
6
6
|
ID3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-1h062x6t.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/claude-agent/session.ts
|
|
13
13
|
var exports_session2 = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node86
|
|
7
|
+
} from "./rpc-x771mf3a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service45,
|
|
10
|
+
node48
|
|
11
|
+
} from "./rpc-sw6m62cd.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
|
+
configured: () => configured5,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node47
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service44 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service44, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service83;
|
|
57
|
+
const ripgrep = yield* Service45;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service44.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service44, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service83;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service47, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service44.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service47, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service83;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured5(options) {
|
|
211
|
+
return makeLocationNode({ service: Service44, layer: layer(options), deps: [node86, node48] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node47 = configured5();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service44, makeFffLayer2, fffLayer2, configured5, node47, exports_search };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-003yp2qb.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make16 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make17 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make16();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make16, VLLMPlugin2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./rpc-0ztp0khy.js";
|
|
4
4
|
import {
|
|
5
5
|
definition2,
|
|
6
6
|
normalizedName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-7stb81gk.js";
|
|
8
8
|
import {
|
|
9
9
|
toSessionError2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-pxfbqz3r.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service49
|
|
13
|
+
} from "./rpc-c7gk57p6.js";
|
|
14
14
|
import {
|
|
15
15
|
extension2,
|
|
16
16
|
display2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-qfgdwcd7.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/codemode/tool.ts
|
|
23
23
|
var exports_tool2 = {};
|
|
@@ -102,7 +102,7 @@ var create3 = (inventory, executeTool, permission) => {
|
|
|
102
102
|
return resultValue(executed);
|
|
103
103
|
}),
|
|
104
104
|
hooks: progressHooks(record)
|
|
105
|
-
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(
|
|
105
|
+
}), Effect.onError(() => lock.withPermit(Ref.get(trailing).pipe(Effect.flatMap((pending) => pending ? publish : Effect.void)))), Effect.provideService(Service49, context), Effect.provideService(Service72, permission));
|
|
106
106
|
const toolCalls = yield* Ref.get(calls);
|
|
107
107
|
const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
|
|
108
108
|
const output = formatResult(result);
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./rpc-x771mf3a.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service25
|
|
12
|
+
} from "./rpc-tbyvd26d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service7
|
|
15
|
+
} from "./rpc-ymt4gvf5.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./rpc-ezxpw9py.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input11,
|
|
35
|
+
Plugin: () => Plugin33,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
38
|
-
toModelContent: () =>
|
|
37
|
+
name: () => name11,
|
|
38
|
+
toModelContent: () => toModelContent5
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name11 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input11 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin33 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
62
|
-
const sessionInstructions = yield*
|
|
60
|
+
const reader = yield* Service38;
|
|
61
|
+
const access = yield* Service25;
|
|
62
|
+
const sessionInstructions = yield* Service7;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service83;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name11,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input11,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var Plugin5 = {
|
|
|
110
110
|
return { output: result.content, path: result.path };
|
|
111
111
|
}).pipe(Effect.map((result) => ({
|
|
112
112
|
output: result.output,
|
|
113
|
-
content:
|
|
113
|
+
content: toModelContent5(result.path, input.offset, result.output),
|
|
114
114
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
115
115
|
})), Effect.mapError((error) => {
|
|
116
116
|
if (error instanceof ToolFailure)
|
|
@@ -176,7 +176,7 @@ ${suggestions.join(`
|
|
|
176
176
|
});
|
|
177
177
|
})
|
|
178
178
|
};
|
|
179
|
-
var
|
|
179
|
+
var toModelContent5 = (path, offset, output) => {
|
|
180
180
|
if (output.type === "file" && output.encoding === "base64")
|
|
181
181
|
return [
|
|
182
182
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -212,4 +212,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
212
212
|
`);
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { name11, Input11, Plugin33, toModelContent5, exports_read };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-t9m5ffg7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service89
|
|
6
|
+
} from "./rpc-11kznhm7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID21,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event20
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-az3g39r9.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-mzm8bzzq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID20,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-g5fnnx9z.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID17
|
|
22
|
+
} from "./rpc-gcxh5vx1.js";
|
|
23
23
|
import {
|
|
24
24
|
Remote3,
|
|
25
25
|
Document3,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make34
|
|
27
|
+
} from "./rpc-j82m12k7.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service77
|
|
30
|
+
} from "./rpc-3mb214kb.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-sm6ta99e.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./rpc-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID7,
|
|
41
41
|
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./rpc-s8cpj9fb.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
91
91
|
}
|
|
92
92
|
function oauth(http) {
|
|
93
93
|
return {
|
|
94
|
-
integrationID:
|
|
94
|
+
integrationID: ID20.make("opencode"),
|
|
95
95
|
method: {
|
|
96
96
|
id: methodID,
|
|
97
97
|
type: "oauth",
|
|
@@ -156,10 +156,10 @@ var OpencodePlugin2 = define({
|
|
|
156
156
|
id: "opencode.provider.opencode",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
158
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service89;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service77;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -195,13 +195,13 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
});
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
|
-
yield* config.integration?.(
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
198
|
+
yield* config.integration?.(ID20.make("opencode"), document) ?? Effect.void;
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID20.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
203
|
-
integrationID:
|
|
204
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
202
|
+
yield* integrate(next.remote && next.connection && make34({
|
|
203
|
+
integrationID: ID20.make("opencode"),
|
|
204
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID21.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
206
206
|
info: next.remote
|
|
207
207
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrate2(providers, integrated);
|
|
250
250
|
});
|
|
251
251
|
yield* ctx.provider.transform((providers) => {
|
|
252
|
-
const item = providers.get(
|
|
252
|
+
const item = providers.get(ID17.opencode);
|
|
253
253
|
if (!item)
|
|
254
254
|
return;
|
|
255
255
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
});
|
|
263
263
|
yield* ctx.model.transform((models) => {
|
|
264
|
-
const item = models.provider.get(
|
|
264
|
+
const item = models.provider.get(ID17.opencode);
|
|
265
265
|
if (!item)
|
|
266
266
|
return;
|
|
267
267
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID7.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
316
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
317
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
|
|
318
|
+
ID17.opencode,
|
|
319
319
|
...Object.keys(next.remote?.providers ?? {})
|
|
320
320
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
321
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
331
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID20.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|