@wecom/wecom-openclaw-plugin 1.0.12-beta.1 → 1.0.12-beta.3
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/index.cjs.js +5 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/skills/wecom-contact-lookup/SKILL.md +3 -1
- package/skills/wecom-doc-manager/SKILL.md +14 -3
- package/skills/wecom-edit-todo/SKILL.md +2 -0
- package/skills/wecom-get-todo-detail/SKILL.md +2 -0
- package/skills/wecom-get-todo-list/SKILL.md +2 -0
- package/skills/wecom-meeting-create/SKILL.md +10 -4
- package/skills/wecom-meeting-create/references/example-full.md +1 -1
- package/skills/wecom-meeting-create/references/example-reminder.md +2 -2
- package/skills/wecom-meeting-create/references/example-security.md +1 -1
- package/skills/wecom-meeting-manage/SKILL.md +10 -25
- package/skills/wecom-meeting-query/SKILL.md +6 -4
- package/skills/wecom-preflight/SKILL.md +141 -0
- package/skills/wecom-schedule/SKILL.md +2 -0
- package/skills/wecom-smartsheet-data/SKILL.md +14 -3
- package/skills/wecom-smartsheet-schema/SKILL.md +14 -1
package/dist/index.esm.js
CHANGED
|
@@ -3326,6 +3326,11 @@ const plugin = {
|
|
|
3326
3326
|
api.registerChannel({ plugin: wecomPlugin });
|
|
3327
3327
|
// 注册 wecom_mcp:通过 HTTP 直接调用企业微信 MCP Server
|
|
3328
3328
|
api.registerTool(createWeComMcpTool(), { name: "wecom_mcp" });
|
|
3329
|
+
// ── Gateway 启动时自动确保 tools.alsoAllow 包含 wecom_mcp ──────────
|
|
3330
|
+
// 在 gateway_start 阶段检测并写入,保证插件安装/更新后首次启动即生效
|
|
3331
|
+
// api.on("gateway_start", async () => {
|
|
3332
|
+
// await ensureToolsAlsoAllow(api);
|
|
3333
|
+
// });
|
|
3329
3334
|
// 注入媒体发送指令和文件大小限制提示词
|
|
3330
3335
|
api.on("before_prompt_build", () => {
|
|
3331
3336
|
return {
|