@avallon-labs/sdk 44.4.0 → 45.0.0-staging.1053
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/dist/index.d.ts +2 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1614,8 +1614,6 @@ interface CodeTool {
|
|
|
1614
1614
|
description: string;
|
|
1615
1615
|
code: string;
|
|
1616
1616
|
schema: CodeToolSchema;
|
|
1617
|
-
/** @deprecated */
|
|
1618
|
-
has_api_key: boolean;
|
|
1619
1617
|
/** Secrets attached to the tool. A tool with attached secrets takes its execution environment exclusively from the secret store, each secret arriving under its own env key. */
|
|
1620
1618
|
secret_ids: string[];
|
|
1621
1619
|
}
|
|
@@ -1643,7 +1641,6 @@ type CodeToolCreatedTool = {
|
|
|
1643
1641
|
schema?: CodeToolCreatedToolSchema;
|
|
1644
1642
|
description?: string;
|
|
1645
1643
|
code?: string;
|
|
1646
|
-
has_api_key: boolean;
|
|
1647
1644
|
};
|
|
1648
1645
|
|
|
1649
1646
|
/**
|
|
@@ -2660,8 +2657,6 @@ type CreateToolBody = {
|
|
|
2660
2657
|
code: string;
|
|
2661
2658
|
/** @minLength 1 */
|
|
2662
2659
|
description: string;
|
|
2663
|
-
/** @minLength 1 */
|
|
2664
|
-
api_key?: string;
|
|
2665
2660
|
};
|
|
2666
2661
|
|
|
2667
2662
|
/**
|
|
@@ -9289,7 +9284,6 @@ interface UpdateSecretEnvelope {
|
|
|
9289
9284
|
type UpdateToolBody = {
|
|
9290
9285
|
/** @minLength 1 */
|
|
9291
9286
|
name?: string;
|
|
9292
|
-
api_key?: string | null;
|
|
9293
9287
|
/** @minLength 1 */
|
|
9294
9288
|
code?: string;
|
|
9295
9289
|
/** @minLength 1 */
|
|
@@ -12731,7 +12725,7 @@ type AwaitedInput$5<T> = PromiseLike<T> | T;
|
|
|
12731
12725
|
type Awaited$5<O> = O extends AwaitedInput$5<infer T> ? T : never;
|
|
12732
12726
|
type SecondParameter$5<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
12733
12727
|
/**
|
|
12734
|
-
* Create a new code tool that can be attached to agents. Provide the tool's name, code,
|
|
12728
|
+
* Create a new code tool that can be attached to agents. Provide the tool's name, code, and description.
|
|
12735
12729
|
* @summary Create tool
|
|
12736
12730
|
*/
|
|
12737
12731
|
declare const getCreateToolUrl: () => string;
|
|
@@ -12837,7 +12831,7 @@ declare const useGetTool: <TError = ErrorType<ErrorResponse>>(id: string, option
|
|
|
12837
12831
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
12838
12832
|
};
|
|
12839
12833
|
/**
|
|
12840
|
-
* Update a code tool's name, description, code,
|
|
12834
|
+
* Update a code tool's name, description, code, or attached secrets. All fields are optional — only provided fields are updated.
|
|
12841
12835
|
* @summary Update tool
|
|
12842
12836
|
*/
|
|
12843
12837
|
declare const getUpdateToolUrl: (id: string) => string;
|