@opencode/core 0.0.0-dev-20289 → 0.0.0-dev-20290
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{project-ws541e64.js → pty-00pys7g3.js} +32 -32
- package/dist/chunks/{project-0gdmqesm.js → pty-0gdmqesm.js} +1 -1
- package/dist/chunks/{project-tx8aftqs.js → pty-0kptsf41.js} +29 -29
- package/dist/chunks/{project-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-xnaw95gh.js → pty-12m9tcs5.js} +13 -13
- package/dist/chunks/{project-5aevq8xe.js → pty-166nas2n.js} +75 -75
- package/dist/chunks/{project-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{project-rqkmnqjz.js → pty-1r4hg1ab.js} +92 -92
- package/dist/chunks/{project-6yq02ve2.js → pty-1sspf4zp.js} +11 -11
- package/dist/chunks/{project-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{project-aym04382.js → pty-22pf21tc.js} +4 -4
- package/dist/chunks/{project-njdvb0jf.js → pty-25wmepd2.js} +13 -13
- package/dist/chunks/{project-zbt67hek.js → pty-298khz9n.js} +27 -27
- package/dist/chunks/{project-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{project-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-mw8gr7fr.js → pty-2qp1m1e2.js} +15 -15
- package/dist/chunks/{project-dtm8hsv1.js → pty-2xv95c3w.js} +17 -17
- package/dist/chunks/{project-4n60pb9e.js → pty-31j2dbav.js} +3 -3
- package/dist/chunks/{project-56gdpj1q.js → pty-33w4ejhs.js} +6 -6
- package/dist/chunks/{project-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{project-690tj456.js → pty-3gxahddg.js} +9 -9
- package/dist/chunks/{project-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-12t2360m.js → pty-3sm5tmhn.js} +35 -35
- package/dist/chunks/{project-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{project-52d0evsq.js → pty-47rn6gb0.js} +9 -9
- package/dist/chunks/{project-28jfcc4w.js → pty-4fj5vy9w.js} +31 -31
- package/dist/chunks/{project-vdgcxr2s.js → pty-4j5pe0vj.js} +26 -26
- package/dist/chunks/{project-b3tbq4w8.js → pty-4m37mf4n.js} +5 -5
- package/dist/chunks/{project-3tzgvxzm.js → pty-4seh7fh4.js} +32 -32
- package/dist/chunks/{project-v8dfz6e8.js → pty-4t6c091a.js} +15 -15
- package/dist/chunks/{project-j88kjays.js → pty-4yn5zrg4.js} +15 -15
- package/dist/chunks/{project-7jfn2nfr.js → pty-4zpej1ag.js} +5 -5
- package/dist/chunks/{project-eckmdhj3.js → pty-547v9var.js} +17 -17
- package/dist/chunks/{project-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{project-s7g4z28s.js → pty-56d7j3tv.js} +30 -30
- package/dist/chunks/{project-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
- package/dist/chunks/{project-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{project-zsr4wwhv.js → pty-5dkn69vz.js} +4 -4
- package/dist/chunks/{project-gynv5cx7.js → pty-5epte933.js} +3 -3
- package/dist/chunks/{project-sfq9drnd.js → pty-5ggvksrg.js} +29 -29
- package/dist/chunks/{project-meyf4ekz.js → pty-5k8pr68x.js} +4 -4
- package/dist/chunks/{project-49nm2bgr.js → pty-5r8pgr53.js} +5 -5
- package/dist/chunks/{project-7a79fyt5.js → pty-5rqh976q.js} +3 -3
- package/dist/chunks/{project-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{project-vrjh2f6v.js → pty-5v9sj2jh.js} +7 -7
- package/dist/chunks/{project-dkdgcpb9.js → pty-5xrxk02f.js} +8 -8
- package/dist/chunks/{project-8rz9f2b3.js → pty-5ynr4ewv.js} +29 -29
- package/dist/chunks/{project-1mkytn8n.js → pty-63xt2gg6.js} +25 -25
- package/dist/chunks/{project-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{project-vkfb4jx0.js → pty-69eq3qtv.js} +4 -4
- package/dist/chunks/{project-731p8km1.js → pty-6bncvy53.js} +16 -16
- package/dist/chunks/{project-py18572k.js → pty-6faamtbd.js} +24 -24
- package/dist/chunks/{project-7wha6mnd.js → pty-6gp8watj.js} +14 -14
- package/dist/chunks/{project-2a4f6v5q.js → pty-6hcnmam1.js} +8 -8
- package/dist/chunks/{project-a3ftg8j6.js → pty-6hjx5zpb.js} +9 -9
- package/dist/chunks/{project-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{project-ar3z6bxk.js → pty-6n7pjf9k.js} +11 -11
- package/dist/chunks/{project-rkprpv83.js → pty-6pc27hjz.js} +6 -6
- package/dist/chunks/{project-p4vtg1gg.js → pty-6rqaarfj.js} +14 -14
- package/dist/chunks/{project-b3e7wqv3.js → pty-6z415m3h.js} +5 -5
- package/dist/chunks/{project-9bf000qt.js → pty-6zycmakc.js} +11 -11
- package/dist/chunks/{project-axs6pdy0.js → pty-705e2ap1.js} +5 -5
- package/dist/chunks/{project-7zdfjpaf.js → pty-7101ktrf.js} +8 -8
- package/dist/chunks/{project-rm2jqjsd.js → pty-77p2n3ka.js} +29 -29
- package/dist/chunks/{project-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-607tc6va.js → pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{project-aj8j3wxk.js → pty-7hs0hr17.js} +23 -23
- package/dist/chunks/{project-64mbz47k.js → pty-7tha5tbn.js} +6 -6
- package/dist/chunks/{project-x4sg8qy2.js → pty-7tnxghr4.js} +25 -25
- package/dist/chunks/{project-csmvz898.js → pty-7v81x33d.js} +9 -9
- package/dist/chunks/{project-sy9r8w3b.js → pty-839b17zc.js} +43 -43
- package/dist/chunks/{project-w1eejvng.js → pty-84txncab.js} +5 -5
- package/dist/chunks/{project-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{project-4rc67e32.js → pty-8p7750b3.js} +25 -25
- package/dist/chunks/{project-sjbpejxc.js → pty-8qkhqjvg.js} +12 -12
- package/dist/chunks/{project-w2ac37ab.js → pty-8rz6jvcp.js} +19 -19
- package/dist/chunks/{project-053jwjs2.js → pty-8ym6e508.js} +12 -12
- package/dist/chunks/{project-4z47mc45.js → pty-903617vw.js} +12 -12
- package/dist/chunks/{project-8n69n882.js → pty-91p1v22t.js} +8 -8
- package/dist/chunks/{project-xfacq6rb.js → pty-93xvzgtc.js} +39 -39
- package/dist/chunks/{project-94ek1h2f.js → pty-94ek1h2f.js} +2 -2
- package/dist/chunks/{project-k7thdygn.js → pty-95ws1gjh.js} +3 -3
- package/dist/chunks/{project-4zxebnwz.js → pty-9aja3qk6.js} +11 -11
- package/dist/chunks/{project-cd5e0ncw.js → pty-9gca7nqa.js} +1 -1
- package/dist/chunks/{project-yne44ej7.js → pty-9gqjtvj6.js} +85 -85
- package/dist/chunks/{project-phstrbs2.js → pty-9hn6k4tm.js} +8 -8
- package/dist/chunks/{project-stw4c2x8.js → pty-9mwkpmby.js} +27 -27
- package/dist/chunks/{project-eptgt4qp.js → pty-9r73yh2k.js} +19 -19
- package/dist/chunks/{project-fraxrbyh.js → pty-9wn9fhxy.js} +2 -2
- package/dist/chunks/{project-pyvffvbh.js → pty-a14qddyf.js} +18 -18
- package/dist/chunks/{project-yycjvcgh.js → pty-a3ymefbh.js} +6 -6
- package/dist/chunks/{project-erf911ze.js → pty-a51vj2sy.js} +26 -26
- package/dist/chunks/{project-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{project-c78bbtc9.js → pty-ag9w8cw1.js} +5 -5
- package/dist/chunks/{project-sx1n432n.js → pty-an7cqtb7.js} +4 -4
- package/dist/chunks/{project-ezkvecwj.js → pty-ash4hwch.js} +9 -9
- package/dist/chunks/{project-06y3hwfp.js → pty-b1xes142.js} +21 -21
- package/dist/chunks/{project-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-nb6xv2ms.js → pty-b8pxkphb.js} +13 -13
- package/dist/chunks/{project-b3dr5ww8.js → pty-bskxk100.js} +11 -11
- package/dist/chunks/{project-jadga48t.js → pty-bvz46swk.js} +30 -30
- package/dist/chunks/{project-4h4fe64w.js → pty-bwv6jga4.js} +178 -178
- package/dist/chunks/{project-r4czcqfh.js → pty-c36kazt5.js} +11 -11
- package/dist/chunks/{project-ckecvw8r.js → pty-ckecvw8r.js} +2 -2
- package/dist/chunks/{project-tbeap78k.js → pty-cyyr2ryx.js} +14 -14
- package/dist/chunks/{project-rn8q0cx6.js → pty-cz9at8s3.js} +16 -16
- package/dist/chunks/{project-hzv9afqd.js → pty-d6zc0yrw.js} +46 -46
- package/dist/chunks/{project-qafwspfk.js → pty-db9gxvpc.js} +35 -35
- package/dist/chunks/{project-36t51zhw.js → pty-dh4n3axn.js} +29 -29
- package/dist/chunks/{project-818pfwc9.js → pty-dhwr7h25.js} +11 -11
- package/dist/chunks/{project-y6bex35g.js → pty-dnxkq42g.js} +4 -4
- package/dist/chunks/{project-drwq78ky.js → pty-drwq78ky.js} +1 -1
- package/dist/chunks/{project-as4r4vj3.js → pty-dtpcx3sj.js} +20 -20
- package/dist/chunks/{project-mv9h8c6d.js → pty-dyhjeyw1.js} +30 -30
- package/dist/chunks/{project-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
- package/dist/chunks/{project-gz46k2a1.js → pty-ebqraxde.js} +22 -22
- package/dist/chunks/{project-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
- package/dist/chunks/{project-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{project-r1bvamk5.js → pty-emvsgpqw.js} +21 -21
- package/dist/chunks/{project-a694798e.js → pty-engkm2d6.js} +5 -5
- package/dist/chunks/{project-r5x6zcsm.js → pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{project-yj5dcj2b.js → pty-eracma60.js} +54 -54
- package/dist/chunks/pty-erp3bzqc.js +252 -0
- package/dist/chunks/{project-x2d8hca6.js → pty-etnqkgne.js} +10 -10
- package/dist/chunks/{project-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{project-twncgfvc.js → pty-f02r5e20.js} +11 -11
- package/dist/chunks/{project-evttz6pw.js → pty-f05szktz.js} +21 -21
- package/dist/chunks/{project-f2n192rq.js → pty-f2n192rq.js} +1 -1
- package/dist/chunks/{project-b77cpj6m.js → pty-f4c1ttaq.js} +3 -3
- package/dist/chunks/{project-fcbbx3j9.js → pty-f6gb79hb.js} +9 -9
- package/dist/chunks/{project-ha1653ey.js → pty-f7csm4ve.js} +26 -26
- package/dist/chunks/{project-pe58eyng.js → pty-f9g9yax9.js} +9 -9
- package/dist/chunks/{project-kpt1qdq7.js → pty-fq6n6ras.js} +10 -10
- package/dist/chunks/{project-e6hd9jay.js → pty-fvanntqq.js} +6 -6
- package/dist/chunks/{project-z0sn24qa.js → pty-fw473rf4.js} +44 -44
- package/dist/chunks/{project-qx4t3fpp.js → pty-g1ja7mqv.js} +20 -20
- package/dist/chunks/{project-6aqenpe6.js → pty-g2eq9m13.js} +43 -43
- package/dist/chunks/{project-h6b02349.js → pty-g5agzp2h.js} +5 -5
- package/dist/chunks/{project-kbwf032e.js → pty-g97bb4fb.js} +2 -2
- package/dist/chunks/{project-7me2h9s5.js → pty-gb7cfa7m.js} +8 -8
- package/dist/chunks/{project-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-8apd0fk3.js → pty-gee5yzwp.js} +2 -2
- package/dist/chunks/{project-2149nv1z.js → pty-gghfkarr.js} +4 -4
- package/dist/chunks/{project-ce0gdwa2.js → pty-gkjzek3h.js} +16 -16
- package/dist/chunks/{project-8hgqfxgb.js → pty-gm6y06j9.js} +14 -14
- package/dist/chunks/{project-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{project-ps3kyhtj.js → pty-gx3m57p0.js} +26 -26
- package/dist/chunks/{project-5wm15th1.js → pty-gy1zn137.js} +24 -24
- package/dist/chunks/{project-bf4f4tc6.js → pty-gy9sb033.js} +10 -10
- package/dist/chunks/{project-ncnm8wen.js → pty-h5w29vws.js} +1 -1
- package/dist/chunks/{project-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-d1mtykxg.js → pty-hdab2k61.js} +6 -6
- package/dist/chunks/{project-5kvqrqtt.js → pty-hehaxqkv.js} +4 -4
- package/dist/chunks/{project-qyeqsdzg.js → pty-hzgv6j90.js} +11 -11
- package/dist/chunks/{project-qsxf26yz.js → pty-j5208yae.js} +6 -6
- package/dist/chunks/{project-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/pty-jqh9b0xq.js +18 -0
- package/dist/chunks/{project-jdts96jg.js → pty-js3ryzpr.js} +11 -11
- package/dist/chunks/{project-r41x2cw7.js → pty-k06rjv8x.js} +13 -13
- package/dist/chunks/{project-t8y50d2h.js → pty-k2q1nrn1.js} +1 -1
- package/dist/chunks/{project-a4790m31.js → pty-k3zkbgx7.js} +25 -25
- package/dist/chunks/{project-bv2xgvbd.js → pty-k4wv29t5.js} +48 -48
- package/dist/chunks/{project-ddjweyn8.js → pty-k94pa5tz.js} +7 -7
- package/dist/chunks/{project-nnaqtnp0.js → pty-kadk3yqy.js} +42 -42
- package/dist/chunks/{project-xearycz2.js → pty-kcjjyj53.js} +21 -21
- package/dist/chunks/{project-nmhvxzxh.js → pty-kefs7twp.js} +20 -20
- package/dist/chunks/{project-ab0bg4br.js → pty-krfrp5kz.js} +11 -11
- package/dist/chunks/{project-bacyadyn.js → pty-m0r31qfn.js} +4 -4
- package/dist/chunks/{project-ff0zxw5w.js → pty-m21hmhy7.js} +19 -19
- package/dist/chunks/{project-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{project-czdj9312.js → pty-m5gekzn4.js} +13 -13
- package/dist/chunks/{project-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-shs60xat.js → pty-mbeja11x.js} +13 -13
- package/dist/chunks/{project-4d1sz7eg.js → pty-md3t2qq1.js} +26 -26
- package/dist/chunks/{project-s55akzd0.js → pty-mh6b7rh2.js} +40 -40
- package/dist/chunks/{project-ckz58j26.js → pty-mjk8ns3s.js} +18 -18
- package/dist/chunks/{project-6d6xcght.js → pty-mvfdckk2.js} +6 -6
- package/dist/chunks/{project-cmhg39yj.js → pty-mxe8gkry.js} +51 -51
- package/dist/chunks/{project-395kcsa0.js → pty-mxmb5cw3.js} +9 -9
- package/dist/chunks/{project-ba6x0ep7.js → pty-n05etbth.js} +20 -20
- package/dist/chunks/{project-83tfvzb6.js → pty-n7j8ea7m.js} +25 -25
- package/dist/chunks/{project-4t67bpxd.js → pty-nh7v3r81.js} +5 -5
- package/dist/chunks/{project-ywxt88nj.js → pty-nna5ba44.js} +9 -9
- package/dist/chunks/{project-1njvbn15.js → pty-nsd6ttt2.js} +38 -38
- package/dist/chunks/{project-282se8s8.js → pty-nw0j14yf.js} +15 -15
- package/dist/chunks/{project-yhabtz5d.js → pty-nwcqeccj.js} +5 -5
- package/dist/chunks/{project-6n85nym7.js → pty-nwmgq5md.js} +31 -31
- package/dist/chunks/{project-k3c624dm.js → pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{project-ezes30fq.js → pty-p6sc6xf4.js} +14 -14
- package/dist/chunks/{project-s04kah20.js → pty-p7hfcpb1.js} +12 -12
- package/dist/chunks/{project-3x2vzye0.js → pty-pghs74jm.js} +10 -10
- package/dist/chunks/{project-d7fjbfjm.js → pty-pgwpntn4.js} +4 -4
- package/dist/chunks/{project-2wsxz18f.js → pty-pj681x6p.js} +20 -20
- package/dist/chunks/{project-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/pty-pm9ypstk.js +26 -0
- package/dist/chunks/{project-t1abnjvg.js → pty-ppxj9f8n.js} +18 -18
- package/dist/chunks/{project-89pqg31m.js → pty-pqnsbq8t.js} +11 -11
- package/dist/chunks/{project-4jatx6ft.js → pty-pvh8k8j6.js} +5 -5
- package/dist/chunks/{project-qk6h43bm.js → pty-q3dqc3h2.js} +33 -33
- package/dist/chunks/{project-t8x4yvbd.js → pty-q3dzamve.js} +18 -18
- package/dist/chunks/{project-y5941b4h.js → pty-q607fvbk.js} +23 -23
- package/dist/chunks/{project-xtsr5b6r.js → pty-q82q9exb.js} +6 -6
- package/dist/chunks/{project-vttfgm5c.js → pty-q9e230a9.js} +57 -57
- package/dist/chunks/{project-gs3s1a1g.js → pty-qby9dwvd.js} +8 -8
- package/dist/chunks/{project-pnv527nz.js → pty-qg0jgkcp.js} +9 -9
- package/dist/chunks/{project-my56d36v.js → pty-qjzxgxpv.js} +3 -3
- package/dist/chunks/{project-2mq1h16s.js → pty-qmqgtz8f.js} +9 -9
- package/dist/chunks/{project-4dv29wnx.js → pty-qn8304n9.js} +330 -330
- package/dist/chunks/{project-7fswxymx.js → pty-qr5c3gzw.js} +32 -32
- package/dist/chunks/{project-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{project-ecsp9bpp.js → pty-r4vqcvbj.js} +35 -35
- package/dist/chunks/{project-97q8ans0.js → pty-r5e5zwbb.js} +34 -34
- package/dist/chunks/{project-redx8gv2.js → pty-rac3vem9.js} +31 -31
- package/dist/chunks/{project-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{project-xjcg4rpa.js → pty-rr0hpwez.js} +12 -12
- package/dist/chunks/{project-yrznvahk.js → pty-s4enseaf.js} +2 -2
- package/dist/chunks/{project-mymfc32k.js → pty-sgc66tsc.js} +28 -28
- package/dist/chunks/{project-pk4a84s8.js → pty-skxtpxf8.js} +10 -10
- package/dist/chunks/{project-kxf98cfh.js → pty-sp625ab5.js} +8 -8
- package/dist/chunks/{project-w45fphrw.js → pty-spg8qqh0.js} +28 -28
- package/dist/chunks/{project-7xph3mbh.js → pty-sxzc4anv.js} +16 -16
- package/dist/chunks/{project-z6k6vx84.js → pty-t713ny8j.js} +11 -11
- package/dist/chunks/{project-5t8yajra.js → pty-t94cx5vh.js} +8 -8
- package/dist/chunks/{project-2yf83c6y.js → pty-t9teg1yf.js} +11 -11
- package/dist/chunks/{project-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-tazp3vs0.js → pty-tazp3vs0.js} +4 -4
- package/dist/chunks/{project-89znhe33.js → pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{project-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{project-9tef4xa6.js → pty-tebcm7m3.js} +24 -24
- package/dist/chunks/{project-qrj3wnkg.js → pty-tffeed3q.js} +12 -12
- package/dist/chunks/{project-fy53vy2g.js → pty-tkg4d23p.js} +23 -23
- package/dist/chunks/{project-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{project-h91h2q9q.js → pty-v6dqrb48.js} +11 -11
- package/dist/chunks/{project-q5ny0xm2.js → pty-v6pj48ph.js} +8 -8
- package/dist/chunks/{project-gqfpkqz0.js → pty-v9efh8jq.js} +11 -11
- package/dist/chunks/{project-5cks982w.js → pty-va5acnyd.js} +9 -9
- package/dist/chunks/{project-3z8zkz19.js → pty-vb9k7s1g.js} +8 -8
- package/dist/chunks/{project-6prsfskb.js → pty-vdjz1shn.js} +34 -34
- package/dist/chunks/{project-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{project-x3gqap9d.js → pty-vfjhn2wd.js} +4 -4
- package/dist/chunks/{project-g190xswt.js → pty-vsp1fds9.js} +21 -21
- package/dist/chunks/{project-3bxd3j1q.js → pty-vz4jexq7.js} +8 -8
- package/dist/chunks/{project-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{project-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{project-fw203re9.js → pty-vzxynfrx.js} +10 -10
- package/dist/chunks/{project-m6a39cfz.js → pty-w1rhgxjx.js} +20 -20
- package/dist/chunks/{project-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-ezzzks3g.js → pty-w9xbefsq.js} +19 -19
- package/dist/chunks/{project-qn4ba14w.js → pty-wbkyxrgf.js} +5 -5
- package/dist/chunks/{project-njwxmpwa.js → pty-wcdd63eg.js} +28 -28
- package/dist/chunks/{project-wd3x2cqz.js → pty-wd3x2cqz.js} +2 -2
- package/dist/chunks/{project-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{project-va0y9eaw.js → pty-wet12kzw.js} +15 -15
- package/dist/chunks/{project-cwsayzrf.js → pty-wfr11ckr.js} +11 -11
- package/dist/chunks/{project-x2th391j.js → pty-wh872f6y.js} +10 -10
- package/dist/chunks/{project-zke1m8at.js → pty-wjahz7sy.js} +24 -24
- package/dist/chunks/{project-622ek8sf.js → pty-wkj69y2r.js} +6 -6
- package/dist/chunks/{project-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-b4m32151.js → pty-x9d5zs2r.js} +7 -7
- package/dist/chunks/{project-sxz6gkc3.js → pty-xb02k0wq.js} +7 -7
- package/dist/chunks/{project-exkqnn2s.js → pty-xdbc7yds.js} +11 -11
- package/dist/chunks/{project-8tbe00j0.js → pty-xh9bnhqc.js} +47 -47
- package/dist/chunks/{project-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
- package/dist/chunks/{project-vcrqcsww.js → pty-xtcsdhc6.js} +3 -3
- package/dist/chunks/{project-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{project-f7rj482f.js → pty-yf10kn3d.js} +8 -8
- package/dist/chunks/{project-5ddde2n9.js → pty-ymjj4a8f.js} +27 -27
- package/dist/chunks/{project-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{project-a1a50ys5.js → pty-yt0fqk68.js} +5 -5
- package/dist/chunks/{project-afed7ext.js → pty-ywv187z9.js} +12 -12
- package/dist/chunks/{project-z07pqspn.js → pty-z07pqspn.js} +3 -3
- package/dist/chunks/{project-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{project-ka32nkxa.js → pty-z236ez34.js} +15 -15
- package/dist/chunks/{project-yamj9jch.js → pty-z8njfdrm.js} +46 -46
- package/dist/chunks/{project-ddt2bs9e.js → pty-zav06jzw.js} +4 -4
- package/dist/chunks/{project-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{project-x9y4zj8b.js → pty-zmqnc1z2.js} +28 -28
- package/dist/chunks/{project-mw9zgz6k.js → pty-zmzm6hpq.js} +3 -3
- package/dist/chunks/{project-q04r6a4p.js → pty-zp56f3pw.js} +30 -30
- package/dist/chunks/{project-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{project-11pagn9f.js → pty-zv15rf3h.js} +13 -13
- package/dist/chunks/{project-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- 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 +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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/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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +362 -362
- 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 +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- 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-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +107 -107
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +120 -120
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- 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 +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- 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 +162 -162
- 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 +353 -353
- 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/verbosity.js +93 -93
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- 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 +221 -221
- 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 +13 -13
- 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 +128 -128
- 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/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +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 +5 -5
- 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 +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/project-7y0h37ky.js +0 -252
- package/dist/chunks/project-9zdhvgqs.js +0 -18
- package/dist/chunks/project-agjs0zsw.js +0 -26
- /package/dist/chunks/{project-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{project-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{project-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./pty-f05szktz.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service19,
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service19 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service70;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service19.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node21 = makeLocationNode({ service: Service19, layer, deps: [node73, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node75,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node75 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node75, exports_driver };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./pty-8ym6e508.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./pty-4fj5vy9w.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9wn9fhxy.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node73
|
|
20
|
+
} from "./pty-f05szktz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./pty-ymjj4a8f.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service77,
|
|
34
|
+
node81
|
|
35
|
+
} from "./pty-5ynr4ewv.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service37,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured5,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node40
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -91,21 +91,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
91
91
|
var endpointLoads = makeUnsafe2();
|
|
92
92
|
var cloneConfig = (config) => structuredClone(config);
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
95
95
|
}
|
|
96
|
-
var
|
|
96
|
+
var Options5 = Schema.Struct({
|
|
97
97
|
clientInfo: Schema.optional(Schema.Struct({
|
|
98
98
|
name: Schema.String,
|
|
99
99
|
version: Schema.String
|
|
100
100
|
}))
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
103
103
|
const location = yield* Service80;
|
|
104
|
-
const environment = yield*
|
|
105
|
-
const bus = yield*
|
|
106
|
-
const forms = yield*
|
|
107
|
-
const integration = yield*
|
|
108
|
-
const credentials = yield*
|
|
104
|
+
const environment = yield* Service70;
|
|
105
|
+
const bus = yield* Service82;
|
|
106
|
+
const forms = yield* Service78;
|
|
107
|
+
const integration = yield* Service77;
|
|
108
|
+
const credentials = yield* Service79;
|
|
109
109
|
const root = yield* Effect.scope;
|
|
110
110
|
const fork = yield* FiberSet.makeRuntime();
|
|
111
111
|
const entries = new Map;
|
|
@@ -117,7 +117,7 @@ var layer12 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
117
117
|
return;
|
|
118
118
|
const remote = entry.config;
|
|
119
119
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
120
|
-
const integrationID =
|
|
120
|
+
const integrationID = ID14.make(suffix);
|
|
121
121
|
entry.integrationID = integrationID;
|
|
122
122
|
owned.add(integrationID);
|
|
123
123
|
const methodID = MethodID2.make(suffix);
|
|
@@ -133,7 +133,7 @@ var layer12 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
133
133
|
method: { id: methodID, type: "oauth", label: name },
|
|
134
134
|
authorize: () => Effect.gen(function* () {
|
|
135
135
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
136
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
136
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
|
|
137
137
|
})
|
|
138
138
|
});
|
|
139
139
|
}).pipe(Scope.provide(scope));
|
|
@@ -142,19 +142,19 @@ var layer12 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
142
142
|
const name = ServerName2.make(server);
|
|
143
143
|
const entry = entries.get(name);
|
|
144
144
|
if (!entry)
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new NotFoundError5({ server: name });
|
|
146
146
|
return { name, entry };
|
|
147
147
|
});
|
|
148
148
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
149
149
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
150
150
|
return;
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
|
|
153
153
|
});
|
|
154
154
|
const elicitation = {
|
|
155
155
|
create: (input) => Effect.gen(function* () {
|
|
156
156
|
if (input.params.mode === "url") {
|
|
157
|
-
const formID =
|
|
157
|
+
const formID = ID15.create();
|
|
158
158
|
const elicitationID = input.params.elicitationId;
|
|
159
159
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
160
160
|
if (key)
|
|
@@ -257,7 +257,7 @@ var layer12 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
257
257
|
entry.scope = scope;
|
|
258
258
|
const authProvider = yield* connectProvider(entry);
|
|
259
259
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
260
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
260
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service70, environment), Scope.provide(scope));
|
|
261
261
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
262
262
|
if (Exit.isSuccess(result)) {
|
|
263
263
|
entry.client = result.value.connection;
|
|
@@ -382,7 +382,7 @@ var layer12 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
382
382
|
yield* startServer(name, entry);
|
|
383
383
|
}).pipe(locks.withLock(name));
|
|
384
384
|
});
|
|
385
|
-
fork(bus.subscribe(
|
|
385
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
386
386
|
const state = create3({
|
|
387
387
|
name: "mcp",
|
|
388
388
|
initial: () => ({
|
|
@@ -408,7 +408,7 @@ var layer12 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
408
408
|
}),
|
|
409
409
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
410
410
|
});
|
|
411
|
-
return
|
|
411
|
+
return Service37.of({
|
|
412
412
|
transform: state.transform,
|
|
413
413
|
reload: state.reload,
|
|
414
414
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -514,14 +514,14 @@ function mergeCatalogs(catalogs) {
|
|
|
514
514
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
515
515
|
});
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function configured5(options) {
|
|
518
518
|
return makeLocationNode({
|
|
519
|
-
service:
|
|
520
|
-
layer:
|
|
521
|
-
deps: [node84,
|
|
519
|
+
service: Service37,
|
|
520
|
+
layer: layer14(options),
|
|
521
|
+
deps: [node84, node73, node86, node82, node81, node83]
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
-
var
|
|
524
|
+
var node40 = configured5();
|
|
525
525
|
function toElicitationField(key, property, required) {
|
|
526
526
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
527
527
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -572,4 +572,4 @@ function toElicitationField(key, property, required) {
|
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
575
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options5, layer14, configured5, node40, exports_mcp4 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-fq6n6ras.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-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 Plugin38 = 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 Plugin38 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin20, exports_tinyfish };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./pty-8ym6e508.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-9wn9fhxy.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-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: () => Info25,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service74,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node78
|
|
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 Info25, 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,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service74 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
|
-
const bus = yield*
|
|
53
|
+
const bus = yield* Service82;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service34, 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(Info25));
|
|
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));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
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 }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service74.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node78 = makeLocationNode({
|
|
168
|
+
service: Service74,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node, node84,
|
|
170
|
+
deps: [FSUtil.node, node84, node86]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info25, Mode2, DiffError2, Service74, node78, exports_vcs };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9wn9fhxy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service13
|
|
9
|
+
} from "./pty-wet12kzw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service8
|
|
12
|
+
} from "./pty-9r73yh2k.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service2
|
|
27
|
+
} from "./pty-2xv95c3w.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin3,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin3 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service2;
|
|
62
|
+
const access = yield* Service13;
|
|
63
|
+
const sessionInstructions = yield* Service8;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin30 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent2 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name3, Input3, Plugin3, toModelContent2, exports_read };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./pty-dyhjeyw1.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|