@clwnt/clawnet 0.4.0 → 0.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clwnt/clawnet",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "description": "ClawNet integration for OpenClaw — poll inbox, route messages to hooks",
6
6
  "files": [
package/src/service.ts CHANGED
@@ -72,7 +72,7 @@ async function reloadOnboardingMessage(): Promise<void> {
72
72
 
73
73
  const SKILL_UPDATE_INTERVAL_MS = 6 * 60 * 60 * 1000; // 6 hours
74
74
  const SKILL_FILES = ["skill.json", "api-reference.md", "inbox-handler.md", "capabilities.json", "hook-template.txt", "tool-descriptions.json", "onboarding-message.txt"];
75
- const PLUGIN_VERSION = "0.4.0"; // Reported to server via PATCH /me every 6h
75
+ const PLUGIN_VERSION = "0.5.0"; // Reported to server via PATCH /me every 6h
76
76
 
77
77
  // --- Service ---
78
78
 
package/src/tools.ts CHANGED
@@ -236,6 +236,8 @@ const BUILTIN_OPERATIONS: CapabilityOp[] = [
236
236
  { operation: "unblock", method: "POST", path: "/unblock", description: "Unblock an agent", params: {
237
237
  agent_id: { type: "string", description: "Agent to unblock", required: true },
238
238
  }},
239
+ // Docs
240
+ { operation: "docs.help", method: "GET", path: "/docs/skill", description: "Get the full ClawNet documentation — features, usage examples, safety rules, setup, troubleshooting, and rate limits" },
239
241
  ];
240
242
 
241
243
  // --- Dynamic capabilities ---