@opencode/core 0.0.0-dev-20041 → 0.0.0-dev-20043
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-retention-za96cmcy.js → aisdk-0a0q6pwz.js} +10 -10
- package/dist/chunks/{file-retention-ms71xcq7.js → aisdk-0java4bc.js} +44 -44
- package/dist/chunks/{file-retention-4hfmy0rs.js → aisdk-0mmgcj54.js} +24 -24
- package/dist/chunks/{file-retention-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-2wwy9jkx.js → aisdk-0qrsrrf1.js} +5 -5
- package/dist/chunks/{file-retention-g74g176x.js → aisdk-0s819d2z.js} +86 -86
- package/dist/chunks/{file-retention-3jzbwf7q.js → aisdk-13qme1fa.js} +28 -28
- package/dist/chunks/{file-retention-yt3hy1g9.js → aisdk-150yg2gd.js} +5 -5
- package/dist/chunks/{file-retention-vghw8xx0.js → aisdk-19trpjps.js} +11 -11
- package/dist/chunks/{file-retention-r8xr0va3.js → aisdk-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-k30r2j3z.js → aisdk-1fy9785z.js} +3 -3
- package/dist/chunks/{file-retention-4etebsex.js → aisdk-1k3gd00q.js} +56 -56
- package/dist/chunks/aisdk-1sq2hj63.js +26 -0
- package/dist/chunks/{file-retention-kdwpteqf.js → aisdk-1z0zvxs4.js} +6 -6
- package/dist/chunks/{file-retention-21r38tys.js → aisdk-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-ekx7ze3j.js → aisdk-23qf75cd.js} +11 -11
- package/dist/chunks/{file-retention-g4dcbn2w.js → aisdk-23yqmb8f.js} +11 -11
- package/dist/chunks/{file-retention-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-5hvmyetr.js → aisdk-2j39ymwc.js} +28 -28
- package/dist/chunks/{file-retention-8v9yv9bq.js → aisdk-2yp7980w.js} +30 -30
- package/dist/chunks/{file-retention-y5xxxn1t.js → aisdk-301trp6s.js} +54 -54
- package/dist/chunks/{file-retention-4w5f3qm5.js → aisdk-30846h32.js} +8 -8
- package/dist/chunks/{file-retention-56gdpj1q.js → aisdk-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-retention-akcjkw95.js → aisdk-36bfp3ph.js} +11 -11
- package/dist/chunks/{file-retention-tn0aqsam.js → aisdk-3cfzdc8e.js} +5 -5
- package/dist/chunks/{file-retention-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-caepx5ad.js → aisdk-3gqqpt8p.js} +9 -9
- package/dist/chunks/{file-retention-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-ds5m9dev.js → aisdk-3pd9cgf5.js} +16 -16
- package/dist/chunks/{file-retention-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-k9avtbwf.js → aisdk-3zgzsr0q.js} +3 -3
- package/dist/chunks/{file-retention-kxqbxb34.js → aisdk-3zmmkmaf.js} +8 -8
- package/dist/chunks/{file-retention-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-41wzkj33.js → aisdk-41wzkj33.js} +3 -3
- package/dist/chunks/{file-retention-fmvrqh2q.js → aisdk-49ytw9e6.js} +32 -32
- package/dist/chunks/{file-retention-0664arss.js → aisdk-4cr6q8tp.js} +35 -35
- package/dist/chunks/{file-retention-g5ae0avw.js → aisdk-4hgmwzg4.js} +28 -28
- package/dist/chunks/{file-retention-xnc27n98.js → aisdk-4m64c65m.js} +26 -26
- package/dist/chunks/{file-retention-49x2wa8a.js → aisdk-4nd6ya58.js} +20 -20
- package/dist/chunks/{file-retention-sq7rfx6k.js → aisdk-4qav2fem.js} +8 -8
- package/dist/chunks/{file-retention-zvcs6vph.js → aisdk-4rsyzgyb.js} +10 -10
- package/dist/chunks/{file-retention-57ez7d0k.js → aisdk-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-retention-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-rsvh1r19.js → aisdk-5drdw4ad.js} +5 -5
- package/dist/chunks/{file-retention-5ekn9679.js → aisdk-5ekn9679.js} +1 -1
- package/dist/chunks/{file-retention-865ms8yh.js → aisdk-5hca813f.js} +36 -36
- package/dist/chunks/{file-retention-8xk7ktgq.js → aisdk-5qhpwbp8.js} +11 -11
- package/dist/chunks/{file-retention-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-5xpznt2d.js → aisdk-5xpznt2d.js} +4 -4
- package/dist/chunks/{file-retention-cmwkp3r5.js → aisdk-5xtgfte3.js} +8 -8
- package/dist/chunks/{file-retention-vy4zg7qh.js → aisdk-607q5haz.js} +5 -5
- package/dist/chunks/{file-retention-hjg7zh7c.js → aisdk-614h0x94.js} +30 -30
- package/dist/chunks/{file-retention-669tq793.js → aisdk-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-1v3ghhgs.js → aisdk-6ah266bh.js} +6 -6
- package/dist/chunks/{file-retention-4pbsmvv3.js → aisdk-6bpp9beb.js} +177 -177
- package/dist/chunks/{file-retention-2402vzrj.js → aisdk-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-retention-khvqtdky.js → aisdk-6kj0q6js.js} +46 -46
- package/dist/chunks/{file-retention-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-rza38swf.js → aisdk-6sw8nmq3.js} +1 -1
- package/dist/chunks/{file-retention-8caw9eqq.js → aisdk-6vt2w020.js} +7 -7
- package/dist/chunks/{file-retention-avd8ev9v.js → aisdk-6xwcf1a8.js} +4 -4
- package/dist/chunks/{file-retention-nj1j17x6.js → aisdk-6ysrkrkr.js} +8 -8
- package/dist/chunks/{file-retention-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-7dqw4kz8.js → aisdk-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-retention-0f9afca0.js → aisdk-7gvwkz6m.js} +5 -5
- package/dist/chunks/{file-retention-g022mkhv.js → aisdk-7q7mfth4.js} +7 -7
- package/dist/chunks/{file-retention-1ayg86nt.js → aisdk-7rjgn8bj.js} +18 -18
- package/dist/chunks/{file-retention-rfetvjjn.js → aisdk-7sv1gmyv.js} +5 -5
- package/dist/chunks/{file-retention-cm6x1q2e.js → aisdk-7v0wrj4c.js} +5 -5
- package/dist/chunks/{file-retention-5fkt7nnq.js → aisdk-7v81x33d.js} +9 -9
- package/dist/chunks/{file-retention-pw47d8q8.js → aisdk-7ypyawfv.js} +3 -3
- package/dist/chunks/{file-retention-03k3acwf.js → aisdk-84cy8r8q.js} +5 -5
- package/dist/chunks/{file-retention-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-9fp0xjb7.js → aisdk-8ew6f0n8.js} +10 -10
- package/dist/chunks/{file-retention-e8nz2nx7.js → aisdk-8qr332cz.js} +13 -13
- package/dist/chunks/{file-retention-qm98202t.js → aisdk-8rsf771b.js} +23 -23
- package/dist/chunks/{file-retention-3376ssn9.js → aisdk-8sjp7en6.js} +84 -84
- package/dist/chunks/{file-retention-6pjdvyme.js → aisdk-8we7jnmb.js} +11 -11
- package/dist/chunks/{file-retention-94ek1h2f.js → aisdk-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-retention-sqkw1tam.js → aisdk-9ajwmfn8.js} +48 -48
- package/dist/chunks/{file-retention-a3aaahat.js → aisdk-9cr4gnp8.js} +13 -13
- package/dist/chunks/{file-retention-nng2ktcm.js → aisdk-9jwxq161.js} +2 -2
- package/dist/chunks/{file-retention-crg2e90r.js → aisdk-9k4dsn9s.js} +14 -14
- package/dist/chunks/{file-retention-0zkr977k.js → aisdk-9qtpfedr.js} +17 -17
- package/dist/chunks/{file-retention-p3p972wa.js → aisdk-9w4ppqge.js} +5 -5
- package/dist/chunks/{file-retention-26qmxnyk.js → aisdk-9wsscq4s.js} +72 -72
- package/dist/chunks/{file-retention-jfqtm2ew.js → aisdk-a2ew8a62.js} +4 -4
- package/dist/chunks/{file-retention-6e1xm13d.js → aisdk-a327e9v3.js} +5 -5
- package/dist/chunks/{file-retention-bafk1heq.js → aisdk-a5bcffjj.js} +12 -12
- package/dist/chunks/{file-retention-n6ht9sbt.js → aisdk-a7ca17ex.js} +19 -19
- package/dist/chunks/{file-retention-4qgnjzgs.js → aisdk-aad6bg3s.js} +25 -25
- package/dist/chunks/{file-retention-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-9n30v2t0.js → aisdk-acqxbg4k.js} +12 -12
- package/dist/chunks/{file-retention-eez4ae6w.js → aisdk-afbb2www.js} +27 -27
- package/dist/chunks/{file-retention-3tqvv29e.js → aisdk-arxah4je.js} +3 -3
- package/dist/chunks/{file-retention-3bjec645.js → aisdk-awykrb7t.js} +49 -49
- package/dist/chunks/{file-retention-j90ng04k.js → aisdk-b5mdm4wc.js} +23 -23
- package/dist/chunks/{file-retention-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-prmgem5b.js → aisdk-b99w0g26.js} +6 -6
- package/dist/chunks/{file-retention-2m5gpsjc.js → aisdk-bdjtm858.js} +13 -13
- package/dist/chunks/{file-retention-qv5nhp8w.js → aisdk-bh5r0ywp.js} +4 -4
- package/dist/chunks/{file-retention-8rpqbtbt.js → aisdk-bhna4c8e.js} +20 -20
- package/dist/chunks/{file-retention-3jpka5e8.js → aisdk-bnnnfr1h.js} +4 -4
- package/dist/chunks/{file-retention-gzbkpp9m.js → aisdk-bscb95cy.js} +4 -4
- package/dist/chunks/{file-retention-xgmqxxb1.js → aisdk-bxw160v3.js} +12 -12
- package/dist/chunks/{file-retention-khj5rq36.js → aisdk-c2g6qb9t.js} +17 -17
- package/dist/chunks/{file-retention-g190xswt.js → aisdk-cavr175a.js} +4 -4
- package/dist/chunks/{file-retention-ckecvw8r.js → aisdk-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-retention-f1qkhhqk.js → aisdk-cnacsjhk.js} +3 -3
- package/dist/chunks/{file-retention-mryfz2cp.js → aisdk-csea7638.js} +18 -18
- package/dist/chunks/{file-retention-rwm5vee1.js → aisdk-ctmr8zqa.js} +4 -4
- package/dist/chunks/{file-retention-z1m0hqzv.js → aisdk-cvphz1qf.js} +11 -11
- package/dist/chunks/{file-retention-g6q9qykm.js → aisdk-cwa6csj7.js} +9 -9
- package/dist/chunks/{file-retention-9h7wvxm5.js → aisdk-d84aefxh.js} +5 -5
- package/dist/chunks/{file-retention-4tnhmcyh.js → aisdk-ddhq0d0y.js} +37 -37
- package/dist/chunks/{file-retention-c8xagm8x.js → aisdk-df2b9eza.js} +18 -18
- package/dist/chunks/{file-retention-rjgxhawe.js → aisdk-df2tmfns.js} +6 -6
- package/dist/chunks/{file-retention-dg2cj1yd.js → aisdk-dg2cj1yd.js} +1 -1
- package/dist/chunks/{file-retention-y71avatq.js → aisdk-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-retention-drwq78ky.js → aisdk-drwq78ky.js} +1 -1
- package/dist/chunks/{file-retention-4024s05h.js → aisdk-e5qbkagq.js} +14 -14
- package/dist/chunks/{file-retention-q87stdvj.js → aisdk-e66gtfvp.js} +28 -28
- package/dist/chunks/{file-retention-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-wt2bt8rh.js → aisdk-ejwj3fxg.js} +4 -4
- package/dist/chunks/{file-retention-hka1ns4r.js → aisdk-eqq925v7.js} +12 -12
- package/dist/chunks/{file-retention-erw5rpbs.js → aisdk-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-retention-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-5vgsf7vz.js → aisdk-f0qe216m.js} +36 -36
- package/dist/chunks/{file-retention-ntf9h0sg.js → aisdk-f4jw3e7w.js} +17 -17
- package/dist/chunks/{file-retention-2z5xr0mg.js → aisdk-f4rjsfva.js} +9 -9
- package/dist/chunks/{file-retention-k7nxnay7.js → aisdk-f724wvfx.js} +22 -22
- package/dist/chunks/{file-retention-c9jyf434.js → aisdk-fj29krbq.js} +30 -30
- package/dist/chunks/{file-retention-x90ppevt.js → aisdk-fj3mzqxp.js} +15 -15
- package/dist/chunks/{file-retention-nbnr4nbs.js → aisdk-fj48dtty.js} +27 -27
- package/dist/chunks/{file-retention-818pfwc9.js → aisdk-g8jasmdt.js} +8 -8
- package/dist/chunks/{file-retention-kb60wjr3.js → aisdk-g9na247e.js} +35 -35
- package/dist/chunks/{file-retention-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-c4fmhh0h.js → aisdk-gd8nda9a.js} +20 -20
- package/dist/chunks/{file-retention-f7r00ng2.js → aisdk-gdkm09q9.js} +28 -28
- package/dist/chunks/{file-retention-d66rg99j.js → aisdk-ggre7qjc.js} +42 -42
- package/dist/chunks/{file-retention-yg97ajga.js → aisdk-ghcc1exw.js} +5 -5
- package/dist/chunks/{file-retention-ae1qpy6d.js → aisdk-gj07xn6c.js} +4 -4
- package/dist/chunks/{file-retention-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-jnp949yc.js → aisdk-h54hk005.js} +4 -4
- package/dist/chunks/{file-retention-h6r3nrb9.js → aisdk-h6r3nrb9.js} +1 -1
- package/dist/chunks/{file-retention-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-jwyf9651.js → aisdk-h8tv1jm0.js} +15 -15
- package/dist/chunks/{file-retention-66bbhz8t.js → aisdk-h9sgrmr0.js} +12 -12
- package/dist/chunks/{file-retention-xmv4zd28.js → aisdk-hn2a1jts.js} +13 -13
- package/dist/chunks/{file-retention-gn2hfjap.js → aisdk-hpfvhvya.js} +8 -8
- package/dist/chunks/{file-retention-14wy2v1y.js → aisdk-hzn7gray.js} +10 -10
- package/dist/chunks/{file-retention-zdgtn3pv.js → aisdk-j104s97f.js} +35 -35
- package/dist/chunks/{file-retention-rye6va4d.js → aisdk-j1et25fn.js} +20 -20
- package/dist/chunks/{file-retention-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-vkcyb6cw.js → aisdk-j6vwkzpm.js} +27 -27
- package/dist/chunks/{file-retention-7fw3nddj.js → aisdk-jbsysrkf.js} +9 -9
- package/dist/chunks/{file-retention-65396x6s.js → aisdk-jcvwj9jm.js} +27 -27
- package/dist/chunks/{file-retention-s2sgpvg3.js → aisdk-jtxrazbm.js} +28 -28
- package/dist/chunks/{file-retention-bv8m9t85.js → aisdk-jv4bkc1v.js} +24 -24
- package/dist/chunks/{file-retention-20zxcxps.js → aisdk-jxdfsfqg.js} +8 -8
- package/dist/chunks/{file-retention-feb5mkp6.js → aisdk-k09eseht.js} +33 -33
- package/dist/chunks/{file-retention-hzp3bmsz.js → aisdk-k0agtv8c.js} +13 -13
- package/dist/chunks/{file-retention-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-k53npxr2.js → aisdk-k53npxr2.js} +1 -1
- package/dist/chunks/{file-retention-fevyjzxn.js → aisdk-kcafvxea.js} +24 -24
- package/dist/chunks/{file-retention-p7r5mfnx.js → aisdk-kearjya1.js} +27 -27
- package/dist/chunks/{file-retention-a9a955e9.js → aisdk-kjqja31j.js} +15 -15
- package/dist/chunks/{file-retention-ms1chagy.js → aisdk-kk1agj7a.js} +20 -20
- package/dist/chunks/{file-retention-knb7evpn.js → aisdk-knb7evpn.js} +2 -2
- package/dist/chunks/{file-retention-rvk9xysn.js → aisdk-kwr9b569.js} +17 -17
- package/dist/chunks/{file-retention-1y283654.js → aisdk-m0r31qfn.js} +4 -4
- package/dist/chunks/{file-retention-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-v718bg0p.js → aisdk-md1mxm32.js} +17 -17
- package/dist/chunks/{file-retention-73tb2d7t.js → aisdk-mhkvc446.js} +3 -3
- package/dist/chunks/{file-retention-d2rrq94d.js → aisdk-mrvphsyr.js} +1 -1
- package/dist/chunks/{file-retention-y1wbvcwc.js → aisdk-mtr0qdvt.js} +5 -5
- package/dist/chunks/{file-retention-qhbjehys.js → aisdk-mxmf76sr.js} +18 -18
- package/dist/chunks/{file-retention-k3x2wr2k.js → aisdk-mzm8rqr7.js} +13 -13
- package/dist/chunks/{file-retention-3dbq0asv.js → aisdk-n8a0h2pm.js} +9 -9
- package/dist/chunks/{file-retention-qvhhy2sw.js → aisdk-njm9g9x3.js} +22 -22
- package/dist/chunks/{file-retention-p1wcy1sd.js → aisdk-np82xyew.js} +16 -16
- package/dist/chunks/{file-retention-t3hb2ca5.js → aisdk-nqr5ekqz.js} +25 -25
- package/dist/chunks/{file-retention-p5m3p7d0.js → aisdk-nrqfcddc.js} +30 -30
- package/dist/chunks/{file-retention-g97k7hqe.js → aisdk-ns15zm60.js} +6 -6
- package/dist/chunks/{file-retention-ybxrcnqf.js → aisdk-p23am7q5.js} +315 -315
- package/dist/chunks/{file-retention-7zxdsfz3.js → aisdk-pgjxk18r.js} +30 -30
- package/dist/chunks/{file-retention-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-9sxnqw9k.js → aisdk-pqyzdwpj.js} +41 -41
- package/dist/chunks/{file-retention-eh9pyrvh.js → aisdk-ptff6sjs.js} +11 -11
- package/dist/chunks/aisdk-q509s3k3.js +18 -0
- package/dist/chunks/{file-retention-540sh223.js → aisdk-q8d57wmy.js} +48 -48
- package/dist/chunks/{file-retention-h3jew788.js → aisdk-q8hxnt6y.js} +7 -7
- package/dist/chunks/{file-retention-rsz70btv.js → aisdk-q8j10mn3.js} +12 -12
- package/dist/chunks/{file-retention-5tsjnb8p.js → aisdk-q9e07d2s.js} +7 -7
- package/dist/chunks/{file-retention-petwabaa.js → aisdk-qbw5z373.js} +31 -31
- package/dist/chunks/{file-retention-nq7qbqzc.js → aisdk-qg0jgkcp.js} +9 -9
- package/dist/chunks/{file-retention-7jcskesy.js → aisdk-qhsdqg8d.js} +26 -26
- package/dist/chunks/{file-retention-vqfhhw58.js → aisdk-qmtyj29t.js} +11 -11
- package/dist/chunks/{file-retention-0bv1bvwy.js → aisdk-qrf18deb.js} +13 -13
- package/dist/chunks/{file-retention-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-22z5w8qs.js → aisdk-qzfge27n.js} +17 -17
- package/dist/chunks/{file-retention-ss0awb04.js → aisdk-r33ff4dw.js} +4 -4
- package/dist/chunks/{file-retention-32k8n31x.js → aisdk-rcpjzbgq.js} +12 -12
- package/dist/chunks/{file-retention-trqbdvny.js → aisdk-rcs0ttvg.js} +3 -3
- package/dist/chunks/{file-retention-vwzd1dr8.js → aisdk-rdq063h9.js} +19 -19
- package/dist/chunks/{file-retention-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-33qd89zh.js → aisdk-reqy9a92.js} +22 -22
- package/dist/chunks/{file-retention-g88pctsh.js → aisdk-rnvh3dsy.js} +26 -22
- package/dist/chunks/{file-retention-9ajszpws.js → aisdk-rst4cyxn.js} +11 -11
- package/dist/chunks/{file-retention-et0rkxxj.js → aisdk-rtgcb18b.js} +8 -8
- package/dist/chunks/{file-retention-h74hxk69.js → aisdk-ryprma71.js} +10 -10
- package/dist/chunks/{file-retention-c5gn303e.js → aisdk-s0hza5ac.js} +4 -4
- package/dist/chunks/{file-retention-wjxxvj74.js → aisdk-s10j4zrr.js} +15 -15
- package/dist/chunks/{file-retention-0w7zs8bt.js → aisdk-s467t6d3.js} +18 -18
- package/dist/chunks/{file-retention-s8d7rejh.js → aisdk-s8d7rejh.js} +1 -1
- package/dist/chunks/{file-retention-m26hz9p9.js → aisdk-se4ds7p4.js} +30 -30
- package/dist/chunks/{file-retention-7w99qc9d.js → aisdk-skyymkrr.js} +2 -2
- package/dist/chunks/{file-retention-5qzhcqq0.js → aisdk-sx7145gr.js} +22 -22
- package/dist/chunks/{file-retention-svmcaxnz.js → aisdk-sykjr06b.js} +15 -15
- package/dist/chunks/{file-retention-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-xd50rb0f.js → aisdk-tgbbcyzv.js} +31 -31
- package/dist/chunks/{file-retention-7qbzk5hm.js → aisdk-tm61rbhm.js} +18 -18
- package/dist/chunks/{file-retention-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-775tmf4k.js → aisdk-v79x8jzm.js} +4 -4
- package/dist/chunks/{file-retention-qeadq54g.js → aisdk-v83ykmtz.js} +9 -9
- package/dist/chunks/{file-retention-8t9xkh8k.js → aisdk-vdezy000.js} +10 -10
- package/dist/chunks/{file-retention-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-3xtf7kjc.js → aisdk-vfgkq0y4.js} +13 -13
- package/dist/chunks/{file-retention-aw030d2s.js → aisdk-vjs4934y.js} +25 -25
- package/dist/chunks/{file-retention-vncycja5.js → aisdk-vncycja5.js} +1 -1
- package/dist/chunks/{file-retention-r2rczy8f.js → aisdk-vpykqa8z.js} +30 -30
- package/dist/chunks/{file-retention-vtxr0yy2.js → aisdk-vtxr0yy2.js} +2 -2
- package/dist/chunks/{file-retention-q66jrkrp.js → aisdk-vwxpba44.js} +8 -8
- package/dist/chunks/{file-retention-p2p01y4a.js → aisdk-vy1fzztp.js} +35 -35
- package/dist/chunks/{file-retention-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-wjvnz8yh.js → aisdk-w0vhv3nr.js} +27 -27
- package/dist/chunks/{file-retention-5t76re1k.js → aisdk-w1cebep0.js} +2 -2
- package/dist/chunks/{file-retention-g4q7we8z.js → aisdk-w1hs50qs.js} +9 -9
- package/dist/chunks/{file-retention-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-9z3eexy9.js → aisdk-w7vjeneh.js} +41 -41
- package/dist/chunks/{file-retention-qn4ba14w.js → aisdk-wbkyxrgf.js} +5 -5
- package/dist/chunks/{file-retention-wd3x2cqz.js → aisdk-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-retention-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-0y8sfxad.js → aisdk-weje2hnw.js} +6 -6
- package/dist/chunks/{file-retention-3xvqt3tk.js → aisdk-wj8xe67y.js} +28 -28
- package/dist/chunks/{file-retention-7ee7cgcp.js → aisdk-x0at58h7.js} +23 -23
- package/dist/chunks/{file-retention-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-tjt0qs6c.js → aisdk-x2g3x7xx.js} +32 -32
- package/dist/chunks/{file-retention-6517vpn3.js → aisdk-x53kfsbc.js} +14 -14
- package/dist/chunks/aisdk-xfndja2y.js +252 -0
- package/dist/chunks/{file-retention-9c38mvzz.js → aisdk-xhrync7w.js} +11 -11
- package/dist/chunks/{file-retention-w6abkha8.js → aisdk-xhz5mp1h.js} +29 -29
- package/dist/chunks/{file-retention-ksx3x1ny.js → aisdk-xxze4mr0.js} +20 -20
- package/dist/chunks/{file-retention-68xfyy0m.js → aisdk-xzbdt9ab.js} +11 -11
- package/dist/chunks/{file-retention-2vsnwkke.js → aisdk-xzqbnygg.js} +5 -5
- package/dist/chunks/{file-retention-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-mt8kbkqe.js → aisdk-y2f8s5as.js} +21 -21
- package/dist/chunks/{file-retention-b0dgvpy7.js → aisdk-y56ehv6b.js} +9 -9
- package/dist/chunks/{file-retention-qry02hsx.js → aisdk-y9vcbm1p.js} +8 -8
- package/dist/chunks/{file-retention-ha9jdhyk.js → aisdk-yqaxhd4h.js} +10 -10
- package/dist/chunks/{file-retention-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-379cs1ec.js → aisdk-yvaqedcc.js} +6 -6
- package/dist/chunks/{file-retention-z07pqspn.js → aisdk-z07pqspn.js} +3 -3
- package/dist/chunks/{file-retention-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-n8hmmtzx.js → aisdk-z3q2cbzw.js} +11 -11
- package/dist/chunks/{file-retention-6ab1dfve.js → aisdk-z5j3hngj.js} +19 -19
- package/dist/chunks/{file-retention-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-a09z2ym9.js → aisdk-z8dnjp6n.js} +3 -3
- package/dist/chunks/{file-retention-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-1q3whged.js → aisdk-zfq801h6.js} +8 -8
- package/dist/chunks/{file-retention-vtyxdczd.js → aisdk-zkkhmxqr.js} +9 -9
- package/dist/chunks/{file-retention-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-prw4r7p3.js → aisdk-zrw5m3sy.js} +13 -13
- package/dist/chunks/{file-retention-avf7bgaf.js → aisdk-zwvttwhj.js} +46 -46
- package/dist/chunks/{file-retention-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-n5kbdkqy.js → aisdk-zzmc825q.js} +15 -15
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +91 -91
- 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/id/id.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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/file-retention-c896jrwc.js +0 -26
- package/dist/chunks/file-retention-rap9a73h.js +0 -18
- package/dist/chunks/file-retention-w5jkjmtp.js +0 -252
- /package/dist/chunks/{file-retention-0mesazry.js → aisdk-0mesazry.js} +0 -0
- /package/dist/chunks/{file-retention-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → aisdk-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./aisdk-bxw160v3.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./aisdk-9k4dsn9s.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service74,
|
|
20
|
+
node78,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./aisdk-fj29krbq.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event10,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID6,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service59,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node62,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event10 } from "@opencode/schema/model";
|
|
51
|
+
var ID6 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info20 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service59 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service74;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
|
+
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service59.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node62 = makeLocationNode({ service: Service59, layer, deps: [node78, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service59, node62, compatibility2, parse4, exports_model2, Event10 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./aisdk-9ajwmfn8.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input3,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin4,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name3 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input3 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input3.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin4 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service63;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name3,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input3,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin28 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name3,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin4, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./aisdk-sx7145gr.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./aisdk-9k4dsn9s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./aisdk-6kj0q6js.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./aisdk-wj8xe67y.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./aisdk-qg0jgkcp.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-weje2hnw.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin38
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin38 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service57;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service80;
|
|
47
|
+
const watcher = yield* Service58;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin14 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin14 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source3.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin14 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source3.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin14 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source3.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin14 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin38, exports_skill3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-y9vcbm1p.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin20 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin39 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin39 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin20, exports_tinyfish };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-1fy9785z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./aisdk-bxw160v3.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
|
+
ID: () => ID14,
|
|
25
25
|
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service76,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
43
|
class Info30 extends Schema.Class("Credential.Info")({
|
|
44
|
-
id:
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service76 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service76.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -77,7 +77,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
79
|
const credential = new Info30({
|
|
80
|
-
id:
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event18, Info30, Service76, node80, exports_credential };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node33
|
|
5
|
+
} from "./aisdk-y9vcbm1p.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-dg2cj1yd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node70
|
|
13
|
+
} from "./aisdk-30846h32.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-9ajwmfn8.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-6vt2w020.js";
|
|
20
20
|
import {
|
|
21
21
|
Error3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-njm9g9x3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service27,
|
|
25
|
+
node30
|
|
26
|
+
} from "./aisdk-23yqmb8f.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-k53npxr2.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service26,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer11,
|
|
45
|
+
node: () => node29,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service67;
|
|
163
|
+
const transport = yield* Service27;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -258,17 +258,17 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
261
|
-
return
|
|
261
|
+
return Service26.of({
|
|
262
262
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
263
263
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
264
264
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
265
265
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
266
266
|
});
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
269
|
-
service:
|
|
270
|
-
layer:
|
|
271
|
-
deps: [
|
|
268
|
+
var node29 = makeLocationNode({
|
|
269
|
+
service: Service26,
|
|
270
|
+
layer: layer11,
|
|
271
|
+
deps: [node70, node30, node33]
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
274
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer11, node29, exports_model_request };
|