@shadowob/cloud 1.1.7 → 1.1.8
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/README.md +159 -11
- package/dist/{agent-browser-CERTMCDL.js → agent-browser-EI7FIK3X.js} +3 -3
- package/dist/{agent-browser-CIRZRIY4.js → agent-browser-YXE4ES6Q.js} +3 -3
- package/dist/{agent-pack-LF3O5TR4.js → agent-pack-35TFCZKP.js} +1 -1
- package/dist/{agent-pack-RQT27V7R.js → agent-pack-UOG6ZAUL.js} +1 -1
- package/dist/agentmemory-KP5O7GHB.js +101 -0
- package/dist/agentmemory-UV74POU5.js +100 -0
- package/dist/{airtable-BG2Q75G2.js → airtable-CXXS3YUN.js} +3 -3
- package/dist/{airtable-JCQXFM5D.js → airtable-YZ5JR5JC.js} +3 -3
- package/dist/{alipay-TZQI34RB.js → alipay-WED5P3XC.js} +3 -3
- package/dist/{alipay-MZX2XCDB.js → alipay-WJTVREMG.js} +3 -3
- package/dist/{amap-KPCLZYYL.js → amap-AIN23TQ7.js} +3 -3
- package/dist/{amap-5RQB3VGC.js → amap-F6GF7QKB.js} +3 -3
- package/dist/{atlassian-LGOEWYC7.js → atlassian-G6PM6UVM.js} +3 -3
- package/dist/{atlassian-TVS2A4IU.js → atlassian-IDR2NPJC.js} +3 -3
- package/dist/{baidu-appbuilder-QRRL3ETM.js → baidu-appbuilder-JKQIA5TG.js} +3 -3
- package/dist/{baidu-appbuilder-6UMESXHW.js → baidu-appbuilder-KVMCIFYH.js} +3 -3
- package/dist/{baidu-maps-HEPMVP5D.js → baidu-maps-GWMXV6YT.js} +3 -3
- package/dist/{baidu-maps-HXC4FBVP.js → baidu-maps-ZXGT6QZM.js} +3 -3
- package/dist/{baidu-netdisk-G5Q6B5NH.js → baidu-netdisk-J5SLQVWW.js} +3 -3
- package/dist/{baidu-netdisk-RS2K5W2M.js → baidu-netdisk-PONM3DY6.js} +3 -3
- package/dist/{baidu-smartprogram-JHD3XWF6.js → baidu-smartprogram-WJ5JMO6V.js} +3 -3
- package/dist/{baidu-smartprogram-EWTK5WKK.js → baidu-smartprogram-Y5WBR7RX.js} +3 -3
- package/dist/{browserbase-IUIYVYI7.js → browserbase-CGVQHRC4.js} +3 -3
- package/dist/{browserbase-JFO2PCIA.js → browserbase-PVWYTEZC.js} +3 -3
- package/dist/{canva-3YOFL7JS.js → canva-COCBQAT2.js} +3 -3
- package/dist/{canva-FMYN65SM.js → canva-RSTJSEX5.js} +3 -3
- package/dist/{chunk-35LJYCQF.js → chunk-3CT6RQNM.js} +745 -482
- package/dist/{chunk-KODMGZUC.js → chunk-4YO3NA26.js} +1 -1
- package/dist/{chunk-RECNVWMT.js → chunk-6V7MW4HU.js} +17 -3
- package/dist/{chunk-C6OI4ZNO.js → chunk-EVV774KS.js} +1 -1
- package/dist/{chunk-SVMXSIMG.js → chunk-F6CQ6GAG.js} +2 -1
- package/dist/{chunk-JUPAE5IA.js → chunk-OL5VH6RN.js} +72 -69
- package/dist/{chunk-POSVEKIY.js → chunk-OYY64ZSX.js} +17 -3
- package/dist/{chunk-ZHVYNIHA.js → chunk-P5Y6F2NH.js} +745 -482
- package/dist/{chunk-EEFMJYKB.js → chunk-PSK2SYZ3.js} +2 -1
- package/dist/{chunk-6YAYCWGK.js → chunk-PYJRFKPN.js} +1 -1
- package/dist/{chunk-JY2HTT7Q.js → chunk-RMDY3W4V.js} +6 -0
- package/dist/{chunk-EWB7L7IW.js → chunk-X2SREECR.js} +6 -6
- package/dist/{chunk-LXJBQBGL.js → chunk-X5VOIA72.js} +6 -6
- package/dist/{chunk-CTNUKOQE.js → chunk-Y5BJ3EW2.js} +6 -0
- package/dist/{chunk-SAP2DBHO.js → chunk-Y6BKVDG7.js} +1 -1
- package/dist/{chunk-6P2K6QZR.js → chunk-ZGMWSSCC.js} +72 -69
- package/dist/{claude-plugin-577TAQVS.js → claude-plugin-FPN32WMT.js} +1 -1
- package/dist/{claude-plugin-L3MXJJ6J.js → claude-plugin-IYHOVTVL.js} +1 -1
- package/dist/cli.js +930 -149
- package/dist/{cloudflare-RDFPKMM5.js → cloudflare-U3RHJJKK.js} +3 -3
- package/dist/{cloudflare-HBBABPK6.js → cloudflare-ZHN7UGPX.js} +3 -3
- package/dist/{cnb-FLP3QX46.js → cnb-AMXC5I7D.js} +3 -3
- package/dist/{cnb-YAVVEYFB.js → cnb-P3IZ4JTD.js} +3 -3
- package/dist/console/index.html +1 -1
- package/dist/console/static/css/index.f4563d95.css +1 -0
- package/dist/console/static/js/index.020abc71.js +1 -0
- package/dist/{coze-E6VGRNLV.js → coze-66RYMKVB.js} +3 -3
- package/dist/{coze-C6PMDPBI.js → coze-YE3BINXP.js} +3 -3
- package/dist/{dashboard.command-ZMQFKLNQ.js → dashboard.command-BRPZCZER.js} +1 -1
- package/dist/{dashboard.command-2AM45SIT.js → dashboard.command-GUHSJ2CN.js} +1 -1
- package/dist/{dingtalk-JNRNRN7E.js → dingtalk-4RFQG7N2.js} +3 -3
- package/dist/{dingtalk-WZGGIAHJ.js → dingtalk-VNFKXD2P.js} +3 -3
- package/dist/{douyin-miniprogram-AIJPPIZH.js → douyin-miniprogram-UEALAGOS.js} +3 -3
- package/dist/{douyin-miniprogram-HCYZ5NBW.js → douyin-miniprogram-UNB6UO2I.js} +3 -3
- package/dist/{figma-2YYNSCDX.js → figma-A264OWU5.js} +3 -3
- package/dist/{figma-RYOBMENP.js → figma-Y4TGSDZP.js} +3 -3
- package/dist/{firebase-OYSY6HPT.js → firebase-AI3MAGYG.js} +3 -3
- package/dist/{firebase-2IJDDBXX.js → firebase-ZGQARUIH.js} +3 -3
- package/dist/{firecrawl-2T3SBUW7.js → firecrawl-2JW7DMTH.js} +3 -3
- package/dist/{firecrawl-IYYXLAZM.js → firecrawl-UURQ5P5N.js} +3 -3
- package/dist/{flyai-QS5Q6FJR.js → flyai-EJGDMYFA.js} +3 -3
- package/dist/{flyai-7FJ4TRAG.js → flyai-ZFMZBBHJ.js} +3 -3
- package/dist/{gitagent-MWI75OIX.js → gitagent-5SDBYFNA.js} +1 -1
- package/dist/{gitagent-YBMWY7NZ.js → gitagent-ODXPCR4X.js} +1 -1
- package/dist/{gitee-3N7OFOM7.js → gitee-5UMJ4BC7.js} +3 -3
- package/dist/{gitee-KVNK6KLZ.js → gitee-D6NAZTCO.js} +3 -3
- package/dist/{github-LUEC2LID.js → github-JBLDKIA3.js} +3 -3
- package/dist/{github-XRO5Z3GC.js → github-PZQAVEZP.js} +3 -3
- package/dist/{google-ads-VPKWTX67.js → google-ads-BIFQOJ5M.js} +3 -3
- package/dist/{google-ads-A3QAJI4D.js → google-ads-QU3LJE4O.js} +3 -3
- package/dist/{google-analytics-C4UR5ZR2.js → google-analytics-7VZ6YZVA.js} +3 -3
- package/dist/{google-analytics-XDYZA2B7.js → google-analytics-HXMPCL5V.js} +3 -3
- package/dist/{google-workspace-YX35SHHX.js → google-workspace-6SEBJ4VA.js} +2 -2
- package/dist/{google-workspace-LL3EWVHH.js → google-workspace-L3AMJLCF.js} +2 -2
- package/dist/{huawei-xiaoyi-KPWLTSHB.js → huawei-xiaoyi-C6QIJMPM.js} +3 -3
- package/dist/{huawei-xiaoyi-6BSMGJHR.js → huawei-xiaoyi-JGLXWU5P.js} +3 -3
- package/dist/{hubspot-FTIEMNZO.js → hubspot-LACJGE6D.js} +3 -3
- package/dist/{hubspot-DIUHGEDI.js → hubspot-XWPRO4KZ.js} +3 -3
- package/dist/{huggingface-UUXK2RHK.js → huggingface-26QQZK4C.js} +3 -3
- package/dist/{huggingface-MJCOXA7E.js → huggingface-CQICNA2R.js} +3 -3
- package/dist/index.d.ts +1338 -1
- package/dist/index.js +1364 -226
- package/dist/{inference-ai-image-generation-PXV6IG4U.js → inference-ai-image-generation-5KYIUWT6.js} +3 -3
- package/dist/{inference-ai-image-generation-CMI6R5T3.js → inference-ai-image-generation-J2NYDCLZ.js} +3 -3
- package/dist/{inference-sh-7AZOLEFI.js → inference-sh-5SWQTK73.js} +3 -3
- package/dist/{inference-sh-ABQOD3YF.js → inference-sh-PTQF6T3R.js} +3 -3
- package/dist/{init.command-YVG4X6II.js → init.command-C7UKPK2Y.js} +3 -3
- package/dist/{init.command-JKE3SXAS.js → init.command-UNL66BMR.js} +3 -3
- package/dist/{klaviyo-LDPBWBSS.js → klaviyo-4UNPMBFT.js} +3 -3
- package/dist/{klaviyo-6K5YEFNH.js → klaviyo-SLYNEULT.js} +3 -3
- package/dist/{kuaidi100-HGFM5VK2.js → kuaidi100-HZKV5AIS.js} +3 -3
- package/dist/{kuaidi100-UHPFCVXP.js → kuaidi100-ZQUW7GHH.js} +3 -3
- package/dist/lark-HQUZNHDI.js +382 -0
- package/dist/lark-PAV7XWJS.js +381 -0
- package/dist/{linear-T4ORUP7N.js → linear-PYGQ5SLK.js} +3 -3
- package/dist/{linear-7QFSFPOD.js → linear-VJLYNTUF.js} +3 -3
- package/dist/{lovart-PDUXRUHJ.js → lovart-KC6SVNAJ.js} +3 -3
- package/dist/{lovart-QO3SK55T.js → lovart-WVKY4RR4.js} +3 -3
- package/dist/{meta-ads-SCNFI45S.js → meta-ads-E6XT33GI.js} +3 -3
- package/dist/{meta-ads-V6XPZWX3.js → meta-ads-RJ6DWRYN.js} +3 -3
- package/dist/{miclaw-TPPPS2WN.js → miclaw-4BA3A2YN.js} +3 -3
- package/dist/{miclaw-5CNTW7VV.js → miclaw-LUV6DCHX.js} +3 -3
- package/dist/{model-provider-KFB76XV5.js → model-provider-SYXJZ3JD.js} +1 -1
- package/dist/{model-provider-AVSFJSZP.js → model-provider-U7NEYA3Y.js} +1 -1
- package/dist/nature-skills-G76ABIWZ.js +143 -0
- package/dist/nature-skills-SQHMFXKT.js +142 -0
- package/dist/{notion-WFA7KGZZ.js → notion-2JZAKOFP.js} +1 -1
- package/dist/{notion-FZK76MN2.js → notion-O3NO5TJH.js} +1 -1
- package/dist/{oceanengine-3JZUS3PP.js → oceanengine-D23UZGVB.js} +3 -3
- package/dist/{oceanengine-5BRIJVJE.js → oceanengine-WDK2OXX5.js} +3 -3
- package/dist/{opencli-PFXHGCS2.js → opencli-36P63YNU.js} +3 -3
- package/dist/{opencli-VIGRJTGH.js → opencli-SUHDFR33.js} +3 -3
- package/dist/{paypal-Z5JYHIWD.js → paypal-K27SUW3B.js} +3 -3
- package/dist/{paypal-33UADIPR.js → paypal-OPZ3KOV5.js} +3 -3
- package/dist/{playwright-SQAQ3DZG.js → playwright-2ULT3NIC.js} +3 -3
- package/dist/{playwright-MG5WHK47.js → playwright-3Q7LBILG.js} +3 -3
- package/dist/{plugins-HZBWK3WQ.js → plugins-2MITZ4ZD.js} +2 -2
- package/dist/{plugins-I4GD5SZX.js → plugins-UK2QWD6G.js} +2 -2
- package/dist/{posthog-MU5MAJOQ.js → posthog-E3EHXLAN.js} +3 -3
- package/dist/{posthog-RJRRKDWB.js → posthog-KPJVLGX6.js} +3 -3
- package/dist/{salesforce-34FVIJTG.js → salesforce-FGPNG7FB.js} +3 -3
- package/dist/{salesforce-3QZ6OFVO.js → salesforce-TVHISKBC.js} +3 -3
- package/dist/{sentry-PIWW46VA.js → sentry-BZ3J3MZM.js} +3 -3
- package/dist/{sentry-MCIRMACU.js → sentry-XC57YRAJ.js} +3 -3
- package/dist/{seo-suite-WJXMA3S4.js → seo-suite-2MDEDLAB.js} +3 -3
- package/dist/{seo-suite-4SQ3I67Q.js → seo-suite-U75O3QP6.js} +3 -3
- package/dist/{serve.command-XLBJUOV6.js → serve.command-G5RVQFUD.js} +3 -3
- package/dist/{serve.command-RD6I6MFD.js → serve.command-PYGDG7K3.js} +3 -3
- package/dist/{shadowob-PRSMI5MW.js → shadowob-3QZ7DLDW.js} +158 -31
- package/dist/{shadowob-JELOWHWX.js → shadowob-CJLOEKFP.js} +158 -31
- package/dist/{sherlock-2PKY2E2Y.js → sherlock-CQFUHKDH.js} +3 -3
- package/dist/{sherlock-C5ZWPPVT.js → sherlock-DONK2I6E.js} +3 -3
- package/dist/{shopify-GL3NFVGE.js → shopify-NO5GI3WD.js} +3 -3
- package/dist/{shopify-R4G3UXM6.js → shopify-VW2KLKH5.js} +3 -3
- package/dist/{skill-discovery-YPXXV622.js → skill-discovery-6JEPPKKM.js} +3 -3
- package/dist/{skill-discovery-7INAUP4D.js → skill-discovery-PWRAVGIS.js} +3 -3
- package/dist/skills/shadowob-cli/SKILL.md +7 -0
- package/dist/{stripe-LJNPQ3CQ.js → stripe-HCNCKG4C.js} +1 -1
- package/dist/{stripe-C22RR4ZS.js → stripe-IU3KTJ4H.js} +1 -1
- package/dist/{supabase-IRNQ54FJ.js → supabase-KRL7JW2D.js} +3 -3
- package/dist/{supabase-N4ONFJNQ.js → supabase-TYEBTZNO.js} +3 -3
- package/dist/{taobao-aipaas-LRR4GMO3.js → taobao-aipaas-PEUIDOYP.js} +3 -3
- package/dist/{taobao-aipaas-RVKORSF4.js → taobao-aipaas-SA5E4MZA.js} +3 -3
- package/dist/{tapd-TMQRSMFG.js → tapd-6DDIUPVQ.js} +3 -3
- package/dist/{tapd-3JPVJ7XH.js → tapd-OTYLSZGY.js} +3 -3
- package/dist/{tencent-ads-UHC6OPBV.js → tencent-ads-OW2TAMH5.js} +3 -3
- package/dist/{tencent-ads-IGD33LO7.js → tencent-ads-XTQZ27YT.js} +3 -3
- package/dist/{tencent-docs-C3A4J3CJ.js → tencent-docs-6D6A2VCO.js} +3 -3
- package/dist/{tencent-docs-O2SC4FHL.js → tencent-docs-K3TMUIWD.js} +3 -3
- package/dist/{tencent-maps-OQOKHVW2.js → tencent-maps-IZYWITJZ.js} +3 -3
- package/dist/{tencent-maps-HMMWMNF4.js → tencent-maps-SWI7CLQY.js} +3 -3
- package/dist/text-to-cad-B2UP6PKA.js +192 -0
- package/dist/text-to-cad-I4B6VBFV.js +193 -0
- package/dist/{vercel-KOXDDTHX.js → vercel-CCKRC76D.js} +3 -3
- package/dist/{vercel-OLNVDWMG.js → vercel-SBGEMIJJ.js} +3 -3
- package/dist/{webflow-OMJKZM54.js → webflow-C3EHNNSN.js} +3 -3
- package/dist/{webflow-FULU5Q2I.js → webflow-ZFBJH4CR.js} +3 -3
- package/dist/{wechat-miniprogram-skyline-KYCDMQNW.js → wechat-miniprogram-skyline-VNCRERHX.js} +3 -3
- package/dist/{wechat-miniprogram-skyline-VR4FVIQL.js → wechat-miniprogram-skyline-Z5JQUV5Q.js} +3 -3
- package/dist/{wechat-pay-BCMAJ6UW.js → wechat-pay-RPDKPUEB.js} +3 -3
- package/dist/{wechat-pay-YQQKXVUI.js → wechat-pay-XVDGJRF2.js} +3 -3
- package/dist/{wonda-NGWIORYN.js → wonda-EL2P44S7.js} +3 -3
- package/dist/{wonda-RBABXFNM.js → wonda-XK5JK4X3.js} +3 -3
- package/dist/{wordpress-woocommerce-RNA5HB3N.js → wordpress-woocommerce-4MEE5A2M.js} +3 -3
- package/dist/{wordpress-woocommerce-RDIUTHYT.js → wordpress-woocommerce-6ECNM2QU.js} +3 -3
- package/dist/{wps-LUWHMZQQ.js → wps-E4OZEMOF.js} +3 -3
- package/dist/{wps-DAEFQHDE.js → wps-JNQUC4JS.js} +3 -3
- package/dist/{yuque-HCHTJWNI.js → yuque-GLAAOS7X.js} +3 -3
- package/dist/{yuque-KRH5O74J.js → yuque-MEF6VFLJ.js} +3 -3
- package/images/RUNNERS.md +15 -0
- package/images/cc-connect-runner/entrypoint.mjs +228 -0
- package/images/claude-runner/RUNNER.md +5 -3
- package/images/codex-runner/RUNNER.md +5 -3
- package/images/gemini-runner/RUNNER.md +5 -2
- package/images/hermes-runner/RUNNER.md +4 -2
- package/images/hermes-runner/entrypoint.mjs +269 -1
- package/images/openclaw-runner/Dockerfile +1 -0
- package/images/openclaw-runner/RUNNER.md +3 -0
- package/images/openclaw-runner/entrypoint.mjs +249 -1
- package/images/openclaw-runner/warm-runtime-deps.mjs +1 -3
- package/images/opencode-runner/RUNNER.md +5 -3
- package/package.json +3 -3
- package/templates/agent-marketplace-buddy.template.json +4 -1
- package/templates/bmad-method-buddy.template.json +4 -1
- package/templates/code-trainer.template.json +331 -0
- package/templates/gstack-buddy.template.json +4 -1
- package/templates/little-match-girl.template.json +10 -3
- package/dist/console/static/css/index.7f91f806.css +0 -1
- package/dist/console/static/js/index.4487e1ff.js +0 -1
- package/dist/lark-6LNA3LUQ.js +0 -103
- package/dist/lark-URVBZNS4.js +0 -102
|
@@ -16,7 +16,7 @@ function createConsoleCommand(container) {
|
|
|
16
16
|
});
|
|
17
17
|
}, 1500);
|
|
18
18
|
}
|
|
19
|
-
const { createServeCommand } = await import("./serve.command-
|
|
19
|
+
const { createServeCommand } = await import("./serve.command-G5RVQFUD.js");
|
|
20
20
|
const serve = createServeCommand(container);
|
|
21
21
|
await serve.parseAsync(
|
|
22
22
|
["--port", port, "--namespace", ...options.namespace, "--host", "127.0.0.1"],
|
|
@@ -60,6 +60,9 @@ function runtimeDependencySnippet(dep, runtimeRoot) {
|
|
|
60
60
|
return "";
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
+
function dependencyPhase(dep) {
|
|
64
|
+
return dep.phase ?? "pre-source";
|
|
65
|
+
}
|
|
63
66
|
function systemPackageInstallerSnippet() {
|
|
64
67
|
return [
|
|
65
68
|
"install_system_packages() {",
|
|
@@ -97,9 +100,16 @@ function buildRuntimeAssetInstallScript(options) {
|
|
|
97
100
|
const runtimeRoot = options.runtimeRoot ?? "/runtime-deps";
|
|
98
101
|
const skillsRoot = options.skillsRoot ?? "/plugin-skills";
|
|
99
102
|
const subagentsRoot = options.subagentsRoot ?? "/plugin-subagents";
|
|
103
|
+
const runtimeDependencies = options.runtimeDependencies ?? [];
|
|
104
|
+
const preSourceDependencies = runtimeDependencies.filter(
|
|
105
|
+
(dep) => dependencyPhase(dep) === "pre-source"
|
|
106
|
+
);
|
|
107
|
+
const postSourceDependencies = runtimeDependencies.filter(
|
|
108
|
+
(dep) => dependencyPhase(dep) === "post-source"
|
|
109
|
+
);
|
|
100
110
|
const hasGitSources = Boolean(options.skillSources?.length || options.subagentSources?.length);
|
|
101
111
|
const needsSystemInstaller = Boolean(
|
|
102
|
-
hasGitSources ||
|
|
112
|
+
hasGitSources || runtimeDependencies.some((dep) => dep.kind === "system-package")
|
|
103
113
|
);
|
|
104
114
|
const lines = [
|
|
105
115
|
"set -eu",
|
|
@@ -111,7 +121,7 @@ function buildRuntimeAssetInstallScript(options) {
|
|
|
111
121
|
if (hasGitSources) {
|
|
112
122
|
lines.push("command -v git >/dev/null 2>&1 || install_system_packages git >/dev/null");
|
|
113
123
|
}
|
|
114
|
-
for (const dep of
|
|
124
|
+
for (const dep of preSourceDependencies) {
|
|
115
125
|
const snippet = runtimeDependencySnippet(dep, runtimeRoot);
|
|
116
126
|
if (snippet) lines.push(snippet);
|
|
117
127
|
}
|
|
@@ -121,6 +131,10 @@ function buildRuntimeAssetInstallScript(options) {
|
|
|
121
131
|
for (const source of options.subagentSources ?? []) {
|
|
122
132
|
if (source.kind === "git" && source.url) lines.push(copyGitSourceSnippet(source, subagentsRoot));
|
|
123
133
|
}
|
|
134
|
+
for (const dep of postSourceDependencies) {
|
|
135
|
+
const snippet = runtimeDependencySnippet(dep, runtimeRoot);
|
|
136
|
+
if (snippet) lines.push(snippet);
|
|
137
|
+
}
|
|
124
138
|
lines.push(...options.sanityCommands ?? []);
|
|
125
139
|
lines.push('echo "[runtime-assets] ready"');
|
|
126
140
|
return lines.filter(Boolean).join("\n");
|
|
@@ -165,7 +179,7 @@ function buildRuntimeAssetK8sProvider(options) {
|
|
|
165
179
|
initContainers: [
|
|
166
180
|
{
|
|
167
181
|
name: `${options.pluginId}-assets`,
|
|
168
|
-
image: RUNTIME_ASSET_IMAGE,
|
|
182
|
+
image: options.runtimeImage ?? RUNTIME_ASSET_IMAGE,
|
|
169
183
|
imagePullPolicy: "IfNotPresent",
|
|
170
184
|
command: [
|
|
171
185
|
"sh",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
buildRuntimeAssetK8sProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6V7MW4HU.js";
|
|
5
5
|
|
|
6
6
|
// src/plugins/connector-kit.ts
|
|
7
7
|
function connectorManifest(options) {
|
|
@@ -78,6 +78,7 @@ function attachConnectorRuntimeAssets(plugin, options) {
|
|
|
78
78
|
},
|
|
79
79
|
runtimeMountPath: options.runtimeMountPath,
|
|
80
80
|
initRuntimeMountPath: options.initRuntimeMountPath,
|
|
81
|
+
runtimeImage: options.runtimeImage,
|
|
81
82
|
skillsMountPath: options.skillsMountPath,
|
|
82
83
|
subagentsMountPath: options.subagentsMountPath,
|
|
83
84
|
runtimeDependencies: options.runtimeDependencies,
|
|
@@ -276,75 +276,78 @@ function registerPlugin(registry, plugin) {
|
|
|
276
276
|
}
|
|
277
277
|
async function loadAllPlugins(registry) {
|
|
278
278
|
const pluginModules = await Promise.all([
|
|
279
|
-
import("./shadowob-
|
|
280
|
-
import("./model-provider-
|
|
281
|
-
import("./github-
|
|
282
|
-
import("./google-workspace-
|
|
283
|
-
import("./notion-
|
|
284
|
-
import("./stripe-
|
|
285
|
-
import("./shopify-
|
|
286
|
-
import("./paypal-
|
|
287
|
-
import("./
|
|
288
|
-
import("./
|
|
289
|
-
import("./
|
|
290
|
-
import("./
|
|
291
|
-
import("./
|
|
292
|
-
import("./
|
|
293
|
-
import("./
|
|
294
|
-
import("./
|
|
295
|
-
import("./
|
|
296
|
-
import("./
|
|
297
|
-
import("./
|
|
298
|
-
import("./
|
|
299
|
-
import("./
|
|
300
|
-
import("./
|
|
301
|
-
import("./
|
|
302
|
-
import("./
|
|
303
|
-
import("./
|
|
304
|
-
import("./
|
|
305
|
-
import("./
|
|
306
|
-
import("./
|
|
307
|
-
import("./
|
|
308
|
-
import("./
|
|
309
|
-
import("./
|
|
310
|
-
import("./
|
|
311
|
-
import("./
|
|
312
|
-
import("./
|
|
313
|
-
import("./
|
|
314
|
-
import("./
|
|
315
|
-
import("./
|
|
316
|
-
import("./
|
|
317
|
-
import("./
|
|
318
|
-
import("./
|
|
319
|
-
import("./
|
|
320
|
-
import("./
|
|
321
|
-
import("./
|
|
322
|
-
import("./
|
|
323
|
-
import("./
|
|
324
|
-
import("./
|
|
325
|
-
import("./
|
|
326
|
-
import("./
|
|
327
|
-
import("./baidu-
|
|
328
|
-
import("./
|
|
329
|
-
import("./
|
|
330
|
-
import("./
|
|
331
|
-
import("./
|
|
332
|
-
import("./
|
|
333
|
-
import("./
|
|
334
|
-
import("./
|
|
335
|
-
import("./
|
|
336
|
-
import("./
|
|
337
|
-
import("./
|
|
338
|
-
import("./
|
|
339
|
-
import("./
|
|
340
|
-
import("./
|
|
341
|
-
import("./
|
|
342
|
-
import("./
|
|
343
|
-
import("./
|
|
344
|
-
import("./
|
|
345
|
-
import("./
|
|
346
|
-
import("./
|
|
347
|
-
import("./
|
|
279
|
+
import("./shadowob-CJLOEKFP.js"),
|
|
280
|
+
import("./model-provider-SYXJZ3JD.js"),
|
|
281
|
+
import("./github-PZQAVEZP.js"),
|
|
282
|
+
import("./google-workspace-L3AMJLCF.js"),
|
|
283
|
+
import("./notion-O3NO5TJH.js"),
|
|
284
|
+
import("./stripe-HCNCKG4C.js"),
|
|
285
|
+
import("./shopify-VW2KLKH5.js"),
|
|
286
|
+
import("./paypal-OPZ3KOV5.js"),
|
|
287
|
+
import("./agentmemory-UV74POU5.js"),
|
|
288
|
+
import("./agent-browser-EI7FIK3X.js"),
|
|
289
|
+
import("./skill-discovery-PWRAVGIS.js"),
|
|
290
|
+
import("./text-to-cad-B2UP6PKA.js"),
|
|
291
|
+
import("./nature-skills-SQHMFXKT.js"),
|
|
292
|
+
import("./opencli-SUHDFR33.js"),
|
|
293
|
+
import("./inference-sh-5SWQTK73.js"),
|
|
294
|
+
import("./inference-ai-image-generation-J2NYDCLZ.js"),
|
|
295
|
+
import("./wonda-EL2P44S7.js"),
|
|
296
|
+
import("./figma-Y4TGSDZP.js"),
|
|
297
|
+
import("./canva-RSTJSEX5.js"),
|
|
298
|
+
import("./airtable-CXXS3YUN.js"),
|
|
299
|
+
import("./huggingface-CQICNA2R.js"),
|
|
300
|
+
import("./linear-PYGQ5SLK.js"),
|
|
301
|
+
import("./lovart-KC6SVNAJ.js"),
|
|
302
|
+
import("./atlassian-G6PM6UVM.js"),
|
|
303
|
+
import("./sentry-BZ3J3MZM.js"),
|
|
304
|
+
import("./posthog-E3EHXLAN.js"),
|
|
305
|
+
import("./sherlock-CQFUHKDH.js"),
|
|
306
|
+
import("./firebase-AI3MAGYG.js"),
|
|
307
|
+
import("./firecrawl-UURQ5P5N.js"),
|
|
308
|
+
import("./playwright-3Q7LBILG.js"),
|
|
309
|
+
import("./browserbase-CGVQHRC4.js"),
|
|
310
|
+
import("./lark-PAV7XWJS.js"),
|
|
311
|
+
import("./dingtalk-VNFKXD2P.js"),
|
|
312
|
+
import("./tencent-docs-6D6A2VCO.js"),
|
|
313
|
+
import("./wps-JNQUC4JS.js"),
|
|
314
|
+
import("./yuque-MEF6VFLJ.js"),
|
|
315
|
+
import("./alipay-WED5P3XC.js"),
|
|
316
|
+
import("./wechat-pay-RPDKPUEB.js"),
|
|
317
|
+
import("./amap-AIN23TQ7.js"),
|
|
318
|
+
import("./baidu-maps-GWMXV6YT.js"),
|
|
319
|
+
import("./tencent-maps-IZYWITJZ.js"),
|
|
320
|
+
import("./flyai-ZFMZBBHJ.js"),
|
|
321
|
+
import("./kuaidi100-ZQUW7GHH.js"),
|
|
322
|
+
import("./oceanengine-WDK2OXX5.js"),
|
|
323
|
+
import("./tencent-ads-XTQZ27YT.js"),
|
|
324
|
+
import("./coze-66RYMKVB.js"),
|
|
325
|
+
import("./taobao-aipaas-PEUIDOYP.js"),
|
|
326
|
+
import("./baidu-appbuilder-KVMCIFYH.js"),
|
|
327
|
+
import("./baidu-netdisk-PONM3DY6.js"),
|
|
328
|
+
import("./wechat-miniprogram-skyline-VNCRERHX.js"),
|
|
329
|
+
import("./douyin-miniprogram-UEALAGOS.js"),
|
|
330
|
+
import("./baidu-smartprogram-WJ5JMO6V.js"),
|
|
331
|
+
import("./miclaw-4BA3A2YN.js"),
|
|
332
|
+
import("./huawei-xiaoyi-JGLXWU5P.js"),
|
|
333
|
+
import("./gitee-5UMJ4BC7.js"),
|
|
334
|
+
import("./tapd-OTYLSZGY.js"),
|
|
335
|
+
import("./cnb-AMXC5I7D.js"),
|
|
336
|
+
import("./google-ads-QU3LJE4O.js"),
|
|
337
|
+
import("./meta-ads-RJ6DWRYN.js"),
|
|
338
|
+
import("./seo-suite-U75O3QP6.js"),
|
|
339
|
+
import("./wordpress-woocommerce-6ECNM2QU.js"),
|
|
340
|
+
import("./cloudflare-ZHN7UGPX.js"),
|
|
341
|
+
import("./claude-plugin-FPN32WMT.js"),
|
|
342
|
+
import("./supabase-TYEBTZNO.js"),
|
|
343
|
+
import("./google-analytics-HXMPCL5V.js"),
|
|
344
|
+
import("./hubspot-LACJGE6D.js"),
|
|
345
|
+
import("./klaviyo-4UNPMBFT.js"),
|
|
346
|
+
import("./webflow-ZFBJH4CR.js"),
|
|
347
|
+
import("./salesforce-FGPNG7FB.js"),
|
|
348
|
+
import("./vercel-CCKRC76D.js"),
|
|
349
|
+
import("./gitagent-5SDBYFNA.js"),
|
|
350
|
+
import("./agent-pack-UOG6ZAUL.js")
|
|
348
351
|
]);
|
|
349
352
|
for (const mod of pluginModules) {
|
|
350
353
|
const plugin = mod.default;
|
|
@@ -58,6 +58,9 @@ function runtimeDependencySnippet(dep, runtimeRoot) {
|
|
|
58
58
|
return "";
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
+
function dependencyPhase(dep) {
|
|
62
|
+
return dep.phase ?? "pre-source";
|
|
63
|
+
}
|
|
61
64
|
function systemPackageInstallerSnippet() {
|
|
62
65
|
return [
|
|
63
66
|
"install_system_packages() {",
|
|
@@ -95,9 +98,16 @@ function buildRuntimeAssetInstallScript(options) {
|
|
|
95
98
|
const runtimeRoot = options.runtimeRoot ?? "/runtime-deps";
|
|
96
99
|
const skillsRoot = options.skillsRoot ?? "/plugin-skills";
|
|
97
100
|
const subagentsRoot = options.subagentsRoot ?? "/plugin-subagents";
|
|
101
|
+
const runtimeDependencies = options.runtimeDependencies ?? [];
|
|
102
|
+
const preSourceDependencies = runtimeDependencies.filter(
|
|
103
|
+
(dep) => dependencyPhase(dep) === "pre-source"
|
|
104
|
+
);
|
|
105
|
+
const postSourceDependencies = runtimeDependencies.filter(
|
|
106
|
+
(dep) => dependencyPhase(dep) === "post-source"
|
|
107
|
+
);
|
|
98
108
|
const hasGitSources = Boolean(options.skillSources?.length || options.subagentSources?.length);
|
|
99
109
|
const needsSystemInstaller = Boolean(
|
|
100
|
-
hasGitSources ||
|
|
110
|
+
hasGitSources || runtimeDependencies.some((dep) => dep.kind === "system-package")
|
|
101
111
|
);
|
|
102
112
|
const lines = [
|
|
103
113
|
"set -eu",
|
|
@@ -109,7 +119,7 @@ function buildRuntimeAssetInstallScript(options) {
|
|
|
109
119
|
if (hasGitSources) {
|
|
110
120
|
lines.push("command -v git >/dev/null 2>&1 || install_system_packages git >/dev/null");
|
|
111
121
|
}
|
|
112
|
-
for (const dep of
|
|
122
|
+
for (const dep of preSourceDependencies) {
|
|
113
123
|
const snippet = runtimeDependencySnippet(dep, runtimeRoot);
|
|
114
124
|
if (snippet) lines.push(snippet);
|
|
115
125
|
}
|
|
@@ -119,6 +129,10 @@ function buildRuntimeAssetInstallScript(options) {
|
|
|
119
129
|
for (const source of options.subagentSources ?? []) {
|
|
120
130
|
if (source.kind === "git" && source.url) lines.push(copyGitSourceSnippet(source, subagentsRoot));
|
|
121
131
|
}
|
|
132
|
+
for (const dep of postSourceDependencies) {
|
|
133
|
+
const snippet = runtimeDependencySnippet(dep, runtimeRoot);
|
|
134
|
+
if (snippet) lines.push(snippet);
|
|
135
|
+
}
|
|
122
136
|
lines.push(...options.sanityCommands ?? []);
|
|
123
137
|
lines.push('echo "[runtime-assets] ready"');
|
|
124
138
|
return lines.filter(Boolean).join("\n");
|
|
@@ -163,7 +177,7 @@ function buildRuntimeAssetK8sProvider(options) {
|
|
|
163
177
|
initContainers: [
|
|
164
178
|
{
|
|
165
179
|
name: `${options.pluginId}-assets`,
|
|
166
|
-
image: RUNTIME_ASSET_IMAGE,
|
|
180
|
+
image: options.runtimeImage ?? RUNTIME_ASSET_IMAGE,
|
|
167
181
|
imagePullPolicy: "IfNotPresent",
|
|
168
182
|
command: [
|
|
169
183
|
"sh",
|