ofiere-openclaw-plugin 4.6.0 → 4.7.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tools.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ofiere-openclaw-plugin",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "type": "module",
5
5
  "description": "OpenClaw plugin for Ofiere PM - 10 meta-tools with 13-action workflow mastery covering tasks, agents, projects, scheduling, knowledge, workflows, notifications, memory, prompts, and constellation agent architecture",
6
6
  "keywords": ["openclaw", "ofiere", "project-management", "agents", "plugin"],
package/src/tools.ts CHANGED
@@ -886,7 +886,10 @@ function registerProjectOps(
886
886
  return ok({ folders: data || [], count: (data || []).length });
887
887
  }
888
888
  case "create_folder": {
889
- if (!params.name || !params.space_id) return err("Missing required: name, space_id");
889
+ const missingFolder: string[] = [];
890
+ if (!params.name) missingFolder.push("name");
891
+ if (!params.space_id) missingFolder.push("space_id");
892
+ if (missingFolder.length > 0) return err(`Missing required: ${missingFolder.join(", ")}`);
890
893
  const { data, error } = await supabase.from("pm_folders").insert({
891
894
  user_id: userId,
892
895
  space_id: params.space_id,