@avallon-labs/sdk 23.5.0 → 23.6.0-staging.521
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 +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4582,6 +4582,8 @@ type UpdateWorkerBody = {
|
|
|
4582
4582
|
/** @minLength 1 */
|
|
4583
4583
|
name?: string;
|
|
4584
4584
|
schema?: UpdateWorkerBodySchema;
|
|
4585
|
+
/** Replace the worker's attached tool set. Omit to leave unchanged; pass [] to clear. */
|
|
4586
|
+
tools?: string[];
|
|
4585
4587
|
};
|
|
4586
4588
|
|
|
4587
4589
|
/**
|
|
@@ -4788,6 +4790,7 @@ interface Worker {
|
|
|
4788
4790
|
created_at: string;
|
|
4789
4791
|
updated_at: string;
|
|
4790
4792
|
schema: WorkerSchema;
|
|
4793
|
+
tool_ids: string[];
|
|
4791
4794
|
}
|
|
4792
4795
|
|
|
4793
4796
|
/**
|
|
@@ -7689,7 +7692,7 @@ declare const useGetWorker: <TError = ErrorType<ErrorResponse>>(workerId: string
|
|
|
7689
7692
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7690
7693
|
};
|
|
7691
7694
|
/**
|
|
7692
|
-
* Update the configuration of a worker.
|
|
7695
|
+
* Update the configuration of a worker, including the attached tool set.
|
|
7693
7696
|
* @summary Update worker
|
|
7694
7697
|
*/
|
|
7695
7698
|
declare const getUpdateWorkerUrl: (workerId: string) => string;
|