@inkeep/agents-sdk 0.21.0 → 1.0.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.
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -505,9 +505,9 @@ interface ExternalAgentInterface {
|
|
|
505
505
|
getName(): string;
|
|
506
506
|
getDescription(): string;
|
|
507
507
|
getBaseUrl(): string;
|
|
508
|
+
setContext?(tenantId: string, baseURL?: string): void;
|
|
508
509
|
getCredentialReferenceId(): string | undefined;
|
|
509
510
|
getHeaders(): Record<string, string> | undefined;
|
|
510
|
-
setContext?(tenantId: string, baseURL?: string): void;
|
|
511
511
|
}
|
|
512
512
|
interface AgentInterface {
|
|
513
513
|
init(): Promise<void>;
|
|
@@ -969,7 +969,7 @@ declare function project(config: ProjectConfig): Project;
|
|
|
969
969
|
* This is different from tools which auto-generate IDs from their names.
|
|
970
970
|
*
|
|
971
971
|
* @param config - Agent configuration including required stable ID
|
|
972
|
-
* @returns A new
|
|
972
|
+
* @returns A new SubAgent instance
|
|
973
973
|
* @throws {Error} If config.id is not provided
|
|
974
974
|
*
|
|
975
975
|
* @example
|
package/dist/index.d.ts
CHANGED
|
@@ -505,9 +505,9 @@ interface ExternalAgentInterface {
|
|
|
505
505
|
getName(): string;
|
|
506
506
|
getDescription(): string;
|
|
507
507
|
getBaseUrl(): string;
|
|
508
|
+
setContext?(tenantId: string, baseURL?: string): void;
|
|
508
509
|
getCredentialReferenceId(): string | undefined;
|
|
509
510
|
getHeaders(): Record<string, string> | undefined;
|
|
510
|
-
setContext?(tenantId: string, baseURL?: string): void;
|
|
511
511
|
}
|
|
512
512
|
interface AgentInterface {
|
|
513
513
|
init(): Promise<void>;
|
|
@@ -969,7 +969,7 @@ declare function project(config: ProjectConfig): Project;
|
|
|
969
969
|
* This is different from tools which auto-generate IDs from their names.
|
|
970
970
|
*
|
|
971
971
|
* @param config - Agent configuration including required stable ID
|
|
972
|
-
* @returns A new
|
|
972
|
+
* @returns A new SubAgent instance
|
|
973
973
|
* @throws {Error} If config.id is not provided
|
|
974
974
|
*
|
|
975
975
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Agents SDK for building and managing agents in the Inkeep Agent Framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"nanoid": "^5.1.5",
|
|
13
13
|
"typescript": "^5.3.3",
|
|
14
14
|
"zod": "^4.1.11",
|
|
15
|
-
"@inkeep/agents-core": "^0.
|
|
15
|
+
"@inkeep/agents-core": "^1.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/js-yaml": "^4.0.9",
|