@nextclaw/ncp 0.4.3 → 0.4.5

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/dist/index.d.ts +1 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -788,6 +788,7 @@ interface NcpTool {
788
788
  readonly name: string;
789
789
  readonly description?: string;
790
790
  readonly parameters?: Record<string, unknown>;
791
+ validateArgs?(args: Record<string, unknown>): string[];
791
792
  execute(args: unknown): Promise<unknown>;
792
793
  }
793
794
  type NcpToolCallResult = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/ncp",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "private": false,
5
5
  "description": "NextClaw Communication Protocol core abstractions and types.",
6
6
  "type": "module",