@opencode/core 0.0.0-dev-1236 → 0.0.0-dev-1243
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 +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +7 -7
- package/dist/artifact.js +258 -258
- package/dist/bus.js +84 -84
- package/dist/chunks/{shell-kk8ecaaw.js → pty-01tg60gd.js} +57 -57
- package/dist/chunks/{shell-034tev2y.js → pty-034tev2y.js} +2 -2
- package/dist/chunks/{shell-n00ze04j.js → pty-0358g6ev.js} +24 -24
- package/dist/chunks/{shell-j3f8hyeg.js → pty-0ahs07zn.js} +4 -4
- package/dist/chunks/{shell-ttz31trp.js → pty-0fvxehme.js} +5 -5
- package/dist/chunks/{shell-ptvgvc4z.js → pty-0gxmeqpy.js} +2 -2
- package/dist/chunks/{shell-0ma9gw4f.js → pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-c9zsrm67.js → pty-0n9984s6.js} +7 -7
- package/dist/chunks/{shell-q99m7mb9.js → pty-0qs2w0pq.js} +11 -11
- package/dist/chunks/{shell-954nhh0r.js → pty-0ra0vqbe.js} +9 -9
- package/dist/chunks/{shell-28ab2zbz.js → pty-13v654k4.js} +8 -8
- package/dist/chunks/{shell-bp6wf20z.js → pty-16bpzxh6.js} +32 -32
- package/dist/chunks/{shell-30h2xek5.js → pty-1a0381qm.js} +37 -37
- package/dist/chunks/{shell-1aqsckx4.js → pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-1aryjtsy.js → pty-1aryjtsy.js} +1 -1
- package/dist/chunks/{shell-1ep2p91f.js → pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-ty1zr4xr.js → pty-1kama452.js} +6 -6
- package/dist/chunks/{shell-bq3t301c.js → pty-1kkxmvxd.js} +12 -12
- package/dist/chunks/{shell-9pprb9d1.js → pty-1n3sjdt8.js} +5 -5
- package/dist/chunks/{shell-0ycc6vtg.js → pty-1pba5shw.js} +25 -25
- package/dist/chunks/{shell-ew7xwj24.js → pty-1q9ek849.js} +10 -10
- package/dist/chunks/{shell-1x2knyw4.js → pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-1yped5qa.js → pty-1yped5qa.js} +1 -1
- package/dist/chunks/{shell-16hkv8qr.js → pty-20s3wvje.js} +6 -6
- package/dist/chunks/{shell-jbca85dn.js → pty-229tvxdn.js} +4 -4
- package/dist/chunks/{shell-q4gg89tw.js → pty-24wpkw88.js} +10 -10
- package/dist/chunks/{shell-qkvdxj57.js → pty-266r7tj0.js} +38 -38
- package/dist/chunks/{shell-sh65p1as.js → pty-27kg7kae.js} +14 -14
- package/dist/chunks/{shell-j8k9k4df.js → pty-28q4f2dz.js} +39 -39
- package/dist/chunks/{shell-xkq5tww2.js → pty-29gzk825.js} +8 -8
- package/dist/chunks/{shell-y8yx2agg.js → pty-2bz3yr90.js} +16 -16
- package/dist/chunks/{shell-80vc7cqt.js → pty-2cskqkp8.js} +29 -29
- package/dist/chunks/{shell-2fc7eemy.js → pty-2fc7eemy.js} +1 -1
- package/dist/chunks/{shell-6zmppzqa.js → pty-2jdb2eg5.js} +4 -4
- package/dist/chunks/{shell-3beq3wdw.js → pty-2n444ktb.js} +3 -3
- package/dist/chunks/{shell-0b5k2b9r.js → pty-2n467pca.js} +11 -11
- package/dist/chunks/{shell-s1ba0vj0.js → pty-2p60zmnr.js} +2 -2
- package/dist/chunks/{shell-rkjx68g1.js → pty-2qabxkjj.js} +10 -10
- package/dist/chunks/{shell-x3fp8cfn.js → pty-31zy42j6.js} +4 -4
- package/dist/chunks/{shell-912n4kvb.js → pty-391bh81e.js} +13 -13
- package/dist/chunks/{shell-3adw4bt5.js → pty-3adw4bt5.js} +2 -2
- package/dist/chunks/{shell-t48p9t17.js → pty-3af34bnj.js} +12 -12
- package/dist/chunks/{shell-y9zkvspb.js → pty-3dtf6evj.js} +15 -15
- package/dist/chunks/{shell-18ymmazd.js → pty-3f4j1rex.js} +8 -8
- package/dist/chunks/{shell-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-jnvf6701.js → pty-3js0jpnw.js} +31 -31
- package/dist/chunks/{shell-kg7gfw2q.js → pty-3km2fvrr.js} +3 -3
- package/dist/chunks/{shell-yc63kapp.js → pty-3mxbgqpa.js} +25 -25
- package/dist/chunks/{shell-3nnrz6f6.js → pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-st89z1cb.js → pty-3xg6332j.js} +33 -33
- package/dist/chunks/{shell-erzjjtze.js → pty-3yatfvwm.js} +17 -17
- package/dist/chunks/{shell-40y6dtc2.js → pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-qqak1ff5.js → pty-41g8xtb0.js} +24 -24
- package/dist/chunks/{shell-jxd6f16v.js → pty-44pmzq9c.js} +2 -2
- package/dist/chunks/{shell-m4p4r8nc.js → pty-4dfqsw0d.js} +4 -4
- package/dist/chunks/{shell-4dx1dgte.js → pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-4f25tdd0.js → pty-4f25tdd0.js} +1 -1
- package/dist/chunks/{shell-4pyp9zr9.js → pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-4v008n1t.js → pty-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-nb9jyyhf.js → pty-4w04ps7a.js} +44 -44
- package/dist/chunks/{shell-a2j5x2j3.js → pty-4xbnrh7k.js} +39 -39
- package/dist/chunks/{shell-r467x9d0.js → pty-55h31vwm.js} +12 -12
- package/dist/chunks/{shell-f2nnq1r4.js → pty-5fmxz15n.js} +5 -5
- package/dist/chunks/pty-5m7pjpxg.js +26 -0
- package/dist/chunks/{shell-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-jkdcm5hg.js → pty-5n0rnk8e.js} +4 -4
- package/dist/chunks/{shell-72cg1k7n.js → pty-5r4rh8je.js} +9 -9
- package/dist/chunks/{shell-5cjs893v.js → pty-63wq4pxn.js} +15 -15
- package/dist/chunks/{shell-8hm61wh3.js → pty-69ek80f6.js} +17 -17
- package/dist/chunks/{shell-y9k74rm6.js → pty-6b62wfya.js} +7 -7
- package/dist/chunks/{shell-c4955r41.js → pty-6bxkbwm4.js} +4 -4
- package/dist/chunks/{shell-vq0qa3sh.js → pty-6h8vcvjm.js} +9 -9
- package/dist/chunks/{shell-ddx2em2x.js → pty-6j3at20h.js} +48 -48
- package/dist/chunks/{shell-5ggqth66.js → pty-6k06m789.js} +15 -15
- package/dist/chunks/{shell-be4qsd6f.js → pty-6ksmbjyz.js} +43 -43
- package/dist/chunks/{shell-9k2g0ym6.js → pty-6x9fp5f4.js} +8 -8
- package/dist/chunks/{shell-agje4kmn.js → pty-6y2b864j.js} +4 -4
- package/dist/chunks/{shell-8bcc8xgx.js → pty-73ff1310.js} +3 -3
- package/dist/chunks/{shell-9y6qj2jx.js → pty-7709bxzy.js} +14 -14
- package/dist/chunks/{shell-80mg3ag8.js → pty-775hqbnd.js} +3 -3
- package/dist/chunks/{shell-61qraad9.js → pty-78p2h4ex.js} +5 -5
- package/dist/chunks/{shell-y00x4xpa.js → pty-7a2bwsmz.js} +4 -4
- package/dist/chunks/{shell-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-x8x2yrmp.js → pty-7dvrcskb.js} +16 -16
- package/dist/chunks/{shell-1pzd61dw.js → pty-7e040g5a.js} +5 -5
- package/dist/chunks/{shell-r29b7v1t.js → pty-7ry3j0qz.js} +20 -20
- package/dist/chunks/{shell-70fr565a.js → pty-7vt9741m.js} +16 -16
- package/dist/chunks/{shell-7w2ypzdf.js → pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → pty-7weczvnd.js} +1 -1
- package/dist/chunks/{shell-3qgwywyc.js → pty-7zs4mqwf.js} +4 -4
- package/dist/chunks/{shell-g5pq00vt.js → pty-80dhscwa.js} +3 -3
- package/dist/chunks/{shell-80pdk984.js → pty-80pdk984.js} +1 -1
- package/dist/chunks/{shell-sm9agdn1.js → pty-824gpnnf.js} +32 -32
- package/dist/chunks/{shell-85jq8dht.js → pty-85jq8dht.js} +1 -1
- package/dist/chunks/{shell-p5tk1xdz.js → pty-87kxp3gn.js} +11 -11
- package/dist/chunks/{shell-hqd6z3z6.js → pty-89zbmavv.js} +51 -51
- package/dist/chunks/{shell-8b3vzgkx.js → pty-8b3vzgkx.js} +1 -1
- package/dist/chunks/{shell-tz8eqr11.js → pty-8bgnr0we.js} +9 -9
- package/dist/chunks/{shell-e871szjm.js → pty-8cp8083w.js} +36 -36
- package/dist/chunks/{shell-j2q36jkf.js → pty-8jacd5hs.js} +14 -14
- package/dist/chunks/{shell-8kjyvwy5.js → pty-8kjyvwy5.js} +1 -1
- package/dist/chunks/{shell-3m60wsff.js → pty-8n0v893p.js} +6 -6
- package/dist/chunks/{shell-8sxe6kv8.js → pty-8sxe6kv8.js} +2 -2
- package/dist/chunks/{shell-8wtp7s3z.js → pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{shell-8zv0xmg5.js → pty-8zv0xmg5.js} +1 -1
- package/dist/chunks/{shell-pn6nj4xv.js → pty-95zraw8z.js} +31 -31
- package/dist/chunks/{shell-mchgafn9.js → pty-99a0tav3.js} +26 -26
- package/dist/chunks/{shell-mykc1p7n.js → pty-9djh2dnz.js} +30 -30
- package/dist/chunks/{shell-bcyt6enm.js → pty-9pggkc0r.js} +5 -5
- package/dist/chunks/{shell-jx447tda.js → pty-9rsr036j.js} +11 -11
- package/dist/chunks/{shell-w4xw9ac5.js → pty-9sk33afj.js} +6 -6
- package/dist/chunks/{shell-exmx7990.js → pty-9x59b6dp.js} +6 -6
- package/dist/chunks/{shell-rj7jtxy8.js → pty-9zfcngb4.js} +3 -3
- package/dist/chunks/{shell-2c6sxtb9.js → pty-a3fn0gmm.js} +2 -2
- package/dist/chunks/{shell-sp3r8rdd.js → pty-a643e63t.js} +27 -27
- package/dist/chunks/{shell-gqbzzj38.js → pty-a7f6w5my.js} +11 -11
- package/dist/chunks/{shell-8tqer3yd.js → pty-aqbfnays.js} +8 -8
- package/dist/chunks/{shell-22fdszsz.js → pty-axvjv86p.js} +11 -11
- package/dist/chunks/{shell-ayjs7tqn.js → pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-xvn8mnch.js → pty-azqdag7d.js} +4 -4
- package/dist/chunks/{shell-sj9zktea.js → pty-b09zhmpv.js} +3 -3
- package/dist/chunks/{shell-8zrvdc5v.js → pty-b1g5y16h.js} +5 -5
- package/dist/chunks/{shell-g4txs7zc.js → pty-b26ddj6h.js} +4 -4
- package/dist/chunks/{shell-gnmx9jzn.js → pty-b5amajw5.js} +17 -17
- package/dist/chunks/{shell-26wfx3k0.js → pty-ba5f9dy2.js} +4 -4
- package/dist/chunks/{shell-grebgr4t.js → pty-be6e81x0.js} +29 -29
- package/dist/chunks/{shell-jfy1k2gx.js → pty-bepvt4sc.js} +8 -8
- package/dist/chunks/{shell-5vxgh09b.js → pty-beq04nbz.js} +22 -22
- package/dist/chunks/{shell-xd9cc171.js → pty-bstexjd6.js} +5 -5
- package/dist/chunks/{shell-rhtdsm5h.js → pty-c2fvvja0.js} +10 -10
- package/dist/chunks/{shell-cg3fcpn4.js → pty-c4970w7t.js} +6 -6
- package/dist/chunks/{shell-2rzmzjze.js → pty-c5f61zhz.js} +4 -4
- package/dist/chunks/{shell-16h9a1pc.js → pty-c6qa2vhr.js} +5 -5
- package/dist/chunks/{shell-npat0gmp.js → pty-cf626arh.js} +21 -21
- package/dist/chunks/{shell-jgqt2tj2.js → pty-cg25xdhg.js} +21 -21
- package/dist/chunks/{shell-hgnffhq1.js → pty-cmyqft71.js} +9 -9
- package/dist/chunks/{shell-bhj5kqff.js → pty-cnmbkzbq.js} +9 -9
- package/dist/chunks/{shell-z2vs241d.js → pty-csjc8g2d.js} +97 -97
- package/dist/chunks/{shell-kpfg0091.js → pty-cvz8as22.js} +42 -42
- package/dist/chunks/{shell-cwrgdav8.js → pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-y1hm2f23.js → pty-cx82y38a.js} +22 -22
- package/dist/chunks/{shell-gm6yx5tf.js → pty-d30zf05b.js} +26 -26
- package/dist/chunks/{shell-c1sfsxsr.js → pty-d34c0f98.js} +8 -8
- package/dist/chunks/{shell-d4v9tmah.js → pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-s96ajdf2.js → pty-d5kqx8fq.js} +4 -4
- package/dist/chunks/{shell-ddpz51nj.js → pty-d8n3983h.js} +24 -24
- package/dist/chunks/{shell-hy8c1z76.js → pty-ddvn7d3w.js} +8 -8
- package/dist/chunks/{shell-qm18sw8q.js → pty-dm3h919p.js} +21 -21
- package/dist/chunks/{shell-036h8fdp.js → pty-dngwd1ze.js} +59 -59
- package/dist/chunks/{shell-yg44558y.js → pty-dp2tm4a1.js} +16 -16
- package/dist/chunks/{shell-svgz3m6v.js → pty-dstq7h4s.js} +15 -15
- package/dist/chunks/{shell-88ts52tc.js → pty-dszd57sv.js} +18 -18
- package/dist/chunks/{shell-dt77769w.js → pty-dt77769w.js} +1 -1
- package/dist/chunks/{shell-djdnzsbm.js → pty-e6g6zadt.js} +20 -19
- package/dist/chunks/{shell-8vz86mkn.js → pty-egabjtks.js} +35 -35
- package/dist/chunks/{shell-kr4rdmkf.js → pty-egrqhvf4.js} +23 -23
- package/dist/chunks/{shell-3e7r054s.js → pty-em1bf5bb.js} +26 -26
- package/dist/chunks/{shell-kzdam8c6.js → pty-ep6pe98a.js} +7 -7
- package/dist/chunks/{shell-qd9p9160.js → pty-eqh9gttx.js} +8 -8
- package/dist/chunks/{shell-eqw4pqj1.js → pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-pnwsrq7c.js → pty-etrnj9s7.js} +8 -8
- package/dist/chunks/{shell-kmy2r0a4.js → pty-exts65k0.js} +19 -19
- package/dist/chunks/{shell-krf0dcce.js → pty-f0ek8akq.js} +63 -63
- package/dist/chunks/{shell-0x1mgtk1.js → pty-f2zjpyt5.js} +7 -7
- package/dist/chunks/{shell-w75qynz4.js → pty-f80thpwy.js} +6 -6
- package/dist/chunks/{shell-3q0nddrq.js → pty-fdh5529n.js} +7 -7
- package/dist/chunks/{shell-fg9p65nk.js → pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-pxbvf64t.js → pty-fjwkbb1x.js} +5 -5
- package/dist/chunks/{shell-r50190cd.js → pty-fkqcej35.js} +18 -18
- package/dist/chunks/{shell-wcrm9y98.js → pty-fmk2x3nt.js} +7 -7
- package/dist/chunks/{shell-9sbgfgyf.js → pty-fr2kfbk9.js} +20 -20
- package/dist/chunks/{shell-fv16gkx5.js → pty-fztzyxrs.js} +4 -4
- package/dist/chunks/{shell-937z30ry.js → pty-g0f7dmkp.js} +1 -1
- package/dist/chunks/{shell-5fscwsyp.js → pty-ga3jps5v.js} +89 -89
- package/dist/chunks/{shell-gbjdnr5j.js → pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-5kx0tcwv.js → pty-ghpx7yqc.js} +11 -11
- package/dist/chunks/{shell-ghrv1g9c.js → pty-ghrv1g9c.js} +1 -1
- package/dist/chunks/{shell-7s8ymmn3.js → pty-gk96ttsb.js} +6 -6
- package/dist/chunks/{shell-xa8qfgev.js → pty-h359ybnh.js} +43 -43
- package/dist/chunks/{shell-0qh3s10f.js → pty-h5gm5jf1.js} +7 -7
- package/dist/chunks/{shell-6fwceft3.js → pty-h8tg0dws.js} +23 -23
- package/dist/chunks/pty-hbcj4zg4.js +273 -0
- package/dist/chunks/{shell-hgzwgvze.js → pty-hgzwgvze.js} +2 -2
- package/dist/chunks/{shell-rjmgtw96.js → pty-hpp5gkvg.js} +19 -19
- package/dist/chunks/{shell-s1sy6qq8.js → pty-hqqb2y2p.js} +12 -12
- package/dist/chunks/{shell-vhkn27nw.js → pty-hvhjm4c6.js} +16 -16
- package/dist/chunks/{shell-cc1d08x5.js → pty-hx8b3d18.js} +66 -66
- package/dist/chunks/{shell-j4efyjr1.js → pty-j18wr2rk.js} +18 -18
- package/dist/chunks/{shell-8t01ehpp.js → pty-j1g6sam5.js} +14 -14
- package/dist/chunks/{shell-ze75qvmd.js → pty-j9nxzz3g.js} +3 -3
- package/dist/chunks/{shell-0675mxyw.js → pty-j9s2adqk.js} +24 -24
- package/dist/chunks/{shell-s2x2xzav.js → pty-jdrretfy.js} +12 -12
- package/dist/chunks/{shell-j7e2r5j3.js → pty-jkfnhp6c.js} +11 -11
- package/dist/chunks/{shell-jm70asfg.js → pty-jm70asfg.js} +1 -1
- package/dist/chunks/{shell-gb4q2wv6.js → pty-jpzxqxqy.js} +82 -82
- package/dist/chunks/{shell-04w65b4q.js → pty-k1cgmjrv.js} +35 -35
- package/dist/chunks/{shell-1jeqxzry.js → pty-k3qp21jq.js} +3 -3
- package/dist/chunks/{shell-63xtbde1.js → pty-k7spm4sx.js} +21 -21
- package/dist/chunks/{shell-xf2f9n1d.js → pty-k99kdhj8.js} +32 -32
- package/dist/chunks/{shell-xksw6ev0.js → pty-kbgs7tyr.js} +4 -4
- package/dist/chunks/{shell-mte4cvhm.js → pty-kcr186t0.js} +15 -15
- package/dist/chunks/{shell-d4ez0mth.js → pty-knf2v3cz.js} +25 -25
- package/dist/chunks/{shell-jja1z2vg.js → pty-knq5zpdc.js} +8 -8
- package/dist/chunks/{shell-kt3bjfbg.js → pty-kt3bjfbg.js} +1 -1
- package/dist/chunks/{shell-q0he7wdg.js → pty-ktzn0v6q.js} +5 -5
- package/dist/chunks/{shell-873fb1q2.js → pty-kyhf42q8.js} +30 -30
- package/dist/chunks/{shell-kzczzf4v.js → pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-kh6f2f6m.js → pty-m0j7ss87.js} +35 -35
- package/dist/chunks/{shell-m1714858.js → pty-m1714858.js} +1 -1
- package/dist/chunks/{shell-sya2xnbe.js → pty-m4q5xxb9.js} +24 -24
- package/dist/chunks/{shell-vm1kvrgp.js → pty-m754kb2h.js} +24 -24
- package/dist/chunks/{shell-esga5km6.js → pty-m7a8s6rd.js} +17 -17
- package/dist/chunks/{shell-m90tx7mw.js → pty-m90tx7mw.js} +1 -1
- package/dist/chunks/{shell-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-wer8ypww.js → pty-macje4cw.js} +11 -11
- package/dist/chunks/{shell-mb7mbhnz.js → pty-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shell-3phxyq6a.js → pty-mdqwgwkn.js} +6 -6
- package/dist/chunks/{shell-ycw42mae.js → pty-mdyw5z6p.js} +5 -5
- package/dist/chunks/{shell-mym403hh.js → pty-me215f18.js} +1 -1
- package/dist/chunks/{shell-2ws0ycvx.js → pty-mm4jyspx.js} +25 -25
- package/dist/chunks/{shell-3dche8a8.js → pty-msktpew6.js} +12 -12
- package/dist/chunks/{shell-82pkeq2f.js → pty-mw0dakk6.js} +36 -36
- package/dist/chunks/{shell-rh60nmqg.js → pty-mx18j166.js} +27 -27
- package/dist/chunks/{shell-yck4t7r7.js → pty-myzn5d47.js} +18 -18
- package/dist/chunks/{shell-32n4cy7a.js → pty-n1aahvmz.js} +11 -11
- package/dist/chunks/{shell-8zer1p9r.js → pty-n1r0kv9c.js} +3 -3
- package/dist/chunks/{shell-7d6x3zp0.js → pty-n8pyq7pd.js} +37 -37
- package/dist/chunks/{shell-zsa3hrgx.js → pty-nh1mayqc.js} +5 -5
- package/dist/chunks/{shell-cf430zbt.js → pty-nvbqw4pr.js} +23 -23
- package/dist/chunks/{shell-gdyfrwgs.js → pty-nwgt7meq.js} +2 -2
- package/dist/chunks/{shell-xcx857aw.js → pty-ny2c3vnr.js} +31 -31
- package/dist/chunks/{shell-tkf5aevt.js → pty-p00j488m.js} +5 -5
- package/dist/chunks/{shell-4jmjhkpv.js → pty-p2tw0r9g.js} +29 -29
- package/dist/chunks/{shell-ptxdnnkz.js → pty-p4rgaht7.js} +26 -26
- package/dist/chunks/{shell-d89kch1r.js → pty-p6ptthry.js} +4 -4
- package/dist/chunks/{shell-p7vhpwh8.js → pty-p7vhpwh8.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{shell-vp6eqdrp.js → pty-q21w6f4c.js} +15 -15
- package/dist/chunks/{shell-xwstg1hq.js → pty-q7ca3t4c.js} +11 -11
- package/dist/chunks/{shell-esce2nyk.js → pty-qd4akt1k.js} +22 -22
- package/dist/chunks/{shell-ce1s16sh.js → pty-qgvh6b4a.js} +16 -16
- package/dist/chunks/pty-qmh7vbk2.js +18 -0
- package/dist/chunks/{shell-zfnf49qv.js → pty-qnax57px.js} +12 -12
- package/dist/chunks/{shell-spj29m8q.js → pty-qnz51mn9.js} +27 -27
- package/dist/chunks/{shell-qp7r0hxv.js → pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-hvazaj44.js → pty-qwd1edte.js} +190 -190
- package/dist/chunks/{shell-jpsvkcma.js → pty-qxr7e54z.js} +8 -8
- package/dist/chunks/{shell-ybws1qgk.js → pty-r1jdstg5.js} +7 -7
- package/dist/chunks/{shell-6f5ef91t.js → pty-r4y210a3.js} +25 -25
- package/dist/chunks/{shell-jdtejstm.js → pty-r5yhnbcg.js} +8 -8
- package/dist/chunks/{shell-pxx5a2xh.js → pty-r6j6qbdv.js} +28 -28
- package/dist/chunks/{shell-64qpjjtt.js → pty-ranh0xe7.js} +4 -4
- package/dist/chunks/{shell-s5pm8eh5.js → pty-raqhn8qk.js} +33 -33
- package/dist/chunks/{shell-py48kn80.js → pty-rb56y7d9.js} +9 -9
- package/dist/chunks/{shell-rb9dy4dg.js → pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-ks29rz6y.js → pty-rby4rswg.js} +20 -20
- package/dist/chunks/{shell-t6r3642g.js → pty-rdyjny1j.js} +3 -3
- package/dist/chunks/{shell-qyjevvjj.js → pty-rfvharvn.js} +12 -12
- package/dist/chunks/{shell-rgc9cx3e.js → pty-rgc9cx3e.js} +2 -2
- package/dist/chunks/{shell-jgp363sy.js → pty-rrbtwe8v.js} +5 -5
- package/dist/chunks/{shell-s5vjgyqt.js → pty-rw34hs10.js} +18 -18
- package/dist/chunks/{shell-5whx36p1.js → pty-s47rahr7.js} +4 -4
- package/dist/chunks/{shell-xvpknwdn.js → pty-sacm4myh.js} +54 -54
- package/dist/chunks/{shell-sbya78hr.js → pty-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-anvcme1c.js → pty-sf9y72b7.js} +4 -4
- package/dist/chunks/{shell-bsfkzme1.js → pty-sj2darqv.js} +9 -9
- package/dist/chunks/{shell-3q1eyzhv.js → pty-sr7ay77s.js} +37 -37
- package/dist/chunks/{shell-9mg7wdw4.js → pty-ssr8tzqd.js} +7 -7
- package/dist/chunks/{shell-svcy3p9a.js → pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-4016s5pd.js → pty-t096wk8a.js} +42 -42
- package/dist/chunks/{shell-tbpn7jtk.js → pty-tbpn7jtk.js} +1 -1
- package/dist/chunks/{shell-tczq8hjw.js → pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-qx70kgtf.js → pty-tegd4n18.js} +6 -6
- package/dist/chunks/{shell-gxs71cxp.js → pty-tg7s7b5t.js} +4 -4
- package/dist/chunks/{shell-1g0y4bz6.js → pty-thjfc5mn.js} +14 -14
- package/dist/chunks/{shell-j376ae4e.js → pty-tr8x705m.js} +5 -5
- package/dist/chunks/{shell-eab5a047.js → pty-ts0bt9c0.js} +6 -6
- package/dist/chunks/{shell-tvtps2q9.js → pty-tvtps2q9.js} +1 -1
- package/dist/chunks/{shell-twssxy5n.js → pty-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-8wj2zd4k.js → pty-txhtnhhs.js} +4 -4
- package/dist/chunks/{shell-v2r1d0zg.js → pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-e174pryb.js → pty-v8vd993n.js} +8 -8
- package/dist/chunks/{shell-wegftbnv.js → pty-vaa3556q.js} +21 -21
- package/dist/chunks/{shell-xqndbamq.js → pty-vbhat5wh.js} +20 -20
- package/dist/chunks/{shell-x0zvbbfs.js → pty-vcre4fmr.js} +22 -22
- package/dist/chunks/{shell-dvnqv6yn.js → pty-vek77fn1.js} +4 -4
- package/dist/chunks/{shell-1j8rvsvj.js → pty-vfv2prrm.js} +39 -39
- package/dist/chunks/{shell-vjf35v1f.js → pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-zfzwag3x.js → pty-vjmzca5d.js} +24 -24
- package/dist/chunks/{shell-haep26br.js → pty-vm46z34s.js} +41 -41
- package/dist/chunks/{shell-qfz6bxfd.js → pty-vmqe41cb.js} +4 -4
- package/dist/chunks/{shell-jwy1qt1p.js → pty-vs8ykjes.js} +6 -6
- package/dist/chunks/{shell-rwdydcjz.js → pty-vwc5wm1t.js} +40 -40
- package/dist/chunks/{shell-40za9wsf.js → pty-w2eysc6j.js} +9 -9
- package/dist/chunks/{shell-y0n2vfvz.js → pty-w2ny3zd8.js} +7 -7
- package/dist/chunks/{shell-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-9q8g9sv8.js → pty-w79nt68w.js} +4 -4
- package/dist/chunks/{shell-w76xjer3.js → pty-w9w8mt4n.js} +4 -4
- package/dist/chunks/{shell-2qsa616b.js → pty-wahtbzf8.js} +23 -23
- package/dist/chunks/{shell-wakvkjy4.js → pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wegkxhrn.js → pty-wegkxhrn.js} +2 -2
- package/dist/chunks/{shell-1kd466m6.js → pty-wy0ga8wg.js} +18 -18
- package/dist/chunks/{shell-8jscb5ar.js → pty-wy1tx2gb.js} +11 -11
- package/dist/chunks/{shell-j4czs83g.js → pty-x1dpdrcs.js} +9 -9
- package/dist/chunks/{shell-1jq35b43.js → pty-x53htnnp.js} +9 -9
- package/dist/chunks/{shell-2q1ay6nz.js → pty-x682s0p9.js} +32 -32
- package/dist/chunks/{shell-46jjgff8.js → pty-x7rwe091.js} +17 -17
- package/dist/chunks/{shell-gn41fvca.js → pty-xbr4bv73.js} +376 -376
- package/dist/chunks/{shell-nt52v2br.js → pty-xm7bkqev.js} +17 -17
- package/dist/chunks/{shell-1mr2tgzg.js → pty-xmf4xk58.js} +23 -23
- package/dist/chunks/{shell-x6zf9jys.js → pty-xr37vh5b.js} +16 -16
- package/dist/chunks/{shell-gsh8dbcf.js → pty-xtcw8074.js} +9 -9
- package/dist/chunks/{shell-wx92pfwk.js → pty-xwa956xd.js} +37 -37
- package/dist/chunks/{shell-xjr6c8m4.js → pty-xxschbft.js} +4 -4
- package/dist/chunks/{shell-sffgv7c6.js → pty-y4c383t6.js} +35 -35
- package/dist/chunks/{shell-sete29qy.js → pty-y4ty39w2.js} +12 -12
- package/dist/chunks/{shell-zhgzvq41.js → pty-y5y8fdry.js} +13 -13
- package/dist/chunks/{shell-nyq7g77b.js → pty-y7y3440m.js} +21 -21
- package/dist/chunks/{shell-yb20nhc3.js → pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-jn3nq4s8.js → pty-ybg8zss5.js} +11 -11
- package/dist/chunks/{shell-10pn4eb5.js → pty-yepd7x5v.js} +5 -5
- package/dist/chunks/{shell-9pgwy7mp.js → pty-yhg0k745.js} +3 -3
- package/dist/chunks/{shell-qe73sy79.js → pty-yjbhdt29.js} +21 -21
- package/dist/chunks/{shell-jfeypak5.js → pty-yk8qeqv5.js} +39 -39
- package/dist/chunks/{shell-q4v7z4m2.js → pty-ymj14b15.js} +5 -5
- package/dist/chunks/{shell-2prt43t7.js → pty-ypzfmdvb.js} +4 -4
- package/dist/chunks/{shell-yr705xyq.js → pty-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-aj92njvd.js → pty-yrzkg30c.js} +13 -13
- package/dist/chunks/{shell-pzyn5a6k.js → pty-yvccjmj1.js} +37 -37
- package/dist/chunks/{shell-yvtc2x31.js → pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-9m2cxvt8.js → pty-z0b945q9.js} +9 -9
- package/dist/chunks/{shell-z0wbgq7s.js → pty-z0wbgq7s.js} +1 -1
- package/dist/chunks/{shell-mdj7aq5z.js → pty-z4yba2tb.js} +13 -13
- package/dist/chunks/{shell-kztrepe5.js → pty-z6b1dhbd.js} +28 -28
- package/dist/chunks/{shell-teq5xbyn.js → pty-ze530hxp.js} +14 -14
- package/dist/chunks/{shell-pempf0ss.js → pty-zhnybebr.js} +12 -12
- package/dist/chunks/{shell-vxwd42fs.js → pty-zhyeaj2c.js} +24 -24
- package/dist/chunks/{shell-a4gm6t53.js → pty-zjee4atp.js} +51 -51
- package/dist/chunks/{shell-c66n214j.js → pty-zkj5hvqk.js} +20 -20
- package/dist/chunks/{shell-hsfavt19.js → pty-zm4ckv44.js} +14 -14
- package/dist/chunks/{shell-9pj7rt5g.js → pty-ztmds42j.js} +14 -14
- package/dist/chunks/{shell-2g1qaj3v.js → pty-zvjthybj.js} +29 -29
- package/dist/chunks/{shell-xe6pezxp.js → pty-zyfhsknv.js} +9 -9
- package/dist/chunks/{shell-1s4ptyb0.js → pty-zyrhd8rm.js} +13 -13
- 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 +10 -10
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- 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 +133 -133
- 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 +131 -131
- 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 +132 -132
- 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 +3 -3
- 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 +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- 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 +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +121 -121
- 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 +96 -96
- 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 +190 -190
- 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 +110 -110
- 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 +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +103 -103
- 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 +130 -130
- 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 +3 -3
- 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 +89 -89
- 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 +430 -430
- 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 +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- 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 +103 -103
- package/dist/provider.js +111 -111
- 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 +100 -100
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- 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 +3 -3
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +275 -275
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +174 -174
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +152 -152
- 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 +4 -4
- 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 +176 -176
- package/dist/session/projector.js +148 -148
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- 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 +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- 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 +173 -173
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +260 -260
- 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 +7 -7
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +161 -161
- 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 +189 -189
- 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 +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +255 -255
- 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 +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +247 -247
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +162 -162
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +173 -173
- package/dist/tool/read-filesystem.js +112 -112
- 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 +98 -98
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- 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 +85 -85
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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/shell-3fr5rr5m.js +0 -26
- package/dist/chunks/shell-8x060fmy.js +0 -18
- package/dist/chunks/shell-m0vfnqky.js +0 -273
- /package/dist/chunks/{shell-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-7rvsyqjv.js → pty-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9ceax7yg.js → pty-9ceax7yg.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-ade8csyh.js → pty-ade8csyh.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → pty-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-v2dnd5dt.js → pty-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x4th4bpe.js → pty-x4th4bpe.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zxpyjp51.js → pty-zxpyjp51.js} +0 -0
- /package/dist/chunks/{shell-zz5vv3aq.js → pty-zz5vv3aq.js} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-0ra0vqbe.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-3js0jpnw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID20,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-95zraw8z.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-yb20nhc3.js";
|
|
15
15
|
import {
|
|
16
16
|
submit2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-z0wbgq7s.js";
|
|
18
18
|
import {
|
|
19
19
|
mergeOverlay2,
|
|
20
20
|
mergeHeaders2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-m90tx7mw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
ID17
|
|
24
|
+
} from "./pty-16bpzxh6.js";
|
|
25
25
|
import {
|
|
26
26
|
get5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./pty-3nnrz6f6.js";
|
|
28
28
|
import {
|
|
29
29
|
configuredSettings2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-0n9984s6.js";
|
|
31
31
|
import {
|
|
32
32
|
onSwitch2,
|
|
33
33
|
reloadIfChanged2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-y4ty39w2.js";
|
|
35
35
|
import {
|
|
36
36
|
activeCredential2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./pty-8n0v893p.js";
|
|
38
38
|
|
|
39
39
|
// src/plugin/provider/openai.ts
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -58,7 +58,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
58
58
|
}));
|
|
59
59
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
60
60
|
var browser = (app) => ({
|
|
61
|
-
integrationID:
|
|
61
|
+
integrationID: ID20.make("openai"),
|
|
62
62
|
method: {
|
|
63
63
|
id: browserMethodID,
|
|
64
64
|
type: "oauth",
|
|
@@ -132,7 +132,7 @@ function addressInUse(error) {
|
|
|
132
132
|
return "code" in error && error.code === "EADDRINUSE";
|
|
133
133
|
}
|
|
134
134
|
var headless = (app) => ({
|
|
135
|
-
integrationID:
|
|
135
|
+
integrationID: ID20.make("openai"),
|
|
136
136
|
method: {
|
|
137
137
|
id: headlessMethodID,
|
|
138
138
|
type: "oauth",
|
|
@@ -174,7 +174,7 @@ var headless = (app) => ({
|
|
|
174
174
|
}),
|
|
175
175
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
176
176
|
});
|
|
177
|
-
var
|
|
177
|
+
var OpenAIPlugin3 = define({
|
|
178
178
|
id: "opencode.provider.openai",
|
|
179
179
|
effect: Effect.fn(function* (ctx) {
|
|
180
180
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -190,9 +190,9 @@ var OpenAIPlugin2 = define({
|
|
|
190
190
|
editor.method.update(headless(ctx.app));
|
|
191
191
|
});
|
|
192
192
|
yield* load();
|
|
193
|
-
const configured = yield* configuredSettings2(
|
|
193
|
+
const configured = yield* configuredSettings2(ID17.openai);
|
|
194
194
|
yield* ctx.provider.transform((providers) => {
|
|
195
|
-
const item = providers.get(
|
|
195
|
+
const item = providers.get(ID17.openai);
|
|
196
196
|
if (!item)
|
|
197
197
|
return;
|
|
198
198
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -212,7 +212,7 @@ var OpenAIPlugin2 = define({
|
|
|
212
212
|
});
|
|
213
213
|
});
|
|
214
214
|
yield* ctx.model.transform((models) => {
|
|
215
|
-
for (const model of models.list(
|
|
215
|
+
for (const model of models.list(ID17.openai)) {
|
|
216
216
|
models.update(model.providerID, model.id, (draft) => {
|
|
217
217
|
if (!chatgpt)
|
|
218
218
|
return;
|
|
@@ -249,12 +249,12 @@ var OpenAIPlugin2 = define({
|
|
|
249
249
|
}));
|
|
250
250
|
evt.headers.originator = "opencode";
|
|
251
251
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
252
|
-
}), { providerID:
|
|
252
|
+
}), { providerID: ID17.openai });
|
|
253
253
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
254
254
|
delete evt.options.maxTokens;
|
|
255
255
|
});
|
|
256
256
|
for (const name of ["context", "compaction"])
|
|
257
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
257
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
|
|
258
258
|
yield* onSwitch2("openai", loading.withPermit(reloadIfChanged2(load(), ctx.provider.reload())));
|
|
259
259
|
})
|
|
260
260
|
});
|
|
@@ -346,4 +346,4 @@ function claim(token) {
|
|
|
346
346
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
export {
|
|
349
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin46 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin46, exports_goal };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-qnax57px.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service94,
|
|
12
12
|
node96
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-fztzyxrs.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service93,
|
|
16
|
+
node95
|
|
17
|
+
} from "./pty-msktpew6.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./pty-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID18,
|
|
26
|
+
NotFoundError13
|
|
27
|
+
} from "./pty-89zbmavv.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./pty-xm7bkqev.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service53,
|
|
33
|
+
node55
|
|
34
|
+
} from "./pty-jkfnhp6c.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service21
|
|
41
|
+
} from "./pty-exts65k0.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./pty-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput4,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
52
|
+
Event: () => Event4,
|
|
53
53
|
Info: () => Info8,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry2,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service20,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node23
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ var Info8 = Worktree.Info;
|
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry2 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event4 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service20 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service94;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service93;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service53;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError13({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service21).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service20.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node23 = Node.makeGlobalNode({
|
|
260
|
+
service: Service20,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node95, node96, AppProcess.node, node55]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput4, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2,
|
|
272
|
+
export { StrategyID2, CreateInput4, RemoveInput2, Info8, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service20, node23, exports_worktree2, OperationError2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./pty-msktpew6.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-vm46z34s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
21
|
+
Event: () => Event10,
|
|
22
22
|
ID: () => ID9,
|
|
23
|
-
Info: () =>
|
|
23
|
+
Info: () => Info14,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service61,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
|
-
Source: () =>
|
|
27
|
+
Source: () => Source4,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
|
-
available: () =>
|
|
29
|
+
available: () => available4,
|
|
30
30
|
isUri: () => isUri2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node64,
|
|
32
32
|
prepare: () => prepare3,
|
|
33
33
|
toModelOutput: () => toModelOutput3,
|
|
34
34
|
uri: () => uri2
|
|
@@ -38,15 +38,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
38
38
|
import path from "path";
|
|
39
39
|
import { Context, Effect, Layer } from "effect";
|
|
40
40
|
import { Skill } from "@opencode/schema/skill";
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event10 } from "@opencode/schema/skill";
|
|
42
42
|
var DirectorySource2 = Skill.DirectorySource;
|
|
43
43
|
var UrlSource2 = Skill.UrlSource;
|
|
44
44
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Skill.Source;
|
|
46
|
+
var Info14 = Skill.Info;
|
|
47
47
|
var ID9 = Skill.ID;
|
|
48
48
|
var Name2 = Skill.Name;
|
|
49
|
-
var
|
|
49
|
+
var available4 = (skills, permissions) => skills.filter((skill) => evaluate3("skill", skill.id, permissions).effect !== "deny");
|
|
50
50
|
var uri2 = (id, file) => file ? `skill://${id}/${file}` : `skill://${id}`;
|
|
51
51
|
var isUri2 = (value) => value.startsWith("skill://");
|
|
52
52
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -91,10 +91,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill, virtualFiles) {
|
|
|
91
91
|
};
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service61 extends Context.Service()("@opencode/Skill") {
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const bus = yield*
|
|
96
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
97
|
+
const bus = yield* Service93;
|
|
98
98
|
const state = create4({
|
|
99
99
|
name: "skill",
|
|
100
100
|
initial: () => ({ skills: new Map, files: new Map }),
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
129
129
|
Array.from(data.files, ([id, entries]) => [id, Array.from(entries)])
|
|
130
130
|
], () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service61.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -144,10 +144,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
144
144
|
})
|
|
145
145
|
});
|
|
146
146
|
}));
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node64 = makeLocationNode({
|
|
148
|
+
service: Service61,
|
|
149
149
|
layer,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node95]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
153
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info14, ID9, Name2, available4, uri2, isUri2, toModelOutput3, prepare3, Service61, node64, exports_skill5, Event10 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./pty-msktpew6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service86,
|
|
7
|
+
node88
|
|
8
|
+
} from "./pty-xm7bkqev.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node72
|
|
12
|
+
} from "./pty-kcr186t0.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFoundError10
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-b09zhmpv.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node70
|
|
22
|
+
} from "./pty-hqqb2y2p.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service69,
|
|
25
|
+
node71
|
|
26
|
+
} from "./pty-j1g6sam5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node73
|
|
30
|
+
} from "./pty-d34c0f98.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,27 +39,27 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
42
|
+
Event: () => Event12,
|
|
43
43
|
ID: () => ID11,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError9,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
50
|
+
Service: () => Service67,
|
|
51
51
|
Source: () => Source5,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
invocation: () => invocation2,
|
|
55
55
|
merge: () => merge2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node69
|
|
57
57
|
});
|
|
58
58
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
59
59
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
60
60
|
import { Permission } from "@opencode/schema/permission";
|
|
61
61
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
62
|
-
import { Event as
|
|
62
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
63
63
|
var PermissionEffect = Permission.Effect;
|
|
64
64
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
65
65
|
var ID11 = Permission.ID;
|
|
@@ -99,7 +99,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
class
|
|
102
|
+
class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
103
103
|
requestID: ID11
|
|
104
104
|
}) {
|
|
105
105
|
}
|
|
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
|
|
|
114
114
|
return rulesets.flat();
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service67 extends Context.Service()("@opencode/Permission") {
|
|
118
118
|
}
|
|
119
|
-
var layer = Layer.effect(
|
|
120
|
-
const bus = yield*
|
|
121
|
-
const location = yield*
|
|
122
|
-
const agents = yield*
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const saved = yield*
|
|
125
|
-
const hooks = yield*
|
|
119
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
120
|
+
const bus = yield* Service93;
|
|
121
|
+
const location = yield* Service86;
|
|
122
|
+
const agents = yield* Service70;
|
|
123
|
+
const sessions = yield* Service68;
|
|
124
|
+
const saved = yield* Service69;
|
|
125
|
+
const hooks = yield* Service71;
|
|
126
126
|
const pending = new Map;
|
|
127
127
|
let closed = false;
|
|
128
128
|
const close = Effect.gen(function* () {
|
|
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
258
258
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
259
259
|
const existing = pending.get(input.requestID);
|
|
260
260
|
if (!existing)
|
|
261
|
-
return yield* new
|
|
261
|
+
return yield* new NotFoundError9({ requestID: input.requestID });
|
|
262
262
|
yield* bus.publish(Permission.Event.Replied, {
|
|
263
263
|
sessionID: existing.request.sessionID,
|
|
264
264
|
requestID: existing.request.id,
|
|
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
313
313
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
314
314
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
315
315
|
});
|
|
316
|
-
return
|
|
316
|
+
return Service67.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
317
317
|
}));
|
|
318
|
-
var
|
|
319
|
-
service:
|
|
318
|
+
var node69 = makeLocationNode({
|
|
319
|
+
service: Service67,
|
|
320
320
|
layer,
|
|
321
|
-
deps: [
|
|
321
|
+
deps: [node95, node88, node72, node70, node71, node73]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2,
|
|
324
|
+
export { PermissionEffect, ID11, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate3, merge2, Service67, node69, exports_permission, Rule2, Ruleset2, Event12 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
|
|
|
8
8
|
AGENT_OPTION: () => AGENT_OPTION2,
|
|
9
9
|
ClaudeSystemPrompt: () => exports_system_prompt,
|
|
10
10
|
INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
|
|
11
|
-
make: () =>
|
|
11
|
+
make: () => make14,
|
|
12
12
|
utility: () => utility2
|
|
13
13
|
});
|
|
14
14
|
var AGENT_OPTION2 = "claudeCodeAgent";
|
|
@@ -19,7 +19,7 @@ var primary = {
|
|
|
19
19
|
snapshot: false,
|
|
20
20
|
append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
|
|
21
21
|
};
|
|
22
|
-
function
|
|
22
|
+
function make14(role, instructions) {
|
|
23
23
|
const blocks = [primary.append];
|
|
24
24
|
if (role)
|
|
25
25
|
blocks.push(`# Agent role (from OpenCode)
|
|
@@ -37,4 +37,4 @@ function utility2(prompt) {
|
|
|
37
37
|
`) || "You are a text generation helper. Return only the requested output.";
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2,
|
|
40
|
+
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make14, utility2, exports_system_prompt };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-2p60zmnr.js";
|
|
4
4
|
import {
|
|
5
5
|
base2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-h5gm5jf1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/status.ts
|
|
12
12
|
var exports_status = {};
|
|
13
13
|
__export(exports_status, {
|
|
14
14
|
ClaudeStatus: () => exports_status,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make9
|
|
16
16
|
});
|
|
17
17
|
import { Effect, Semaphore, SubscriptionRef } from "effect";
|
|
18
|
-
var
|
|
18
|
+
var make9 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
19
19
|
const state = yield* SubscriptionRef.make({ type: "checking" });
|
|
20
20
|
const lock = yield* Semaphore.make(1);
|
|
21
21
|
const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
|
|
@@ -33,4 +33,4 @@ var make5 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
|
33
33
|
return { state, refresh, report };
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export {
|
|
36
|
+
export { make9, exports_status };
|