ofiere-openclaw-plugin 4.27.1 → 4.27.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/package.json +1 -1
- package/src/tools.ts +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ofiere-openclaw-plugin",
|
|
3
|
-
"version": "4.27.
|
|
3
|
+
"version": "4.27.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "OpenClaw plugin for Ofiere PM - 14 meta-tools covering tasks, agents, projects, scheduling, knowledge, workflows, notifications, memory, prompts, constellation, space file management, execution plan builder, SOP management, and agent brain (memory + self-improvement)",
|
|
6
6
|
"keywords": ["openclaw", "ofiere", "project-management", "agents", "plugin"],
|
package/src/tools.ts
CHANGED
|
@@ -5282,7 +5282,12 @@ function registerBrainOps(
|
|
|
5282
5282
|
|
|
5283
5283
|
// ── Learning: Promote ──
|
|
5284
5284
|
case "promote_learning": {
|
|
5285
|
-
|
|
5285
|
+
{
|
|
5286
|
+
const missing: string[] = [];
|
|
5287
|
+
if (!params.learning_id) missing.push("learning_id");
|
|
5288
|
+
if (!params.promoted_to) missing.push("promoted_to");
|
|
5289
|
+
if (missing.length > 0) return err(`Missing required: ${missing.join(", ")}`);
|
|
5290
|
+
}
|
|
5286
5291
|
const { data, error } = await supabase.from("agent_learnings")
|
|
5287
5292
|
.update({
|
|
5288
5293
|
status: "promoted",
|