@opencode/core 0.0.0-dev-19426 → 0.0.0-dev-19431
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{persistent-pty-s8d7rejh.js → wellknown-02nrjc1r.js} +8 -8
- package/dist/chunks/{persistent-pty-bwtw07rb.js → wellknown-04ssnwna.js} +4 -4
- package/dist/chunks/{persistent-pty-hxh4hb0e.js → wellknown-095gdp9m.js} +13 -13
- package/dist/chunks/{persistent-pty-xrmsdwza.js → wellknown-0ctr31hs.js} +33 -33
- package/dist/chunks/{persistent-pty-e8mbapm5.js → wellknown-0kwzbffd.js} +9 -9
- package/dist/chunks/{persistent-pty-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → wellknown-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-avr3wk77.js → wellknown-0wfdzdq3.js} +23 -23
- package/dist/chunks/{persistent-pty-vqyjqhb3.js → wellknown-1165fzrv.js} +10 -10
- package/dist/chunks/{persistent-pty-gvcny074.js → wellknown-18by6sjk.js} +7 -7
- package/dist/chunks/{persistent-pty-915t83ht.js → wellknown-196paj9n.js} +9 -9
- package/dist/chunks/{persistent-pty-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-6kvtrg8a.js → wellknown-1ddn4jy6.js} +6 -6
- package/dist/chunks/{persistent-pty-hrndf12w.js → wellknown-1hc11dc4.js} +4 -4
- package/dist/chunks/{persistent-pty-ttqfmzkf.js → wellknown-1mh8etnz.js} +4 -4
- package/dist/chunks/{persistent-pty-g5zzrv8s.js → wellknown-1r38sc4d.js} +17 -17
- package/dist/chunks/{persistent-pty-75q7adw5.js → wellknown-1rvsq380.js} +16 -16
- package/dist/chunks/{persistent-pty-pbmjghd7.js → wellknown-1vsws4am.js} +11 -11
- package/dist/chunks/{persistent-pty-21nf8x37.js → wellknown-20rbm92a.js} +5 -5
- package/dist/chunks/{persistent-pty-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-m5y0j72z.js → wellknown-228k2fda.js} +12 -12
- package/dist/chunks/{persistent-pty-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-612qpymn.js → wellknown-2bjwqrsv.js} +13 -13
- package/dist/chunks/{persistent-pty-m86bnw2c.js → wellknown-2bt6bea8.js} +9 -9
- package/dist/chunks/{persistent-pty-ynnp4yam.js → wellknown-2dmq7m27.js} +12 -12
- package/dist/chunks/{persistent-pty-kpgdrxya.js → wellknown-2mxnmxmz.js} +10 -10
- package/dist/chunks/{persistent-pty-7cbt97qs.js → wellknown-2nv250mg.js} +24 -24
- package/dist/chunks/{persistent-pty-bhydgh2x.js → wellknown-2pyrnscj.js} +12 -12
- package/dist/chunks/{persistent-pty-6fdj6kdr.js → wellknown-2w6fwzk8.js} +4 -4
- package/dist/chunks/{persistent-pty-he2978am.js → wellknown-3e8rswg6.js} +15 -15
- package/dist/chunks/{persistent-pty-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-gq9ysr8h.js → wellknown-3frjhckz.js} +6 -6
- package/dist/chunks/{persistent-pty-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-9gyd2w40.js → wellknown-3q1jyqhd.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-e9x29tk8.js → wellknown-3tet443m.js} +12 -12
- package/dist/chunks/{persistent-pty-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-aagvkkxy.js → wellknown-3vnzk02n.js} +26 -26
- package/dist/chunks/{persistent-pty-h15vyfzd.js → wellknown-4nqwrsa4.js} +10 -10
- package/dist/chunks/{persistent-pty-g7bd3bxh.js → wellknown-4t7yv6cz.js} +13 -13
- package/dist/chunks/{persistent-pty-mqy9bkz8.js → wellknown-4yhwp5g3.js} +4 -4
- package/dist/chunks/{persistent-pty-5f411mky.js → wellknown-50m81vcj.js} +10 -10
- package/dist/chunks/{persistent-pty-56gdpj1q.js → wellknown-56gdpj1q.js} +2 -2
- package/dist/chunks/{persistent-pty-a1bz86dw.js → wellknown-5c4hm403.js} +3 -3
- package/dist/chunks/{persistent-pty-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-2hnfpkj9.js → wellknown-5jqc5sqp.js} +24 -24
- package/dist/chunks/{persistent-pty-tge42xv9.js → wellknown-5kgzrmgs.js} +24 -24
- package/dist/chunks/{persistent-pty-s51v67se.js → wellknown-5kmes5qd.js} +3 -3
- package/dist/chunks/{persistent-pty-8xbg7ftz.js → wellknown-5mc07s0f.js} +11 -11
- package/dist/chunks/{persistent-pty-g22feqm7.js → wellknown-5n9s6qa4.js} +9 -9
- package/dist/chunks/{persistent-pty-nyba91e3.js → wellknown-5rcbg160.js} +9 -9
- package/dist/chunks/{persistent-pty-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-tybgdchd.js → wellknown-6g1fts0a.js} +35 -35
- package/dist/chunks/{persistent-pty-2402vzrj.js → wellknown-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-07z0gam2.js → wellknown-6mgsefek.js} +2 -2
- package/dist/chunks/{persistent-pty-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-485fr60v.js → wellknown-6xscg6ph.js} +10 -10
- package/dist/chunks/{persistent-pty-71q4at8m.js → wellknown-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-g246acm2.js → wellknown-74m7wsss.js} +16 -16
- package/dist/chunks/{persistent-pty-fq1h1v14.js → wellknown-787q5hy4.js} +3 -3
- package/dist/chunks/{persistent-pty-eanp9d5s.js → wellknown-7b1xt4jx.js} +37 -37
- package/dist/chunks/{persistent-pty-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-rzn68cdd.js → wellknown-7jd5w2z6.js} +9 -9
- package/dist/chunks/{persistent-pty-1z0pzthf.js → wellknown-7sb0gw8v.js} +3 -3
- package/dist/chunks/{persistent-pty-x30a5wep.js → wellknown-7tzt44kv.js} +3 -3
- package/dist/chunks/{persistent-pty-81swgkk7.js → wellknown-81swgkk7.js} +2 -2
- package/dist/chunks/{persistent-pty-3sapyj2b.js → wellknown-82xhzzzv.js} +14 -14
- package/dist/chunks/{persistent-pty-ws70e1ew.js → wellknown-837kr0g5.js} +33 -33
- package/dist/chunks/{persistent-pty-bhzctmd7.js → wellknown-88sv3a8w.js} +16 -16
- package/dist/chunks/{persistent-pty-3ajmv4vc.js → wellknown-8d4hgzq6.js} +25 -25
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-zw5b53zw.js → wellknown-8d8vxetm.js} +44 -44
- package/dist/chunks/{persistent-pty-ggwxhvn5.js → wellknown-8gg8at11.js} +28 -28
- package/dist/chunks/{persistent-pty-rs226bz6.js → wellknown-8rkr9qb0.js} +5 -5
- package/dist/chunks/{persistent-pty-qfd3egxj.js → wellknown-8tbhxwqj.js} +10 -10
- package/dist/chunks/{persistent-pty-h28mzj1y.js → wellknown-900x53hk.js} +43 -43
- package/dist/chunks/{persistent-pty-d8qpv23y.js → wellknown-9588gbpa.js} +36 -36
- package/dist/chunks/{persistent-pty-h322wpay.js → wellknown-9ah46qnh.js} +3 -3
- package/dist/chunks/{persistent-pty-b99w0g26.js → wellknown-9c7cwdaf.js} +6 -6
- package/dist/chunks/{persistent-pty-tc9rqwe8.js → wellknown-9g39sx5s.js} +7 -7
- package/dist/chunks/{persistent-pty-771pt6a1.js → wellknown-9vez9d28.js} +7 -7
- package/dist/chunks/{persistent-pty-t8wk4avw.js → wellknown-9y8671sk.js} +9 -9
- package/dist/chunks/{persistent-pty-cvvekyt1.js → wellknown-a0s8g8r8.js} +17 -17
- package/dist/chunks/{persistent-pty-1jzr98sp.js → wellknown-a0s8jv85.js} +8 -8
- package/dist/chunks/wellknown-a4723tnb.js +247 -0
- package/dist/chunks/{persistent-pty-3trbxeqx.js → wellknown-a54cm72e.js} +1 -1
- package/dist/chunks/{persistent-pty-f873qhwf.js → wellknown-a820x4jn.js} +17 -17
- package/dist/chunks/{persistent-pty-jk9xsz7x.js → wellknown-a8cvaywe.js} +13 -13
- package/dist/chunks/{persistent-pty-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-9h6x7gyv.js → wellknown-ad2yvbkp.js} +12 -12
- package/dist/chunks/{persistent-pty-3zc5jvmt.js → wellknown-adbeyv6h.js} +14 -14
- package/dist/chunks/{persistent-pty-7z50rzs6.js → wellknown-ajq719v1.js} +11 -11
- package/dist/chunks/{persistent-pty-v8aeq3gs.js → wellknown-axbt4x3w.js} +30 -30
- package/dist/chunks/{persistent-pty-9t9a8468.js → wellknown-b02bgaz4.js} +25 -25
- package/dist/chunks/{persistent-pty-s1htzk4a.js → wellknown-b0mr3jnb.js} +16 -16
- package/dist/chunks/{persistent-pty-pps99k3k.js → wellknown-b0xv7fv1.js} +22 -22
- package/dist/chunks/{persistent-pty-55fm1b9t.js → wellknown-b1sd7bew.js} +26 -26
- package/dist/chunks/{persistent-pty-ww3mwnc7.js → wellknown-b6437q7d.js} +11 -11
- package/dist/chunks/{persistent-pty-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-6feaep00.js → wellknown-ba13aqv9.js} +16 -16
- package/dist/chunks/{persistent-pty-vze96k0n.js → wellknown-bcn5dnkb.js} +4 -4
- package/dist/chunks/{persistent-pty-gcaewnb3.js → wellknown-c0gy5km3.js} +6 -6
- package/dist/chunks/{persistent-pty-hb21dksg.js → wellknown-c438309d.js} +11 -11
- package/dist/chunks/{persistent-pty-nw2nz702.js → wellknown-c5gn303e.js} +4 -4
- package/dist/chunks/{persistent-pty-g2rsct3h.js → wellknown-cavnh2xx.js} +3 -3
- package/dist/chunks/{persistent-pty-bgp3qmdj.js → wellknown-ccg31c11.js} +38 -38
- package/dist/chunks/{persistent-pty-vypqtakx.js → wellknown-ceanckhm.js} +1 -1
- package/dist/chunks/{persistent-pty-2v34zfk0.js → wellknown-cgay140m.js} +11 -11
- package/dist/chunks/{persistent-pty-smj81yy7.js → wellknown-ckea2n89.js} +24 -24
- package/dist/chunks/{persistent-pty-p9e7n5cp.js → wellknown-d5hhvd7t.js} +40 -40
- package/dist/chunks/{persistent-pty-r3meafyq.js → wellknown-daky8ak7.js} +25 -25
- package/dist/chunks/{persistent-pty-cxmh4q5b.js → wellknown-dhmh7aw6.js} +4 -4
- package/dist/chunks/{persistent-pty-8p4f9s12.js → wellknown-dj2t23y0.js} +2 -2
- package/dist/chunks/{persistent-pty-qz2hjw9m.js → wellknown-drfneyqc.js} +6 -6
- package/dist/chunks/wellknown-dxj72tfx.js +18 -0
- package/dist/chunks/{persistent-pty-9vqpghck.js → wellknown-e2mjwr1a.js} +26 -26
- package/dist/chunks/{persistent-pty-64a4x0vc.js → wellknown-e4cbaens.js} +9 -9
- package/dist/chunks/{persistent-pty-mrw4weg4.js → wellknown-e7f0s3sx.js} +5 -5
- package/dist/chunks/{persistent-pty-c6j5rb3b.js → wellknown-e9t4j61t.js} +4 -4
- package/dist/chunks/{persistent-pty-9yqcsx6m.js → wellknown-edtyxv01.js} +17 -17
- package/dist/chunks/{persistent-pty-4vm0hqbg.js → wellknown-egkyg8tp.js} +7 -7
- package/dist/chunks/{persistent-pty-bkxbsem7.js → wellknown-eshz126w.js} +24 -24
- package/dist/chunks/{persistent-pty-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-7hpb1swa.js → wellknown-f16rvdaj.js} +21 -21
- package/dist/chunks/{persistent-pty-5a5hve6r.js → wellknown-f18mrdtc.js} +24 -24
- package/dist/chunks/{persistent-pty-1ybn2y83.js → wellknown-f9katak3.js} +46 -46
- package/dist/chunks/{persistent-pty-a46v4e4v.js → wellknown-fdv30zvt.js} +7 -7
- package/dist/chunks/{persistent-pty-fsxrvzy1.js → wellknown-fg0hzth7.js} +5 -5
- package/dist/chunks/{persistent-pty-9njfg5h4.js → wellknown-fgjt84w1.js} +16 -16
- package/dist/chunks/{persistent-pty-twy35tz0.js → wellknown-fjmrr6sh.js} +9 -9
- package/dist/chunks/{persistent-pty-xck95xk4.js → wellknown-frk6nvt3.js} +18 -18
- package/dist/chunks/{persistent-pty-d5yt5jwb.js → wellknown-fsjza8dz.js} +11 -11
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-1hxa6pzb.js → wellknown-fxmk9gfa.js} +30 -30
- package/dist/chunks/{persistent-pty-2vgrpkws.js → wellknown-fyts4tpe.js} +30 -30
- package/dist/chunks/{persistent-pty-87rksg4x.js → wellknown-g4pd8jp4.js} +15 -15
- package/dist/chunks/{persistent-pty-7ba6wjkk.js → wellknown-g5h6njp0.js} +18 -18
- package/dist/chunks/{persistent-pty-qshadkbd.js → wellknown-g8p6qmq8.js} +17 -17
- package/dist/chunks/{persistent-pty-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-stesey4a.js → wellknown-gdpq0ckt.js} +4 -4
- package/dist/chunks/{persistent-pty-gpw9mxzt.js → wellknown-gept72jd.js} +36 -36
- package/dist/chunks/{persistent-pty-m7vxemcg.js → wellknown-gqjc2j8w.js} +8 -8
- package/dist/chunks/wellknown-gytcnbap.js +22 -0
- package/dist/chunks/{persistent-pty-h03wrkyp.js → wellknown-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-atpcpkf0.js → wellknown-h5325qgz.js} +12 -12
- package/dist/chunks/{persistent-pty-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-t7fdnyc8.js → wellknown-hbgnkwvx.js} +22 -22
- package/dist/chunks/{persistent-pty-f828m53h.js → wellknown-hdnk95c8.js} +2 -2
- package/dist/chunks/{persistent-pty-andaq6rh.js → wellknown-hdv4kbhc.js} +10 -10
- package/dist/chunks/{persistent-pty-35wxgrz4.js → wellknown-hnyvhsj1.js} +9 -9
- package/dist/chunks/{persistent-pty-j9jre7ys.js → wellknown-hw5zatr6.js} +134 -134
- package/dist/chunks/{persistent-pty-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-y20gv630.js → wellknown-j89dhwny.js} +32 -32
- package/dist/chunks/{persistent-pty-q34x7630.js → wellknown-jfkjrwd6.js} +4 -4
- package/dist/chunks/{persistent-pty-g6986w1q.js → wellknown-jh6dhq8h.js} +25 -25
- package/dist/chunks/{persistent-pty-bby00dsd.js → wellknown-jj63jgrn.js} +8 -8
- package/dist/chunks/{persistent-pty-qv60t1mv.js → wellknown-jm9yp3wk.js} +6 -6
- package/dist/chunks/{persistent-pty-mdkf98yy.js → wellknown-jsxty42z.js} +5 -5
- package/dist/chunks/{persistent-pty-warydmh4.js → wellknown-kaj30qh4.js} +23 -23
- package/dist/chunks/{persistent-pty-7b15y959.js → wellknown-kbmmzrfa.js} +8 -8
- package/dist/chunks/{persistent-pty-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-m18hwpd1.js → wellknown-kh3jnqzr.js} +8 -8
- package/dist/chunks/{persistent-pty-fgcgd4rw.js → wellknown-khn3zewm.js} +13 -13
- package/dist/chunks/{persistent-pty-j39pwvkg.js → wellknown-ktczpzsq.js} +4 -4
- package/dist/chunks/{persistent-pty-h2gyv3sg.js → wellknown-kx71qmfd.js} +1 -1
- package/dist/chunks/{persistent-pty-7yqnf43w.js → wellknown-kzh6gfbz.js} +9 -9
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → wellknown-m0jqrx5p.js} +2 -2
- package/dist/chunks/{persistent-pty-k8g3dj73.js → wellknown-m1m6fjnw.js} +33 -33
- package/dist/chunks/{persistent-pty-84tssp1s.js → wellknown-m3g11tvf.js} +8 -8
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-7vhhzrrm.js → wellknown-ma6ycfp0.js} +6 -6
- package/dist/chunks/{persistent-pty-zepncfka.js → wellknown-magykp64.js} +21 -21
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → wellknown-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-8z17e00v.js → wellknown-mn5tqr63.js} +6 -6
- package/dist/chunks/{persistent-pty-0cc4q6tf.js → wellknown-mqh6yhwz.js} +7 -7
- package/dist/chunks/{persistent-pty-bkrv928p.js → wellknown-n07zvns7.js} +78 -78
- package/dist/chunks/{persistent-pty-n52fcynn.js → wellknown-n136tsdt.js} +25 -25
- package/dist/chunks/{persistent-pty-mge8n18z.js → wellknown-n635ksnc.js} +3 -3
- package/dist/chunks/{persistent-pty-axdmkq6x.js → wellknown-n834bds2.js} +10 -10
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → wellknown-nhy5jxhy.js} +4 -4
- package/dist/chunks/{persistent-pty-7rgb98b3.js → wellknown-nrypwx75.js} +21 -21
- package/dist/chunks/{persistent-pty-s76nk363.js → wellknown-p5xyv7pn.js} +12 -12
- package/dist/chunks/{persistent-pty-c3t7yrgz.js → wellknown-p7m6r6b6.js} +6 -6
- package/dist/chunks/{persistent-pty-qjfza5jp.js → wellknown-pagzwejb.js} +25 -25
- package/dist/chunks/{persistent-pty-j935v87r.js → wellknown-paphc93g.js} +2 -2
- package/dist/chunks/{persistent-pty-jvzfedhz.js → wellknown-pgahjbda.js} +7 -7
- package/dist/chunks/{persistent-pty-emyaygjm.js → wellknown-pj81m1sj.js} +48 -48
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-6j8myhdp.js → wellknown-pmcj00xg.js} +4 -4
- package/dist/chunks/{persistent-pty-3j8sdtpz.js → wellknown-pmr4s4kc.js} +4 -4
- package/dist/chunks/{persistent-pty-b0grxa7w.js → wellknown-q17z9dx8.js} +5 -5
- package/dist/chunks/{persistent-pty-159kg1rb.js → wellknown-q1b6gr3p.js} +17 -17
- package/dist/chunks/{persistent-pty-6tt5evqq.js → wellknown-q1h4ggtj.js} +4 -4
- package/dist/chunks/{persistent-pty-grfax6bg.js → wellknown-q4rs3jkh.js} +9 -9
- package/dist/chunks/{persistent-pty-1tq060df.js → wellknown-q5t0te5a.js} +6 -6
- package/dist/chunks/{persistent-pty-bx134keb.js → wellknown-q8h1e6nq.js} +9 -9
- package/dist/chunks/{persistent-pty-jer3sd0r.js → wellknown-qdr6w09k.js} +11 -11
- package/dist/chunks/{persistent-pty-2sb6srdd.js → wellknown-qehyq9cc.js} +9 -9
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → wellknown-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-cgwhtan4.js → wellknown-qj48zm78.js} +18 -18
- package/dist/chunks/{persistent-pty-vmq7ehpy.js → wellknown-qjnxxf51.js} +5 -5
- package/dist/chunks/{persistent-pty-6mgtcd6n.js → wellknown-qmy1dnxe.js} +26 -26
- package/dist/chunks/{persistent-pty-zss1wv0f.js → wellknown-qn1pawzn.js} +48 -48
- package/dist/chunks/{persistent-pty-akt3csds.js → wellknown-qptz43e7.js} +11 -11
- package/dist/chunks/{persistent-pty-fg7rbsd2.js → wellknown-qq1c0rfq.js} +11 -11
- package/dist/chunks/{persistent-pty-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-esdnemd6.js → wellknown-qvgcjadf.js} +1 -1
- package/dist/chunks/{persistent-pty-69najtqd.js → wellknown-qw1nc14v.js} +20 -20
- package/dist/chunks/{persistent-pty-nx4935gj.js → wellknown-qwd4j9zj.js} +12 -12
- package/dist/chunks/{persistent-pty-9vd61c30.js → wellknown-r2wet1p6.js} +20 -20
- package/dist/chunks/{persistent-pty-84gm4pzb.js → wellknown-r4ewzg2z.js} +13 -13
- package/dist/chunks/{persistent-pty-r5x6zcsm.js → wellknown-r5x6zcsm.js} +1 -1
- package/dist/chunks/{persistent-pty-yp2x3t23.js → wellknown-r8xr0va3.js} +4 -4
- package/dist/chunks/{persistent-pty-5t0z2mmn.js → wellknown-rersy9yg.js} +5 -5
- package/dist/chunks/{persistent-pty-21thbrk0.js → wellknown-rm2ff3bp.js} +25 -25
- package/dist/chunks/{persistent-pty-0h54jqbs.js → wellknown-rmdyxgmk.js} +8 -8
- package/dist/chunks/{persistent-pty-jbp58yvw.js → wellknown-rq5wdrj2.js} +8 -8
- package/dist/chunks/{persistent-pty-jzpbgybv.js → wellknown-rqp16f7y.js} +16 -16
- package/dist/chunks/{persistent-pty-bw0vgseb.js → wellknown-rtathh62.js} +8 -8
- package/dist/chunks/{persistent-pty-hj2v5ffq.js → wellknown-rvtwd3yj.js} +34 -34
- package/dist/chunks/{persistent-pty-m4xc242r.js → wellknown-rx3h63rs.js} +15 -15
- package/dist/chunks/{persistent-pty-7zkd12m7.js → wellknown-s4gwknv2.js} +11 -11
- package/dist/chunks/{persistent-pty-mtft99cd.js → wellknown-s8zy8myc.js} +5 -5
- package/dist/chunks/{persistent-pty-7e7r6h4f.js → wellknown-sc8qxpfy.js} +11 -11
- package/dist/chunks/{persistent-pty-fppgezky.js → wellknown-sjq8935c.js} +19 -19
- package/dist/chunks/{persistent-pty-0e44rvxq.js → wellknown-sk37m034.js} +12 -12
- package/dist/chunks/{persistent-pty-qcahbspj.js → wellknown-skkegfc4.js} +10 -10
- package/dist/chunks/{persistent-pty-ez87t20v.js → wellknown-spf23xz3.js} +8 -8
- package/dist/chunks/{persistent-pty-5r7wtzhh.js → wellknown-sqc1mbat.js} +13 -13
- package/dist/chunks/{persistent-pty-9k2v62xn.js → wellknown-sxc4n3b4.js} +1 -1
- package/dist/chunks/{persistent-pty-3w2b2yj4.js → wellknown-t0fxg8b9.js} +5 -5
- package/dist/chunks/{persistent-pty-7wc683m2.js → wellknown-t2w3xr5a.js} +2 -2
- package/dist/chunks/{persistent-pty-enc0sym2.js → wellknown-t8cqswnp.js} +17 -17
- package/dist/chunks/{persistent-pty-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-bf6dt9pk.js → wellknown-tgggdv5e.js} +16 -16
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → wellknown-th5km1p3.js} +5 -5
- package/dist/chunks/{persistent-pty-xsgnaeym.js → wellknown-tj1q2scr.js} +2 -2
- package/dist/chunks/{persistent-pty-cqyts73c.js → wellknown-tkqmbdwd.js} +33 -33
- package/dist/chunks/{persistent-pty-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-tjfw1za4.js → wellknown-tx7nxe6e.js} +11 -11
- package/dist/chunks/{persistent-pty-k0nnq3t9.js → wellknown-v3jp6byb.js} +8 -8
- package/dist/chunks/{persistent-pty-dxygqc36.js → wellknown-v8sve7zh.js} +18 -18
- package/dist/chunks/{persistent-pty-1bvxxf6d.js → wellknown-vd0xk4sc.js} +7 -7
- package/dist/chunks/{persistent-pty-2j1x0myt.js → wellknown-vdx4y0d9.js} +7 -7
- package/dist/chunks/{persistent-pty-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-721tb84k.js → wellknown-vjnb44yt.js} +3 -3
- package/dist/chunks/{persistent-pty-72xz0ztc.js → wellknown-vsmeezbe.js} +52 -52
- package/dist/chunks/{persistent-pty-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-qt3ydrbb.js → wellknown-wbt7ywgk.js} +80 -80
- package/dist/chunks/{persistent-pty-zbr6jhfd.js → wellknown-wc38272m.js} +24 -24
- package/dist/chunks/{persistent-pty-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-kt5w8vxh.js → wellknown-wk58jv74.js} +3 -3
- package/dist/chunks/{persistent-pty-exnvqzq0.js → wellknown-ww0rczpm.js} +16 -16
- package/dist/chunks/{persistent-pty-gqh9qxps.js → wellknown-x0hpdvpn.js} +286 -286
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-x43y2vfs.js → wellknown-x43y2vfs.js} +2 -2
- package/dist/chunks/{persistent-pty-af4kcksd.js → wellknown-xhmq8qgk.js} +2 -2
- package/dist/chunks/{persistent-pty-0c8kwbsp.js → wellknown-xjrtztjf.js} +18 -18
- package/dist/chunks/{persistent-pty-aahnsagd.js → wellknown-xpex9dgw.js} +24 -24
- package/dist/chunks/{persistent-pty-qryc0yk4.js → wellknown-xzh4dvk0.js} +38 -38
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-c7m75h3c.js → wellknown-y5n0rpyq.js} +1 -1
- package/dist/chunks/{persistent-pty-dpkg50ah.js → wellknown-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-yddgxcp4.js → wellknown-yddgxcp4.js} +2 -2
- package/dist/chunks/{persistent-pty-b2v3nqsm.js → wellknown-yef8cfd3.js} +15 -15
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-s4enseaf.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-29x78va6.js → wellknown-z63w68vq.js} +6 -6
- package/dist/chunks/{persistent-pty-0m5hy3yw.js → wellknown-z6xqx8vg.js} +31 -31
- package/dist/chunks/{persistent-pty-vabb23s0.js → wellknown-z92e5j38.js} +1 -1
- package/dist/chunks/{persistent-pty-m3s16k4y.js → wellknown-zdvsaw25.js} +11 -11
- package/dist/chunks/{persistent-pty-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-aavsyw27.js → wellknown-zy1b9mj0.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +116 -116
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- package/dist/git.js +3 -3
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +7 -7
- 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 +86 -86
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- 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 +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +99 -99
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- 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 +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-9r5tkcxt.js +0 -247
- package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
- package/dist/chunks/persistent-pty-t9b0v4z9.js +0 -22
- /package/dist/chunks/{persistent-pty-0mesazry.js → wellknown-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → wellknown-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./wellknown-m3g11tvf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,17 +12,17 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID10,
|
|
16
|
+
Info: () => Info22,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
19
|
Ref: () => Ref3,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
|
-
parse: () =>
|
|
22
|
+
parse: () => parse4
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID10 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
|
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
32
|
var Ref3 = Model.Ref;
|
|
33
|
-
var
|
|
33
|
+
var Info22 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -38,12 +38,12 @@ function compatibility2(input) {
|
|
|
38
38
|
return;
|
|
39
39
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function parse4(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info22, compatibility2, parse4, exports_model2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9ah46qnh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./wellknown-9c7cwdaf.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service63
|
|
16
|
+
} from "./wellknown-jh6dhq8h.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./wellknown-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./wellknown-vd0xk4sc.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./wellknown-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service49;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service63;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID12.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service49;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service63;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID12.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID12.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tx7nxe6e.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event12
|
|
10
|
+
} from "./wellknown-fyts4tpe.js";
|
|
11
11
|
import {
|
|
12
12
|
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-ckea2n89.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID11,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-m3g11tvf.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -159,7 +159,7 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
165
|
const bus = yield* Service79;
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID11.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -222,9 +222,9 @@ var OpenAIPlugin3 = define({
|
|
|
222
222
|
evt.baseURL = codexBaseURL;
|
|
223
223
|
evt.headers.originator = "opencode";
|
|
224
224
|
evt.headers["session-id"] = evt.sessionID;
|
|
225
|
-
}), { providerID:
|
|
225
|
+
}), { providerID: ID11.openai });
|
|
226
226
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
227
|
-
yield* bus.subscribe(
|
|
227
|
+
yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
function headers(contentType, app) {
|
|
@@ -315,4 +315,4 @@ function claim(token) {
|
|
|
315
315
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-y5n0rpyq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ma6ycfp0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-x43y2vfs.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service72,
|
|
17
|
+
node77
|
|
18
|
+
} from "./wellknown-7jd5w2z6.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service73,
|
|
21
|
+
node78
|
|
22
|
+
} from "./wellknown-jj63jgrn.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./wellknown-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service71,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node76
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service71 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service73;
|
|
58
|
+
const image = yield* Service72;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service71.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node76 = makeLocationNode({
|
|
266
|
+
service: Service71,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node78, node77]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service71, node76, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service36,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node40
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service36 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service36, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service36.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service40, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node40 = makeGlobalNode({ service: Service36, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service36, node40, exports_environment };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tx7nxe6e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin37 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin35, exports_tavily };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-tj1q2scr.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service34,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node38
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service34 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service34.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node38 = makeLocationNode({
|
|
165
|
+
service: Service34,
|
|
166
166
|
layer,
|
|
167
167
|
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service34, node38, exports_vcs };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin34 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin33 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin34, exports_exa };
|