@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 +1 -1
- package/src/service.ts +1 -1
- package/src/tools.ts +2 -0
package/package.json
CHANGED
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.
|
|
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 ---
|