@opencode/core 0.0.0-dev-20203 → 0.0.0-dev-20206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-services-s0kg6ey3.js → model-resolver-06x0cg99.js} +13 -13
- package/dist/chunks/{location-services-cvjyqy8b.js → model-resolver-0ad39zh4.js} +23 -23
- package/dist/chunks/{location-services-qgn6gcr1.js → model-resolver-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-services-h9mky73t.js → model-resolver-0mm9aq32.js} +15 -15
- package/dist/chunks/{location-services-b3za54ys.js → model-resolver-0mtkqq6e.js} +6 -6
- package/dist/chunks/{location-services-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-shgcqddn.js → model-resolver-0xyjb436.js} +12 -12
- package/dist/chunks/{location-services-bf54q0vn.js → model-resolver-0yw898m4.js} +38 -38
- package/dist/chunks/{location-services-b5y4wceh.js → model-resolver-1aq54yaq.js} +23 -23
- package/dist/chunks/{location-services-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-46je7tbg.js → model-resolver-1ey1z90k.js} +16 -16
- package/dist/chunks/{location-services-q9hdtabh.js → model-resolver-1h9atmhq.js} +18 -18
- package/dist/chunks/{location-services-bxnwhgcr.js → model-resolver-1nv7ymr6.js} +27 -27
- package/dist/chunks/{location-services-fn25s999.js → model-resolver-1qghahg6.js} +23 -23
- package/dist/chunks/{location-services-xzhjr7c3.js → model-resolver-1r2atdqm.js} +25 -25
- package/dist/chunks/{location-services-jdvpg0be.js → model-resolver-1wjepk3t.js} +34 -34
- package/dist/chunks/{location-services-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-6h73sxmp.js → model-resolver-2402vzrj.js} +5 -5
- package/dist/chunks/{location-services-dgs4c22x.js → model-resolver-267sahkc.js} +48 -48
- package/dist/chunks/{location-services-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-rp8jz6x1.js → model-resolver-2d57kztd.js} +4 -4
- package/dist/chunks/{location-services-p1spfnmp.js → model-resolver-2fvr2s65.js} +21 -21
- package/dist/chunks/{location-services-a354z5sm.js → model-resolver-2zdc6rg7.js} +11 -11
- package/dist/chunks/{location-services-pttdfhpz.js → model-resolver-31879egc.js} +9 -9
- package/dist/chunks/{location-services-kn6v00wg.js → model-resolver-31j6fr5m.js} +18 -18
- package/dist/chunks/{location-services-d9wzmzc3.js → model-resolver-35ng7dkh.js} +5 -5
- package/dist/chunks/{location-services-an3y63gz.js → model-resolver-35xajyyx.js} +11 -11
- package/dist/chunks/{location-services-z3pw5915.js → model-resolver-37s12vcn.js} +5 -5
- package/dist/chunks/{location-services-4p9aey09.js → model-resolver-3c98vr6c.js} +8 -8
- package/dist/chunks/{location-services-1w8sqpqb.js → model-resolver-3dx22m0j.js} +15 -15
- package/dist/chunks/{location-services-7h7s3rmt.js → model-resolver-3f15rfkp.js} +9 -9
- package/dist/chunks/{location-services-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-pq983g12.js → model-resolver-3ghz8s00.js} +16 -16
- package/dist/chunks/{location-services-t8rew5kn.js → model-resolver-3h8pbnga.js} +12 -12
- package/dist/chunks/{location-services-fej70bpn.js → model-resolver-3hdgzgjd.js} +19 -19
- package/dist/chunks/{location-services-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-ggp883ka.js → model-resolver-3k23bpvr.js} +6 -6
- package/dist/chunks/{location-services-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-5w8x6yjj.js → model-resolver-40jcz8ad.js} +8 -8
- package/dist/chunks/{location-services-7s76t0fg.js → model-resolver-4111r571.js} +24 -24
- package/dist/chunks/{location-services-jeqepyqp.js → model-resolver-48zhkjc5.js} +67 -65
- package/dist/chunks/{location-services-4dgbcxzg.js → model-resolver-4dgbcxzg.js} +1 -1
- package/dist/chunks/{location-services-3w9hmcr6.js → model-resolver-4gtvk39h.js} +4 -4
- package/dist/chunks/{location-services-vzc886ch.js → model-resolver-4kngcreg.js} +32 -32
- package/dist/chunks/{location-services-h0rgcqpm.js → model-resolver-4rhbtwdt.js} +8 -8
- package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-services-96ymsse1.js → model-resolver-4w4q249n.js} +8 -8
- package/dist/chunks/{location-services-n7mjttc7.js → model-resolver-55kqbvq6.js} +9 -9
- package/dist/chunks/{location-services-1ygqh575.js → model-resolver-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-services-81swgkk7.js → model-resolver-57ez7d0k.js} +7 -7
- package/dist/chunks/{location-services-h9m1c2w5.js → model-resolver-5ctg7cef.js} +42 -24
- package/dist/chunks/{location-services-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-0zdhcxq1.js → model-resolver-5jmkacqm.js} +2 -2
- package/dist/chunks/{location-services-3664e2vt.js → model-resolver-5jqe332k.js} +11 -11
- package/dist/chunks/{location-services-0gz88f7v.js → model-resolver-5kgz3sjj.js} +20 -20
- package/dist/chunks/{location-services-j7axrqd8.js → model-resolver-5nb4515h.js} +36 -36
- package/dist/chunks/{location-services-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/model-resolver-5qyz8na8.js +507 -0
- package/dist/chunks/{location-services-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-sxz61evh.js → model-resolver-662kcsnq.js} +15 -15
- package/dist/chunks/{location-services-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{location-services-g3y93bdq.js → model-resolver-6bwfswtt.js} +25 -25
- package/dist/chunks/{location-services-7m38xmwt.js → model-resolver-6kkcd6qd.js} +8 -8
- package/dist/chunks/{location-services-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-wqgv35h5.js → model-resolver-6ncjhc5z.js} +33 -33
- package/dist/chunks/{location-services-gap9hmaf.js → model-resolver-6nf8xs8b.js} +56 -42
- package/dist/chunks/{location-services-04j5qzgw.js → model-resolver-6ntqtawn.js} +33 -33
- package/dist/chunks/{location-services-xtsf53gz.js → model-resolver-6st2m2tt.js} +4 -4
- package/dist/chunks/{location-services-fwf02z8y.js → model-resolver-6w2apkvv.js} +24 -24
- package/dist/chunks/{location-services-3j6aw61a.js → model-resolver-6xec00j9.js} +26 -26
- package/dist/chunks/{location-services-20x4t0fx.js → model-resolver-6ytc35nj.js} +21 -21
- package/dist/chunks/{location-services-ganadfp0.js → model-resolver-70pv625h.js} +23 -23
- package/dist/chunks/{location-services-dy7h2h1w.js → model-resolver-72syy6q7.js} +2 -2
- package/dist/chunks/{location-services-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-xedyykk9.js → model-resolver-7f9xvnkr.js} +18 -18
- package/dist/chunks/{location-services-6pc27hjz.js → model-resolver-7fkffz83.js} +8 -8
- package/dist/chunks/{location-services-t6tst13s.js → model-resolver-7pnt7zw0.js} +10 -10
- package/dist/chunks/{location-services-2ynhemhj.js → model-resolver-7y88vt3g.js} +12 -12
- package/dist/chunks/{location-services-73tb2d7t.js → model-resolver-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-services-jfb30j9d.js → model-resolver-84gx0bmj.js} +1 -1
- package/dist/chunks/{location-services-89znhe33.js → model-resolver-89znhe33.js} +1 -1
- package/dist/chunks/{location-services-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-qfgcszr2.js → model-resolver-8emzq1v9.js} +11 -11
- package/dist/chunks/{location-services-ndwv7bs8.js → model-resolver-8h1zszsv.js} +17 -17
- package/dist/chunks/{location-services-tqqd1wey.js → model-resolver-8q7htp70.js} +21 -21
- package/dist/chunks/{location-services-6hg3r82e.js → model-resolver-8q8smbff.js} +9 -9
- package/dist/chunks/{location-services-7p2zmt5w.js → model-resolver-8qa1wps4.js} +3 -3
- package/dist/chunks/{location-services-1hbenywt.js → model-resolver-8tpjzhs1.js} +6 -6
- package/dist/chunks/{location-services-ph842b28.js → model-resolver-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-services-c8y3sydt.js → model-resolver-8ttzzsr1.js} +43 -43
- package/dist/chunks/{location-services-bt39fvn6.js → model-resolver-8x7avsgx.js} +5 -5
- package/dist/chunks/{location-services-wqtjegkd.js → model-resolver-90zwzkn8.js} +20 -20
- package/dist/chunks/{location-services-kwhnaq83.js → model-resolver-93gypvht.js} +29 -29
- package/dist/chunks/{location-services-85sxd0h8.js → model-resolver-93smetpw.js} +3 -3
- package/dist/chunks/{location-services-gfvb90ym.js → model-resolver-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-services-z8ay4g4r.js → model-resolver-9h236asx.js} +19 -19
- package/dist/chunks/{location-services-d1kmb1kz.js → model-resolver-9y9w4qw6.js} +6 -6
- package/dist/chunks/{location-services-bt483pgf.js → model-resolver-a0s8413t.js} +5 -5
- package/dist/chunks/{location-services-wk5z6jzv.js → model-resolver-a3ftg8j6.js} +9 -9
- package/dist/chunks/{location-services-e9xwgjwy.js → model-resolver-a8vp4ryg.js} +5 -5
- package/dist/chunks/{location-services-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-h20z1ya9.js → model-resolver-acnx8j53.js} +9 -9
- package/dist/chunks/{location-services-pe5ggv3d.js → model-resolver-ak9g7d9n.js} +30 -30
- package/dist/chunks/{location-services-qd16t7pt.js → model-resolver-b03gjzb4.js} +24 -24
- package/dist/chunks/{location-services-n2cd4sc1.js → model-resolver-b37fysv1.js} +13 -13
- package/dist/chunks/{location-services-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-f62qkzqr.js → model-resolver-b7b4ctej.js} +5 -5
- package/dist/chunks/{location-services-dhtjyx18.js → model-resolver-bb326kwh.js} +13 -13
- package/dist/chunks/{location-services-ph6sxt2m.js → model-resolver-bds46r3z.js} +44 -44
- package/dist/chunks/{location-services-ns8v16m0.js → model-resolver-beg0vm9f.js} +20 -20
- package/dist/chunks/{location-services-y0zn2255.js → model-resolver-bg8arhpn.js} +30 -30
- package/dist/chunks/{location-services-v7z2bvyd.js → model-resolver-bgc5ggmx.js} +4 -4
- package/dist/chunks/{location-services-wem8116r.js → model-resolver-bhgmygfr.js} +6 -6
- package/dist/chunks/{location-services-bz7ff98x.js → model-resolver-bmcwmng9.js} +8 -8
- package/dist/chunks/{location-services-fqg394v6.js → model-resolver-bmv2wk1h.js} +24 -24
- package/dist/chunks/{location-services-jvnghvnw.js → model-resolver-bnmr3cva.js} +8 -8
- package/dist/chunks/{location-services-jqwafpw4.js → model-resolver-bpm0h9ra.js} +23 -23
- package/dist/chunks/{location-services-5xtgfte3.js → model-resolver-br0tr5aq.js} +8 -8
- package/dist/chunks/{location-services-a7cgx6bn.js → model-resolver-c1q35zrn.js} +21 -21
- package/dist/chunks/{location-services-1rn5pcm9.js → model-resolver-c35597j6.js} +4 -4
- package/dist/chunks/{location-services-8rxxwv2n.js → model-resolver-c5885s0q.js} +5 -5
- package/dist/chunks/{location-services-ag4rn41e.js → model-resolver-ca7w653e.js} +4 -4
- package/dist/chunks/{location-services-mntr9wjt.js → model-resolver-cbx2ya3s.js} +28 -28
- package/dist/chunks/{location-services-c1pmqqvm.js → model-resolver-cgmaehw3.js} +4 -4
- package/dist/chunks/{location-services-54tcyq79.js → model-resolver-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-services-ywv187z9.js → model-resolver-cnvnzs5z.js} +12 -12
- package/dist/chunks/{location-services-r95crx12.js → model-resolver-d2m9pb5z.js} +18 -18
- package/dist/chunks/{location-services-38j7x2hc.js → model-resolver-d3mkwwpa.js} +42 -42
- package/dist/chunks/{location-services-mmtg5wy2.js → model-resolver-d3ndzfne.js} +27 -27
- package/dist/chunks/{location-services-cwa6csj7.js → model-resolver-d4he2qe1.js} +9 -9
- package/dist/chunks/{location-services-5e1npf9a.js → model-resolver-d9ayxges.js} +42 -42
- package/dist/chunks/{location-services-dyv6jqgc.js → model-resolver-dfbbfk99.js} +20 -20
- package/dist/chunks/{location-services-rf1x1me2.js → model-resolver-dfbyaknh.js} +5 -5
- package/dist/chunks/{location-services-k5qdgh99.js → model-resolver-dr1fjqgk.js} +8 -8
- package/dist/chunks/{location-services-9fbzm6a9.js → model-resolver-dzrsrzty.js} +8 -8
- package/dist/chunks/{location-services-2wveq407.js → model-resolver-e8n3qg4t.js} +27 -27
- package/dist/chunks/{location-services-ecfe7b91.js → model-resolver-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-services-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-zy883y1h.js → model-resolver-eq6d70b7.js} +36 -36
- package/dist/chunks/{location-services-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-dajjmxcf.js → model-resolver-exarhmpa.js} +15 -15
- package/dist/chunks/{location-services-c20khjev.js → model-resolver-f3ngv102.js} +21 -21
- package/dist/chunks/{location-services-bcnfbw3r.js → model-resolver-f3rwh7he.js} +20 -20
- package/dist/chunks/{location-services-xs0sd5xy.js → model-resolver-fmcqyzhx.js} +9 -9
- package/dist/chunks/{location-services-xp3fh2h7.js → model-resolver-fp2xarvc.js} +1 -1
- package/dist/chunks/{location-services-kbhmzeq3.js → model-resolver-fp8b183e.js} +10 -10
- package/dist/chunks/{location-services-42rf9s8q.js → model-resolver-gce79w0q.js} +19 -19
- package/dist/chunks/{location-services-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-frp52m33.js → model-resolver-gja2jk4r.js} +41 -41
- package/dist/chunks/{location-services-dbtc50z0.js → model-resolver-gse5gt66.js} +4 -4
- package/dist/chunks/{location-services-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-services-ey7mvkmc.js → model-resolver-gyswrdsk.js} +1 -1
- package/dist/chunks/{location-services-n3e4gkzn.js → model-resolver-h6pajdtw.js} +7 -7
- package/dist/chunks/{location-services-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-qzyph8ek.js → model-resolver-ha2jz5gs.js} +11 -11
- package/dist/chunks/{location-services-rwe7vfy4.js → model-resolver-hagmrwq3.js} +58 -58
- package/dist/chunks/{location-services-129hjeyj.js → model-resolver-hez0a82b.js} +26 -26
- package/dist/chunks/{location-services-e7173haz.js → model-resolver-hgf5wkwr.js} +20 -20
- package/dist/chunks/{location-services-mwwxnxty.js → model-resolver-hnr8f6ws.js} +4 -4
- package/dist/chunks/{location-services-bw6qjwge.js → model-resolver-j3pfw49f.js} +15 -15
- package/dist/chunks/{location-services-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-mrvjcs5x.js → model-resolver-j5w2yx54.js} +6 -6
- package/dist/chunks/{location-services-cmkj70ft.js → model-resolver-j699j8bt.js} +2 -2
- package/dist/chunks/{location-services-xx97hvw2.js → model-resolver-j7d6ser5.js} +26 -26
- package/dist/chunks/{location-services-2s51ny8k.js → model-resolver-j9gbxbd4.js} +3 -3
- package/dist/chunks/{location-services-yy7hf67g.js → model-resolver-jc9nhtt9.js} +13 -13
- package/dist/chunks/{location-services-zsn9zpn8.js → model-resolver-jehhjn5p.js} +11 -11
- package/dist/chunks/{location-services-mv9w5stb.js → model-resolver-jnt43jm9.js} +81 -81
- package/dist/chunks/{location-services-mz18n95x.js → model-resolver-jqseed9b.js} +17 -17
- package/dist/chunks/{location-services-tnjf10ex.js → model-resolver-jwz36s33.js} +152 -152
- package/dist/chunks/{location-services-s4bzt415.js → model-resolver-k50stbs9.js} +5 -5
- package/dist/chunks/{location-services-94mr9t66.js → model-resolver-k7fv6ppr.js} +11 -11
- package/dist/chunks/{location-services-kbcbk3rc.js → model-resolver-k7h4drr1.js} +22 -22
- package/dist/chunks/{location-services-6v2f9cm4.js → model-resolver-kcrma5rg.js} +16 -16
- package/dist/chunks/{location-services-by36gnm3.js → model-resolver-kd7vez3r.js} +4 -4
- package/dist/chunks/{location-services-728seb0w.js → model-resolver-kt0b5dy1.js} +21 -21
- package/dist/chunks/{location-services-930n0wtx.js → model-resolver-kw6cevd8.js} +40 -40
- package/dist/chunks/{location-services-q34hn4m8.js → model-resolver-m0t981be.js} +31 -31
- package/dist/chunks/{location-services-wfg70ajk.js → model-resolver-m11tzp6r.js} +3 -3
- package/dist/chunks/{location-services-qg0jgkcp.js → model-resolver-m2d0j7c0.js} +9 -9
- package/dist/chunks/{location-services-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-zkdqcrb9.js → model-resolver-m3qnxpr9.js} +11 -11
- package/dist/chunks/{location-services-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-zwznb21e.js → model-resolver-mbekgbbb.js} +3 -3
- package/dist/chunks/{location-services-aryx1f52.js → model-resolver-mj3g57tw.js} +19 -19
- package/dist/chunks/{location-services-m9jd0mcb.js → model-resolver-mnbtwaby.js} +8 -8
- package/dist/chunks/{location-services-evd3jqhg.js → model-resolver-ms5024b2.js} +4 -4
- package/dist/chunks/{location-services-ms93yq6r.js → model-resolver-ms93yq6r.js} +1 -1
- package/dist/chunks/{location-services-784hb5j4.js → model-resolver-mvksx64m.js} +4 -4
- package/dist/chunks/{location-services-xjvaav3g.js → model-resolver-n0eb95ej.js} +8 -8
- package/dist/chunks/model-resolver-n4x6w9v1.js +26 -0
- package/dist/chunks/{location-services-0w62qmxp.js → model-resolver-naj50rvz.js} +8 -8
- package/dist/chunks/{location-services-yy3gmdz3.js → model-resolver-nhqjn2vx.js} +8 -8
- package/dist/chunks/{location-services-8s7zrxf3.js → model-resolver-nk4qtf6b.js} +26 -26
- package/dist/chunks/{location-services-avm8jn6n.js → model-resolver-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-services-k3c624dm.js → model-resolver-nzks3jc8.js} +3 -3
- package/dist/chunks/model-resolver-pg8etanv.js +252 -0
- package/dist/chunks/{location-services-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-ba07h9gm.js → model-resolver-pk2244jm.js} +3 -3
- package/dist/chunks/{location-services-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-bf0ztrs3.js → model-resolver-pmr4s4kc.js} +4 -4
- package/dist/chunks/{location-services-h8dspmgn.js → model-resolver-pvz5x29g.js} +3 -3
- package/dist/chunks/{location-services-0fgcbzg9.js → model-resolver-q1aqvm29.js} +25 -25
- package/dist/chunks/{location-services-5y305m15.js → model-resolver-q5q8f7qb.js} +28 -28
- package/dist/chunks/{location-services-a2ew8a62.js → model-resolver-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-services-p1nm93x7.js → model-resolver-qn4ba14w.js} +5 -5
- package/dist/chunks/{location-services-drwq78ky.js → model-resolver-qqeeq2t9.js} +7 -7
- package/dist/chunks/{location-services-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-5jdch5sh.js → model-resolver-r6zp23ak.js} +17 -17
- package/dist/chunks/{location-services-xaaqc030.js → model-resolver-r8v59qyv.js} +16 -16
- package/dist/chunks/{location-services-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-t550f9t1.js → model-resolver-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-services-vh5rvw9s.js → model-resolver-rsh5se6h.js} +9 -9
- package/dist/chunks/{location-services-hxx0ygc8.js → model-resolver-rzmcp3en.js} +16 -16
- package/dist/chunks/{location-services-jm8m12cd.js → model-resolver-rznw7p1c.js} +22 -22
- package/dist/chunks/{location-services-wfe10mpm.js → model-resolver-s0thh5dw.js} +10 -10
- package/dist/chunks/{location-services-5p8spvcz.js → model-resolver-s3pj7kac.js} +15 -15
- package/dist/chunks/{location-services-y3eexsj3.js → model-resolver-s5defpr9.js} +11 -11
- package/dist/chunks/{location-services-6kbr84ay.js → model-resolver-s6xd6wvt.js} +7 -7
- package/dist/chunks/{location-services-44k2838g.js → model-resolver-t058hrzj.js} +20 -20
- package/dist/chunks/{location-services-7hhteh4v.js → model-resolver-tahc25fw.js} +3 -3
- package/dist/chunks/{location-services-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-1tqghxe1.js → model-resolver-tftgz9xd.js} +3 -3
- package/dist/chunks/{location-services-7rnj5ym9.js → model-resolver-tj8qce5x.js} +26 -26
- package/dist/chunks/{location-services-8xd21chy.js → model-resolver-tm1heg02.js} +11 -11
- package/dist/chunks/{location-services-4s6qdf3p.js → model-resolver-tq6twe20.js} +20 -20
- package/dist/chunks/{location-services-f3wv10y1.js → model-resolver-tr8rwgax.js} +12 -12
- package/dist/chunks/{location-services-1pfd5r9f.js → model-resolver-tt3q36pf.js} +7 -7
- package/dist/chunks/{location-services-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-g97k7hqe.js → model-resolver-tyfabpdn.js} +6 -6
- package/dist/chunks/{location-services-em10apng.js → model-resolver-tzs7fj4j.js} +38 -38
- package/dist/chunks/{location-services-26arvx1m.js → model-resolver-v4gwmykp.js} +20 -20
- package/dist/chunks/{location-services-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-hmay1t1j.js → model-resolver-vspyk4wa.js} +19 -19
- package/dist/chunks/{location-services-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-ze2qnn7n.js → model-resolver-w00ed993.js} +5 -5
- package/dist/chunks/{location-services-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-ab0n33ds.js → model-resolver-w6ns9rpk.js} +22 -22
- package/dist/chunks/{location-services-2c48prkg.js → model-resolver-w90vmgx1.js} +43 -43
- package/dist/chunks/{location-services-7ndtgxtc.js → model-resolver-w9j9c9r7.js} +12 -12
- package/dist/chunks/{location-services-psazpmmj.js → model-resolver-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-services-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-g4r1rkq7.js → model-resolver-weww5mga.js} +18 -18
- package/dist/chunks/{location-services-zv2tdc3m.js → model-resolver-wq13kg2q.js} +24 -24
- package/dist/chunks/{location-services-tj0fs0r1.js → model-resolver-wqk93c07.js} +13 -13
- package/dist/chunks/{location-services-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-g1ntwptg.js → model-resolver-x2qdxhwm.js} +8 -8
- package/dist/chunks/{location-services-4h4hnnes.js → model-resolver-x5vcyvvk.js} +87 -87
- package/dist/chunks/{location-services-ww3yq57e.js → model-resolver-xchhwgmm.js} +16 -16
- package/dist/chunks/{location-services-5pezwg1d.js → model-resolver-xfpvjh8w.js} +24 -24
- package/dist/chunks/{location-services-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-services-3nm0fk8h.js → model-resolver-xmh38ey0.js} +13 -13
- package/dist/chunks/{location-services-vgacam68.js → model-resolver-xtcf9r2h.js} +18 -18
- package/dist/chunks/{location-services-h56wjgp5.js → model-resolver-xvbsysbp.js} +39 -39
- package/dist/chunks/{location-services-faxt9yky.js → model-resolver-y0gws88p.js} +9 -9
- package/dist/chunks/{location-services-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-m12cyjmp.js → model-resolver-y20bgrwx.js} +15 -15
- package/dist/chunks/{location-services-sdvc1rg6.js → model-resolver-y473g9cd.js} +18 -18
- package/dist/chunks/{location-services-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-tx7d86r5.js → model-resolver-yajf6e80.js} +25 -25
- package/dist/chunks/{location-services-903nybc4.js → model-resolver-yfkyvkx0.js} +18 -18
- package/dist/chunks/{location-services-yp2x3t23.js → model-resolver-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-services-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-0gf2cy4k.js → model-resolver-yryk7av5.js} +7 -7
- package/dist/chunks/{location-services-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-fg90r6cn.js → model-resolver-yzyw4hev.js} +11 -11
- package/dist/chunks/{location-services-bjtzbw4r.js → model-resolver-z07pqspn.js} +3 -3
- package/dist/chunks/{location-services-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-rs47j036.js → model-resolver-z2c7c2d6.js} +21 -16
- package/dist/chunks/{location-services-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{location-services-shd7mr8y.js → model-resolver-z97dy45p.js} +12 -12
- package/dist/chunks/{location-services-4tdje3y4.js → model-resolver-zckyz7ek.js} +8 -8
- package/dist/chunks/{location-services-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-services-dyf86r4x.js → model-resolver-zfa6q2z4.js} +35 -35
- package/dist/chunks/{location-services-qxpw477z.js → model-resolver-zfy63nf8.js} +11 -11
- package/dist/chunks/{location-services-ytp36fc8.js → model-resolver-zmg0hy4v.js} +11 -11
- package/dist/chunks/{location-services-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-njfyzs8z.js → model-resolver-zvnydg09.js} +12 -12
- package/dist/chunks/{location-services-d1nz6qw9.js → model-resolver-zx0yy5px.js} +22 -22
- package/dist/chunks/{location-services-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-7n2xhmm7.js → model-resolver-zxrxjv84.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- 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 +123 -123
- 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 +122 -122
- 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 +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +102 -102
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- 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 +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +73 -73
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +102 -102
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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 +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- 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 +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- 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 +348 -348
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +136 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- 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 +79 -79
- 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 +115 -115
- package/dist/session/model-transport.js +5 -5
- 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 +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +4 -4
- package/dist/tool.js +16 -16
- package/dist/types/session/compaction.d.ts +5 -0
- package/dist/types/session/model-request.d.ts +5 -0
- 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 +3 -3
- 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 +3 -3
- 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 +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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/location-services-7edgwqb7.js +0 -26
- package/dist/chunks/location-services-7xa2s11f.js +0 -252
- package/dist/chunks/location-services-c826cjyq.js +0 -507
- package/dist/chunks/location-services-p2h6zvwc.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-xrsqh21y.js → model-resolver-xrsqh21y.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./model-resolver-k7fv6ppr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./model-resolver-r8v59qyv.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
24
|
ID: () => ID16,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service73,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node77
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -38,9 +38,9 @@ var ID16 = Credential.ID;
|
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
44
|
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
@@ -48,16 +48,16 @@ class Info30 extends Schema.Class("Credential.Info")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service73 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service81).db;
|
|
55
|
+
const bus = yield* Service80;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service73.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
79
|
+
const credential = new Info31({
|
|
80
80
|
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export { ID16, OAuth3, Key4, Value2,
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service73, node77, exports_credential };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin49
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin49 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin17 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin49, exports_mcp_codemode_defaults };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-ha2jz5gs.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin37,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
16
|
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin37 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin3 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint2,
|
|
80
|
+
export { endpoint2, Plugin37, exports_firecrawl };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./model-resolver-yajf6e80.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./model-resolver-j5w2yx54.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service36;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service55
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gja2jk4r.js";
|
|
4
4
|
import {
|
|
5
5
|
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./model-resolver-f3rwh7he.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input3,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin3,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name3,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name3 = "skill";
|
|
30
|
+
var Input3 = Schema.Struct({
|
|
31
31
|
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin3 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
50
|
+
const skills = yield* Service39;
|
|
51
51
|
const permission = yield* Service55;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name3,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input3,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name3,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin21 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name3, Input3, Output2, description2, toModelOutput2, Plugin3, exports_skill };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service84,
|
|
10
|
+
node: () => node88
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service84 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service84.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node88 = makeLocationNode({ service: Service84, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service84, node88, exports_hooks };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-gja2jk4r.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service30,
|
|
12
|
+
node33
|
|
13
|
+
} from "./model-resolver-bds46r3z.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name14
|
|
17
|
+
} from "./model-resolver-ak9g7d9n.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions3 = {};
|
|
24
|
+
__export(exports_instructions3, {
|
|
25
|
+
McpInstructions: () => exports_instructions3,
|
|
26
|
+
Service: () => Service27,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node31
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service30;
|
|
68
|
+
return Service27.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make20({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer8 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer8 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node31 = makeLocationNode({ service: Service27, layer: layer12, deps: [node33] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service27, layer12, node31, exports_instructions3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service12,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node14
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service12 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node14 = makeLocationNode({
|
|
19
|
+
service: Service12,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service12, node14, bound2, exports_instance2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service55
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gja2jk4r.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin8,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin8 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
99
|
const permission = yield* Service55;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin29 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input7, Plugin8, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info20,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info20 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info20, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|