ofiere-openclaw-plugin 4.37.0 → 4.37.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ofiere-openclaw-plugin",
3
- "version": "4.37.0",
3
+ "version": "4.37.1",
4
4
  "type": "module",
5
5
  "description": "OpenClaw plugin for Ofiere PM - 16 meta-tools covering tasks, agents, projects, scheduling, knowledge, workflows, notifications, memory, prompts, constellation, space file management, execution plan builder, SOP management, agent brain, talent management, and corporate frameworks",
6
6
  "keywords": ["openclaw", "ofiere", "project-management", "agents", "plugin"],
package/src/prompt.ts CHANGED
@@ -107,7 +107,8 @@ Actions: "list", "get", "create", "update", "delete", "add_nodes", "execute"
107
107
 
108
108
  OFIERE_SOP_OPS: `Standard Operating Procedures for department chiefs.
109
109
  Actions: "list_templates", "create", "list", "get", "update", "delete", "list_subagents", "apply_template"
110
- - sop_data: { title, objective, scope, prerequisites[], steps[], deliverables[], escalationRules[], successCriteria[], notes }
110
+ - sop_data: { title, purpose, scope, applicability, prerequisites:{ conditions, required_tools, required_permissions, safety_warnings }, procedure_steps[], expected_outputs[], escalation_rules[], acceptance_criteria[], rollback_procedure, notes }
111
+ - Legacy field names still accepted (objective→purpose, steps→procedure_steps, deliverables→expected_outputs, escalationRules→escalation_rules, successCriteria→acceptance_criteria) — prefer new names.
111
112
  - See SOP PROTOCOL section for when to load vs skip`,
112
113
 
113
114
  OFIERE_BRAIN_OPS: `Agent memory, knowledge graph, self-improvement (TMT/MAGMA).
package/src/tools.ts CHANGED
@@ -4879,7 +4879,27 @@ function registerSOPOps(
4879
4879
  purpose: { type: "string", description: "Why this procedure exists (also accepts 'objective')" },
4880
4880
  scope: { type: "string" },
4881
4881
  applicability: { type: "string" },
4882
- prerequisites: { type: "object", description: "{ conditions: [{text,checked}], required_tools: [string], required_permissions: [string], safety_warnings: [string] }" },
4882
+ prerequisites: {
4883
+ type: "object",
4884
+ description: "Preconditions for executing this SOP. All sub-fields optional.",
4885
+ properties: {
4886
+ conditions: {
4887
+ type: "array",
4888
+ description: "Checklist items that must be true before starting.",
4889
+ items: {
4890
+ type: "object",
4891
+ properties: {
4892
+ text: { type: "string" },
4893
+ checked: { type: "boolean" },
4894
+ },
4895
+ required: ["text"],
4896
+ },
4897
+ },
4898
+ required_tools: { type: "array", items: { type: "string" } },
4899
+ required_permissions: { type: "array", items: { type: "string" } },
4900
+ safety_warnings: { type: "array", items: { type: "string" } },
4901
+ },
4902
+ },
4883
4903
  procedure_steps: { type: "array", description: "Also accepts 'steps'", items: { type: "object", properties: { id: { type: "string" }, name: { type: "string" }, action: { type: "string" }, owner: { type: "string" }, output: { type: "string" }, decision_logic: { type: "string" }, failure_state: { type: "string" }, fallback_action: { type: "string" }, estimated_duration: { type: "string" } }, required: ["name", "action"] } },
4884
4904
  expected_outputs: { type: "array", description: "Also accepts 'deliverables'", items: { type: "string" } },
4885
4905
  escalation_rules: { type: "array", description: "Also accepts 'escalationRules'", items: { type: "object", properties: { trigger: { type: "string" }, escalateTo: { type: "string" }, priority: { type: "string", enum: ["P1", "P2", "P3"] } }, required: ["trigger", "escalateTo"] } },