@opencode/core 0.0.0-dev-20881 → 0.0.0-dev-20927
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{file-access-q866mrsk.js → aisdk-00wk05ge.js} +11 -11
- package/dist/chunks/{file-access-ta9h6rc8.js → aisdk-00xyqfxv.js} +15 -15
- package/dist/chunks/{file-access-rj7vaynp.js → aisdk-04nrchp2.js} +15 -15
- package/dist/chunks/{file-access-9qaf42c8.js → aisdk-0559y0cb.js} +29 -29
- package/dist/chunks/{file-access-dw28k738.js → aisdk-0e6rss5m.js} +16 -16
- package/dist/chunks/{file-access-n31904rg.js → aisdk-0h8hk730.js} +11 -11
- package/dist/chunks/{file-access-7p43bsgp.js → aisdk-0rnweg5q.js} +9 -9
- package/dist/chunks/{file-access-0vbcp93d.js → aisdk-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-access-v7vqgwnw.js → aisdk-1bkw5bdq.js} +11 -11
- package/dist/chunks/{file-access-vegf0t4s.js → aisdk-1bstbm9e.js} +23 -23
- package/dist/chunks/{file-access-x634pv7c.js → aisdk-1f2gyj3q.js} +11 -11
- package/dist/chunks/aisdk-1qryn0z5.js +26 -0
- package/dist/chunks/{file-access-ph2x0fg2.js → aisdk-1s8mjp65.js} +13 -13
- package/dist/chunks/{file-access-ak9nxzt9.js → aisdk-1tk9ptda.js} +26 -26
- package/dist/chunks/{file-access-khmqacep.js → aisdk-1w2wqhfv.js} +4 -4
- package/dist/chunks/{file-access-wyrb85n5.js → aisdk-1xdmmj5x.js} +6 -6
- package/dist/chunks/{file-access-6cwz3yre.js → aisdk-25xrqn66.js} +8 -8
- package/dist/chunks/{file-access-dhcaxbkm.js → aisdk-29eamcyx.js} +13 -13
- package/dist/chunks/{file-access-0jwsre1p.js → aisdk-2k8khapm.js} +5 -5
- package/dist/chunks/{file-access-n3dz8fb2.js → aisdk-2mzgcd7p.js} +1 -1
- package/dist/chunks/{file-access-qvn3sktm.js → aisdk-2z84r0k0.js} +15 -15
- package/dist/chunks/{file-access-1xtm2zgn.js → aisdk-304b167w.js} +28 -28
- package/dist/chunks/{file-access-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-99z9zg9e.js → aisdk-3gsvm8tc.js} +24 -24
- package/dist/chunks/{file-access-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-3hwn7j4h.js → aisdk-3hwn7j4h.js} +2 -2
- package/dist/chunks/{file-access-pbahfm5x.js → aisdk-3rmrymsq.js} +21 -21
- package/dist/chunks/{file-access-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-access-zja718nw.js → aisdk-42bsfdxy.js} +12 -12
- package/dist/chunks/{file-access-bepc4jha.js → aisdk-4dwm8zny.js} +5 -5
- package/dist/chunks/{file-access-dygjvfrp.js → aisdk-4fy38wjj.js} +7 -7
- package/dist/chunks/{file-access-gqvrx0k4.js → aisdk-4ggt5f5q.js} +12 -12
- package/dist/chunks/aisdk-4nsv302d.js +253 -0
- package/dist/chunks/{file-access-pf5ssx8n.js → aisdk-4pyxqwyk.js} +35 -35
- package/dist/chunks/{file-access-4ts7tf6z.js → aisdk-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-access-td4xfqsh.js → aisdk-4z0gqkar.js} +27 -27
- package/dist/chunks/{file-access-rn3dpxc7.js → aisdk-53575mss.js} +25 -25
- package/dist/chunks/{file-access-54ma36ye.js → aisdk-54ma36ye.js} +1 -1
- package/dist/chunks/{file-access-gxcpmwxq.js → aisdk-5cjh3zh7.js} +49 -49
- package/dist/chunks/{file-access-w39jehkq.js → aisdk-5fykfdj7.js} +5 -5
- package/dist/chunks/{file-access-5m9w47nd.js → aisdk-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-access-dfq2h1zq.js → aisdk-5qwpt1yw.js} +80 -80
- package/dist/chunks/{file-access-fpcyfj4p.js → aisdk-5yfjahdb.js} +10 -10
- package/dist/chunks/{file-access-j73xaykt.js → aisdk-61vg84b0.js} +50 -50
- package/dist/chunks/{file-access-r5tn31vm.js → aisdk-63ft016j.js} +20 -20
- package/dist/chunks/{file-access-ggmp41wd.js → aisdk-67c4ky7v.js} +15 -15
- package/dist/chunks/{file-access-dfj37skf.js → aisdk-6ajhbynx.js} +18 -18
- package/dist/chunks/{file-access-kd5678n6.js → aisdk-6cak8h0t.js} +11 -11
- package/dist/chunks/{file-access-40xnfwfw.js → aisdk-6kcy1g95.js} +46 -46
- package/dist/chunks/{file-access-3hesyp2p.js → aisdk-6ktrewj4.js} +9 -9
- package/dist/chunks/{file-access-w92k2e0p.js → aisdk-6pc27hjz.js} +4 -4
- package/dist/chunks/{file-access-z12amds2.js → aisdk-6q6768w4.js} +21 -21
- package/dist/chunks/{file-access-6xb47vfp.js → aisdk-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-access-x1ppmybn.js → aisdk-6xczqt7x.js} +15 -15
- package/dist/chunks/{file-access-m0nv8qas.js → aisdk-76b2c9rp.js} +14 -14
- package/dist/chunks/{file-access-775gj3j1.js → aisdk-775gj3j1.js} +2 -2
- package/dist/chunks/{file-access-4hc0rj7b.js → aisdk-782n1raf.js} +326 -326
- package/dist/chunks/{file-access-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-vyqay02k.js → aisdk-7kh9td1h.js} +21 -21
- package/dist/chunks/{file-access-0brq2jxt.js → aisdk-7m2e2fgz.js} +4 -4
- package/dist/chunks/{file-access-xj676ht6.js → aisdk-7q5164vr.js} +32 -32
- package/dist/chunks/{file-access-tgd5gdg0.js → aisdk-7rh6rafk.js} +21 -21
- package/dist/chunks/{file-access-mpt1m363.js → aisdk-7wqs6zev.js} +29 -29
- package/dist/chunks/{file-access-bprgs97j.js → aisdk-7zsq3j4g.js} +8 -8
- package/dist/chunks/{file-access-y7nndgyc.js → aisdk-80z0vyq9.js} +9 -9
- package/dist/chunks/{file-access-7y0h7tfm.js → aisdk-82x8s2rf.js} +19 -19
- package/dist/chunks/{file-access-s5dv59ce.js → aisdk-876cynaq.js} +6 -6
- package/dist/chunks/{file-access-0az8jfhv.js → aisdk-87m862kp.js} +35 -35
- package/dist/chunks/{file-access-136xvk4g.js → aisdk-8bh9q5mt.js} +5 -5
- package/dist/chunks/{file-access-nvjdyy3z.js → aisdk-8kdhekhe.js} +2 -2
- package/dist/chunks/{file-access-8m6m0r52.js → aisdk-8m6m0r52.js} +1 -1
- package/dist/chunks/{file-access-v5fpz4k6.js → aisdk-8s9metdf.js} +17 -17
- package/dist/chunks/{file-access-j09zfasm.js → aisdk-91qna3x0.js} +3 -3
- package/dist/chunks/{file-access-w54rakr2.js → aisdk-92fp36nx.js} +18 -18
- package/dist/chunks/{file-access-97aeaand.js → aisdk-97aeaand.js} +1 -1
- package/dist/chunks/{file-access-22d1dh2a.js → aisdk-9gsz9xej.js} +15 -15
- package/dist/chunks/{file-access-9hwaqfsw.js → aisdk-9hwaqfsw.js} +2 -2
- package/dist/chunks/aisdk-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-access-rdb5mbw2.js → aisdk-9shyng8h.js} +5 -5
- package/dist/chunks/{file-access-xgdprf3q.js → aisdk-9tjjhrg5.js} +5 -5
- package/dist/chunks/{file-access-kn5tafaf.js → aisdk-a034y3yd.js} +22 -22
- package/dist/chunks/{file-access-x3gqap9d.js → aisdk-a2rpfkac.js} +4 -4
- package/dist/chunks/{file-access-3q95jmjr.js → aisdk-a5xb6rp9.js} +23 -23
- package/dist/chunks/{file-access-qk0trefb.js → aisdk-aappkvgq.js} +27 -27
- package/dist/chunks/{file-access-j2zn7p5s.js → aisdk-abbyb99j.js} +52 -52
- package/dist/chunks/{file-access-18x10m8s.js → aisdk-ad3207xk.js} +15 -15
- package/dist/chunks/{file-access-qjx1ax0j.js → aisdk-ag1vmkq5.js} +5 -5
- package/dist/chunks/{file-access-ppbmqrvr.js → aisdk-ahd542yp.js} +8 -8
- package/dist/chunks/{file-access-tky9nxkg.js → aisdk-azy2ac7d.js} +11 -11
- package/dist/chunks/{file-access-jvb9xte8.js → aisdk-b0dgvpy7.js} +9 -9
- package/dist/chunks/{file-access-9v3zftw3.js → aisdk-b0sz5pfq.js} +32 -32
- package/dist/chunks/{file-access-pnzf6mjf.js → aisdk-bczx5ry5.js} +1 -1
- package/dist/chunks/{file-access-m928h0gj.js → aisdk-bkcx3r11.js} +10 -10
- package/dist/chunks/{file-access-6yrvyhas.js → aisdk-bmt34esd.js} +5 -5
- package/dist/chunks/{file-access-n8yw2qpj.js → aisdk-brr9ad8x.js} +14 -14
- package/dist/chunks/{file-access-c41wscbt.js → aisdk-c41wscbt.js} +2 -2
- package/dist/chunks/{file-access-hcqrq8nm.js → aisdk-c4hxf7c1.js} +4 -4
- package/dist/chunks/{file-access-c8ax2afj.js → aisdk-c8ax2afj.js} +2 -2
- package/dist/chunks/{file-access-jhf3jymm.js → aisdk-c8bydgjz.js} +6 -6
- package/dist/chunks/{file-access-t66kkf9x.js → aisdk-ca1hzz0z.js} +7 -7
- package/dist/chunks/{file-access-nqv9yqds.js → aisdk-cbz4cyr6.js} +37 -37
- package/dist/chunks/{file-access-z3wfwvnq.js → aisdk-cebjs1pj.js} +34 -34
- package/dist/chunks/{file-access-4nssqvjp.js → aisdk-ckzv1z6f.js} +23 -23
- package/dist/chunks/{file-access-efss0yr1.js → aisdk-cnspkvmr.js} +8 -8
- package/dist/chunks/{file-access-4s3dfb2j.js → aisdk-czyyzgrn.js} +3 -3
- package/dist/chunks/{file-access-edv1g30z.js → aisdk-d0n2pa2f.js} +20 -20
- package/dist/chunks/{file-access-at6df953.js → aisdk-ddhw5281.js} +13 -13
- package/dist/chunks/{file-access-m70sbz6t.js → aisdk-dhmh7aw6.js} +4 -4
- package/dist/chunks/{file-access-dqxsqydv.js → aisdk-dqxsqydv.js} +1 -1
- package/dist/chunks/{file-access-57b9ws8p.js → aisdk-drwq78ky.js} +5 -5
- package/dist/chunks/{file-access-mjwk6wfx.js → aisdk-dt5fbgdr.js} +8 -8
- package/dist/chunks/{file-access-pbkhx8jc.js → aisdk-e1175tqm.js} +6 -6
- package/dist/chunks/{file-access-ed1g29hy.js → aisdk-ed1g29hy.js} +1 -1
- package/dist/chunks/{file-access-eej6y6fw.js → aisdk-eej6y6fw.js} +2 -2
- package/dist/chunks/{file-access-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-rv3vf44n.js → aisdk-eh0arz98.js} +17 -17
- package/dist/chunks/{file-access-zrkpefyn.js → aisdk-ek71yh6y.js} +3 -3
- package/dist/chunks/{file-access-vg6c8hx6.js → aisdk-ep1drg1v.js} +19 -19
- package/dist/chunks/{file-access-es1vcfrp.js → aisdk-es1vcfrp.js} +3 -3
- package/dist/chunks/{file-access-1acjjqhc.js → aisdk-f2n192rq.js} +4 -4
- package/dist/chunks/{file-access-vwnm4pgh.js → aisdk-fep59p9d.js} +15 -15
- package/dist/chunks/{file-access-faydtw9x.js → aisdk-fy2jq6zh.js} +24 -24
- package/dist/chunks/{file-access-veqsm63q.js → aisdk-g3bpjfm9.js} +16 -16
- package/dist/chunks/{file-access-kdvfx77d.js → aisdk-g69z2b5z.js} +4 -4
- package/dist/chunks/{file-access-d4he2qe1.js → aisdk-g6q9qykm.js} +9 -9
- package/dist/chunks/{file-access-kdz0rk07.js → aisdk-g8zcrvva.js} +8 -8
- package/dist/chunks/{file-access-eaj1djv9.js → aisdk-gbt6w4kb.js} +4 -4
- package/dist/chunks/{file-access-ckacr8qp.js → aisdk-gcpn98ra.js} +11 -11
- package/dist/chunks/{file-access-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-4drgpw32.js → aisdk-ghrzdqqx.js} +5 -5
- package/dist/chunks/{file-access-ph104vey.js → aisdk-gjg2yaky.js} +16 -16
- package/dist/chunks/{file-access-f5xdkyf5.js → aisdk-gntdkxck.js} +11 -11
- package/dist/chunks/{file-access-xjh793w0.js → aisdk-gnwtzy4t.js} +10 -10
- package/dist/chunks/{file-access-addxnjmp.js → aisdk-gqtdsdt7.js} +4 -4
- package/dist/chunks/{file-access-g1sxm558.js → aisdk-gqxmd7mw.js} +8 -8
- package/dist/chunks/{file-access-k1st3y5b.js → aisdk-gyprjd1a.js} +9 -9
- package/dist/chunks/{file-access-gwfvn308.js → aisdk-h1ewnpgd.js} +8 -8
- package/dist/chunks/{file-access-85twavks.js → aisdk-h4wt8rpg.js} +11 -11
- package/dist/chunks/{file-access-a1d4wr68.js → aisdk-h5kszb2b.js} +6 -6
- package/dist/chunks/{file-access-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-h7s7r6s9.js → aisdk-h7s7r6s9.js} +2 -2
- package/dist/chunks/{file-access-b9grawmm.js → aisdk-had4kgfk.js} +6 -6
- package/dist/chunks/{file-access-wecqtg5s.js → aisdk-hdkng2sj.js} +5 -5
- package/dist/chunks/{file-access-dexacah2.js → aisdk-hdzb4m3t.js} +58 -18
- package/dist/chunks/{file-access-hgz4x7wa.js → aisdk-hgz4x7wa.js} +1 -1
- package/dist/chunks/{file-access-a8pvjcdf.js → aisdk-hn64vtcm.js} +33 -33
- package/dist/chunks/{file-access-7x2zck9f.js → aisdk-hn7a938y.js} +31 -31
- package/dist/chunks/{file-access-wkxs5zxa.js → aisdk-hy2fzc5d.js} +4 -4
- package/dist/chunks/{file-access-qs5g4tjy.js → aisdk-j5g18e5b.js} +11 -11
- package/dist/chunks/{file-access-0ebkhaww.js → aisdk-j618ymcj.js} +7 -7
- package/dist/chunks/{file-access-yae8t1qx.js → aisdk-jncmynhd.js} +12 -12
- package/dist/chunks/{file-access-w1c1cf4j.js → aisdk-jp40yajm.js} +29 -29
- package/dist/chunks/{file-access-v7j34b1q.js → aisdk-jqc51egb.js} +32 -32
- package/dist/chunks/{file-access-jqm0p7na.js → aisdk-jrp51j04.js} +42 -42
- package/dist/chunks/{file-access-ph2th0nb.js → aisdk-jtq8c6bz.js} +22 -22
- package/dist/chunks/{file-access-tb41x54d.js → aisdk-jzvqt58q.js} +180 -180
- package/dist/chunks/{file-access-8n22xprd.js → aisdk-k1y0fary.js} +14 -14
- package/dist/chunks/{file-access-mb14aw74.js → aisdk-k6t9754k.js} +2 -2
- package/dist/chunks/{file-access-nhkznqrv.js → aisdk-kcjr7fdz.js} +18 -18
- package/dist/chunks/{file-access-kmcktn5j.js → aisdk-khqk2y7t.js} +4 -4
- package/dist/chunks/{file-access-0996j27y.js → aisdk-kk382q8p.js} +18 -18
- package/dist/chunks/{file-access-wj76ss2k.js → aisdk-kkp8zx71.js} +4 -4
- package/dist/chunks/{file-access-rq3fykv0.js → aisdk-kn8evc9s.js} +11 -11
- package/dist/chunks/{file-access-nnpypz22.js → aisdk-kqzqf6w1.js} +32 -32
- package/dist/chunks/{file-access-7ws6qndy.js → aisdk-kvkn6k3t.js} +12 -7
- package/dist/chunks/{file-access-pes7pnh1.js → aisdk-kwg875ew.js} +6 -6
- package/dist/chunks/{file-access-d2gv4akw.js → aisdk-kwqxa2v3.js} +27 -27
- package/dist/chunks/{file-access-1q6h5e96.js → aisdk-kwtnqx2s.js} +43 -43
- package/dist/chunks/{file-access-0c4n6ehw.js → aisdk-m8sxp9ep.js} +4 -4
- package/dist/chunks/{file-access-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-maspj1v3.js → aisdk-maspj1v3.js} +1 -1
- package/dist/chunks/{file-access-n2erk2qq.js → aisdk-mczb847s.js} +79 -62
- package/dist/chunks/{file-access-ssabpyyc.js → aisdk-mhnyy3p3.js} +11 -11
- package/dist/chunks/{file-access-pyhps8rr.js → aisdk-mssy7j36.js} +15 -15
- package/dist/chunks/{file-access-am6f2qjv.js → aisdk-n61013np.js} +6 -6
- package/dist/chunks/{file-access-btgcmbzv.js → aisdk-ndvnmqc7.js} +5 -5
- package/dist/chunks/{file-access-mbjvzahx.js → aisdk-ney03z9t.js} +11 -11
- package/dist/chunks/{file-access-k1szzmcz.js → aisdk-ng0v81ka.js} +32 -32
- package/dist/chunks/{file-access-k4k4514v.js → aisdk-nkfzcvx9.js} +17 -17
- package/dist/chunks/{file-access-z393mc3q.js → aisdk-ny7nr0z6.js} +13 -13
- package/dist/chunks/{file-access-xyxdq3nn.js → aisdk-p25etbfn.js} +49 -49
- package/dist/chunks/{file-access-phstrbs2.js → aisdk-p4mj4rdp.js} +8 -8
- package/dist/chunks/{file-access-bwccqm6j.js → aisdk-p7hn8v3g.js} +16 -16
- package/dist/chunks/{file-access-tvhzy6at.js → aisdk-pawv45b9.js} +7 -7
- package/dist/chunks/{file-access-j8vs3k5w.js → aisdk-pee0pbdz.js} +22 -22
- package/dist/chunks/{file-access-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-bkxyw0dr.js → aisdk-pnkbpv6t.js} +9 -9
- package/dist/chunks/{file-access-0y8qz4tc.js → aisdk-pt21w9jz.js} +10 -10
- package/dist/chunks/{file-access-ngyrtr94.js → aisdk-pxka6q5y.js} +3 -3
- package/dist/chunks/{file-access-b3x2bcz3.js → aisdk-py916kcr.js} +42 -42
- package/dist/chunks/{file-access-q0xm7vwc.js → aisdk-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-access-zn6q40y3.js → aisdk-q5667xnb.js} +32 -32
- package/dist/chunks/{file-access-mjyfvzvk.js → aisdk-qkvv7exj.js} +3 -3
- package/dist/chunks/{file-access-tkmwgdpd.js → aisdk-qm0v3jhh.js} +4 -4
- package/dist/chunks/{file-access-qnc92qwc.js → aisdk-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-access-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-m7kegrcq.js → aisdk-r301by7f.js} +34 -34
- package/dist/chunks/{file-access-pbxbebnn.js → aisdk-r5a5netf.js} +3 -3
- package/dist/chunks/{file-access-npjgym32.js → aisdk-r6ws07f9.js} +19 -19
- package/dist/chunks/{file-access-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-4nvgp7n5.js → aisdk-rhcvmn6p.js} +17 -17
- package/dist/chunks/{file-access-3e93frrs.js → aisdk-rn4mn6ps.js} +26 -26
- package/dist/chunks/{file-access-b58cry0v.js → aisdk-rnmftz9c.js} +5 -5
- package/dist/chunks/{file-access-7y6n2aky.js → aisdk-rnxtg4z5.js} +23 -23
- package/dist/chunks/{file-access-4rpmq0gy.js → aisdk-rvcf04rx.js} +10 -10
- package/dist/chunks/{file-access-g5aztb9w.js → aisdk-rwcz0b7d.js} +1 -1
- package/dist/chunks/{file-access-rapc5ygk.js → aisdk-s134j6s3.js} +34 -34
- package/dist/chunks/{file-access-dkhqf1q0.js → aisdk-sfvhxs4k.js} +6 -6
- package/dist/chunks/{file-access-1j626q9f.js → aisdk-snjfpvqg.js} +4 -4
- package/dist/chunks/{file-access-yg2fry7j.js → aisdk-srrgwxhj.js} +6 -6
- package/dist/chunks/{file-access-d5xh5z6d.js → aisdk-srsfvfn6.js} +9 -9
- package/dist/chunks/{file-access-13y28twm.js → aisdk-sxxbqwwt.js} +14 -14
- package/dist/chunks/{file-access-yrcj3v3g.js → aisdk-syf57q56.js} +4 -4
- package/dist/chunks/{file-access-syv4x271.js → aisdk-syv4x271.js} +1 -1
- package/dist/chunks/{file-access-75cf00gp.js → aisdk-t285x4g3.js} +5 -5
- package/dist/chunks/{file-access-k9hzba59.js → aisdk-ta649at8.js} +13 -13
- package/dist/chunks/{file-access-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
- package/dist/chunks/{file-access-6afn1j2f.js → aisdk-tcfggkjh.js} +28 -28
- package/dist/chunks/{file-access-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-tg1sa0zd.js → aisdk-tg1sa0zd.js} +2 -2
- package/dist/chunks/{file-access-wv5qhq9f.js → aisdk-tk29pyxt.js} +33 -33
- package/dist/chunks/{file-access-tkb22qbm.js → aisdk-tkb22qbm.js} +2 -2
- package/dist/chunks/{file-access-58kgsrwr.js → aisdk-tktqgzb5.js} +13 -13
- package/dist/chunks/{file-access-tm0kqsz3.js → aisdk-tm0kqsz3.js} +1 -1
- package/dist/chunks/{file-access-d48vtfkp.js → aisdk-tm1yjyv5.js} +15 -15
- package/dist/chunks/{file-access-tjh2ebqe.js → aisdk-tnxf96wz.js} +47 -47
- package/dist/chunks/{file-access-bm13kvhf.js → aisdk-tqnthxgz.js} +24 -24
- package/dist/chunks/{file-access-cf0apvch.js → aisdk-tt0r5krd.js} +32 -32
- package/dist/chunks/{file-access-tyytaxap.js → aisdk-tyytaxap.js} +1 -1
- package/dist/chunks/{file-access-0bg0bx69.js → aisdk-v0es1rhs.js} +5 -5
- package/dist/chunks/{file-access-v7p4zvkq.js → aisdk-v7p4zvkq.js} +2 -2
- package/dist/chunks/{file-access-t7991sab.js → aisdk-v87reym6.js} +18 -18
- package/dist/chunks/{file-access-tsf7jqnv.js → aisdk-v8mj3nbf.js} +11 -11
- package/dist/chunks/{file-access-7dknjm6k.js → aisdk-v8yjsky9.js} +21 -21
- package/dist/chunks/{file-access-znvgkdeh.js → aisdk-vc8rkrvg.js} +11 -11
- package/dist/chunks/{file-access-9z4knqn6.js → aisdk-vdwrby47.js} +84 -84
- package/dist/chunks/{file-access-m0p4awvf.js → aisdk-vefpcrtg.js} +16 -16
- package/dist/chunks/{file-access-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-zrfr384z.js → aisdk-vwt754jt.js} +24 -24
- package/dist/chunks/{file-access-0xydnfy0.js → aisdk-vy7zp3s1.js} +45 -45
- package/dist/chunks/{file-access-nb5065av.js → aisdk-vzqtbm0w.js} +8 -8
- package/dist/chunks/{file-access-vzs5sf6e.js → aisdk-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-access-84txncab.js → aisdk-w1eejvng.js} +5 -5
- package/dist/chunks/{file-access-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-c2sed5cq.js → aisdk-w8yd89gy.js} +3 -3
- package/dist/chunks/{file-access-se7f09tz.js → aisdk-w9c29var.js} +14 -14
- package/dist/chunks/{file-access-apzb49za.js → aisdk-wb0zn2k1.js} +28 -28
- package/dist/chunks/{file-access-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-7b71byjj.js → aisdk-weztskp3.js} +20 -23
- package/dist/chunks/{file-access-048dg1q1.js → aisdk-wfhw6drb.js} +20 -20
- package/dist/chunks/{file-access-ffmtf96p.js → aisdk-wmr7txpb.js} +8 -8
- package/dist/chunks/{file-access-fa3fxms1.js → aisdk-wr23jhdb.js} +15 -15
- package/dist/chunks/{file-access-hfe3etvx.js → aisdk-wvwwzcbm.js} +1 -1
- package/dist/chunks/{file-access-61mt751v.js → aisdk-x289r1av.js} +9 -9
- package/dist/chunks/{file-access-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-dpkg50ah.js → aisdk-y71avatq.js} +4 -4
- package/dist/chunks/{file-access-pqz03z8g.js → aisdk-yja080mn.js} +15 -15
- package/dist/chunks/{file-access-vmvedq7t.js → aisdk-ymg6w8bb.js} +12 -12
- package/dist/chunks/{file-access-bcw6cn9v.js → aisdk-yq8szx40.js} +14 -14
- package/dist/chunks/{file-access-svqj1re3.js → aisdk-ys0ya0h1.js} +10 -10
- package/dist/chunks/{file-access-4xkcgd99.js → aisdk-yscr5c9x.js} +4 -4
- package/dist/chunks/{file-access-6nx5eb34.js → aisdk-yt6k9cb9.js} +11 -11
- package/dist/chunks/{file-access-2s0a30gw.js → aisdk-yvft115s.js} +30 -30
- package/dist/chunks/{file-access-ywt8jp22.js → aisdk-ywt8jp22.js} +2 -2
- package/dist/chunks/{file-access-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-ky0k6zys.js → aisdk-zqjt0nqh.js} +17 -17
- package/dist/chunks/{file-access-gjwgnwyt.js → aisdk-zqsenmzc.js} +36 -36
- package/dist/chunks/{file-access-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-cap6c1x0.js → aisdk-zrkpd8am.js} +15 -15
- package/dist/chunks/{file-access-dzbmxh5c.js → aisdk-zvsjz6zg.js} +32 -32
- package/dist/chunks/{file-access-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-access-zhkxd4p1.js → aisdk-zyjphah6.js} +22 -22
- package/dist/chunks/{file-access-nfvkw1mm.js → aisdk-zzyddtb8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +136 -136
- 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 +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- 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 +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- 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 +116 -116
- 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 +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +74 -74
- 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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
- package/dist/types/session/runner/step.d.ts +32 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/file-access-84h0zvm6.js +0 -26
- package/dist/chunks/file-access-9zdhvgqs.js +0 -18
- package/dist/chunks/file-access-x3hek3ek.js +0 -253
- /package/dist/chunks/{file-access-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2bv980vf.js → aisdk-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3t0ybcrp.js → aisdk-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-6q2bdcd1.js → aisdk-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-84wd9syh.js → aisdk-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hcxmzztb.js → aisdk-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jze0r7bz.js → aisdk-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-m18g726c.js → aisdk-m18g726c.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-pkyv6v7h.js → aisdk-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{file-access-pyv0edze.js → aisdk-pyv0edze.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-ve7vex1e.js → aisdk-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wjj7prxr.js → aisdk-wjj7prxr.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z5v4ffb3.js → aisdk-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node84,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node84 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node84, exports_driver };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make6,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make6 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make6, exports_retry };
|
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-ndvnmqc7.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
13
13
|
import { isReadonlyArrayNonEmpty } from "effect/Array";
|
|
14
14
|
var asRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value) ? value : { value };
|
|
15
|
+
var INPUT_EXCERPT_LIMIT = 2048;
|
|
16
|
+
var INPUT_FAILURES = {
|
|
17
|
+
malformed: {
|
|
18
|
+
type: "tool.input-json",
|
|
19
|
+
message: "The tool input could not be parsed as JSON, so the call was not executed. Reissue the call with valid JSON arguments."
|
|
20
|
+
},
|
|
21
|
+
length: {
|
|
22
|
+
type: "tool.input-incomplete",
|
|
23
|
+
message: "The tool call was not executed because the output token limit (stop reason: length) was reached before you could complete the arguments. Break large payloads into smaller tool calls and reissue the call with complete arguments."
|
|
24
|
+
},
|
|
25
|
+
incomplete: {
|
|
26
|
+
type: "tool.input-incomplete",
|
|
27
|
+
message: "Tool call arguments were not completed and were not executed. Reissue the call with complete arguments."
|
|
28
|
+
}
|
|
29
|
+
};
|
|
15
30
|
var stringify = (value) => {
|
|
16
31
|
if (typeof value === "string")
|
|
17
32
|
return value;
|
|
@@ -173,6 +188,7 @@ var createLLMEventPublisher2 = (bus, input) => {
|
|
|
173
188
|
const tool = tools.get(id);
|
|
174
189
|
if (!tool)
|
|
175
190
|
return yield* Effect.die(new Error(`Tool input end before start: ${id}`));
|
|
191
|
+
tool.input = inputExcerpt(value);
|
|
176
192
|
yield* bus.publish(SessionEvent2.Tool.Input.Ended, {
|
|
177
193
|
sessionID: input.sessionID,
|
|
178
194
|
assistantMessageID,
|
|
@@ -228,20 +244,18 @@ var createLLMEventPublisher2 = (bus, input) => {
|
|
|
228
244
|
return yield* Effect.die(new Error(`Tool input name changed for ${event.id}: ${tool.name} -> ${event.name}`));
|
|
229
245
|
if (toolInput.has(event.id))
|
|
230
246
|
yield* endToolInput(event, event.raw);
|
|
231
|
-
tool.
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
});
|
|
247
|
+
tool.input = inputExcerpt(event.raw);
|
|
248
|
+
tool.malformed = true;
|
|
249
|
+
});
|
|
250
|
+
const failToolInput = (id, tool, reason) => failTool(id, inputFailure(tool.input, stepSettlement?.finish === "length" ? "length" : reason));
|
|
251
|
+
const flush = Effect.fn("SessionRunner.flush")(function* () {
|
|
252
|
+
yield* flushFragments();
|
|
253
|
+
for (const [id, tool] of tools) {
|
|
254
|
+
if (!tool.malformed || tool.settled)
|
|
255
|
+
continue;
|
|
256
|
+
yield* failToolInput(id, tool, "malformed");
|
|
257
|
+
}
|
|
243
258
|
});
|
|
244
|
-
const flush = Effect.fn("SessionRunner.flush")(flushFragments);
|
|
245
259
|
const failTool = Effect.fnUntraced(function* (id, error, metadata) {
|
|
246
260
|
const tool = tools.get(id);
|
|
247
261
|
if (!tool || tool.settled)
|
|
@@ -262,10 +276,18 @@ var createLLMEventPublisher2 = (bus, input) => {
|
|
|
262
276
|
for (const [id, tool] of tools) {
|
|
263
277
|
if (tool.settled || mode === "hosted" && !tool.providerExecuted || mode === "uncalled" && tool.called)
|
|
264
278
|
continue;
|
|
265
|
-
|
|
279
|
+
if (yield* failTool(id, error))
|
|
280
|
+
failed = true;
|
|
266
281
|
}
|
|
267
282
|
return failed;
|
|
268
283
|
});
|
|
284
|
+
const failIncompleteTools = Effect.fn("SessionRunner.failIncompleteTools")(function* () {
|
|
285
|
+
for (const [id, tool] of tools) {
|
|
286
|
+
if (tool.called || tool.settled)
|
|
287
|
+
continue;
|
|
288
|
+
yield* failToolInput(id, tool, "incomplete");
|
|
289
|
+
}
|
|
290
|
+
});
|
|
269
291
|
const failAssistant = Effect.fnUntraced(function* (error) {
|
|
270
292
|
yield* flush();
|
|
271
293
|
yield* failTools(error, "uncalled");
|
|
@@ -426,7 +448,7 @@ var createLLMEventPublisher2 = (bus, input) => {
|
|
|
426
448
|
return;
|
|
427
449
|
}
|
|
428
450
|
case "step-finish":
|
|
429
|
-
yield*
|
|
451
|
+
yield* flushFragments();
|
|
430
452
|
if (stepSettlement)
|
|
431
453
|
return yield* Effect.die(new Error("Duplicate step finish"));
|
|
432
454
|
stepSettlement = {
|
|
@@ -496,6 +518,7 @@ var createLLMEventPublisher2 = (bus, input) => {
|
|
|
496
518
|
failTool,
|
|
497
519
|
publishStepFailure,
|
|
498
520
|
failUnsettledTools,
|
|
521
|
+
failIncompleteTools,
|
|
499
522
|
hasProviderError: () => providerFailed,
|
|
500
523
|
hasStarted: () => stepStarted,
|
|
501
524
|
record: () => ({
|
|
@@ -509,5 +532,22 @@ var createLLMEventPublisher2 = (bus, input) => {
|
|
|
509
532
|
streamed
|
|
510
533
|
};
|
|
511
534
|
};
|
|
535
|
+
function inputExcerpt(value) {
|
|
536
|
+
return { text: value.slice(0, INPUT_EXCERPT_LIMIT), length: value.length };
|
|
537
|
+
}
|
|
538
|
+
function inputFailure(input, reason) {
|
|
539
|
+
const failure = INPUT_FAILURES[reason];
|
|
540
|
+
if (!input?.length)
|
|
541
|
+
return failure;
|
|
542
|
+
const truncated = input.length > input.text.length ? `
|
|
543
|
+
[truncated]` : "";
|
|
544
|
+
return {
|
|
545
|
+
...failure,
|
|
546
|
+
message: `${failure.message}
|
|
547
|
+
|
|
548
|
+
Input excerpt (first ${input.text.length} of ${input.length} characters):
|
|
549
|
+
${input.text}${truncated}`
|
|
550
|
+
};
|
|
551
|
+
}
|
|
512
552
|
|
|
513
553
|
export { createLLMEventPublisher2 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./aisdk-ymg6w8bb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service81,
|
|
13
|
+
node85
|
|
14
|
+
} from "./aisdk-76b2c9rp.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service52,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node54,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service52 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID5.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service52.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node54 = makeLocationNode({
|
|
153
|
+
service: Service52,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service52, Service52.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service32, Service32.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error4({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID5, Error4, Service52, node54, noopLayer3, exports_snapshot2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-czyyzgrn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-c4hxf7c1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./aisdk-c8bydgjz.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-pxka6q5y.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service71
|
|
29
|
+
} from "./aisdk-42bsfdxy.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service47
|
|
34
|
+
} from "./aisdk-pee0pbdz.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service45
|
|
37
|
+
} from "./aisdk-cbz4cyr6.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./aisdk-yq8szx40.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./aisdk-wfhw6drb.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./aisdk-srsfvfn6.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./aisdk-j618ymcj.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service71;
|
|
69
|
+
const instances = yield* Service49;
|
|
70
|
+
const execution = yield* Service45;
|
|
71
|
+
const admission = yield* Service47;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./aisdk-kqzqf6w1.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-e1175tqm.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID8.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-cnspkvmr.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./aisdk-304b167w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-1tk9ptda.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-kqzqf6w1.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID8.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID9.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service68;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./aisdk-c8bydgjz.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-pxka6q5y.js";
|
|
10
10
|
import {
|
|
11
11
|
Service44
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-r6ws07f9.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
25
|
+
const instances = yield* Service49;
|
|
26
26
|
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|