@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
package/dist/{inference-ai-image-generation-PXV6IG4U.js → inference-ai-image-generation-5KYIUWT6.js}
RENAMED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
connectorField,
|
|
5
5
|
connectorManifest,
|
|
6
6
|
installedCheck
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-F6CQ6GAG.js";
|
|
8
|
+
import "./chunk-6V7MW4HU.js";
|
|
9
9
|
import {
|
|
10
10
|
defineConnectorPlugin
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y5BJ3EW2.js";
|
|
12
12
|
import "./chunk-AD3JTIU3.js";
|
|
13
13
|
|
|
14
14
|
// src/plugins/inference-ai-image-generation/index.ts
|
package/dist/{inference-ai-image-generation-CMI6R5T3.js → inference-ai-image-generation-J2NYDCLZ.js}
RENAMED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
connectorField,
|
|
4
4
|
connectorManifest,
|
|
5
5
|
installedCheck
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PSK2SYZ3.js";
|
|
7
|
+
import "./chunk-OYY64ZSX.js";
|
|
8
8
|
import {
|
|
9
9
|
defineConnectorPlugin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RMDY3W4V.js";
|
|
11
11
|
import "./chunk-R5U7XKVJ.js";
|
|
12
12
|
|
|
13
13
|
// src/plugins/inference-ai-image-generation/index.ts
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
connectorField,
|
|
4
4
|
connectorManifest,
|
|
5
5
|
installedCheck
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PSK2SYZ3.js";
|
|
7
|
+
import "./chunk-OYY64ZSX.js";
|
|
8
8
|
import {
|
|
9
9
|
defineConnectorPlugin
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RMDY3W4V.js";
|
|
11
11
|
import "./chunk-R5U7XKVJ.js";
|
|
12
12
|
|
|
13
13
|
// src/plugins/inference-sh/index.ts
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
connectorField,
|
|
5
5
|
connectorManifest,
|
|
6
6
|
installedCheck
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-F6CQ6GAG.js";
|
|
8
|
+
import "./chunk-6V7MW4HU.js";
|
|
9
9
|
import {
|
|
10
10
|
defineConnectorPlugin
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y5BJ3EW2.js";
|
|
12
12
|
import "./chunk-AD3JTIU3.js";
|
|
13
13
|
|
|
14
14
|
// src/plugins/inference-sh/index.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createInitCommand
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-Y6BKVDG7.js";
|
|
5
|
+
import "./chunk-3CT6RQNM.js";
|
|
6
|
+
import "./chunk-ZGMWSSCC.js";
|
|
7
7
|
import "./chunk-AD3JTIU3.js";
|
|
8
8
|
export {
|
|
9
9
|
createInitCommand
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInitCommand
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-EVV774KS.js";
|
|
4
|
+
import "./chunk-P5Y6F2NH.js";
|
|
5
|
+
import "./chunk-OL5VH6RN.js";
|
|
6
6
|
import "./chunk-R5U7XKVJ.js";
|
|
7
7
|
export {
|
|
8
8
|
createInitCommand
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
connectorField,
|
|
3
3
|
connectorManifest
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PSK2SYZ3.js";
|
|
5
|
+
import "./chunk-OYY64ZSX.js";
|
|
6
6
|
import {
|
|
7
7
|
defineConnectorPlugin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RMDY3W4V.js";
|
|
9
9
|
import "./chunk-R5U7XKVJ.js";
|
|
10
10
|
|
|
11
11
|
// src/plugins/klaviyo/index.ts
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
connectorField,
|
|
4
4
|
connectorManifest
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-F6CQ6GAG.js";
|
|
6
|
+
import "./chunk-6V7MW4HU.js";
|
|
7
7
|
import {
|
|
8
8
|
defineConnectorPlugin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y5BJ3EW2.js";
|
|
10
10
|
import "./chunk-AD3JTIU3.js";
|
|
11
11
|
|
|
12
12
|
// src/plugins/klaviyo/index.ts
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
connectorField,
|
|
4
4
|
connectorManifest
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-F6CQ6GAG.js";
|
|
6
|
+
import "./chunk-6V7MW4HU.js";
|
|
7
7
|
import {
|
|
8
8
|
defineConnectorPlugin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y5BJ3EW2.js";
|
|
10
10
|
import "./chunk-AD3JTIU3.js";
|
|
11
11
|
|
|
12
12
|
// src/plugins/kuaidi100/index.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
connectorField,
|
|
3
3
|
connectorManifest
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PSK2SYZ3.js";
|
|
5
|
+
import "./chunk-OYY64ZSX.js";
|
|
6
6
|
import {
|
|
7
7
|
defineConnectorPlugin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RMDY3W4V.js";
|
|
9
9
|
import "./chunk-R5U7XKVJ.js";
|
|
10
10
|
|
|
11
11
|
// src/plugins/kuaidi100/index.ts
|
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
attachConnectorRuntimeAssets,
|
|
4
|
+
connectorField,
|
|
5
|
+
connectorManifest,
|
|
6
|
+
installedCheck,
|
|
7
|
+
npmGlobalDependency
|
|
8
|
+
} from "./chunk-F6CQ6GAG.js";
|
|
9
|
+
import "./chunk-6V7MW4HU.js";
|
|
10
|
+
import {
|
|
11
|
+
definePlugin
|
|
12
|
+
} from "./chunk-Y5BJ3EW2.js";
|
|
13
|
+
import "./chunk-AD3JTIU3.js";
|
|
14
|
+
|
|
15
|
+
// src/plugins/lark/index.ts
|
|
16
|
+
var PLUGIN_ID = "lark";
|
|
17
|
+
var SKILLS_MOUNT = "/workspace/.agents/plugin-skills/lark";
|
|
18
|
+
var LARK_CONFIG_DIR = "/home/shadow/.lark-cli";
|
|
19
|
+
var LARK_CREDENTIALS_JSON_ENV = "LARKSUITE_CLI_CREDENTIALS_JSON";
|
|
20
|
+
var FEISHU_APP_CONSOLE_URL = "https://open.feishu.cn/app";
|
|
21
|
+
var MEEGLE_CLI_CONFIG_URL = "https://github.com/larksuite/meegle-cli#configuration";
|
|
22
|
+
var LARK_CONFIG_PATHS = [
|
|
23
|
+
`${LARK_CONFIG_DIR}/config.json`,
|
|
24
|
+
`${LARK_CONFIG_DIR}/openclaw/config.json`,
|
|
25
|
+
`${LARK_CONFIG_DIR}/hermes/config.json`,
|
|
26
|
+
`${LARK_CONFIG_DIR}/lark-channel/config.json`
|
|
27
|
+
];
|
|
28
|
+
var LARK_PROFILE_NAME = "shadow-cloud";
|
|
29
|
+
var LARK_SECRET_KEYS = {
|
|
30
|
+
appId: "LARKSUITE_CLI_APP_ID",
|
|
31
|
+
appSecret: "LARKSUITE_CLI_APP_SECRET",
|
|
32
|
+
brand: "LARKSUITE_CLI_BRAND",
|
|
33
|
+
defaultAs: "LARKSUITE_CLI_DEFAULT_AS",
|
|
34
|
+
strictMode: "LARKSUITE_CLI_STRICT_MODE"
|
|
35
|
+
};
|
|
36
|
+
var MEEGLE_SECRET_KEYS = {
|
|
37
|
+
host: "MEEGLE_HOST",
|
|
38
|
+
accessToken: "MEEGLE_USER_ACCESS_TOKEN",
|
|
39
|
+
accessTokenHeader: "MEEGLE_ACCESS_TOKEN_HEADER",
|
|
40
|
+
userAgent: "MEEGLE_USER_AGENT"
|
|
41
|
+
};
|
|
42
|
+
var LARK_CONFIG_FIELD_KEYS = new Set(Object.values(LARK_SECRET_KEYS));
|
|
43
|
+
var manifest = connectorManifest({
|
|
44
|
+
id: PLUGIN_ID,
|
|
45
|
+
name: "Lark / Feishu",
|
|
46
|
+
description: "Lark, Feishu, and Meegle workspace operations for messages, docs, Base, sheets, calendar, mail, tasks, meetings, approvals, projects, and weekly execution workflows.",
|
|
47
|
+
category: "communication",
|
|
48
|
+
icon: "messages-square",
|
|
49
|
+
website: "https://open.feishu.cn",
|
|
50
|
+
docs: "https://github.com/larksuite/cli",
|
|
51
|
+
fields: [
|
|
52
|
+
connectorField(LARK_SECRET_KEYS.appId, "App ID", {
|
|
53
|
+
description: "Feishu or Lark app ID used by lark-cli. Get it from the app console.",
|
|
54
|
+
sensitive: false,
|
|
55
|
+
placeholder: "cli_xxx",
|
|
56
|
+
helpUrl: FEISHU_APP_CONSOLE_URL
|
|
57
|
+
}),
|
|
58
|
+
connectorField(LARK_SECRET_KEYS.appSecret, "App secret", {
|
|
59
|
+
description: "App secret from the Feishu or Lark app console. Cloud writes this into lark-cli config.json instead of raw app env vars so bot CLI calls can mint tenant tokens correctly.",
|
|
60
|
+
placeholder: "App secret",
|
|
61
|
+
helpUrl: FEISHU_APP_CONSOLE_URL
|
|
62
|
+
}),
|
|
63
|
+
connectorField(LARK_SECRET_KEYS.brand, "Workspace brand", {
|
|
64
|
+
description: "Use feishu for China tenants or lark for global tenants.",
|
|
65
|
+
required: false,
|
|
66
|
+
sensitive: false,
|
|
67
|
+
placeholder: "feishu",
|
|
68
|
+
helpUrl: FEISHU_APP_CONSOLE_URL
|
|
69
|
+
}),
|
|
70
|
+
connectorField(LARK_SECRET_KEYS.defaultAs, "Default identity", {
|
|
71
|
+
description: "Default lark-cli identity: bot, user, or auto. Defaults to bot.",
|
|
72
|
+
required: false,
|
|
73
|
+
sensitive: false,
|
|
74
|
+
placeholder: "bot"
|
|
75
|
+
}),
|
|
76
|
+
connectorField(LARK_SECRET_KEYS.strictMode, "Strict mode", {
|
|
77
|
+
description: "Restrict lark-cli to bot, user, or off. Defaults to bot.",
|
|
78
|
+
required: false,
|
|
79
|
+
sensitive: false,
|
|
80
|
+
placeholder: "bot"
|
|
81
|
+
}),
|
|
82
|
+
connectorField(MEEGLE_SECRET_KEYS.host, "Meegle host", {
|
|
83
|
+
description: "Meegle site domain, such as project.feishu.cn, meegle.com, or a tenant host.",
|
|
84
|
+
required: false,
|
|
85
|
+
sensitive: false,
|
|
86
|
+
placeholder: "project.feishu.cn",
|
|
87
|
+
helpUrl: MEEGLE_CLI_CONFIG_URL
|
|
88
|
+
}),
|
|
89
|
+
connectorField(MEEGLE_SECRET_KEYS.accessToken, "Meegle user access token", {
|
|
90
|
+
description: "Optional Meegle user access token for direct CLI auth. Rotate this token when Meegle returns 401.",
|
|
91
|
+
required: false,
|
|
92
|
+
placeholder: "u-...",
|
|
93
|
+
helpUrl: MEEGLE_CLI_CONFIG_URL
|
|
94
|
+
}),
|
|
95
|
+
connectorField(MEEGLE_SECRET_KEYS.accessTokenHeader, "Meegle token header", {
|
|
96
|
+
description: "Optional custom Meegle token header. Empty uses Authorization: Bearer <token>.",
|
|
97
|
+
required: false,
|
|
98
|
+
sensitive: false,
|
|
99
|
+
placeholder: "x-meegle-auth",
|
|
100
|
+
helpUrl: MEEGLE_CLI_CONFIG_URL
|
|
101
|
+
}),
|
|
102
|
+
connectorField(MEEGLE_SECRET_KEYS.userAgent, "Meegle user agent suffix", {
|
|
103
|
+
description: "Optional caller suffix appended to the Meegle CLI User-Agent.",
|
|
104
|
+
required: false,
|
|
105
|
+
sensitive: false,
|
|
106
|
+
placeholder: "shadow-cloud",
|
|
107
|
+
helpUrl: MEEGLE_CLI_CONFIG_URL
|
|
108
|
+
})
|
|
109
|
+
],
|
|
110
|
+
capabilities: ["tool", "data-source", "action", "cli"],
|
|
111
|
+
tags: [
|
|
112
|
+
"lark",
|
|
113
|
+
"feishu",
|
|
114
|
+
"meegle",
|
|
115
|
+
"docs",
|
|
116
|
+
"base",
|
|
117
|
+
"calendar",
|
|
118
|
+
"messenger",
|
|
119
|
+
"projects",
|
|
120
|
+
"skills",
|
|
121
|
+
"cli"
|
|
122
|
+
],
|
|
123
|
+
popularity: 99
|
|
124
|
+
});
|
|
125
|
+
var runtimeDependencies = [
|
|
126
|
+
npmGlobalDependency("lark-cli", ["@larksuite/cli"], "Lark / Feishu CLI runtime package"),
|
|
127
|
+
npmGlobalDependency("meegle", ["@lark-project/meegle"], "Meegle CLI runtime package")
|
|
128
|
+
];
|
|
129
|
+
var skillSources = [
|
|
130
|
+
{
|
|
131
|
+
id: "lark-cli-skills",
|
|
132
|
+
kind: "git",
|
|
133
|
+
url: "https://github.com/larksuite/cli.git",
|
|
134
|
+
ref: "main",
|
|
135
|
+
from: "skills",
|
|
136
|
+
targetPath: SKILLS_MOUNT,
|
|
137
|
+
includePattern: "lark-*",
|
|
138
|
+
description: "Official Lark CLI agent skills, including bundled references and scripts"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: "meegle-cli-skills",
|
|
142
|
+
kind: "git",
|
|
143
|
+
url: "https://github.com/larksuite/meegle-cli.git",
|
|
144
|
+
ref: "main",
|
|
145
|
+
from: "skills",
|
|
146
|
+
targetPath: SKILLS_MOUNT,
|
|
147
|
+
include: ["meegle"],
|
|
148
|
+
description: "Official Meegle CLI agent skill and references"
|
|
149
|
+
}
|
|
150
|
+
];
|
|
151
|
+
var secretFields = manifest.auth.fields.map((field) => ({
|
|
152
|
+
key: field.key,
|
|
153
|
+
label: field.label,
|
|
154
|
+
description: field.description,
|
|
155
|
+
required: field.required,
|
|
156
|
+
sensitive: field.sensitive,
|
|
157
|
+
placeholder: field.placeholder,
|
|
158
|
+
helpUrl: field.helpUrl,
|
|
159
|
+
...LARK_CONFIG_FIELD_KEYS.has(field.key) ? { runtime: false } : {}
|
|
160
|
+
}));
|
|
161
|
+
function readString(context, key) {
|
|
162
|
+
const value = context.secrets[key] ?? context.agentConfig[key];
|
|
163
|
+
return typeof value === "string" && value.trim().length > 0 ? value.trim() : void 0;
|
|
164
|
+
}
|
|
165
|
+
function oneOf(value, allowed, fallback) {
|
|
166
|
+
return allowed.includes(value) ? value : fallback;
|
|
167
|
+
}
|
|
168
|
+
function larkBrand(context) {
|
|
169
|
+
return oneOf(readString(context, LARK_SECRET_KEYS.brand), ["feishu", "lark"], "feishu");
|
|
170
|
+
}
|
|
171
|
+
function larkDefaultAs(context) {
|
|
172
|
+
return oneOf(
|
|
173
|
+
readString(context, LARK_SECRET_KEYS.defaultAs),
|
|
174
|
+
["bot", "user", "auto"],
|
|
175
|
+
"bot"
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
function larkStrictMode(context) {
|
|
179
|
+
return oneOf(
|
|
180
|
+
readString(context, LARK_SECRET_KEYS.strictMode),
|
|
181
|
+
["bot", "user", "off"],
|
|
182
|
+
"bot"
|
|
183
|
+
);
|
|
184
|
+
}
|
|
185
|
+
function buildLarkCredentialsJson(context) {
|
|
186
|
+
const appId = readString(context, LARK_SECRET_KEYS.appId);
|
|
187
|
+
const appSecret = readString(context, LARK_SECRET_KEYS.appSecret);
|
|
188
|
+
if (!appId || !appSecret) return void 0;
|
|
189
|
+
return `${JSON.stringify(
|
|
190
|
+
{
|
|
191
|
+
strictMode: larkStrictMode(context),
|
|
192
|
+
currentApp: LARK_PROFILE_NAME,
|
|
193
|
+
apps: [
|
|
194
|
+
{
|
|
195
|
+
name: LARK_PROFILE_NAME,
|
|
196
|
+
appId,
|
|
197
|
+
appSecret,
|
|
198
|
+
brand: larkBrand(context),
|
|
199
|
+
defaultAs: larkDefaultAs(context),
|
|
200
|
+
strictMode: larkStrictMode(context),
|
|
201
|
+
users: []
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
null,
|
|
206
|
+
2
|
|
207
|
+
)}
|
|
208
|
+
`;
|
|
209
|
+
}
|
|
210
|
+
function buildSkillConfig(context) {
|
|
211
|
+
return {
|
|
212
|
+
skills: {
|
|
213
|
+
load: { extraDirs: [SKILLS_MOUNT] },
|
|
214
|
+
entries: {
|
|
215
|
+
[PLUGIN_ID]: {
|
|
216
|
+
enabled: true,
|
|
217
|
+
config: {
|
|
218
|
+
larkConfigDir: LARK_CONFIG_DIR,
|
|
219
|
+
skillSources: [SKILLS_MOUNT],
|
|
220
|
+
cli: {
|
|
221
|
+
lark: "lark-cli",
|
|
222
|
+
meegle: "meegle"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
env: {
|
|
226
|
+
LARKSUITE_CLI_CONFIG_DIR: LARK_CONFIG_DIR,
|
|
227
|
+
LARKSUITE_CLI_NO_UPDATE_NOTIFIER: "1",
|
|
228
|
+
LARKSUITE_CLI_NO_SKILLS_NOTIFIER: "1",
|
|
229
|
+
...readString(context, MEEGLE_SECRET_KEYS.host) ? { MEEGLE_HOST: readString(context, MEEGLE_SECRET_KEYS.host) } : {}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
function buildRuntimeEnv(context) {
|
|
237
|
+
const env = {
|
|
238
|
+
LARKSUITE_CLI_CONFIG_DIR: LARK_CONFIG_DIR,
|
|
239
|
+
LARKSUITE_CLI_NO_UPDATE_NOTIFIER: "1",
|
|
240
|
+
LARKSUITE_CLI_NO_SKILLS_NOTIFIER: "1"
|
|
241
|
+
};
|
|
242
|
+
const credentialsJson = buildLarkCredentialsJson(context);
|
|
243
|
+
if (credentialsJson) env[LARK_CREDENTIALS_JSON_ENV] = credentialsJson;
|
|
244
|
+
for (const key of Object.values(MEEGLE_SECRET_KEYS)) {
|
|
245
|
+
const value = readString(context, key);
|
|
246
|
+
if (value) env[key] = value;
|
|
247
|
+
}
|
|
248
|
+
return env;
|
|
249
|
+
}
|
|
250
|
+
function validateLarkConfig(context) {
|
|
251
|
+
const errors = [];
|
|
252
|
+
if (!readString(context, LARK_SECRET_KEYS.appId)) {
|
|
253
|
+
errors.push({
|
|
254
|
+
path: `secrets.${LARK_SECRET_KEYS.appId}`,
|
|
255
|
+
message: "Lark / Feishu App ID is required",
|
|
256
|
+
severity: "error"
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
if (!readString(context, LARK_SECRET_KEYS.appSecret)) {
|
|
260
|
+
errors.push({
|
|
261
|
+
path: `secrets.${LARK_SECRET_KEYS.appSecret}`,
|
|
262
|
+
message: "Lark / Feishu App secret is required",
|
|
263
|
+
severity: "error"
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
const brand = readString(context, LARK_SECRET_KEYS.brand);
|
|
267
|
+
if (brand && !["feishu", "lark"].includes(brand)) {
|
|
268
|
+
errors.push({
|
|
269
|
+
path: `secrets.${LARK_SECRET_KEYS.brand}`,
|
|
270
|
+
message: "Workspace brand must be feishu or lark",
|
|
271
|
+
severity: "error"
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
const defaultAs = readString(context, LARK_SECRET_KEYS.defaultAs);
|
|
275
|
+
if (defaultAs && !["bot", "user", "auto"].includes(defaultAs)) {
|
|
276
|
+
errors.push({
|
|
277
|
+
path: `secrets.${LARK_SECRET_KEYS.defaultAs}`,
|
|
278
|
+
message: "Default identity must be bot, user, or auto",
|
|
279
|
+
severity: "error"
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
const strictMode = readString(context, LARK_SECRET_KEYS.strictMode);
|
|
283
|
+
if (strictMode && !["bot", "user", "off"].includes(strictMode)) {
|
|
284
|
+
errors.push({
|
|
285
|
+
path: `secrets.${LARK_SECRET_KEYS.strictMode}`,
|
|
286
|
+
message: "Strict mode must be bot, user, or off",
|
|
287
|
+
severity: "error"
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
return { valid: errors.filter((error) => error.severity === "error").length === 0, errors };
|
|
291
|
+
}
|
|
292
|
+
var plugin = definePlugin(manifest, (api) => {
|
|
293
|
+
api.addSecretFields(secretFields);
|
|
294
|
+
api.addSkills({
|
|
295
|
+
entries: [
|
|
296
|
+
{
|
|
297
|
+
id: PLUGIN_ID,
|
|
298
|
+
name: manifest.name,
|
|
299
|
+
description: manifest.description,
|
|
300
|
+
env: {
|
|
301
|
+
LARKSUITE_CLI_CONFIG_DIR: LARK_CONFIG_DIR
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
});
|
|
306
|
+
api.addCLI([
|
|
307
|
+
{
|
|
308
|
+
name: "lark-cli",
|
|
309
|
+
command: "lark-cli",
|
|
310
|
+
description: "Lark / Feishu CLI for workspace docs, messages, Base, and workflow commands",
|
|
311
|
+
env: {
|
|
312
|
+
LARKSUITE_CLI_CONFIG_DIR: LARK_CONFIG_DIR
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: "meegle",
|
|
317
|
+
command: "meegle",
|
|
318
|
+
description: "Meegle CLI for Lark Project work items, schedules, views, and workflows"
|
|
319
|
+
}
|
|
320
|
+
]);
|
|
321
|
+
api.addRuntimeDependencies(runtimeDependencies);
|
|
322
|
+
api.addSkillSources(skillSources);
|
|
323
|
+
api.addCredentialFiles(
|
|
324
|
+
LARK_CONFIG_PATHS.map((path) => ({
|
|
325
|
+
envKey: LARK_CREDENTIALS_JSON_ENV,
|
|
326
|
+
path,
|
|
327
|
+
mode: "0600"
|
|
328
|
+
}))
|
|
329
|
+
);
|
|
330
|
+
api.addVerificationChecks([
|
|
331
|
+
installedCheck("lark-cli-installed", "Lark CLI installed", ["lark-cli", "--version"]),
|
|
332
|
+
installedCheck("meegle-cli-installed", "Meegle CLI installed", ["meegle", "version"]),
|
|
333
|
+
{
|
|
334
|
+
id: "lark-cli-auth-status",
|
|
335
|
+
label: "Lark CLI auth status",
|
|
336
|
+
kind: "command",
|
|
337
|
+
command: ["lark-cli", "auth", "status"],
|
|
338
|
+
timeoutMs: 15e3,
|
|
339
|
+
risk: "safe",
|
|
340
|
+
requiredEnv: [LARK_CREDENTIALS_JSON_ENV]
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
id: "lark-skills-mounted",
|
|
344
|
+
label: "Lark skills mounted",
|
|
345
|
+
kind: "command",
|
|
346
|
+
command: ["test", "-f", `${SKILLS_MOUNT}/lark-im/SKILL.md`],
|
|
347
|
+
timeoutMs: 5e3,
|
|
348
|
+
risk: "safe"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
id: "meegle-skill-mounted",
|
|
352
|
+
label: "Meegle skill mounted",
|
|
353
|
+
kind: "command",
|
|
354
|
+
command: ["test", "-f", `${SKILLS_MOUNT}/meegle/SKILL.md`],
|
|
355
|
+
timeoutMs: 5e3,
|
|
356
|
+
risk: "safe"
|
|
357
|
+
}
|
|
358
|
+
]);
|
|
359
|
+
api.onBuildConfig(buildSkillConfig);
|
|
360
|
+
api.onBuildEnv(buildRuntimeEnv);
|
|
361
|
+
api.onBuildPrompt(
|
|
362
|
+
() => "Use Lark / Feishu through `lark-cli` and the mounted lark-* skills. Use Meegle through the `meegle` CLI and the mounted meegle skill. Prefer read-only lookups first, cite the exact command used, and ask for explicit approval before sending messages, editing docs, updating Base records, changing project work items, or taking destructive actions."
|
|
363
|
+
);
|
|
364
|
+
api.onValidate(validateLarkConfig);
|
|
365
|
+
api.onHealthCheck(
|
|
366
|
+
async (context) => buildLarkCredentialsJson(context) ? { healthy: true, message: "Lark CLI config is ready for runtime injection" } : { healthy: false, message: "Missing Lark CLI App ID or App secret" }
|
|
367
|
+
);
|
|
368
|
+
});
|
|
369
|
+
var lark_default = attachConnectorRuntimeAssets(plugin, {
|
|
370
|
+
runtimeDependencies,
|
|
371
|
+
skillSources,
|
|
372
|
+
skillsMountPath: SKILLS_MOUNT,
|
|
373
|
+
sanityCommands: [
|
|
374
|
+
"/runtime-deps/bin/lark-cli --version",
|
|
375
|
+
"/runtime-deps/bin/meegle version",
|
|
376
|
+
`test -f /plugin-skills/lark-im/SKILL.md`,
|
|
377
|
+
`test -f /plugin-skills/meegle/SKILL.md`
|
|
378
|
+
]
|
|
379
|
+
});
|
|
380
|
+
export {
|
|
381
|
+
lark_default as default
|
|
382
|
+
};
|