@opencode/core 0.0.0-dev-21811 → 0.0.0-dev-21817
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 +85 -85
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{model-retry-8bc2ahr8.js → image-033a0jkt.js} +3 -3
- package/dist/chunks/{model-retry-034tev2y.js → image-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-hhtnk8qy.js → image-05nfgzjq.js} +10 -10
- package/dist/chunks/{model-retry-bb0y23dv.js → image-07vs3nj0.js} +10 -10
- package/dist/chunks/{model-retry-vcngc2jq.js → image-0gc146vq.js} +33 -33
- package/dist/chunks/{model-retry-nf83kzdy.js → image-0m97cnkj.js} +37 -37
- package/dist/chunks/{model-retry-7n7qp0dz.js → image-0r1vx8v5.js} +31 -31
- package/dist/chunks/{model-retry-qq9g4at8.js → image-0s5s6e2d.js} +51 -51
- package/dist/chunks/{model-retry-82vzzvc0.js → image-0tg8k0ws.js} +12 -12
- package/dist/chunks/{model-retry-qv0xhenj.js → image-0xms9gce.js} +91 -91
- package/dist/chunks/{model-retry-f4fcece7.js → image-13a2mh91.js} +16 -16
- package/dist/chunks/{model-retry-enkpkfwx.js → image-160yv0cs.js} +8 -8
- package/dist/chunks/{model-retry-0rax2qmn.js → image-16hjntf9.js} +15 -15
- package/dist/chunks/{model-retry-qqg9c0kv.js → image-184a1rnm.js} +7 -7
- package/dist/chunks/{model-retry-1ep2p91f.js → image-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-27994c7b.js → image-1f7agfq0.js} +5 -5
- package/dist/chunks/{model-retry-jj52rngq.js → image-1fwkns73.js} +5 -5
- package/dist/chunks/{model-retry-4drgpw32.js → image-1nwxscpy.js} +5 -5
- package/dist/chunks/{model-retry-t9jfkh4s.js → image-1w13evse.js} +17 -17
- package/dist/chunks/{model-retry-1x2knyw4.js → image-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-1yq9hg58.js → image-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-retry-n4g6yntc.js → image-24xfnb6j.js} +12 -12
- package/dist/chunks/{model-retry-btcc31mt.js → image-2mrxht5b.js} +13 -13
- package/dist/chunks/{model-retry-7pp4cpj7.js → image-2nj0wjyp.js} +2 -2
- package/dist/chunks/{model-retry-gj1k22fm.js → image-2yw6w8fw.js} +8 -8
- package/dist/chunks/{model-retry-aqd38yqk.js → image-2z1fntxb.js} +16 -16
- package/dist/chunks/{model-retry-2z1j29yd.js → image-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-retry-j910h5aj.js → image-2z7erwjw.js} +3 -3
- package/dist/chunks/{model-retry-a0y3te94.js → image-31r5thkn.js} +11 -11
- package/dist/chunks/{model-retry-4jred12r.js → image-326fkxd2.js} +23 -23
- package/dist/chunks/{model-retry-6c5cd6ez.js → image-32s59e8p.js} +9 -9
- package/dist/chunks/{model-retry-cg67sgqr.js → image-35fhh73b.js} +30 -30
- package/dist/chunks/{model-retry-17cjzed1.js → image-36qx82yz.js} +4 -4
- package/dist/chunks/{model-retry-qk2x4zmh.js → image-37cktt0g.js} +32 -32
- package/dist/chunks/{model-retry-hp8gawhw.js → image-3gqz1bk6.js} +19 -19
- package/dist/chunks/{model-retry-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-gxvxk964.js → image-3n1ttctm.js} +13 -13
- package/dist/chunks/{model-retry-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-0nd9gsrv.js → image-3t73xeyv.js} +2 -2
- package/dist/chunks/{model-retry-w4qj5bhy.js → image-3zqzrtkk.js} +49 -49
- package/dist/chunks/{model-retry-p8s7ax7s.js → image-40p0fyqq.js} +4 -4
- package/dist/chunks/{model-retry-bdw1mhts.js → image-4ad74sg8.js} +32 -32
- package/dist/chunks/{model-retry-y2nf64jh.js → image-4jnmqarr.js} +17 -17
- package/dist/chunks/{model-retry-17xhxfsn.js → image-4sxex0rx.js} +14 -14
- package/dist/chunks/{model-retry-4v008n1t.js → image-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-hjvwy4ms.js → image-4v1m73gd.js} +33 -33
- package/dist/chunks/{model-retry-bzve7h1n.js → image-4wc3fxck.js} +30 -30
- package/dist/chunks/{model-retry-4xvmh7wp.js → image-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-retry-kbx45pjb.js → image-4xy1sasq.js} +29 -29
- package/dist/chunks/{model-retry-5shay012.js → image-4z67m3qv.js} +25 -25
- package/dist/chunks/{model-retry-cbyrzr95.js → image-51xz9zrd.js} +32 -32
- package/dist/chunks/{model-retry-5m9w47nd.js → image-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-b6vsg801.js → image-5nnwax6m.js} +5 -5
- package/dist/chunks/{model-retry-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-retry-1602d4m9.js → image-5qv54f7z.js} +9 -9
- package/dist/chunks/{model-retry-2ns8tfyg.js → image-5sdj1qr8.js} +9 -9
- package/dist/chunks/{model-retry-mxjqcj4f.js → image-5sf4bm6j.js} +17 -17
- package/dist/chunks/{model-retry-678hegmz.js → image-62tfx8ce.js} +9 -9
- package/dist/chunks/{model-retry-qwc3x251.js → image-68zmakm4.js} +14 -14
- package/dist/chunks/{model-retry-xcbrzhrb.js → image-6b8sz5eq.js} +332 -332
- package/dist/chunks/{model-retry-6esdw8yj.js → image-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-retry-6pjqjmy2.js → image-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-retry-debkngxd.js → image-6r4vkcek.js} +8 -8
- package/dist/chunks/{model-retry-vxp3z339.js → image-6vep9ays.js} +24 -24
- package/dist/chunks/{model-retry-a5kv7pbm.js → image-6xd8dker.js} +17 -17
- package/dist/chunks/image-6zjm2phc.js +18 -0
- package/dist/chunks/{model-retry-t9hc3t3t.js → image-73jz4da7.js} +18 -18
- package/dist/chunks/{model-retry-eqhrgn58.js → image-75jwphnh.js} +51 -51
- package/dist/chunks/{model-retry-3109wbwk.js → image-76md86nq.js} +22 -22
- package/dist/chunks/{model-retry-nah043kf.js → image-770pw0s1.js} +4 -4
- package/dist/chunks/{model-retry-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-q5jvcvf9.js → image-7ce27r81.js} +7 -7
- package/dist/chunks/{model-retry-vp3hqrv6.js → image-7chq9j9h.js} +26 -26
- package/dist/chunks/{model-retry-sdxwz4vj.js → image-7ecx6m67.js} +5 -5
- package/dist/chunks/{model-retry-h58n2v2h.js → image-7gwka3rf.js} +8 -8
- package/dist/chunks/{model-retry-6zcc165v.js → image-7vp7j2yf.js} +6 -6
- package/dist/chunks/{model-retry-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-mvf5yed7.js → image-80de0dpk.js} +15 -15
- package/dist/chunks/{model-retry-ca1hzz0z.js → image-87r11qxp.js} +7 -7
- package/dist/chunks/{model-retry-q35f0zmw.js → image-8anjt5n3.js} +16 -16
- package/dist/chunks/{model-retry-zewy1hcb.js → image-8j5cfpkk.js} +11 -11
- package/dist/chunks/{model-retry-7816y9pf.js → image-8satscgr.js} +15 -15
- package/dist/chunks/{model-retry-p5t4xveb.js → image-8tmbg2kp.js} +5 -5
- package/dist/chunks/{model-retry-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-pzm5e1e5.js → image-8zef63vm.js} +1 -1
- package/dist/chunks/{model-retry-4z907t0k.js → image-91ht5475.js} +20 -20
- package/dist/chunks/{model-retry-91rj84md.js → image-91rj84md.js} +1 -1
- package/dist/chunks/{model-retry-n9nqya42.js → image-98hqkj1t.js} +11 -11
- package/dist/chunks/{model-retry-998yhzzq.js → image-998yhzzq.js} +3 -3
- package/dist/chunks/{model-retry-p3ns8jke.js → image-9bdme720.js} +19 -19
- package/dist/chunks/{model-retry-9cx9sm2q.js → image-9cx9sm2q.js} +1 -1
- package/dist/chunks/{model-retry-g91txfza.js → image-9m4m3tqa.js} +12 -12
- package/dist/chunks/{model-retry-4gytfbka.js → image-9r6cxg0d.js} +3 -3
- package/dist/chunks/{model-retry-6kqns4w6.js → image-9tmx0py5.js} +23 -23
- package/dist/chunks/{model-retry-wa0020sp.js → image-a4y6e5tc.js} +38 -38
- package/dist/chunks/{model-retry-hawc6q6s.js → image-acgs9a2s.js} +4 -4
- package/dist/chunks/{model-retry-kwp52g30.js → image-afasrztg.js} +10 -10
- package/dist/chunks/{model-retry-rf0yhvg8.js → image-asvpa677.js} +22 -22
- package/dist/chunks/{model-retry-ayjs7tqn.js → image-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-b0mv4wxm.js → image-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-retry-egv1p4fb.js → image-b0zs6kwq.js} +38 -38
- package/dist/chunks/{model-retry-p81fp5vk.js → image-b5fch5tq.js} +31 -31
- package/dist/chunks/{model-retry-4q0yhm9h.js → image-bfrs3k34.js} +4 -4
- package/dist/chunks/{model-retry-c7w6gk0d.js → image-bh6xg5j5.js} +9 -9
- package/dist/chunks/{model-retry-7kjvv3j6.js → image-bjf48tk7.js} +14 -14
- package/dist/chunks/{model-retry-zzdv5d93.js → image-bjhzkqyk.js} +4 -4
- package/dist/chunks/{model-retry-bfrx3eet.js → image-bjzxnqba.js} +86 -86
- package/dist/chunks/{model-retry-hmg9k6g3.js → image-br0sk681.js} +20 -20
- package/dist/chunks/{model-retry-b0qepsp5.js → image-c1expc71.js} +27 -27
- package/dist/chunks/{model-retry-wx4hn9c6.js → image-c98vtka0.js} +21 -21
- package/dist/chunks/{model-retry-ssfehs1z.js → image-c9t2ty9q.js} +4 -4
- package/dist/chunks/{model-retry-km7czr20.js → image-ca52p5rq.js} +24 -24
- package/dist/chunks/{model-retry-b3mc3p58.js → image-cc7p5mm7.js} +14 -14
- package/dist/chunks/{model-retry-58sptegr.js → image-cfvcma3s.js} +43 -43
- package/dist/chunks/{model-retry-rrq81g5f.js → image-cymceqyh.js} +19 -19
- package/dist/chunks/{model-retry-pk8bqs0r.js → image-d29abm0w.js} +11 -11
- package/dist/chunks/{model-retry-d4v9tmah.js → image-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-e5nt5pcv.js → image-djkw662e.js} +4 -4
- package/dist/chunks/{model-retry-0p88zpcm.js → image-dk5xnaxx.js} +4 -4
- package/dist/chunks/{model-retry-425q9h2g.js → image-dvx5xhvb.js} +19 -19
- package/dist/chunks/{model-retry-3gv0spa2.js → image-e45fk36t.js} +4 -4
- package/dist/chunks/{model-retry-mt48qw68.js → image-e7xzzatt.js} +12 -12
- package/dist/chunks/{model-retry-e834z07m.js → image-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-mv9cyhb6.js → image-eq0jjftn.js} +30 -30
- package/dist/chunks/{model-retry-335tf8xn.js → image-ers7egr9.js} +13 -13
- package/dist/chunks/{model-retry-d8g76yr4.js → image-esj9r7gb.js} +18 -18
- package/dist/chunks/{model-retry-745re5am.js → image-etdykhby.js} +5 -5
- package/dist/chunks/{model-retry-9dx6tkdq.js → image-ewbwv8zd.js} +14 -14
- package/dist/chunks/{model-retry-e1g8hcy1.js → image-f6a8s9j6.js} +18 -18
- package/dist/chunks/{model-retry-hjg4cfjr.js → image-f7jaqbwj.js} +65 -65
- package/dist/chunks/{model-retry-aqw6e5th.js → image-fbqneh5y.js} +23 -23
- package/dist/chunks/{model-retry-fffv3p7h.js → image-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-9ye8ngw9.js → image-fgfynbdy.js} +2 -2
- package/dist/chunks/{model-retry-wwf1bymv.js → image-fjw90z1x.js} +21 -21
- package/dist/chunks/{model-retry-hhqqebc6.js → image-fmt5mq3p.js} +15 -15
- package/dist/chunks/{model-retry-9nt4jrra.js → image-frqw5egg.js} +11 -11
- package/dist/chunks/{model-retry-wr3re1en.js → image-fznmdakp.js} +4 -4
- package/dist/chunks/{model-retry-g5h9c0rr.js → image-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-retry-v2ydvkbp.js → image-g5n2wz6e.js} +35 -35
- package/dist/chunks/{model-retry-592w8t9y.js → image-g5sxpg0e.js} +31 -31
- package/dist/chunks/image-gbhxq8h0.js +26 -0
- package/dist/chunks/{model-retry-acdmrrd1.js → image-gq3cesnx.js} +8 -8
- package/dist/chunks/{model-retry-kw23vkf0.js → image-gtns7z1w.js} +1 -1
- package/dist/chunks/{model-retry-kspt1gd4.js → image-gwv49t1j.js} +8 -8
- package/dist/chunks/{model-retry-ppheb231.js → image-gy2mam1y.js} +1 -1
- package/dist/chunks/{model-retry-avfqqwb2.js → image-gympdgax.js} +6 -6
- package/dist/chunks/{model-retry-cpmqfxcq.js → image-h83evwjx.js} +27 -27
- package/dist/chunks/{model-retry-wc86xy3n.js → image-hcmp2j52.js} +17 -17
- package/dist/chunks/{model-retry-jq88ke7r.js → image-hdfrs5mg.js} +9 -9
- package/dist/chunks/{model-retry-wdzvz19b.js → image-hdprjw5h.js} +16 -16
- package/dist/chunks/{model-retry-d9qwxpwd.js → image-hh06m4mq.js} +28 -28
- package/dist/chunks/{model-retry-j113cymg.js → image-j113cymg.js} +1 -1
- package/dist/chunks/{model-retry-s44wx98y.js → image-j62djdb6.js} +12 -12
- package/dist/chunks/{model-retry-m8kw722f.js → image-j95naedj.js} +52 -52
- package/dist/chunks/{model-retry-e5dqjz6v.js → image-jchrqzf6.js} +4 -4
- package/dist/chunks/{model-retry-1hm6kjpw.js → image-jheynnxb.js} +9 -9
- package/dist/chunks/{model-retry-t6j5m88d.js → image-jhhnbm9k.js} +11 -11
- package/dist/chunks/{model-retry-6hwc1pvx.js → image-jhj078t7.js} +20 -20
- package/dist/chunks/{model-retry-m81bzjfe.js → image-jj9caqwr.js} +11 -11
- package/dist/chunks/{model-retry-tmgcn98f.js → image-jjg5yz1h.js} +9 -9
- package/dist/chunks/{model-retry-paae1hvb.js → image-jnew0sa6.js} +10 -10
- package/dist/chunks/{model-retry-4g74bq5f.js → image-jxmjtapz.js} +9 -9
- package/dist/chunks/{model-retry-k814nvkf.js → image-k814nvkf.js} +1 -1
- package/dist/chunks/{model-retry-e1zjyyvc.js → image-kep8e7gv.js} +47 -47
- package/dist/chunks/{model-retry-d1aynxky.js → image-kmw1we2g.js} +60 -60
- package/dist/chunks/{model-retry-138ss78d.js → image-knsqv29b.js} +9 -9
- package/dist/chunks/{model-retry-753xhzz2.js → image-kr6h56mz.js} +3 -3
- package/dist/chunks/{model-retry-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-m1714858.js → image-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-ek5jse1b.js → image-m53nxytj.js} +28 -28
- package/dist/chunks/{model-retry-hhtmqaqt.js → image-m9a097ew.js} +21 -21
- package/dist/chunks/{model-retry-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → image-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-y6413w8f.js → image-mb69sj47.js} +11 -11
- package/dist/chunks/{model-retry-mdmq4ayq.js → image-mbxehrxz.js} +6 -6
- package/dist/chunks/{model-retry-v6h5bgwd.js → image-me7kxg3j.js} +8 -8
- package/dist/chunks/{model-retry-hbjmb8md.js → image-mgcbmcs2.js} +6 -6
- package/dist/chunks/{model-retry-mnb0kth4.js → image-mjvp2mh8.js} +19 -19
- package/dist/chunks/{model-retry-bje4knzw.js → image-mn53dk4j.js} +6 -6
- package/dist/chunks/{model-retry-y4f1fvfh.js → image-ms29xhn4.js} +27 -27
- package/dist/chunks/{model-retry-dher8hzb.js → image-mwm3htwg.js} +11 -11
- package/dist/chunks/{model-retry-h9wrc0vd.js → image-mz3rk0b0.js} +28 -28
- package/dist/chunks/{model-retry-t0vy2dfp.js → image-n37ne1mj.js} +12 -12
- package/dist/chunks/{model-retry-0j1r4c82.js → image-nev9sh8h.js} +2 -2
- package/dist/chunks/{model-retry-jy2ar7az.js → image-nn9s4rnw.js} +11 -11
- package/dist/chunks/{model-retry-y1rtgf89.js → image-nssth8b2.js} +27 -27
- package/dist/chunks/{model-retry-kkew1p9e.js → image-nszthedh.js} +6 -6
- package/dist/chunks/{model-retry-z3wn5wtx.js → image-nv9yd4aq.js} +9 -9
- package/dist/chunks/{model-retry-npaxjfat.js → image-nw37va1b.js} +37 -37
- package/dist/chunks/{model-retry-5dewdarb.js → image-ny9zvw5p.js} +15 -15
- package/dist/chunks/{model-retry-p015t6z3.js → image-p015t6z3.js} +2 -2
- package/dist/chunks/{model-retry-qnz3a88e.js → image-pa402c6d.js} +11 -11
- package/dist/chunks/{model-retry-faewc6h3.js → image-pacbbjc0.js} +5 -5
- package/dist/chunks/{model-retry-1dswpn68.js → image-pdbd51ba.js} +1 -1
- package/dist/chunks/{model-retry-f6n6tb5m.js → image-pdvd7m1f.js} +18 -18
- package/dist/chunks/{model-retry-fx6779qx.js → image-pg44jm9h.js} +51 -51
- package/dist/chunks/{model-retry-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-5xypjhga.js → image-prd1yy6a.js} +1 -1
- package/dist/chunks/{model-retry-5ymyvjqm.js → image-prfjjx5x.js} +18 -18
- package/dist/chunks/{model-retry-yqqqeckg.js → image-q228ra72.js} +28 -28
- package/dist/chunks/{model-retry-hkby4gmz.js → image-q5cww84q.js} +16 -16
- package/dist/chunks/{model-retry-8322nd6s.js → image-qb6v4vc1.js} +34 -34
- package/dist/chunks/{model-retry-7s2q8wx1.js → image-qdk12pb8.js} +9 -9
- package/dist/chunks/{model-retry-vphhrdzm.js → image-qdq5fnth.js} +32 -32
- package/dist/chunks/{model-retry-qjgzc4b4.js → image-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-retry-b5rpcebs.js → image-qnq98bxd.js} +9 -9
- package/dist/chunks/{model-retry-cjn2m544.js → image-qpkxdm9j.js} +67 -53
- package/dist/chunks/{model-retry-zzsxzmp1.js → image-qt5zzp9n.js} +21 -21
- package/dist/chunks/{model-retry-jmekkt3w.js → image-qv58hjd6.js} +3 -3
- package/dist/chunks/{model-retry-gchz44rz.js → image-qvhf4eb3.js} +19 -19
- package/dist/chunks/{model-retry-dn3a5ca8.js → image-qx116f43.js} +14 -14
- package/dist/chunks/{model-retry-r0yr0wbs.js → image-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-retry-k46s5hha.js → image-r2bs0s4v.js} +28 -28
- package/dist/chunks/{model-retry-gp4q8kgc.js → image-r2xd4ew5.js} +4 -4
- package/dist/chunks/{model-retry-5enarcya.js → image-r41sfy63.js} +9 -9
- package/dist/chunks/{model-retry-r542h3bh.js → image-r542h3bh.js} +1 -1
- package/dist/chunks/{model-retry-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-6twykydk.js → image-rjnacbrz.js} +9 -9
- package/dist/chunks/{model-retry-n91mh7q3.js → image-rq7797r7.js} +40 -40
- package/dist/chunks/{model-retry-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-2we1d0jv.js → image-rxyj7snx.js} +48 -48
- package/dist/chunks/{model-retry-brkew3yp.js → image-s1zj6bzn.js} +10 -10
- package/dist/chunks/{model-retry-32rqdfc7.js → image-s2pfznc4.js} +6 -6
- package/dist/chunks/{model-retry-j17f5p09.js → image-s4x4f4r4.js} +14 -14
- package/dist/chunks/{model-retry-mg4jj3cq.js → image-s5psx021.js} +14 -14
- package/dist/chunks/{model-retry-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-retry-503rn88z.js → image-seg26xp6.js} +3 -3
- package/dist/chunks/{model-retry-sqjzf8x2.js → image-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-retry-g0ew906k.js → image-stk41r0w.js} +2 -2
- package/dist/chunks/{model-retry-kxvkas7c.js → image-sv2aw4yq.js} +5 -5
- package/dist/chunks/{model-retry-dbmp929s.js → image-szcgc7h4.js} +5 -5
- package/dist/chunks/{model-retry-pcx7njc6.js → image-t6s00cw5.js} +28 -28
- package/dist/chunks/{model-retry-tczq8hjw.js → image-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-mq1hjbvv.js → image-tm2402v8.js} +15 -15
- package/dist/chunks/{model-retry-4hbn04c3.js → image-trdpwh3n.js} +25 -25
- package/dist/chunks/{model-retry-8whp40kv.js → image-ts7mkfs9.js} +3 -3
- package/dist/chunks/{model-retry-twv2r8f4.js → image-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-retry-pzbahg37.js → image-v1c3zz2b.js} +9 -9
- package/dist/chunks/{model-retry-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-7rt6wz40.js → image-vcjzr598.js} +32 -32
- package/dist/chunks/{model-retry-vd3b3yk9.js → image-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-retry-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-v6bhxz94.js → image-vfm5f3jw.js} +24 -24
- package/dist/chunks/{model-retry-vm0wcjea.js → image-vm0wcjea.js} +2 -2
- package/dist/chunks/{model-retry-eqmd2tfz.js → image-vmfhgzt5.js} +7 -7
- package/dist/chunks/{model-retry-hbh5g7sq.js → image-vprwmse2.js} +22 -22
- package/dist/chunks/{model-retry-axqdy1rc.js → image-vy169t87.js} +48 -48
- package/dist/chunks/{model-retry-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-76cb1hcw.js → image-w8qtt4th.js} +4 -4
- package/dist/chunks/{model-retry-wakvkjy4.js → image-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-f34n98jw.js → image-wdc9bbpj.js} +33 -33
- package/dist/chunks/{model-retry-t42gxy5r.js → image-we1bjw9z.js} +8 -8
- package/dist/chunks/{model-retry-s4br5rnc.js → image-wkazdzfr.js} +11 -11
- package/dist/chunks/{model-retry-9q8g9sv8.js → image-wqscedq8.js} +9 -9
- package/dist/chunks/{model-retry-nxg0a76y.js → image-wrjr8pqm.js} +23 -23
- package/dist/chunks/{model-retry-rnf8ygje.js → image-wyc60a8y.js} +3 -3
- package/dist/chunks/{model-retry-46h6vvs4.js → image-x20p7pmj.js} +10 -10
- package/dist/chunks/{model-retry-zx5t73xg.js → image-x22ax0pw.js} +23 -23
- package/dist/chunks/{model-retry-722sdb3d.js → image-x77sr07r.js} +7 -7
- package/dist/chunks/{model-retry-bstexjd6.js → image-xd9cc171.js} +5 -5
- package/dist/chunks/{model-retry-1a7q9jj4.js → image-xft7rm5f.js} +20 -20
- package/dist/chunks/{model-retry-z3ae4np4.js → image-xjd998z8.js} +21 -21
- package/dist/chunks/{model-retry-5w1mdqt7.js → image-xsvq7cjt.js} +4 -4
- package/dist/chunks/{model-retry-b58bxs6a.js → image-xt2t3akc.js} +189 -189
- package/dist/chunks/{model-retry-eg9pnzky.js → image-xxd5pr01.js} +41 -41
- package/dist/chunks/image-y6d7k03n.js +261 -0
- package/dist/chunks/{model-retry-t3qvsv4x.js → image-y82bb1at.js} +7 -7
- package/dist/chunks/{model-retry-yb20nhc3.js → image-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-ny7d5fer.js → image-yd49en6q.js} +26 -26
- package/dist/chunks/{model-retry-1m6xs2a7.js → image-ydwgre56.js} +24 -24
- package/dist/chunks/{model-retry-ae89zrxe.js → image-ye8ddrkf.js} +11 -11
- package/dist/chunks/{model-retry-jvasdgem.js → image-ymr836y3.js} +17 -17
- package/dist/chunks/{model-retry-hx4n917h.js → image-yx7jxc79.js} +2 -2
- package/dist/chunks/{model-retry-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-z38nccrw.js → image-z38nccrw.js} +1 -1
- package/dist/chunks/{model-retry-skd7ds45.js → image-z418xn19.js} +14 -14
- package/dist/chunks/{model-retry-aday876c.js → image-z7ksd8kv.js} +30 -30
- package/dist/chunks/{model-retry-db7k79f7.js → image-zcs1bfp9.js} +20 -20
- package/dist/chunks/{model-retry-0zn5bfke.js → image-zdpw5xas.js} +31 -31
- package/dist/chunks/{model-retry-xfv5zx0r.js → image-ze5bwnkk.js} +11 -11
- package/dist/chunks/{model-retry-d4tjs1yx.js → image-zg4bxvx0.js} +17 -17
- package/dist/chunks/{model-retry-9bs81pt6.js → image-zjcmeswb.js} +26 -26
- package/dist/chunks/{model-retry-zkg84ctx.js → image-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +89 -89
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +216 -216
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +70 -70
- 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.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- 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 +78 -78
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +109 -109
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +365 -365
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +161 -161
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +112 -112
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +105 -105
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +226 -226
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +123 -123
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +129 -129
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +165 -165
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +8 -8
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +115 -115
- package/dist/snapshot.js +98 -98
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +127 -127
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +134 -134
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +119 -119
- package/dist/tool/plugin/write.js +127 -127
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +93 -93
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- 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 +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +101 -101
- package/package.json +8 -8
- package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
- package/dist/chunks/model-retry-ckzsjma5.js +0 -26
- package/dist/chunks/model-retry-gfm4ps3x.js +0 -261
- /package/dist/chunks/{model-retry-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → image-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-5fjb7ams.js → image-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → image-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a058387c.js → image-a058387c.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → image-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → image-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → image-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → image-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → image-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → image-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → image-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → image-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./image-3zqzrtkk.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service81
|
|
13
|
+
} from "./image-ydwgre56.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service71
|
|
16
|
+
} from "./image-8anjt5n3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service57
|
|
19
|
+
} from "./image-pg44jm9h.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service36,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-73jz4da7.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./image-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service42,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-9bdme720.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError3,
|
|
36
|
+
Service32
|
|
37
|
+
} from "./image-75jwphnh.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./image-0xms9gce.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan2
|
|
43
|
+
} from "./image-y82bb1at.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./image-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin4,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name3 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input3 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin4 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service18;
|
|
124
|
+
const jobs = yield* Service71;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service81;
|
|
127
|
+
const access = yield* Service36;
|
|
128
|
+
const shell = yield* Service32;
|
|
129
|
+
const shellSelect = yield* Service42;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service57;
|
|
132
|
+
const config = yield* Service50;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin49 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin49 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name3,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin49 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name3,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input3,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin49 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError3({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name3,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name3];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin4, exports_shell };
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./image-q228ra72.js";
|
|
8
8
|
import {
|
|
9
9
|
stringify2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-5fjb7ams.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
AISDK: () => exports_aisdk,
|
|
19
19
|
InitError: () => InitError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service69,
|
|
21
21
|
locationLayer: () => locationLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node72
|
|
23
23
|
});
|
|
24
24
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
25
25
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -164,9 +164,9 @@ function initError(providerID) {
|
|
|
164
164
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
class
|
|
167
|
+
class Service69 extends Context.Service()("@opencode/AISDK") {
|
|
168
168
|
}
|
|
169
|
-
var locationLayer2 = Layer.effect(
|
|
169
|
+
var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
170
170
|
let sdkHooks = [];
|
|
171
171
|
let languageHooks = [];
|
|
172
172
|
const languages = new Map;
|
|
@@ -204,7 +204,7 @@ var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
204
204
|
}
|
|
205
205
|
return event;
|
|
206
206
|
});
|
|
207
|
-
const service =
|
|
207
|
+
const service = Service69.of({
|
|
208
208
|
hook: {
|
|
209
209
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
210
210
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
|
|
|
870
870
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
871
871
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var node72 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
|
|
874
874
|
|
|
875
|
-
export { InitError2,
|
|
875
|
+
export { InitError2, Service69, locationLayer2, node72, exports_aisdk };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service48,
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service48 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node50 = LayerNode.unbound(Service48, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service48, node50, exports_service2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./image-jhj078t7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./image-3zqzrtkk.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-r2xd4ew5.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
scan3
|
|
13
|
+
} from "./image-770pw0s1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin50
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin50 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service50;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service51;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -51,7 +51,7 @@ var Plugin11 = define({
|
|
|
51
51
|
if (!resolved)
|
|
52
52
|
continue;
|
|
53
53
|
yield* watch(resolved, "directory");
|
|
54
|
-
for (const filepath of yield*
|
|
54
|
+
for (const filepath of yield* scan3(resolved)) {
|
|
55
55
|
const content = yield* fs.readFileStringSafe(filepath).pipe(Effect.orElseSucceed(() => {
|
|
56
56
|
return;
|
|
57
57
|
}));
|
|
@@ -76,4 +76,4 @@ var Plugin11 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin50, exports_compatibility };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./image-9m4m3tqa.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./image-ymr836y3.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service29
|
|
10
|
+
} from "./image-0s5s6e2d.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
19
|
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -196,9 +196,9 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
196
196
|
var Plugin31 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service83;
|
|
200
|
+
const mcp = yield* Service29;
|
|
201
|
+
const bus = yield* Service85;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export { Plugin31,
|
|
283
|
+
export { Plugin31, exports_command };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-qaymkmh1.js";
|
|
7
7
|
|
|
8
8
|
// src/util/git-executable.ts
|
|
9
9
|
import { existsSync, realpathSync } from "node:fs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-qv58hjd6.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9r6cxg0d.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-q228ra72.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-7vp7j2yf.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-5fjb7ams.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin32,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin32 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin32, exports_tool_input_repair };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info13 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info20 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model2,
|
|
94
|
+
export { ModelStatus2, Model2, Info13, exports_provider2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
8
|
Service87,
|
|
9
9
|
node91
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-seg26xp6.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-qjgzc4b4.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node86
|
|
18
|
+
} from "./image-mgcbmcs2.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./image-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID16,
|
|
31
|
+
Info: () => Info27,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service82,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured11,
|
|
36
|
+
node: () => node85
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID16 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info27 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID16,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info12 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID16,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service82 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service82,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node91,
|
|
70
|
+
deps: [node91, node86]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service87).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info27({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service82.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID16.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node85 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID16, Info27, NotFound2, CreateConflict2, Service82, configured11, node85, exports_workspace };
|