@opencode/core 0.0.0-dev-842 → 0.0.0-dev-845
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 +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +248 -248
- package/dist/bus.js +80 -80
- package/dist/chunks/{form-j7c0x7wv.js → shell-0376wd2r.js} +15 -15
- package/dist/chunks/{form-6y5bc2de.js → shell-09m30c13.js} +8 -8
- package/dist/chunks/{form-1k92ehs8.js → shell-0c9a6smd.js} +17 -17
- package/dist/chunks/{form-0b5bd7nc.js → shell-0f6bvsk3.js} +16 -16
- package/dist/chunks/{form-at6j6z2m.js → shell-0gj47m7y.js} +18 -18
- package/dist/chunks/{form-0j7gp832.js → shell-0j7gp832.js} +1 -1
- package/dist/chunks/{form-yd4epj8t.js → shell-0jqak6z7.js} +19 -19
- package/dist/chunks/{form-0ma9gw4f.js → shell-0ma9gw4f.js} +2 -2
- package/dist/chunks/{form-evgxvaw6.js → shell-0pas9fex.js} +42 -42
- package/dist/chunks/{form-s028352g.js → shell-0ptksmaw.js} +23 -23
- package/dist/chunks/{form-9zhs84ee.js → shell-0xc524zk.js} +4 -4
- package/dist/chunks/{form-tk3j38rc.js → shell-0xwpf9nm.js} +364 -364
- package/dist/chunks/{form-rqbywvpy.js → shell-11dfeftq.js} +12 -12
- package/dist/chunks/{form-y01bbref.js → shell-1435t53a.js} +3 -3
- package/dist/chunks/{form-1aqsckx4.js → shell-1aqsckx4.js} +1 -1
- package/dist/chunks/{form-g4secby6.js → shell-1d0wczam.js} +22 -22
- package/dist/chunks/{form-fw6w43k8.js → shell-1drh042d.js} +12 -12
- package/dist/chunks/{form-pz38ppbk.js → shell-1fxksq7e.js} +17 -17
- package/dist/chunks/{form-jxp4zbgy.js → shell-1rjq489n.js} +160 -160
- package/dist/chunks/{form-cjxestwk.js → shell-1trk357q.js} +23 -23
- package/dist/chunks/{form-1x2knyw4.js → shell-1x2knyw4.js} +1 -1
- package/dist/chunks/{form-m7rbn2gb.js → shell-1xzjzq12.js} +30 -30
- package/dist/chunks/{form-1yq9hg58.js → shell-1yq9hg58.js} +1 -1
- package/dist/chunks/{form-p87h0044.js → shell-1zxrx0km.js} +9 -9
- package/dist/chunks/shell-208nbn7x.js +16 -0
- package/dist/chunks/{form-5c94rcg7.js → shell-20yvxjhy.js} +22 -22
- package/dist/chunks/{form-229tvxdn.js → shell-229tvxdn.js} +1 -1
- package/dist/chunks/{form-fz5v2h79.js → shell-25ybqthv.js} +29 -29
- package/dist/chunks/{form-1ep2p91f.js → shell-27w5k9zf.js} +2 -2
- package/dist/chunks/{form-scn5v30h.js → shell-2b2r7h3k.js} +9 -9
- package/dist/chunks/{form-2fc7eemy.js → shell-2fc7eemy.js} +1 -1
- package/dist/chunks/{form-w8t0h76g.js → shell-2fc8b0kx.js} +14 -14
- package/dist/chunks/{form-rcbjwvze.js → shell-2m2g9ynh.js} +4 -4
- package/dist/chunks/{form-z2ythmv4.js → shell-2mrzfd6s.js} +21 -21
- package/dist/chunks/{form-2p60zmnr.js → shell-2p60zmnr.js} +2 -2
- package/dist/chunks/{form-fxh7cfc2.js → shell-2z7pcg50.js} +20 -20
- package/dist/chunks/{form-6taepy3j.js → shell-3288jgew.js} +4 -4
- package/dist/chunks/{form-eb4y6e43.js → shell-32j8phd5.js} +24 -24
- package/dist/chunks/{form-ywv6jdkf.js → shell-32s5n8c8.js} +11 -11
- package/dist/chunks/{form-20m6c23e.js → shell-34r5v1v3.js} +20 -20
- package/dist/chunks/{form-27vhhex7.js → shell-3aadzwqp.js} +3 -3
- package/dist/chunks/{form-ayjs7tqn.js → shell-3cbjf1nt.js} +2 -2
- package/dist/chunks/{form-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3nnrz6f6.js → shell-3nnrz6f6.js} +1 -1
- package/dist/chunks/{form-0wjy80qx.js → shell-3npftgr8.js} +11 -11
- package/dist/chunks/{form-13ttwavm.js → shell-3nw1k2zv.js} +6 -6
- package/dist/chunks/{form-5y6fv6n0.js → shell-3pxaezmg.js} +10 -10
- package/dist/chunks/{form-rhdp1g8h.js → shell-3qme0kf1.js} +18 -18
- package/dist/chunks/{form-09z4nsg5.js → shell-3s2njrkt.js} +2 -2
- package/dist/chunks/{form-0ae8gskx.js → shell-405hpm5w.js} +5 -5
- package/dist/chunks/{form-40y6dtc2.js → shell-40y6dtc2.js} +1 -1
- package/dist/chunks/{form-w2eysc6j.js → shell-40za9wsf.js} +9 -9
- package/dist/chunks/{form-44pmzq9c.js → shell-44pmzq9c.js} +2 -2
- package/dist/chunks/{form-8x9zc39d.js → shell-4bn5jfhg.js} +29 -29
- package/dist/chunks/{form-4dx1dgte.js → shell-4dx1dgte.js} +1 -1
- package/dist/chunks/{form-r542h3bh.js → shell-4f25tdd0.js} +5 -5
- package/dist/chunks/{form-c509b2xd.js → shell-4m25fs0c.js} +25 -25
- package/dist/chunks/{form-4pyp9zr9.js → shell-4pyp9zr9.js} +1 -1
- package/dist/chunks/{form-d9hmz7we.js → shell-4rrwvkzx.js} +13 -13
- package/dist/chunks/{form-4v008n1t.js → shell-4v008n1t.js} +1 -1
- package/dist/chunks/{form-bsrypqqq.js → shell-4xjy8j8p.js} +5 -5
- package/dist/chunks/{form-918maj3v.js → shell-4z1pemzx.js} +8 -8
- package/dist/chunks/{form-0e86k0yz.js → shell-537wj3tm.js} +17 -17
- package/dist/chunks/{form-a4j1t0h9.js → shell-5f11tvgc.js} +46 -46
- package/dist/chunks/{form-a9vnvp82.js → shell-5m6ckvxn.js} +14 -14
- package/dist/chunks/{form-5m9w47nd.js → shell-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-189cp306.js → shell-5r7kxkrw.js} +32 -32
- package/dist/chunks/{form-21qmnpkk.js → shell-5t2bv29q.js} +9 -9
- package/dist/chunks/{form-5bz64z4q.js → shell-5yptz2jp.js} +21 -21
- package/dist/chunks/{form-m77694tz.js → shell-643vwpv5.js} +12 -12
- package/dist/chunks/{form-t0yj1xma.js → shell-66skc788.js} +11 -11
- package/dist/chunks/{form-54da28pt.js → shell-68gmzqw4.js} +19 -19
- package/dist/chunks/{form-r3ns2zpb.js → shell-6bcwq14n.js} +5 -5
- package/dist/chunks/{form-gvvsspjy.js → shell-6hav4whp.js} +13 -13
- package/dist/chunks/{form-3qhp66jm.js → shell-6rwa7jk1.js} +5 -5
- package/dist/chunks/{form-ntrx60bt.js → shell-6sbfg0tw.js} +23 -23
- package/dist/chunks/{form-7h7tvtg0.js → shell-6sg7v011.js} +2 -2
- package/dist/chunks/{form-20ktvzzm.js → shell-6swabtyq.js} +12 -12
- package/dist/chunks/{form-yfnmf266.js → shell-6wxs95q2.js} +8 -8
- package/dist/chunks/{form-n5a26p1g.js → shell-6x9fp5f4.js} +8 -8
- package/dist/chunks/{form-t1byp53t.js → shell-70yhc4mp.js} +8 -8
- package/dist/chunks/{form-ys900tws.js → shell-75a2gs08.js} +1 -1
- package/dist/chunks/{form-ssa8s2ke.js → shell-76fw5h1w.js} +12 -12
- package/dist/chunks/{form-4tjsbxdc.js → shell-79z3x0ey.js} +12 -12
- package/dist/chunks/{form-8bvx5x22.js → shell-7bbqa9np.js} +36 -36
- package/dist/chunks/{form-v0wt9h0w.js → shell-7bkjbtdh.js} +4 -4
- package/dist/chunks/{form-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-16qcmenh.js → shell-7etmxwrw.js} +9 -9
- package/dist/chunks/{form-8sxe6kv8.js → shell-7qrph824.js} +2 -2
- package/dist/chunks/{form-7w2ypzdf.js → shell-7w2ypzdf.js} +1 -1
- package/dist/chunks/{form-7weczvnd.js → shell-7weczvnd.js} +1 -1
- package/dist/chunks/{form-3743djwj.js → shell-7yss8msg.js} +11 -11
- package/dist/chunks/{form-80mg3ag8.js → shell-80mg3ag8.js} +3 -3
- package/dist/chunks/{form-89287pr7.js → shell-89287pr7.js} +1 -1
- package/dist/chunks/{form-8b3vzgkx.js → shell-8b3vzgkx.js} +1 -1
- package/dist/chunks/{form-5whx36p1.js → shell-8cg7mtm3.js} +4 -4
- package/dist/chunks/{form-vfrxt2x7.js → shell-8dgmathe.js} +82 -82
- package/dist/chunks/{form-pnwsrq7c.js → shell-8fb3spgr.js} +6 -6
- package/dist/chunks/{form-9w464bjy.js → shell-8s61ky95.js} +17 -17
- package/dist/chunks/{form-8wtp7s3z.js → shell-8wtp7s3z.js} +1 -1
- package/dist/chunks/{form-mb7mbhnz.js → shell-8z6m94af.js} +3 -3
- package/dist/chunks/{form-8zv0xmg5.js → shell-8zv0xmg5.js} +1 -1
- package/dist/chunks/{form-kxfjk1hq.js → shell-954rbe2c.js} +5 -5
- package/dist/chunks/{form-wjtqmzzy.js → shell-96ay2w1e.js} +20 -20
- package/dist/chunks/{form-t3b41g95.js → shell-99gq5wd5.js} +20 -20
- package/dist/chunks/{form-ze4dgnex.js → shell-9cx1gfxp.js} +11 -11
- package/dist/chunks/{form-p08bfc34.js → shell-9e8m0fbc.js} +27 -27
- package/dist/chunks/{form-k36x9ds4.js → shell-9jsg05jc.js} +31 -31
- package/dist/chunks/{form-71w0tn67.js → shell-9mgth90e.js} +6 -6
- package/dist/chunks/{form-5f395gws.js → shell-9ncrnkt5.js} +2 -2
- package/dist/chunks/{form-9q8g9sv8.js → shell-9q8g9sv8.js} +1 -1
- package/dist/chunks/{form-694dpcrp.js → shell-9qqfewpb.js} +7 -7
- package/dist/chunks/{form-jv5ccajn.js → shell-9wk4aggv.js} +2 -2
- package/dist/chunks/{form-8b7mpbas.js → shell-a06r4g0m.js} +15 -15
- package/dist/chunks/{form-7nqkf5r1.js → shell-a5fx33f2.js} +6 -6
- package/dist/chunks/{form-18w41q58.js → shell-a692z59y.js} +5 -5
- package/dist/chunks/{form-g31nr9r5.js → shell-a8sr8rzb.js} +10 -10
- package/dist/chunks/{form-034tev2y.js → shell-aj7mw0zk.js} +2 -2
- package/dist/chunks/{form-azqdag7d.js → shell-azqdag7d.js} +1 -1
- package/dist/chunks/{form-bysra5t4.js → shell-b1rrmhtb.js} +7 -7
- package/dist/chunks/{form-b26ddj6h.js → shell-b26ddj6h.js} +4 -4
- package/dist/chunks/{form-k01tsexe.js → shell-b6z59cfe.js} +27 -27
- package/dist/chunks/{form-v438kgpn.js → shell-bb3pv0r8.js} +7 -7
- package/dist/chunks/{form-xfagcpqk.js → shell-bc8y4p89.js} +37 -37
- package/dist/chunks/{form-e36smfwe.js → shell-bg0mwpa3.js} +11 -11
- package/dist/chunks/{form-9ffxq9nb.js → shell-bg52gzq1.js} +11 -11
- package/dist/chunks/{form-n3h5x1j7.js → shell-bhafg173.js} +5 -5
- package/dist/chunks/{form-s26c8eb5.js → shell-bhfd478d.js} +4 -4
- package/dist/chunks/{form-160y4fy1.js → shell-bkzdj837.js} +4 -4
- package/dist/chunks/{form-fjvdb2py.js → shell-bqy6qjs0.js} +4 -4
- package/dist/chunks/{form-bstexjd6.js → shell-bstexjd6.js} +1 -1
- package/dist/chunks/{form-9br47e8c.js → shell-bvphg68q.js} +11 -11
- package/dist/chunks/{form-z134yfam.js → shell-bwwgg4gq.js} +36 -36
- package/dist/chunks/{form-c3rs14w3.js → shell-bxttbxw3.js} +21 -21
- package/dist/chunks/{form-wakhmmd1.js → shell-c74zf002.js} +16 -16
- package/dist/chunks/shell-cdf2aen0.js +26 -0
- package/dist/chunks/{form-h0x6rr14.js → shell-ch7td5aw.js} +9 -9
- package/dist/chunks/{form-ffsa8r87.js → shell-cn47eddm.js} +19 -19
- package/dist/chunks/{form-zwqpd1sv.js → shell-cttdm8w6.js} +16 -16
- package/dist/chunks/{form-cwrgdav8.js → shell-cwrgdav8.js} +2 -2
- package/dist/chunks/{form-jvqa538b.js → shell-czbtc4y4.js} +14 -14
- package/dist/chunks/shell-d77dj7jw.js +18 -0
- package/dist/chunks/{form-spshqcm8.js → shell-d89g0pyp.js} +13 -13
- package/dist/chunks/{form-ckg8xawb.js → shell-dac3x4jp.js} +36 -36
- package/dist/chunks/{form-73ff1310.js → shell-dbatw319.js} +3 -3
- package/dist/chunks/{form-eraegmzv.js → shell-ddm9bp8z.js} +16 -16
- package/dist/chunks/{form-8rapdqzr.js → shell-ddvv9kd4.js} +4 -4
- package/dist/chunks/{form-tp61pwzp.js → shell-dsamxs8t.js} +1 -1
- package/dist/chunks/{form-dt77769w.js → shell-dt77769w.js} +1 -1
- package/dist/chunks/{form-3jymkt4s.js → shell-dvnqv6yn.js} +4 -4
- package/dist/chunks/{form-6p497339.js → shell-dvt27j4v.js} +27 -27
- package/dist/chunks/{form-73y9ag02.js → shell-e174pryb.js} +8 -8
- package/dist/chunks/{form-e834z07m.js → shell-e834z07m.js} +1 -1
- package/dist/chunks/{form-308728w8.js → shell-e9cw7gmf.js} +17 -17
- package/dist/chunks/{form-yngvyh0w.js → shell-eam2557n.js} +8 -8
- package/dist/chunks/{form-nnrze58g.js → shell-eewdpb1z.js} +11 -11
- package/dist/chunks/{form-je58zs5t.js → shell-eg24kt41.js} +15 -15
- package/dist/chunks/{form-eqw4pqj1.js → shell-eqw4pqj1.js} +2 -2
- package/dist/chunks/{form-9dbgw895.js → shell-ewg1d00g.js} +20 -20
- package/dist/chunks/{form-r57t315r.js → shell-f1724s09.js} +27 -27
- package/dist/chunks/{form-f2kkz48h.js → shell-f391j6tf.js} +36 -36
- package/dist/chunks/{form-zd20d99m.js → shell-f54379qr.js} +11 -11
- package/dist/chunks/{form-d7qcj0s1.js → shell-f9r4rks5.js} +3 -3
- package/dist/chunks/{form-3t8871fy.js → shell-fdzzf5f1.js} +17 -17
- package/dist/chunks/{form-t2b5j66t.js → shell-fe6hsv98.js} +50 -50
- package/dist/chunks/{form-fffv3p7h.js → shell-fffv3p7h.js} +1 -1
- package/dist/chunks/{form-0abym86h.js → shell-ffz0kz1m.js} +16 -16
- package/dist/chunks/{form-prq7xxp2.js → shell-fg9p65nk.js} +6 -6
- package/dist/chunks/{form-t6z22wpq.js → shell-fm7r52f5.js} +33 -33
- package/dist/chunks/{form-jc2407y7.js → shell-fmyv9c6r.js} +11 -11
- package/dist/chunks/{form-kayvfd89.js → shell-frrvpzgc.js} +10 -10
- package/dist/chunks/{form-rcpcm9rp.js → shell-ft76x6ef.js} +5 -5
- package/dist/chunks/{form-wr3re1en.js → shell-fznmdakp.js} +4 -4
- package/dist/chunks/{form-q7yhqdrz.js → shell-g0n526a7.js} +10 -10
- package/dist/chunks/{form-rzg6y5rp.js → shell-g5ajqn12.js} +4 -4
- package/dist/chunks/{form-zy99nq64.js → shell-gba9zttd.js} +39 -39
- package/dist/chunks/{form-gbjdnr5j.js → shell-gbjdnr5j.js} +2 -2
- package/dist/chunks/{form-73wk2e5x.js → shell-gcjxeb8g.js} +9 -9
- package/dist/chunks/{form-f80thpwy.js → shell-ggx84v7x.js} +6 -6
- package/dist/chunks/{form-ghrv1g9c.js → shell-ghrv1g9c.js} +1 -1
- package/dist/chunks/{form-d4v9tmah.js → shell-gn8tkhbf.js} +2 -2
- package/dist/chunks/{form-mxmmsac2.js → shell-gqzdnzz8.js} +5 -5
- package/dist/chunks/{form-hzrrmept.js → shell-gtdtb6zh.js} +1 -1
- package/dist/chunks/{form-tg7s7b5t.js → shell-gxs71cxp.js} +4 -4
- package/dist/chunks/{form-vv9d6yzq.js → shell-gz6jg68s.js} +5 -5
- package/dist/chunks/{form-c3egrpe1.js → shell-h00ntfdh.js} +28 -28
- package/dist/chunks/{form-nt907s04.js → shell-h5chy42v.js} +3 -3
- package/dist/chunks/{form-3zfpb5av.js → shell-h78ntqjs.js} +8 -8
- package/dist/chunks/{form-0qeynme4.js → shell-h7yvbbcv.js} +15 -15
- package/dist/chunks/{form-wwzhm1er.js → shell-h8j0ctnd.js} +13 -13
- package/dist/chunks/{form-93emhyj4.js → shell-h9wxasy5.js} +18 -18
- package/dist/chunks/{form-7qxfdkbh.js → shell-hazbs8j2.js} +9 -9
- package/dist/chunks/{form-55z1fvan.js → shell-hgj39bj7.js} +7 -7
- package/dist/chunks/{form-hgzwgvze.js → shell-hgzwgvze.js} +2 -2
- package/dist/chunks/{form-gys30727.js → shell-hhzexzy6.js} +9 -9
- package/dist/chunks/{form-e5cb9r4c.js → shell-hpvchwm2.js} +11 -11
- package/dist/chunks/{form-nhk3pcz2.js → shell-hwkyjen6.js} +11 -11
- package/dist/chunks/{form-ra6js1h8.js → shell-hy8c1z76.js} +8 -8
- package/dist/chunks/{form-dvtygb9t.js → shell-hyka1c57.js} +10 -10
- package/dist/chunks/{form-yq1szrv8.js → shell-j2e5thya.js} +25 -17
- package/dist/chunks/{form-fqfedspm.js → shell-j57hq37t.js} +25 -25
- package/dist/chunks/{form-t12x3c57.js → shell-j8912rfd.js} +23 -23
- package/dist/chunks/{form-zp0nz9wc.js → shell-jjzjap5a.js} +5 -5
- package/dist/chunks/{form-edn7q8a0.js → shell-jm4m5v7c.js} +35 -35
- package/dist/chunks/{form-jm70asfg.js → shell-jm70asfg.js} +1 -1
- package/dist/chunks/{form-npbkx8j0.js → shell-jx7n74qh.js} +8 -8
- package/dist/chunks/{form-dr8tb8h2.js → shell-k60epa5j.js} +15 -15
- package/dist/chunks/{form-4ynbgj42.js → shell-kcfxxse4.js} +3 -3
- package/dist/chunks/{form-d1fvrzrq.js → shell-kf87nf2v.js} +15 -15
- package/dist/chunks/{form-acccg05p.js → shell-kgt7p13e.js} +18 -18
- package/dist/chunks/{form-qxhjjx9m.js → shell-kjb9hnrx.js} +34 -34
- package/dist/chunks/{form-wxxe0m6j.js → shell-kswrbrbd.js} +41 -41
- package/dist/chunks/{form-293z9b6s.js → shell-ktjv9mj5.js} +25 -25
- package/dist/chunks/{form-yte5fy8q.js → shell-kwx8p0jg.js} +5 -5
- package/dist/chunks/{form-cr44ae3x.js → shell-kz2edm91.js} +5 -5
- package/dist/chunks/{form-kzczzf4v.js → shell-kzczzf4v.js} +1 -1
- package/dist/chunks/{form-mb6fvzwn.js → shell-m117rz8z.js} +5 -5
- package/dist/chunks/{form-m1714858.js → shell-m1714858.js} +1 -1
- package/dist/chunks/{form-g0w8afv2.js → shell-m3pvbx4h.js} +20 -20
- package/dist/chunks/{form-0r23xs05.js → shell-m4gnngc2.js} +17 -17
- package/dist/chunks/{form-rcrnc85a.js → shell-m9c2aabq.js} +46 -46
- package/dist/chunks/{form-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-1frrjsr4.js → shell-mdggcxnx.js} +21 -21
- package/dist/chunks/{form-esb6qh0w.js → shell-mjd3hhf5.js} +15 -15
- package/dist/chunks/{form-gaeqj6x4.js → shell-mkzwmkqf.js} +6 -6
- package/dist/chunks/{form-mm06edep.js → shell-mm06edep.js} +1 -1
- package/dist/chunks/{form-v90yhsav.js → shell-mner3my0.js} +6 -6
- package/dist/chunks/{form-y0fy3pq0.js → shell-mnh4y74e.js} +9 -9
- package/dist/chunks/{form-9h3gp9hb.js → shell-mnkg1d8g.js} +9 -9
- package/dist/chunks/{form-z8hem9nv.js → shell-mvh0hmx3.js} +5 -5
- package/dist/chunks/{form-g180tnwk.js → shell-n0f0gc3a.js} +12 -12
- package/dist/chunks/{form-0k664v8a.js → shell-n3v17h74.js} +28 -28
- package/dist/chunks/{form-ap9d5c66.js → shell-n4e6djfc.js} +24 -24
- package/dist/chunks/{form-9tx3qs7q.js → shell-n8hn2tj1.js} +23 -23
- package/dist/chunks/{form-r7a6435k.js → shell-nbyv4xpy.js} +30 -30
- package/dist/chunks/{form-0rxnpv7m.js → shell-nd36bfyw.js} +12 -12
- package/dist/chunks/{form-8hfctyyf.js → shell-nn2nd58t.js} +7 -7
- package/dist/chunks/{form-vmqe41cb.js → shell-nr915jn7.js} +4 -4
- package/dist/chunks/{form-ybnfsn37.js → shell-nw2n20b5.js} +12 -12
- package/dist/chunks/{form-wegkxhrn.js → shell-nx4vzyjd.js} +2 -2
- package/dist/chunks/{form-xjbsd7zy.js → shell-nxxmtyhx.js} +9 -9
- package/dist/chunks/{form-vja7ev1p.js → shell-p0vvrprf.js} +29 -29
- package/dist/chunks/{form-65km4cj3.js → shell-pg0x1cv7.js} +8 -8
- package/dist/chunks/{form-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{form-vat5hr7b.js → shell-pmjkhs0p.js} +28 -28
- package/dist/chunks/{form-adgr8v99.js → shell-pt2r0h69.js} +9 -9
- package/dist/chunks/{form-04sjpjg0.js → shell-pwc55nz9.js} +6 -6
- package/dist/chunks/{form-msd2a3qm.js → shell-pxrqm68d.js} +8 -8
- package/dist/chunks/{form-w8z9qwkz.js → shell-pzcf4m7b.js} +14 -14
- package/dist/chunks/{form-v7xfb91r.js → shell-q3m1k2g5.js} +37 -37
- package/dist/chunks/{form-0r162r8a.js → shell-q5c7zkja.js} +24 -24
- package/dist/chunks/{form-fndffhh1.js → shell-q9cee3z8.js} +35 -35
- package/dist/chunks/{form-3g76ehah.js → shell-qaf687f9.js} +14 -14
- package/dist/chunks/{form-kszkre2j.js → shell-qf23cwjr.js} +8 -8
- package/dist/chunks/{form-qp7r0hxv.js → shell-qp7r0hxv.js} +1 -1
- package/dist/chunks/{form-7zbepvwg.js → shell-qr2s0mn1.js} +34 -34
- package/dist/chunks/{form-wfdx5ztx.js → shell-qsdghx1p.js} +4 -4
- package/dist/chunks/shell-qt6swdsg.js +265 -0
- package/dist/chunks/{form-fqymr2jd.js → shell-qww6qcee.js} +23 -23
- package/dist/chunks/{form-8t99kr38.js → shell-r17fbvme.js} +4 -4
- package/dist/chunks/{form-jhgtwaqc.js → shell-r2q4cnrv.js} +12 -12
- package/dist/chunks/{form-csts2fnr.js → shell-r7z94ssd.js} +78 -78
- package/dist/chunks/{form-p94p4v4n.js → shell-r7zrbnjn.js} +4 -4
- package/dist/chunks/{form-25fae597.js → shell-ramak3h7.js} +40 -40
- package/dist/chunks/{form-rb9dy4dg.js → shell-rb9dy4dg.js} +1 -1
- package/dist/chunks/{form-v25gmzk0.js → shell-rcddr6md.js} +22 -22
- package/dist/chunks/{form-yz9hf6pr.js → shell-rev8xd0k.js} +9 -9
- package/dist/chunks/{form-rgc9cx3e.js → shell-rgc9cx3e.js} +2 -2
- package/dist/chunks/{form-v5avj4xv.js → shell-rhk8bcs2.js} +13 -13
- package/dist/chunks/{form-7bzkyjdd.js → shell-rmaqdgct.js} +32 -32
- package/dist/chunks/{form-9qeywnpq.js → shell-rmxymfm5.js} +24 -24
- package/dist/chunks/{form-jq2xsbfn.js → shell-rn9mkc76.js} +7 -7
- package/dist/chunks/{form-zr8fnqvv.js → shell-rqv9g1yx.js} +4 -4
- package/dist/chunks/{form-rt5dr6hb.js → shell-rt5dr6hb.js} +1 -1
- package/dist/chunks/{form-xvbvkk60.js → shell-rt98jwbf.js} +41 -41
- package/dist/chunks/{form-rjzpb8qy.js → shell-rv4457c9.js} +8 -8
- package/dist/chunks/{form-fe5d6xp2.js → shell-s5y0a33b.js} +7 -7
- package/dist/chunks/{form-pen16d07.js → shell-s92vvz56.js} +6 -6
- package/dist/chunks/{form-sbya78hr.js → shell-sbya78hr.js} +1 -1
- package/dist/chunks/{form-3ybp4q9q.js → shell-sc0vgygz.js} +10 -10
- package/dist/chunks/{form-aqtp4w6n.js → shell-sdfbdwmp.js} +12 -12
- package/dist/chunks/{form-45x0gvrm.js → shell-sm8hvaf4.js} +20 -20
- package/dist/chunks/{form-svcy3p9a.js → shell-svcy3p9a.js} +1 -1
- package/dist/chunks/{form-ex4jkzy7.js → shell-t04xxpqv.js} +9 -9
- package/dist/chunks/{form-zyfhsknv.js → shell-t6f7t09b.js} +7 -7
- package/dist/chunks/{form-tbpn7jtk.js → shell-tbpn7jtk.js} +1 -1
- package/dist/chunks/{form-tczq8hjw.js → shell-tczq8hjw.js} +1 -1
- package/dist/chunks/{form-tr8x705m.js → shell-tr8x705m.js} +1 -1
- package/dist/chunks/{form-x9mxxg72.js → shell-tretta9n.js} +32 -32
- package/dist/chunks/{form-twssxy5n.js → shell-twssxy5n.js} +2 -2
- package/dist/chunks/{form-0ptvw50g.js → shell-v197ct80.js} +7 -7
- package/dist/chunks/{form-v2r1d0zg.js → shell-v2r1d0zg.js} +1 -1
- package/dist/chunks/{form-y1havdw8.js → shell-v37bc009.js} +3 -3
- package/dist/chunks/{form-p6exqzn6.js → shell-v7ad2pwj.js} +5 -5
- package/dist/chunks/{form-hqbz4gsn.js → shell-vbwbyck9.js} +6 -6
- package/dist/chunks/{form-vjf35v1f.js → shell-vjf35v1f.js} +1 -1
- package/dist/chunks/{form-xjcr4z2x.js → shell-vpd34e2k.js} +22 -22
- package/dist/chunks/{form-f0bx904t.js → shell-vs629ttb.js} +44 -44
- package/dist/chunks/{form-5rv27ekb.js → shell-vseznqsh.js} +3 -3
- package/dist/chunks/{form-teav1bzy.js → shell-vt4r9rmy.js} +9 -9
- package/dist/chunks/{form-cte73bdn.js → shell-vtkasd9r.js} +23 -23
- package/dist/chunks/{form-wsgv2ceh.js → shell-vvw1vw7z.js} +4 -4
- package/dist/chunks/{form-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-qx8y9ktn.js → shell-w632115p.js} +16 -16
- package/dist/chunks/{form-rca0dgyq.js → shell-w7z3hg28.js} +6 -6
- package/dist/chunks/{form-1rw0yr3p.js → shell-w9x34k8x.js} +29 -29
- package/dist/chunks/{form-wakvkjy4.js → shell-wakvkjy4.js} +1 -1
- package/dist/chunks/{form-mhrnve06.js → shell-wbj5jy1j.js} +6 -6
- package/dist/chunks/{form-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{form-rhfkjr61.js → shell-wdyst71x.js} +15 -15
- package/dist/chunks/{form-q67he66r.js → shell-wetheyd5.js} +38 -38
- package/dist/chunks/{form-ag72398e.js → shell-wj1xdvk1.js} +16 -16
- package/dist/chunks/{form-c7cw818c.js → shell-wt99tj4q.js} +5 -5
- package/dist/chunks/{form-jhfvn3va.js → shell-wtx32rv5.js} +16 -16
- package/dist/chunks/{form-wvr8xscb.js → shell-wvr8xscb.js} +1 -1
- package/dist/chunks/{form-2x25ccpa.js → shell-wz3tbts5.js} +11 -11
- package/dist/chunks/{form-x5x97v45.js → shell-wzrgv9jt.js} +2 -2
- package/dist/chunks/{form-gxs04k45.js → shell-x47kby8p.js} +4 -4
- package/dist/chunks/{form-aax7r870.js → shell-xajpbdhf.js} +6 -6
- package/dist/chunks/{form-50pr4ew0.js → shell-xb44tg6j.js} +6 -6
- package/dist/chunks/{form-r2zy42nk.js → shell-xc05pfap.js} +47 -47
- package/dist/chunks/{form-xxschbft.js → shell-xjr6c8m4.js} +4 -4
- package/dist/chunks/{form-q2jwrh60.js → shell-xmx7xj34.js} +5 -5
- package/dist/chunks/{form-802gct3x.js → shell-xpkbe0n0.js} +30 -30
- package/dist/chunks/{form-bnf3g5rh.js → shell-xxj247ny.js} +2 -2
- package/dist/chunks/{form-ez6029c8.js → shell-y3tc4mqh.js} +3 -3
- package/dist/chunks/{form-v4jcgqv3.js → shell-y6jpg1cr.js} +52 -52
- package/dist/chunks/{form-8ftgkh75.js → shell-y9hckaaa.js} +3 -3
- package/dist/chunks/{form-yb20nhc3.js → shell-yb20nhc3.js} +1 -1
- package/dist/chunks/{form-yewazj63.js → shell-yj3gcj8g.js} +39 -39
- package/dist/chunks/{form-rw19kyxe.js → shell-yj4dxp6f.js} +10 -10
- package/dist/chunks/{form-kswbdfdp.js → shell-yn0csnzd.js} +22 -22
- package/dist/chunks/{form-yr705xyq.js → shell-yr705xyq.js} +1 -1
- package/dist/chunks/{form-yts2a8qm.js → shell-yts2a8qm.js} +1 -1
- package/dist/chunks/{form-yvtc2x31.js → shell-yvtc2x31.js} +1 -1
- package/dist/chunks/{form-4tqs0jzk.js → shell-yydqqga9.js} +4 -4
- package/dist/chunks/{form-jbhyw86b.js → shell-z5ce19gj.js} +83 -83
- package/dist/chunks/{form-7zcbhqwr.js → shell-zagh74s1.js} +59 -59
- package/dist/chunks/{form-ze75qvmd.js → shell-ze75qvmd.js} +3 -3
- package/dist/chunks/{form-wqvsbzj7.js → shell-zhjkbk77.js} +4 -4
- package/dist/chunks/{form-by8ty0bx.js → shell-zpdbqgja.js} +4 -4
- package/dist/chunks/{form-4ty7fwzn.js → shell-zv7dwkwz.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- 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 +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +131 -131
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- 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 +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +431 -431
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- 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 +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +180 -180
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +126 -126
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +114 -114
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +87 -87
- 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 +419 -419
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- 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 +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- 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 +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- 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 +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- 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 +245 -245
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +143 -143
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- 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 +100 -100
- 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 +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- 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 +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/form-4m6g1g4q.js +0 -16
- package/dist/chunks/form-7yv5xa0k.js +0 -18
- package/dist/chunks/form-htg0wy1g.js +0 -26
- package/dist/chunks/form-pw7hxex3.js +0 -265
- /package/dist/chunks/{form-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-108x4f4w.js → shell-108x4f4w.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kah00gy.js → shell-1kah00gy.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → shell-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3af0jn4w.js → shell-3af0jn4w.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4qk9sjk2.js → shell-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5w3e23ze.js → shell-5w3e23ze.js} +0 -0
- /package/dist/chunks/{form-6agm2x70.js → shell-6agm2x70.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → shell-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → shell-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → shell-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-beh6qq61.js → shell-beh6qq61.js} +0 -0
- /package/dist/chunks/{form-bhmrqjy3.js → shell-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cqv5kn06.js → shell-cqv5kn06.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-ean2d8b5.js → shell-ean2d8b5.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fkpq3x5p.js → shell-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → shell-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jwr30sdr.js → shell-jwr30sdr.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → shell-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-nh4v3znn.js → shell-nh4v3znn.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-p71gwv9c.js → shell-p71gwv9c.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-syrav9an.js → shell-syrav9an.js} +0 -0
- /package/dist/chunks/{form-t03h4f5z.js → shell-t03h4f5z.js} +0 -0
- /package/dist/chunks/{form-ty7weeps.js → shell-ty7weeps.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → shell-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-vtarvj67.js → shell-vtarvj67.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x4th4bpe.js → shell-x4th4bpe.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-z0h12gs8.js → shell-z0h12gs8.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → shell-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → shell-z9919s4g.js} +0 -0
- /package/dist/chunks/{form-zxpyjp51.js → shell-zxpyjp51.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-zhjkbk77.js";
|
|
5
5
|
import {
|
|
6
6
|
RecoverySchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-75a2gs08.js";
|
|
8
8
|
import {
|
|
9
9
|
JobTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-kzczzf4v.js";
|
|
11
11
|
import {
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-f9r4rks5.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessage2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-gftt206x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/job.ts
|
|
22
22
|
var exports_job = {};
|
|
23
23
|
__export(exports_job, {
|
|
24
24
|
Job: () => exports_job,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service62,
|
|
26
26
|
make: () => make29,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node63
|
|
28
28
|
});
|
|
29
29
|
import { asc, eq, or } from "drizzle-orm";
|
|
30
30
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
@@ -40,7 +40,7 @@ var Background = Schema.Struct({
|
|
|
40
40
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
41
41
|
var COMPLETED_LIMIT = 25;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service62 extends Context.Service()("@opencode/Job") {
|
|
44
44
|
}
|
|
45
45
|
function snapshot(job) {
|
|
46
46
|
return {
|
|
@@ -392,7 +392,7 @@ var make29 = Effect.gen(function* () {
|
|
|
392
392
|
next.delete(entry[0]);
|
|
393
393
|
return next;
|
|
394
394
|
})));
|
|
395
|
-
return
|
|
395
|
+
return Service62.of({
|
|
396
396
|
get,
|
|
397
397
|
start,
|
|
398
398
|
wait,
|
|
@@ -407,7 +407,7 @@ var make29 = Effect.gen(function* () {
|
|
|
407
407
|
completeBackground
|
|
408
408
|
});
|
|
409
409
|
});
|
|
410
|
-
var layer = Layer.effect(
|
|
411
|
-
var
|
|
410
|
+
var layer = Layer.effect(Service62, make29);
|
|
411
|
+
var node63 = makeGlobalNode({ service: Service62, layer, deps: [node96] });
|
|
412
412
|
|
|
413
|
-
export {
|
|
413
|
+
export { Service62, make29, node63, exports_job };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./shell-gba9zttd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info10,
|
|
9
|
+
ID8,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-1trk357q.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin13,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
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.";
|
|
432
432
|
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.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin13 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info10.make({
|
|
439
|
+
id: ID8.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("skill://opencode/SKILL.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info10.make({
|
|
446
|
+
id: ID8.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("skill://report/SKILL.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service77;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin13, exports_skill };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-0f6bvsk3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service65,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node66,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node66 = LayerNode.unbound(Service65, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service65;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -48,4 +48,4 @@ function canonical3(ref) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service65, node66, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
connectionEnv2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-bb3pv0r8.js";
|
|
4
4
|
import {
|
|
5
5
|
Model2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-4z1pemzx.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
PACKAGE2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-99gq5wd5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/claude-agent/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
ClaudeAISDK: () => exports_aisdk,
|
|
19
|
-
register: () =>
|
|
19
|
+
register: () => register3
|
|
20
20
|
});
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var register3 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
|
|
23
23
|
const context = yield* Effect.context();
|
|
24
24
|
const run = Effect.runPromiseWith(context);
|
|
25
25
|
const dependencies = {
|
|
@@ -39,4 +39,4 @@ var register5 = Effect.fn("ClaudeAISDK.register")(function* (ctx, sessions) {
|
|
|
39
39
|
}), { providerID: ID3 });
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { register3, exports_aisdk };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-rb9dy4dg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service83
|
|
13
|
+
} from "./shell-0f6bvsk3.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-mdggcxnx.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service83;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin3, exports_hg };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./shell-gba9zttd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./shell-hwkyjen6.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-mm06edep.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin43
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin43 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service77;
|
|
27
|
+
const output = yield* Service73;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin29 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin43, exports_tool_output };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service73,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node74
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service73 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service73.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node74 = makeLocationNode({
|
|
143
|
+
service: Service73,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service73, node74, exports_tool_output2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batches2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-jm70asfg.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionMessage2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-gftt206x.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-y9hckaaa.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read5
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-r7zrbnjn.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2,
|
|
16
16
|
SessionPartTable2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shell-8z6m94af.js";
|
|
18
18
|
import {
|
|
19
19
|
initial2,
|
|
20
20
|
preview3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-ddvv9kd4.js";
|
|
22
22
|
import {
|
|
23
23
|
User3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shell-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrate2,
|
|
27
27
|
keepRefs2,
|
|
28
28
|
describe3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-ch7td5aw.js";
|
|
30
30
|
import {
|
|
31
31
|
messageToText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-v2r1d0zg.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./shell-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/history.ts
|
|
38
38
|
var exports_history = {};
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-6swabtyq.js";
|
|
7
7
|
import {
|
|
8
8
|
invocation2,
|
|
9
9
|
Service67
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-4bn5jfhg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
Service20,
|
|
13
|
+
resolvePath2
|
|
14
|
+
} from "./shell-0ptksmaw.js";
|
|
14
15
|
import {
|
|
15
16
|
DirectoryUnavailableError2
|
|
16
|
-
} from "./
|
|
17
|
+
} from "./shell-gn8tkhbf.js";
|
|
17
18
|
import {
|
|
18
|
-
|
|
19
|
+
Info6,
|
|
19
20
|
List2,
|
|
20
21
|
InvalidDirectoryError2,
|
|
21
22
|
StrategyUnavailableError2,
|
|
22
23
|
OperationError2
|
|
23
|
-
} from "./
|
|
24
|
+
} from "./shell-f391j6tf.js";
|
|
24
25
|
import {
|
|
25
26
|
__export
|
|
26
|
-
} from "./
|
|
27
|
+
} from "./shell-9rqn6x4v.js";
|
|
27
28
|
|
|
28
29
|
// src/tool/plugin/opencode.ts
|
|
29
30
|
var exports_opencode = {};
|
|
@@ -31,7 +32,7 @@ __export(exports_opencode, {
|
|
|
31
32
|
ModelsInput: () => ModelsInput2,
|
|
32
33
|
MoveInput: () => MoveInput2,
|
|
33
34
|
OpenCodeTools: () => exports_opencode,
|
|
34
|
-
Plugin: () =>
|
|
35
|
+
Plugin: () => Plugin28,
|
|
35
36
|
RenameInput: () => RenameInput2,
|
|
36
37
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
37
38
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -40,6 +41,7 @@ import { SystemPart, ToolFailure } from "@opencode/ai/effect";
|
|
|
40
41
|
import { Model } from "@opencode/schema/model";
|
|
41
42
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
42
43
|
import { Session } from "@opencode/schema/session";
|
|
44
|
+
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
45
|
import { Effect, Schema } from "effect";
|
|
44
46
|
var RenameInput2 = Schema.Struct({
|
|
45
47
|
sessionID: Schema.optionalKey(Session.ID).annotate({ description: "Omit to rename the current session." }),
|
|
@@ -109,10 +111,10 @@ var ModelsOutput = Schema.Struct({
|
|
|
109
111
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
110
112
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
111
113
|
});
|
|
112
|
-
var
|
|
114
|
+
var Plugin28 = {
|
|
113
115
|
id: "opencode.tools",
|
|
114
116
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
115
|
-
const access = yield*
|
|
117
|
+
const access = yield* Service20;
|
|
116
118
|
const permission = yield* Service67;
|
|
117
119
|
const hook = (event) => Effect.sync(() => {
|
|
118
120
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
@@ -150,14 +152,20 @@ var Plugin13 = {
|
|
|
150
152
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
151
153
|
execute: (input, context) => Effect.gen(function* () {
|
|
152
154
|
const sessionID = input.sessionID ?? context.sessionID;
|
|
155
|
+
const session = yield* ctx.session.get({ sessionID });
|
|
156
|
+
const directory = AbsolutePath.make(resolvePath2(session.location.directory, input.directory.trim()));
|
|
157
|
+
const target = yield* access.resolve({ path: directory, kind: "directory" });
|
|
158
|
+
const worktrees = target.externalDirectory ? yield* ctx.worktree.list({ projectID: ctx.location.project.id }) : [];
|
|
159
|
+
if (!worktrees.some((worktree) => FSUtil.contains(worktree.directory, directory)))
|
|
160
|
+
yield* access.authorizeExternal([target], context);
|
|
153
161
|
yield* ctx.session.move({
|
|
154
162
|
sessionID,
|
|
155
|
-
directory
|
|
163
|
+
directory,
|
|
156
164
|
delivery: "steer"
|
|
157
165
|
});
|
|
158
166
|
return {
|
|
159
|
-
output: { sessionID, directory
|
|
160
|
-
content: `Moved session ${sessionID} to ${
|
|
167
|
+
output: { sessionID, directory },
|
|
168
|
+
content: `Moved session ${sessionID} to ${directory}.`
|
|
161
169
|
};
|
|
162
170
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Unable to move session to ${input.directory}`, error })))
|
|
163
171
|
});
|
|
@@ -165,7 +173,7 @@ var Plugin13 = {
|
|
|
165
173
|
name: "worktree_create",
|
|
166
174
|
description: "Create a named worktree. Returns its directory.",
|
|
167
175
|
input: WorktreeCreateInput2,
|
|
168
|
-
output:
|
|
176
|
+
output: Info6,
|
|
169
177
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
170
178
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
171
179
|
});
|
|
@@ -260,4 +268,4 @@ function removeFailure(directory, error) {
|
|
|
260
268
|
return `Unable to remove worktree ${directory}.`;
|
|
261
269
|
}
|
|
262
270
|
|
|
263
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
271
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin28, exports_opencode };
|