@wecom/wecom-openclaw-plugin 1.0.12-beta.1 → 1.0.12-beta.2
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 +2 -2
- 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.cjs.js
CHANGED
|
@@ -3352,6 +3352,11 @@ const plugin = {
|
|
|
3352
3352
|
api.registerChannel({ plugin: wecomPlugin });
|
|
3353
3353
|
// 注册 wecom_mcp:通过 HTTP 直接调用企业微信 MCP Server
|
|
3354
3354
|
api.registerTool(createWeComMcpTool(), { name: "wecom_mcp" });
|
|
3355
|
+
// ── Gateway 启动时自动确保 tools.alsoAllow 包含 wecom_mcp ──────────
|
|
3356
|
+
// 在 gateway_start 阶段检测并写入,保证插件安装/更新后首次启动即生效
|
|
3357
|
+
// api.on("gateway_start", async () => {
|
|
3358
|
+
// await ensureToolsAlsoAllow(api);
|
|
3359
|
+
// });
|
|
3355
3360
|
// 注入媒体发送指令和文件大小限制提示词
|
|
3356
3361
|
api.on("before_prompt_build", () => {
|
|
3357
3362
|
return {
|