@adea-ai/tool-sdk 1.4.6 → 1.5.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -496,5 +496,9 @@ export interface ToolExecutor {
496
496
  readonly output: unknown;
497
497
  readonly artifactRefs?: readonly string[];
498
498
  }>;
499
+ observe?(request: ToolExecutionRequest, version: ToolVersion): Promise<{
500
+ readonly output: unknown;
501
+ readonly artifactRefs?: readonly string[];
502
+ } | undefined>;
499
503
  }
500
504
  export declare const packageName = "tool-sdk";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adea-ai/tool-sdk",
3
- "version": "1.4.6",
3
+ "version": "1.5.1",
4
4
  "description": "Tool definition schemas for the Control Plane: ownership, executors, risk classes, approval modes, idempotency, retry policies, and limits.",
5
5
  "keywords": [
6
6
  "agents",
@@ -41,7 +41,7 @@
41
41
  "test": "bun test src"
42
42
  },
43
43
  "dependencies": {
44
- "@adea-ai/contracts": "^1.26.0",
44
+ "@adea-ai/contracts": "^4.0.0",
45
45
  "zod": "4.6.6"
46
46
  },
47
47
  "engines": {