ai-client-sdk 3.0.1 → 3.0.3
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/ai-client-sdk.mjs +6282 -6306
- package/dist/ai-client-sdk.umd.js +171 -171
- package/dist/utils/agent.d.ts +2 -1
- package/dist/view/dom.d.ts +1 -0
- package/package.json +1 -1
package/dist/utils/agent.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Copyright 2025 Hughe5
|
|
3
|
+
* Copyright 2026 shichzh
|
|
3
4
|
*
|
|
4
5
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
6
|
* you may not use this file except in compliance with the License.
|
|
@@ -108,7 +109,7 @@ declare class ToolManager {
|
|
|
108
109
|
getHandler(name: string): Handler<Definition>;
|
|
109
110
|
remove(name: string): void;
|
|
110
111
|
get definitions(): Definition[];
|
|
111
|
-
getDefinitions(names: string[]): Definition[];
|
|
112
|
+
getDefinitions(names: string[]): Definition[] | null;
|
|
112
113
|
private getValidator;
|
|
113
114
|
validate(name: string, args: unknown): boolean;
|
|
114
115
|
call<T extends Definition>(name: string, args: Args<T>): Promise<string>;
|
package/dist/view/dom.d.ts
CHANGED