@opencode/core 0.0.0-dev-1235 → 0.0.0-dev-1236
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 +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +5 -5
- package/dist/artifact.js +258 -258
- package/dist/bus.js +84 -84
- package/dist/chunks/{state-034tev2y.js → shell-034tev2y.js} +2 -2
- package/dist/chunks/{state-ce1m7vx5.js → shell-036h8fdp.js} +59 -59
- package/dist/chunks/{state-pzw1dw73.js → shell-04w65b4q.js} +32 -32
- package/dist/chunks/{state-b18kgc61.js → shell-0675mxyw.js} +15 -15
- package/dist/chunks/{state-mrnchmxb.js → shell-0b5k2b9r.js} +11 -11
- package/dist/chunks/{state-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
- package/dist/chunks/{state-9rqhy0gk.js → shell-0qh3s10f.js} +7 -7
- package/dist/chunks/{state-p5jwrm42.js → shell-0x1mgtk1.js} +5 -5
- package/dist/chunks/{state-6yg7gkh7.js → shell-0ycc6vtg.js} +22 -22
- package/dist/chunks/{state-hj0xet7m.js → shell-10pn4eb5.js} +5 -5
- package/dist/chunks/{state-fdtndam9.js → shell-16h9a1pc.js} +2 -2
- package/dist/chunks/{state-a6mv2m2w.js → shell-16hkv8qr.js} +6 -6
- package/dist/chunks/{state-espzy6sy.js → shell-18ymmazd.js} +6 -6
- package/dist/chunks/{state-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{state-1aryjtsy.js → shell-1aryjtsy.js} +1 -1
- package/dist/chunks/{state-1ep2p91f.js → shell-1ep2p91f.js} +2 -2
- package/dist/chunks/{state-8s75abyt.js → shell-1g0y4bz6.js} +20 -20
- package/dist/chunks/{state-zp2hh6jp.js → shell-1j8rvsvj.js} +41 -41
- package/dist/chunks/{state-wy93gack.js → shell-1jeqxzry.js} +3 -3
- package/dist/chunks/{state-9e4xpj2z.js → shell-1jq35b43.js} +7 -7
- package/dist/chunks/{state-1xww10mm.js → shell-1kd466m6.js} +18 -18
- package/dist/chunks/{state-qh660x4p.js → shell-1mr2tgzg.js} +23 -23
- package/dist/chunks/{state-2dc9xx1n.js → shell-1pzd61dw.js} +3 -3
- package/dist/chunks/{state-32cp16zq.js → shell-1s4ptyb0.js} +10 -10
- package/dist/chunks/{state-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{state-w687dnns.js → shell-1yped5qa.js} +4 -4
- package/dist/chunks/{state-1ky2091v.js → shell-22fdszsz.js} +11 -11
- package/dist/chunks/{state-tb2mrvc9.js → shell-26wfx3k0.js} +4 -4
- package/dist/chunks/{state-skezxa7b.js → shell-28ab2zbz.js} +6 -6
- package/dist/chunks/{state-5jandp8q.js → shell-2c6sxtb9.js} +2 -2
- package/dist/chunks/{state-2fc7eemy.js → shell-2fc7eemy.js} +1 -1
- package/dist/chunks/{state-qqrj1cck.js → shell-2g1qaj3v.js} +31 -31
- package/dist/chunks/{state-2prt43t7.js → shell-2prt43t7.js} +1 -1
- package/dist/chunks/{state-sw41xehz.js → shell-2q1ay6nz.js} +32 -32
- package/dist/chunks/{state-t21xr684.js → shell-2qsa616b.js} +23 -23
- package/dist/chunks/{state-tm2sh4kj.js → shell-2rzmzjze.js} +4 -4
- package/dist/chunks/{state-ddzwf2hk.js → shell-2ws0ycvx.js} +25 -25
- package/dist/chunks/{state-e4tacae6.js → shell-30h2xek5.js} +38 -38
- package/dist/chunks/{state-m4htaz91.js → shell-32n4cy7a.js} +11 -11
- package/dist/chunks/{state-xjbsd7zy.js → shell-3adw4bt5.js} +9 -9
- package/dist/chunks/{state-ez4sqtdc.js → shell-3beq3wdw.js} +3 -3
- package/dist/chunks/{state-eatz8zw3.js → shell-3dche8a8.js} +12 -12
- package/dist/chunks/{state-sf5110by.js → shell-3e7r054s.js} +15 -15
- package/dist/chunks/{state-8phh5qdk.js → shell-3fr5rr5m.js} +12 -12
- package/dist/chunks/{state-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-tjyp8p49.js → shell-3m60wsff.js} +6 -6
- package/dist/chunks/{state-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{state-g9gdr7fk.js → shell-3phxyq6a.js} +6 -6
- package/dist/chunks/{state-0zd5ma7y.js → shell-3q0nddrq.js} +15 -15
- package/dist/chunks/{state-q5wz344w.js → shell-3q1eyzhv.js} +30 -30
- package/dist/chunks/{state-3qgwywyc.js → shell-3qgwywyc.js} +1 -1
- package/dist/chunks/{state-mt2tq025.js → shell-4016s5pd.js} +45 -45
- package/dist/chunks/{state-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{state-40za9wsf.js → shell-40za9wsf.js} +2 -2
- package/dist/chunks/{state-qs24j9sg.js → shell-46jjgff8.js} +19 -19
- package/dist/chunks/{state-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{state-4f25tdd0.js → shell-4f25tdd0.js} +1 -1
- package/dist/chunks/{state-azh1rc5n.js → shell-4jmjhkpv.js} +27 -27
- package/dist/chunks/{state-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{state-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{state-2s8atfp2.js → shell-5cjs893v.js} +17 -17
- package/dist/chunks/{state-xvj4xk0h.js → shell-5fscwsyp.js} +83 -83
- package/dist/chunks/{state-1crda53g.js → shell-5ggqth66.js} +15 -15
- package/dist/chunks/{state-as7nmnb0.js → shell-5kx0tcwv.js} +19 -19
- package/dist/chunks/{state-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-h3zmftah.js → shell-5vxgh09b.js} +17 -17
- package/dist/chunks/{state-s47rahr7.js → shell-5whx36p1.js} +4 -4
- package/dist/chunks/{state-jv5ccajn.js → shell-61qraad9.js} +5 -5
- package/dist/chunks/{state-earqv9bj.js → shell-63xtbde1.js} +25 -25
- package/dist/chunks/{state-dypb56j1.js → shell-64qpjjtt.js} +4 -4
- package/dist/chunks/{state-92fwtejg.js → shell-6f5ef91t.js} +25 -25
- package/dist/chunks/{state-c8psxp46.js → shell-6fwceft3.js} +23 -23
- package/dist/chunks/{state-jyy8cr9q.js → shell-6zmppzqa.js} +1 -1
- package/dist/chunks/{state-syk2ttnm.js → shell-70fr565a.js} +18 -18
- package/dist/chunks/{state-d5d573qc.js → shell-72cg1k7n.js} +10 -10
- package/dist/chunks/{state-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-nkbtark2.js → shell-7d6x3zp0.js} +32 -32
- package/dist/chunks/{state-2jjcv7wn.js → shell-7s8ymmn3.js} +3 -3
- package/dist/chunks/{state-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{state-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{state-80mg3ag8.js → shell-80mg3ag8.js} +3 -3
- package/dist/chunks/{state-80pdk984.js → shell-80pdk984.js} +1 -1
- package/dist/chunks/{state-rgkwkrb9.js → shell-80vc7cqt.js} +24 -24
- package/dist/chunks/{state-y4001wz8.js → shell-82pkeq2f.js} +36 -36
- package/dist/chunks/{state-85jq8dht.js → shell-85jq8dht.js} +1 -1
- package/dist/chunks/{state-3nmd71g8.js → shell-873fb1q2.js} +26 -26
- package/dist/chunks/{state-v72vfyp1.js → shell-88ts52tc.js} +18 -18
- package/dist/chunks/{state-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
- package/dist/chunks/{state-t48jrnqq.js → shell-8bcc8xgx.js} +3 -3
- package/dist/chunks/{state-7cqb7awd.js → shell-8hm61wh3.js} +15 -15
- package/dist/chunks/{state-xngwz0vj.js → shell-8jscb5ar.js} +11 -11
- package/dist/chunks/{state-8kjyvwy5.js → shell-8kjyvwy5.js} +1 -1
- package/dist/chunks/{state-8sxe6kv8.js → shell-8sxe6kv8.js} +2 -2
- package/dist/chunks/{state-f2wdtck0.js → shell-8t01ehpp.js} +21 -21
- package/dist/chunks/{state-tsfrrkx5.js → shell-8tqer3yd.js} +8 -8
- package/dist/chunks/{state-63mgvd2p.js → shell-8vz86mkn.js} +39 -39
- package/dist/chunks/{state-05pxkjce.js → shell-8wj2zd4k.js} +6 -6
- package/dist/chunks/{state-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/shell-8x060fmy.js +18 -0
- package/dist/chunks/{state-fkndk5z2.js → shell-8zer1p9r.js} +1 -1
- package/dist/chunks/{state-yesq018p.js → shell-8zrvdc5v.js} +5 -5
- package/dist/chunks/{state-8zv0xmg5.js → shell-8zv0xmg5.js} +1 -1
- package/dist/chunks/{state-sm5nc94v.js → shell-912n4kvb.js} +13 -13
- package/dist/chunks/{state-gegd7n3j.js → shell-937z30ry.js} +1 -1
- package/dist/chunks/{state-henm3czy.js → shell-954nhh0r.js} +7 -7
- package/dist/chunks/{state-9fgy5dtv.js → shell-9k2g0ym6.js} +8 -8
- package/dist/chunks/{state-r0kj4fvy.js → shell-9m2cxvt8.js} +6 -6
- package/dist/chunks/{state-1v50j346.js → shell-9mg7wdw4.js} +7 -7
- package/dist/chunks/{state-bwp70zy2.js → shell-9pgwy7mp.js} +3 -3
- package/dist/chunks/{state-73txa7jk.js → shell-9pj7rt5g.js} +8 -8
- package/dist/chunks/{state-gp44nzrb.js → shell-9pprb9d1.js} +5 -5
- package/dist/chunks/{state-w79nt68w.js → shell-9q8g9sv8.js} +4 -4
- package/dist/chunks/{state-ytf4f56c.js → shell-9sbgfgyf.js} +20 -20
- package/dist/chunks/{state-56sz83fz.js → shell-9y6qj2jx.js} +14 -14
- package/dist/chunks/{state-610g93rr.js → shell-a2j5x2j3.js} +24 -24
- package/dist/chunks/{state-yd46kdwt.js → shell-a4gm6t53.js} +53 -53
- package/dist/chunks/{state-6y2b864j.js → shell-agje4kmn.js} +4 -4
- package/dist/chunks/{state-12kdk8b4.js → shell-aj92njvd.js} +13 -13
- package/dist/chunks/{state-90ct6wq4.js → shell-anvcme1c.js} +4 -4
- package/dist/chunks/{state-ayjs7tqn.js → shell-ayjs7tqn.js} +2 -2
- package/dist/chunks/{state-xhqgfte7.js → shell-bcyt6enm.js} +3 -3
- package/dist/chunks/{state-xs8ad273.js → shell-be4qsd6f.js} +27 -27
- package/dist/chunks/{state-az7m660a.js → shell-bhj5kqff.js} +9 -9
- package/dist/chunks/{state-w1xxh1rf.js → shell-bp6wf20z.js} +21 -21
- package/dist/chunks/{state-pt6axzm3.js → shell-bq3t301c.js} +12 -12
- package/dist/chunks/{state-fccvjkbp.js → shell-bsfkzme1.js} +9 -9
- package/dist/chunks/{state-r7r55277.js → shell-c1sfsxsr.js} +8 -8
- package/dist/chunks/{state-12h42gc5.js → shell-c4955r41.js} +4 -4
- package/dist/chunks/{state-tekz83mq.js → shell-c66n214j.js} +19 -19
- package/dist/chunks/{state-em6gyk8n.js → shell-c9zsrm67.js} +5 -5
- package/dist/chunks/{state-8e74rt2q.js → shell-cc1d08x5.js} +65 -65
- package/dist/chunks/{state-fe0p0k7n.js → shell-ce1s16sh.js} +16 -16
- package/dist/chunks/{state-tgnr40tg.js → shell-cf430zbt.js} +20 -20
- package/dist/chunks/{state-cg3fcpn4.js → shell-cg3fcpn4.js} +1 -1
- package/dist/chunks/{state-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{state-nbasw9vk.js → shell-d4ez0mth.js} +25 -25
- package/dist/chunks/{state-d4v9tmah.js → shell-d4v9tmah.js} +2 -2
- package/dist/chunks/{state-08v7z8bj.js → shell-d89kch1r.js} +4 -4
- package/dist/chunks/{state-13qgbh2h.js → shell-ddpz51nj.js} +24 -24
- package/dist/chunks/{state-gcahcqmt.js → shell-ddx2em2x.js} +36 -36
- package/dist/chunks/{state-ryk8esgz.js → shell-djdnzsbm.js} +17 -17
- package/dist/chunks/{state-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{state-dvnqv6yn.js → shell-dvnqv6yn.js} +1 -1
- package/dist/chunks/{state-8n09hdvs.js → shell-e174pryb.js} +8 -8
- package/dist/chunks/{state-yk50763d.js → shell-e871szjm.js} +36 -36
- package/dist/chunks/{state-1qbjy8pk.js → shell-eab5a047.js} +8 -8
- package/dist/chunks/{state-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{state-pwzt2vz0.js → shell-erzjjtze.js} +15 -15
- package/dist/chunks/{state-4jgtr414.js → shell-esce2nyk.js} +23 -23
- package/dist/chunks/{state-5vx230qf.js → shell-esga5km6.js} +13 -13
- package/dist/chunks/{state-dr2ev67s.js → shell-ew7xwj24.js} +10 -10
- package/dist/chunks/{state-c1m4q5e0.js → shell-exmx7990.js} +6 -6
- package/dist/chunks/{state-wx96rjq6.js → shell-f2nnq1r4.js} +5 -5
- package/dist/chunks/{state-fg9p65nk.js → shell-fg9p65nk.js} +2 -2
- package/dist/chunks/{state-r8ek82sz.js → shell-fv16gkx5.js} +4 -4
- package/dist/chunks/{state-b26ddj6h.js → shell-g4txs7zc.js} +4 -4
- package/dist/chunks/{state-zjd996k1.js → shell-g5pq00vt.js} +3 -3
- package/dist/chunks/{state-pyc9zk8k.js → shell-gb4q2wv6.js} +75 -75
- package/dist/chunks/{state-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{state-bqzea05b.js → shell-gdyfrwgs.js} +2 -2
- package/dist/chunks/{state-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
- package/dist/chunks/{state-923z2668.js → shell-gm6yx5tf.js} +21 -21
- package/dist/chunks/{state-arx8f56v.js → shell-gn41fvca.js} +355 -355
- package/dist/chunks/{state-fpw8a7zs.js → shell-gnmx9jzn.js} +13 -13
- package/dist/chunks/{state-n4dgardt.js → shell-gqbzzj38.js} +11 -11
- package/dist/chunks/{state-s2fh24gv.js → shell-grebgr4t.js} +16 -16
- package/dist/chunks/{state-z0n292p6.js → shell-gsh8dbcf.js} +7 -7
- package/dist/chunks/{state-gxs71cxp.js → shell-gxs71cxp.js} +1 -1
- package/dist/chunks/{state-8cv530b8.js → shell-haep26br.js} +46 -46
- package/dist/chunks/{state-bmzkfxac.js → shell-hgnffhq1.js} +10 -10
- package/dist/chunks/{state-hgzwgvze.js → shell-hgzwgvze.js} +2 -2
- package/dist/chunks/{state-r4gqnmyj.js → shell-hqd6z3z6.js} +53 -53
- package/dist/chunks/{state-ndssgjv1.js → shell-hsfavt19.js} +11 -11
- package/dist/chunks/{state-mxj0r9mh.js → shell-hvazaj44.js} +175 -175
- package/dist/chunks/{state-7tpyp9vw.js → shell-hy8c1z76.js} +8 -8
- package/dist/chunks/{state-tvtwxsyy.js → shell-j2q36jkf.js} +14 -14
- package/dist/chunks/{state-tr8x705m.js → shell-j376ae4e.js} +5 -5
- package/dist/chunks/{state-c6x7d2ts.js → shell-j3f8hyeg.js} +4 -4
- package/dist/chunks/{state-65jsfrh3.js → shell-j4czs83g.js} +6 -6
- package/dist/chunks/{state-3p591abm.js → shell-j4efyjr1.js} +16 -16
- package/dist/chunks/{state-hvcjhvbh.js → shell-j7e2r5j3.js} +11 -11
- package/dist/chunks/{state-jbwnkpvz.js → shell-j8k9k4df.js} +41 -41
- package/dist/chunks/{state-c5zvymhv.js → shell-jbca85dn.js} +4 -4
- package/dist/chunks/{state-p071w3jm.js → shell-jdtejstm.js} +2 -2
- package/dist/chunks/{state-m4dsmddg.js → shell-jfeypak5.js} +43 -43
- package/dist/chunks/{state-hgy5dwbr.js → shell-jfy1k2gx.js} +5 -5
- package/dist/chunks/{state-a86g2bt8.js → shell-jgp363sy.js} +5 -5
- package/dist/chunks/{state-hadx4k33.js → shell-jgqt2tj2.js} +5 -5
- package/dist/chunks/{state-21573k7e.js → shell-jja1z2vg.js} +8 -8
- package/dist/chunks/{state-bhfd478d.js → shell-jkdcm5hg.js} +4 -4
- package/dist/chunks/{state-jm70asfg.js → shell-jm70asfg.js} +1 -1
- package/dist/chunks/{state-3hrr5cv7.js → shell-jn3nq4s8.js} +11 -11
- package/dist/chunks/{state-abby1hp7.js → shell-jnvf6701.js} +31 -31
- package/dist/chunks/{state-j9z46kd8.js → shell-jpsvkcma.js} +11 -11
- package/dist/chunks/{state-m0r9mrhn.js → shell-jwy1qt1p.js} +6 -6
- package/dist/chunks/{state-rxmw0rhb.js → shell-jx447tda.js} +11 -11
- package/dist/chunks/{state-44pmzq9c.js → shell-jxd6f16v.js} +2 -2
- package/dist/chunks/{state-m2kywmf4.js → shell-kg7gfw2q.js} +6 -6
- package/dist/chunks/{state-vba67v53.js → shell-kh6f2f6m.js} +35 -35
- package/dist/chunks/{state-jbbw453h.js → shell-kk8ecaaw.js} +46 -46
- package/dist/chunks/{state-xhr0vr4z.js → shell-kmy2r0a4.js} +19 -19
- package/dist/chunks/{state-cvtq930h.js → shell-kpfg0091.js} +25 -25
- package/dist/chunks/{state-d860fp5q.js → shell-kr4rdmkf.js} +22 -22
- package/dist/chunks/{state-q9yy3jv5.js → shell-krf0dcce.js} +64 -64
- package/dist/chunks/{state-fr2qyp97.js → shell-ks29rz6y.js} +12 -12
- package/dist/chunks/{state-kt3bjfbg.js → shell-kt3bjfbg.js} +1 -1
- package/dist/chunks/{state-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{state-93xmyh8q.js → shell-kzdam8c6.js} +5 -5
- package/dist/chunks/{state-5c1tbmp4.js → shell-kztrepe5.js} +26 -26
- package/dist/chunks/{state-r8pfs0tk.js → shell-m0vfnqky.js} +159 -159
- package/dist/chunks/{state-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{state-4dfqsw0d.js → shell-m4p4r8nc.js} +4 -4
- package/dist/chunks/{state-m90tx7mw.js → shell-m90tx7mw.js} +1 -1
- package/dist/chunks/{state-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-mb7mbhnz.js → shell-mb7mbhnz.js} +3 -3
- package/dist/chunks/{state-crx0bayg.js → shell-mchgafn9.js} +25 -25
- package/dist/chunks/{state-tbd5caq6.js → shell-mdj7aq5z.js} +13 -13
- package/dist/chunks/{state-4g2y45a7.js → shell-mte4cvhm.js} +20 -20
- package/dist/chunks/{state-grdxa8jy.js → shell-mykc1p7n.js} +28 -28
- package/dist/chunks/{state-1gdzt2xj.js → shell-mym403hh.js} +1 -1
- package/dist/chunks/{state-2n6s2h8c.js → shell-n00ze04j.js} +28 -28
- package/dist/chunks/{state-a0d0vn03.js → shell-nb9jyyhf.js} +44 -44
- package/dist/chunks/{state-jaxmtxzk.js → shell-npat0gmp.js} +13 -13
- package/dist/chunks/{state-8d63t3d3.js → shell-nt52v2br.js} +17 -17
- package/dist/chunks/{state-ykw7y9nr.js → shell-nyq7g77b.js} +17 -17
- package/dist/chunks/{state-17b8a7h3.js → shell-p5tk1xdz.js} +11 -11
- package/dist/chunks/{state-1yq9hg58.js → shell-p7vhpwh8.js} +5 -5
- package/dist/chunks/{state-fd4d6nj8.js → shell-pempf0ss.js} +10 -10
- package/dist/chunks/{state-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{state-48yfz3tb.js → shell-pn6nj4xv.js} +31 -31
- package/dist/chunks/{state-etrnj9s7.js → shell-pnwsrq7c.js} +8 -8
- package/dist/chunks/{state-h5nac3dr.js → shell-ptvgvc4z.js} +2 -2
- package/dist/chunks/{state-xerazvms.js → shell-ptxdnnkz.js} +28 -28
- package/dist/chunks/{state-pxbvf64t.js → shell-pxbvf64t.js} +2 -2
- package/dist/chunks/{state-kt2vhnk6.js → shell-pxx5a2xh.js} +28 -28
- package/dist/chunks/{state-9j57p5qp.js → shell-py48kn80.js} +9 -9
- package/dist/chunks/{state-7fp7qfak.js → shell-pzyn5a6k.js} +40 -40
- package/dist/chunks/{state-61mmvpeq.js → shell-q0he7wdg.js} +5 -5
- package/dist/chunks/{state-fwg5afng.js → shell-q4gg89tw.js} +7 -7
- package/dist/chunks/{state-fcrts5pp.js → shell-q4v7z4m2.js} +5 -5
- package/dist/chunks/{state-d29c5j98.js → shell-q99m7mb9.js} +3 -3
- package/dist/chunks/{state-g6ahpmy1.js → shell-qd9p9160.js} +8 -8
- package/dist/chunks/{state-xk7swg5w.js → shell-qe73sy79.js} +21 -21
- package/dist/chunks/{state-kj9n5bvh.js → shell-qfz6bxfd.js} +4 -4
- package/dist/chunks/{state-ej37q9q9.js → shell-qkvdxj57.js} +23 -23
- package/dist/chunks/{state-896wxer7.js → shell-qm18sw8q.js} +13 -13
- package/dist/chunks/{state-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{state-9hpwr794.js → shell-qqak1ff5.js} +24 -24
- package/dist/chunks/{state-kw7mz92r.js → shell-qx70kgtf.js} +6 -6
- package/dist/chunks/{state-ksnhqdx8.js → shell-qyjevvjj.js} +10 -10
- package/dist/chunks/{state-ev2hqs01.js → shell-r29b7v1t.js} +14 -14
- package/dist/chunks/{state-1kzwae0a.js → shell-r467x9d0.js} +12 -12
- package/dist/chunks/{state-7yf4mrpk.js → shell-r50190cd.js} +18 -18
- package/dist/chunks/{state-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{state-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
- package/dist/chunks/{state-tagt9nex.js → shell-rh60nmqg.js} +26 -26
- package/dist/chunks/{state-sznb0j4e.js → shell-rhtdsm5h.js} +10 -10
- package/dist/chunks/{state-rj7jtxy8.js → shell-rj7jtxy8.js} +3 -3
- package/dist/chunks/{state-zb8b10s4.js → shell-rjmgtw96.js} +16 -16
- package/dist/chunks/{state-kv4xpykx.js → shell-rkjx68g1.js} +10 -10
- package/dist/chunks/{state-4zvs82v7.js → shell-rwdydcjz.js} +40 -40
- package/dist/chunks/{state-2p60zmnr.js → shell-s1ba0vj0.js} +2 -2
- package/dist/chunks/{state-1xc4xt0c.js → shell-s1sy6qq8.js} +12 -12
- package/dist/chunks/{state-vjz7c0d8.js → shell-s2x2xzav.js} +10 -10
- package/dist/chunks/{state-2skpza5b.js → shell-s5pm8eh5.js} +42 -42
- package/dist/chunks/{state-v7g2mpw4.js → shell-s5vjgyqt.js} +12 -12
- package/dist/chunks/{state-5kht1aj9.js → shell-s96ajdf2.js} +4 -4
- package/dist/chunks/{state-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{state-gjv7na4e.js → shell-sete29qy.js} +9 -9
- package/dist/chunks/{state-4mdat9m4.js → shell-sffgv7c6.js} +37 -37
- package/dist/chunks/{state-rcrtbk2k.js → shell-sh65p1as.js} +16 -16
- package/dist/chunks/{state-0te9php1.js → shell-sj9zktea.js} +6 -6
- package/dist/chunks/{state-maptvskn.js → shell-sm9agdn1.js} +32 -32
- package/dist/chunks/{state-2ajmtsj5.js → shell-sp3r8rdd.js} +14 -14
- package/dist/chunks/{state-mmq84whh.js → shell-spj29m8q.js} +24 -24
- package/dist/chunks/{state-a7dsdcje.js → shell-st89z1cb.js} +33 -33
- package/dist/chunks/{state-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{state-zdtba7n3.js → shell-svgz3m6v.js} +15 -15
- package/dist/chunks/{state-1vj9z2t7.js → shell-sya2xnbe.js} +21 -21
- package/dist/chunks/{state-rx7dnwpf.js → shell-t48p9t17.js} +15 -15
- package/dist/chunks/{state-yny230gw.js → shell-t6r3642g.js} +3 -3
- package/dist/chunks/{state-tbpn7jtk.js → shell-tbpn7jtk.js} +1 -1
- package/dist/chunks/{state-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{state-7tnzr79b.js → shell-teq5xbyn.js} +15 -15
- package/dist/chunks/{state-t4qcw7hc.js → shell-tkf5aevt.js} +5 -5
- package/dist/chunks/{state-ttz31trp.js → shell-ttz31trp.js} +2 -2
- package/dist/chunks/{state-tvtps2q9.js → shell-tvtps2q9.js} +1 -1
- package/dist/chunks/{state-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{state-kb4kbwnh.js → shell-ty1zr4xr.js} +4 -4
- package/dist/chunks/{state-btz4vdf2.js → shell-tz8eqr11.js} +9 -9
- package/dist/chunks/{state-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{state-ynphyzz5.js → shell-vhkn27nw.js} +14 -14
- package/dist/chunks/{state-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/{state-7y60gvjh.js → shell-vm1kvrgp.js} +21 -21
- package/dist/chunks/{state-rdagnh11.js → shell-vp6eqdrp.js} +18 -18
- package/dist/chunks/{state-6h8vcvjm.js → shell-vq0qa3sh.js} +9 -9
- package/dist/chunks/{state-ahghdt1q.js → shell-vxwd42fs.js} +24 -24
- package/dist/chunks/{state-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-9sk33afj.js → shell-w4xw9ac5.js} +6 -6
- package/dist/chunks/{state-ckn0kvtp.js → shell-w75qynz4.js} +6 -6
- package/dist/chunks/{state-w76xjer3.js → shell-w76xjer3.js} +1 -1
- package/dist/chunks/{state-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{state-146yjxz1.js → shell-wcrm9y98.js} +7 -7
- package/dist/chunks/{state-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{state-96za3h7c.js → shell-wegftbnv.js} +16 -16
- package/dist/chunks/{state-wegkxhrn.js → shell-wegkxhrn.js} +2 -2
- package/dist/chunks/{state-dfs3ke65.js → shell-wer8ypww.js} +11 -11
- package/dist/chunks/{state-29b1w24h.js → shell-wx92pfwk.js} +39 -39
- package/dist/chunks/{state-qv4pjm17.js → shell-x0zvbbfs.js} +16 -16
- package/dist/chunks/{state-4q2r4pwc.js → shell-x3fp8cfn.js} +4 -4
- package/dist/chunks/{state-gzqyvavm.js → shell-x6zf9jys.js} +13 -13
- package/dist/chunks/{state-wq6ywtgw.js → shell-x8x2yrmp.js} +14 -14
- package/dist/chunks/{state-q7q8y45y.js → shell-xa8qfgev.js} +20 -20
- package/dist/chunks/{state-w28k7sqx.js → shell-xcx857aw.js} +25 -25
- package/dist/chunks/{state-bstexjd6.js → shell-xd9cc171.js} +5 -5
- package/dist/chunks/{state-a0fq0pbv.js → shell-xe6pezxp.js} +9 -9
- package/dist/chunks/{state-157fyfz6.js → shell-xf2f9n1d.js} +26 -26
- package/dist/chunks/{state-xjr6c8m4.js → shell-xjr6c8m4.js} +1 -1
- package/dist/chunks/{state-8f7gx5vx.js → shell-xkq5tww2.js} +8 -8
- package/dist/chunks/{state-xksw6ev0.js → shell-xksw6ev0.js} +1 -1
- package/dist/chunks/{state-bz3qss21.js → shell-xqndbamq.js} +31 -31
- package/dist/chunks/{state-azqdag7d.js → shell-xvn8mnch.js} +4 -4
- package/dist/chunks/{state-822e8phb.js → shell-xvpknwdn.js} +52 -52
- package/dist/chunks/{state-t7r51tgb.js → shell-xwstg1hq.js} +9 -9
- package/dist/chunks/{state-g9ndtp1p.js → shell-y00x4xpa.js} +4 -4
- package/dist/chunks/{state-41n8xc56.js → shell-y0n2vfvz.js} +7 -7
- package/dist/chunks/{state-9cvfxry1.js → shell-y1hm2f23.js} +22 -22
- package/dist/chunks/{state-a1nxhhb0.js → shell-y8yx2agg.js} +16 -16
- package/dist/chunks/{state-ctyzbht0.js → shell-y9k74rm6.js} +7 -7
- package/dist/chunks/{state-yewyrtz9.js → shell-y9zkvspb.js} +13 -13
- package/dist/chunks/{state-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{state-1v2g13eq.js → shell-ybws1qgk.js} +4 -4
- package/dist/chunks/{state-5r6v6fc0.js → shell-yc63kapp.js} +25 -25
- package/dist/chunks/{state-2h7vmg0a.js → shell-yck4t7r7.js} +19 -19
- package/dist/chunks/{state-d2h8y0r7.js → shell-ycw42mae.js} +5 -5
- package/dist/chunks/{state-b7pq7ra0.js → shell-yg44558y.js} +10 -10
- package/dist/chunks/{state-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{state-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{state-z0wbgq7s.js → shell-z0wbgq7s.js} +1 -1
- package/dist/chunks/{state-ptx3cj57.js → shell-z2vs241d.js} +85 -85
- package/dist/chunks/{state-ze75qvmd.js → shell-ze75qvmd.js} +3 -3
- package/dist/chunks/{state-xqv8rs9y.js → shell-zfnf49qv.js} +12 -12
- package/dist/chunks/{state-bx96q59d.js → shell-zfzwag3x.js} +29 -29
- package/dist/chunks/{state-aq73hw13.js → shell-zhgzvq41.js} +11 -11
- package/dist/chunks/{state-pa611nne.js → shell-zsa3hrgx.js} +5 -5
- 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 +6 -6
- 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 +1 -1
- 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 +132 -132
- package/dist/config/plugin/command.js +247 -247
- 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 +146 -146
- 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 +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +444 -444
- 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 +3 -3
- 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 +166 -166
- 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 +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +437 -437
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- 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 +106 -106
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +1 -1
- 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 +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 +147 -147
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- 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 +109 -109
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- 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 +2 -2
- 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 +87 -87
- 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 +142 -142
- 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 +152 -152
- 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 +97 -97
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +129 -129
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +258 -258
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +99 -99
- 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 +270 -270
- 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 +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +206 -206
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +267 -267
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +170 -170
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +1 -1
- package/dist/session/runner/index.js +1 -1
- 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 +254 -254
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +163 -163
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +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 +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +173 -173
- package/dist/tool/read-filesystem.js +114 -114
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +99 -99
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +7 -7
- 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 +109 -109
- package/package.json +8 -8
- package/dist/chunks/state-qmh7vbk2.js +0 -18
- /package/dist/chunks/{state-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{state-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{state-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-7rvsyqjv.js → shell-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9ceax7yg.js → shell-9ceax7yg.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-ade8csyh.js → shell-ade8csyh.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{state-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{state-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{state-v2dnd5dt.js → shell-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x4th4bpe.js → shell-x4th4bpe.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{state-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
- /package/dist/chunks/{state-zz5vv3aq.js → shell-zz5vv3aq.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service92,
|
|
9
|
+
node94
|
|
10
|
+
} from "./shell-zfnf49qv.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service89,
|
|
13
|
+
node91
|
|
14
|
+
} from "./shell-nt52v2br.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID10,
|
|
27
|
+
Service: () => Service56,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node58,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID10 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service56 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service92;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service89;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID10.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service56.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node58 = makeLocationNode({
|
|
159
|
+
service: Service56,
|
|
160
160
|
layer,
|
|
161
|
-
deps: [FSUtil.node,
|
|
161
|
+
deps: [FSUtil.node, node94, Global.node, node91]
|
|
162
162
|
});
|
|
163
|
-
var
|
|
163
|
+
var noopLayer3 = Layer.succeed(Service56, Service56.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service40, Service40.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error3({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID10, Error3, Service56, node58, noopLayer3, exports_snapshot2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./shell-a4gm6t53.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info12,
|
|
9
|
+
ID9,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-zfzwag3x.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin10,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -434,20 +434,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
434
434
|
var ReportContent2 = report_default;
|
|
435
435
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
436
436
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
437
|
-
var
|
|
437
|
+
var Plugin10 = define({
|
|
438
438
|
id: "opencode.skill",
|
|
439
439
|
effect: Effect.fn(function* (ctx) {
|
|
440
440
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
441
441
|
yield* ctx.skill.transform((editor) => {
|
|
442
|
-
editor.add(
|
|
443
|
-
id:
|
|
442
|
+
editor.add(Info12.make({
|
|
443
|
+
id: ID9.make("opencode"),
|
|
444
444
|
name: Name2.make("OpenCode"),
|
|
445
445
|
description: OpencodeDescription2,
|
|
446
446
|
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
447
447
|
content: OpencodeContent2
|
|
448
448
|
}));
|
|
449
|
-
editor.add(
|
|
450
|
-
id:
|
|
449
|
+
editor.add(Info12.make({
|
|
450
|
+
id: ID9.make("report"),
|
|
451
451
|
name: Name2.make("Report"),
|
|
452
452
|
description: REPORT_DESCRIPTION,
|
|
453
453
|
path: AbsolutePath2.make("skill://report/SKILL.md"),
|
|
@@ -476,7 +476,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
476
476
|
`);
|
|
477
477
|
});
|
|
478
478
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
479
|
-
const config = yield*
|
|
479
|
+
const config = yield* Service78;
|
|
480
480
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
481
481
|
});
|
|
482
482
|
function terminal() {
|
|
@@ -490,4 +490,4 @@ function shell() {
|
|
|
490
490
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
493
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin10, exports_skill };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
|
-
|
|
3
|
+
layer30,
|
|
4
4
|
node89
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-954nhh0r.js";
|
|
6
6
|
import {
|
|
7
7
|
latest2,
|
|
8
|
-
|
|
8
|
+
Service78,
|
|
9
9
|
testLayer3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node80
|
|
11
|
+
} from "./shell-a4gm6t53.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/flag.ts
|
|
17
17
|
var exports_flag = {};
|
|
18
18
|
__export(exports_flag, {
|
|
19
19
|
Flag: () => exports_flag,
|
|
20
20
|
Overrides: () => Overrides2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service69,
|
|
22
22
|
all: () => all2,
|
|
23
23
|
enabled: () => enabled3,
|
|
24
|
-
layer: () =>
|
|
25
|
-
node: () =>
|
|
24
|
+
layer: () => layer25,
|
|
25
|
+
node: () => node70,
|
|
26
26
|
resolve: () => resolve3,
|
|
27
27
|
testLayer: () => testLayer2
|
|
28
28
|
});
|
|
29
29
|
import { Context, Effect, Layer, Record } from "effect";
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { ConfigFlag } from "@opencode/schema/config/flag";
|
|
32
|
-
class
|
|
32
|
+
class Service69 extends Context.Service()("@opencode/Flag") {
|
|
33
33
|
}
|
|
34
34
|
var Overrides2 = Context.Reference("@opencode/Flag/Overrides", {
|
|
35
35
|
defaultValue: () => process.env.OPENCODE_FLAGS
|
|
@@ -47,27 +47,27 @@ function resolve3(input) {
|
|
|
47
47
|
return { enabled, source };
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var layer25 = Layer.effect(Service69, Effect.gen(function* () {
|
|
51
51
|
const app = yield* Service87;
|
|
52
|
-
const config = yield*
|
|
52
|
+
const config = yield* Service78;
|
|
53
53
|
const overrides = yield* Overrides2;
|
|
54
54
|
const resolveEntries = (entries) => resolve3({ entries, channel: app.channel, overrides });
|
|
55
55
|
const all = Effect.gen(function* () {
|
|
56
56
|
return resolveEntries(yield* config.entries());
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service69.of({
|
|
59
59
|
resolve: resolveEntries,
|
|
60
60
|
all,
|
|
61
61
|
enabled: (key) => Effect.map(all, (flags) => flags[key].enabled)
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var testLayer2 = (entries = [], options) => Layer.fresh(
|
|
65
|
-
var
|
|
66
|
-
service:
|
|
67
|
-
layer:
|
|
68
|
-
deps: [node89,
|
|
64
|
+
var testLayer2 = (entries = [], options) => Layer.fresh(layer25).pipe(Layer.provideMerge(Layer.mergeAll(layer30(options?.app), testLayer3(entries), Layer.succeed(Overrides2, options?.overrides))));
|
|
65
|
+
var node70 = makeLocationNode({
|
|
66
|
+
service: Service69,
|
|
67
|
+
layer: layer25,
|
|
68
|
+
deps: [node89, node80]
|
|
69
69
|
});
|
|
70
|
-
var all2 =
|
|
71
|
-
var enabled3 = (key) =>
|
|
70
|
+
var all2 = Service69.use((flags) => flags.all);
|
|
71
|
+
var enabled3 = (key) => Service69.use((flags) => flags.enabled(key));
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service69, Overrides2, resolve3, layer25, testLayer2, node70, all2, enabled3, exports_flag };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-m90tx7mw.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-grebgr4t.js";
|
|
8
8
|
import {
|
|
9
9
|
Document3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-3qgwywyc.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service78
|
|
14
|
+
} from "./shell-a4gm6t53.js";
|
|
15
15
|
import {
|
|
16
16
|
supports2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
resolve2
|
|
18
|
+
} from "./shell-kg7gfw2q.js";
|
|
19
19
|
import {
|
|
20
20
|
observe2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-tvtps2q9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/config/plugin/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
28
28
|
__export(exports_provider3, {
|
|
29
29
|
ConfigProviderPlugin: () => exports_provider3,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin24,
|
|
31
31
|
integrate: () => integrate2
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Money } from "@opencode/schema/money";
|
|
35
35
|
import { Effect } from "effect";
|
|
36
|
-
var
|
|
36
|
+
var Plugin24 = define({
|
|
37
37
|
id: "opencode.config.provider",
|
|
38
38
|
effect: Effect.fn(function* (ctx) {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service78;
|
|
40
40
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
41
41
|
yield* ctx.integration.transform((integrations) => {
|
|
42
42
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -118,7 +118,7 @@ var Plugin34 = define({
|
|
|
118
118
|
if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base && !hadVariants || repackaged))
|
|
119
119
|
models.update(providerID, id, (model) => {
|
|
120
120
|
model.variants = [
|
|
121
|
-
...
|
|
121
|
+
...resolve2({
|
|
122
122
|
...model,
|
|
123
123
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
124
124
|
})
|
|
@@ -217,7 +217,7 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
217
217
|
models.update(providerID, id, (model) => {
|
|
218
218
|
if (config.capabilities?.reasoning !== undefined)
|
|
219
219
|
model.variants = [
|
|
220
|
-
...
|
|
220
|
+
...resolve2({ ...model, package: model.package ?? providerPackage }, supports2(config.capabilities.reasoning))
|
|
221
221
|
];
|
|
222
222
|
if (config.variants !== undefined) {
|
|
223
223
|
model.variants ??= [];
|
|
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
export {
|
|
254
|
+
export { Plugin24, integrate2, exports_provider3 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-937z30ry.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make37,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-9pgwy7mp.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node75
|
|
9
|
+
} from "./shell-9sbgfgyf.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-mykc1p7n.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service37,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node40,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -117,7 +117,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
117
117
|
}) {
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class
|
|
120
|
+
class Service37 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
121
121
|
}
|
|
122
122
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
123
123
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -322,13 +322,13 @@ var clampLine = (line) => {
|
|
|
322
322
|
const end = code >= 55296 && code <= 56319 ? MAX_LINE_LENGTH - 1 : MAX_LINE_LENGTH;
|
|
323
323
|
return line.slice(0, end) + MAX_LINE_SUFFIX;
|
|
324
324
|
};
|
|
325
|
-
var layer = Layer.effect(
|
|
326
|
-
const environment = yield*
|
|
327
|
-
return
|
|
325
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
326
|
+
const environment = yield* Service74;
|
|
327
|
+
return Service37.of({
|
|
328
328
|
list: environment.files.list,
|
|
329
329
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
330
330
|
});
|
|
331
331
|
}));
|
|
332
|
-
var
|
|
332
|
+
var node40 = makeLocationNode({ service: Service37, layer, deps: [node75] });
|
|
333
333
|
|
|
334
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, PathKindError2, DirectoryOffsetError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
334
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, PathKindError2, DirectoryOffsetError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service37, read2, node40, exports_read_filesystem };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCwd2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
make19
|
|
4
|
+
} from "./shell-8tqer3yd.js";
|
|
5
5
|
import {
|
|
6
6
|
EventStreamRejectedError2,
|
|
7
7
|
EventStreamTerminatedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-9ceax7yg.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/mcp/client.ts
|
|
14
14
|
var exports_client = {};
|
|
@@ -222,7 +222,7 @@ var connect2 = Effect.fnUntraced(function* (options) {
|
|
|
222
222
|
return yield* initialize(config.transport);
|
|
223
223
|
if (config.type === "local") {
|
|
224
224
|
const [command, ...args] = config.command;
|
|
225
|
-
const transport = yield*
|
|
225
|
+
const transport = yield* make19({
|
|
226
226
|
server,
|
|
227
227
|
command,
|
|
228
228
|
args,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-0x1mgtk1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-mb7mbhnz.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service2,
|
|
13
|
+
node: () => node3
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service2 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service2.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service2, node3, exports_update };
|