@vertesia/tools-sdk 0.74.0 → 0.77.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.
|
@@ -5,7 +5,7 @@ const http_exception_1 = require("hono/http-exception");
|
|
|
5
5
|
const auth_js_1 = require("./auth.js");
|
|
6
6
|
const ToolRegistry_js_1 = require("./ToolRegistry.js");
|
|
7
7
|
/**
|
|
8
|
-
* Implements a tools
|
|
8
|
+
* Implements a tools collection endpoint
|
|
9
9
|
*/
|
|
10
10
|
class ToolCollection {
|
|
11
11
|
/**
|
|
@@ -2,7 +2,7 @@ import { HTTPException } from "hono/http-exception";
|
|
|
2
2
|
import { authorize } from "./auth.js";
|
|
3
3
|
import { ToolRegistry } from "./ToolRegistry.js";
|
|
4
4
|
/**
|
|
5
|
-
* Implements a tools
|
|
5
|
+
* Implements a tools collection endpoint
|
|
6
6
|
*/
|
|
7
7
|
export class ToolCollection {
|
|
8
8
|
/**
|
|
@@ -27,7 +27,7 @@ export interface ToolCollectionProperties {
|
|
|
27
27
|
tools: Tool<any>[];
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* Implements a tools
|
|
30
|
+
* Implements a tools collection endpoint
|
|
31
31
|
*/
|
|
32
32
|
export declare class ToolCollection implements Iterable<Tool<any>> {
|
|
33
33
|
/**
|
|
@@ -62,6 +62,7 @@ export declare class ToolCollection implements Iterable<Tool<any>> {
|
|
|
62
62
|
[x: string]: any;
|
|
63
63
|
} | undefined;
|
|
64
64
|
content: string;
|
|
65
|
+
is_error: boolean;
|
|
65
66
|
files?: string[] | undefined;
|
|
66
67
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">) | (Response & import("hono").TypedResponse<{
|
|
67
68
|
tool_use_id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolCollection.d.ts","sourceRoot":"","sources":["../../src/ToolCollection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,M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"description": "Tools SDK - utilities for building remote tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./lib/types/index.d.ts",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"jose": "^6.0.11",
|
|
30
|
+
"@vertesia/client": "0.77.0",
|
|
30
31
|
"@llumiverse/common": "0.22.0",
|
|
31
|
-
"@vertesia/
|
|
32
|
-
"@vertesia/common": "0.74.0"
|
|
32
|
+
"@vertesia/common": "0.77.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"test": "vitest run",
|