@agentrun/sdk 0.0.3-test.21812339444 → 0.0.3-test.21813936760
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/agent-runtime/api/index.cjs +1 -1
- package/dist/agent-runtime/api/index.js +1 -1
- package/dist/agent-runtime/index.cjs +1 -1
- package/dist/agent-runtime/index.js +1 -1
- package/dist/{client-C8mT3pZX.d.ts → client-DHXxjuo3.d.ts} +1 -1
- package/dist/{client-DqzjyrGf.d.cts → client-DPUTs69s.d.cts} +1 -1
- package/dist/credential/api/index.cjs +1 -1
- package/dist/credential/api/index.js +1 -1
- package/dist/credential/index.cjs +1 -1
- package/dist/credential/index.js +1 -1
- package/dist/index.cjs +39 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +39 -33
- package/dist/index.js.map +1 -1
- package/dist/integration/builtin/index.cjs +38 -32
- package/dist/integration/builtin/index.cjs.map +1 -1
- package/dist/integration/builtin/index.d.cts +3 -3
- package/dist/integration/builtin/index.d.ts +3 -3
- package/dist/integration/builtin/index.js +38 -32
- package/dist/integration/builtin/index.js.map +1 -1
- package/dist/integration/index.cjs +38 -32
- package/dist/integration/index.cjs.map +1 -1
- package/dist/integration/index.d.cts +2 -2
- package/dist/integration/index.d.ts +2 -2
- package/dist/integration/index.js +38 -32
- package/dist/integration/index.js.map +1 -1
- package/dist/integration/mastra/index.cjs +38 -32
- package/dist/integration/mastra/index.cjs.map +1 -1
- package/dist/integration/mastra/index.js +38 -32
- package/dist/integration/mastra/index.js.map +1 -1
- package/dist/model/index.cjs +1 -1
- package/dist/model/index.js +1 -1
- package/dist/sandbox/index.cjs +1 -1
- package/dist/sandbox/index.js +1 -1
- package/dist/server/adapter/index.cjs +1 -1
- package/dist/server/adapter/index.js +1 -1
- package/dist/server/core/index.cjs +1 -1
- package/dist/server/core/index.js +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/protocol/index.cjs +1 -1
- package/dist/server/protocol/index.js +1 -1
- package/dist/{tool-zbUtHx0z.d.cts → tool-CG0LY-ov.d.cts} +1 -1
- package/dist/{tool-v1b7mXXU.d.ts → tool-JJHam0ms.d.ts} +1 -1
- package/dist/toolset/api/index.cjs +4 -2
- package/dist/toolset/api/index.cjs.map +1 -1
- package/dist/toolset/api/index.js +4 -2
- package/dist/toolset/api/index.js.map +1 -1
- package/dist/toolset/index.cjs +70 -33
- package/dist/toolset/index.cjs.map +1 -1
- package/dist/toolset/index.d.cts +2 -2
- package/dist/toolset/index.d.ts +2 -2
- package/dist/toolset/index.js +70 -33
- package/dist/toolset/index.js.map +1 -1
- package/dist/{toolset-9xzjz9xi.d.cts → toolset-BYDvhwRp.d.cts} +16 -4
- package/dist/{toolset-ZmkqwYxk.d.ts → toolset-CSRsJxCb.d.ts} +16 -4
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
|
@@ -209,7 +209,7 @@ if (![void 0, null, "", "False", "FALSE", "false", "0"].includes(process.env["AG
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
// src/utils/version-check.ts
|
|
212
|
-
var VERSION = "0.0.3-test.
|
|
212
|
+
var VERSION = "0.0.3-test.21813936760" ;
|
|
213
213
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
214
214
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
215
215
|
logger.warn(
|
|
@@ -184,7 +184,7 @@ if (![void 0, null, "", "False", "FALSE", "false", "0"].includes(process.env["AG
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
// src/utils/version-check.ts
|
|
187
|
-
var VERSION = "0.0.3-test.
|
|
187
|
+
var VERSION = "0.0.3-test.21813936760" ;
|
|
188
188
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
189
189
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
190
190
|
logger.warn(
|
|
@@ -2498,7 +2498,7 @@ var init_client = __esm({
|
|
|
2498
2498
|
|
|
2499
2499
|
// src/utils/version-check.ts
|
|
2500
2500
|
init_log();
|
|
2501
|
-
var VERSION = "0.0.3-test.
|
|
2501
|
+
var VERSION = "0.0.3-test.21813936760" ;
|
|
2502
2502
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
2503
2503
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
2504
2504
|
logger.warn(
|
|
@@ -2468,7 +2468,7 @@ var init_client = __esm({
|
|
|
2468
2468
|
|
|
2469
2469
|
// src/utils/version-check.ts
|
|
2470
2470
|
init_log();
|
|
2471
|
-
var VERSION = "0.0.3-test.
|
|
2471
|
+
var VERSION = "0.0.3-test.21813936760" ;
|
|
2472
2472
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
2473
2473
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
2474
2474
|
logger.warn(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as Config } from './config-07gMelJP.js';
|
|
2
|
-
import { b as ToolSetCreateInput, T as ToolSet, j as ToolSetUpdateInput, d as ToolSetListInput } from './toolset-
|
|
2
|
+
import { b as ToolSetCreateInput, T as ToolSet, j as ToolSetUpdateInput, d as ToolSetListInput } from './toolset-CSRsJxCb.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* ToolSet Client
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as Config } from './config-07gMelJP.cjs';
|
|
2
|
-
import { b as ToolSetCreateInput, T as ToolSet, j as ToolSetUpdateInput, d as ToolSetListInput } from './toolset-
|
|
2
|
+
import { b as ToolSetCreateInput, T as ToolSet, j as ToolSetUpdateInput, d as ToolSetListInput } from './toolset-BYDvhwRp.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* ToolSet Client
|
|
@@ -209,7 +209,7 @@ if (![void 0, null, "", "False", "FALSE", "false", "0"].includes(process.env["AG
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
// src/utils/version-check.ts
|
|
212
|
-
var VERSION = "0.0.3-test.
|
|
212
|
+
var VERSION = "0.0.3-test.21813936760" ;
|
|
213
213
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
214
214
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
215
215
|
logger.warn(
|
|
@@ -184,7 +184,7 @@ if (![void 0, null, "", "False", "FALSE", "false", "0"].includes(process.env["AG
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
// src/utils/version-check.ts
|
|
187
|
-
var VERSION = "0.0.3-test.
|
|
187
|
+
var VERSION = "0.0.3-test.21813936760" ;
|
|
188
188
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
189
189
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
190
190
|
logger.warn(
|
|
@@ -228,7 +228,7 @@ var VERSION;
|
|
|
228
228
|
var init_version_check = __esm({
|
|
229
229
|
"src/utils/version-check.ts"() {
|
|
230
230
|
init_log();
|
|
231
|
-
VERSION = "0.0.3-test.
|
|
231
|
+
VERSION = "0.0.3-test.21813936760" ;
|
|
232
232
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
233
233
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
234
234
|
logger.warn(
|
package/dist/credential/index.js
CHANGED
|
@@ -203,7 +203,7 @@ var VERSION;
|
|
|
203
203
|
var init_version_check = __esm({
|
|
204
204
|
"src/utils/version-check.ts"() {
|
|
205
205
|
init_log();
|
|
206
|
-
VERSION = "0.0.3-test.
|
|
206
|
+
VERSION = "0.0.3-test.21813936760" ;
|
|
207
207
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
208
208
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
209
209
|
logger.warn(
|
package/dist/index.cjs
CHANGED
|
@@ -271,7 +271,7 @@ var VERSION;
|
|
|
271
271
|
var init_version_check = __esm({
|
|
272
272
|
"src/utils/version-check.ts"() {
|
|
273
273
|
init_log();
|
|
274
|
-
VERSION = "0.0.3-test.
|
|
274
|
+
VERSION = "0.0.3-test.21813936760" ;
|
|
275
275
|
if (!process.env.DISABLE_BREAKING_CHANGES_WARNING && !globalThis._AGENTRUN_VERSION_WARNING_SHOWN) {
|
|
276
276
|
globalThis._AGENTRUN_VERSION_WARNING_SHOWN = true;
|
|
277
277
|
logger.warn(
|
|
@@ -7313,7 +7313,9 @@ var init_control5 = __esm({
|
|
|
7313
7313
|
const client = this.getDevsClient(config2);
|
|
7314
7314
|
const runtime = new $Util__namespace.RuntimeOptions({});
|
|
7315
7315
|
const response = await client.listToolsetsWithOptions(input, headers || {}, runtime);
|
|
7316
|
-
logger.debug(
|
|
7316
|
+
logger.debug(
|
|
7317
|
+
`API listToolsets called, Request ID: ${response?.headers?.["x-acs-request-id"]}`
|
|
7318
|
+
);
|
|
7317
7319
|
if (!response.body) {
|
|
7318
7320
|
throw new Error("Empty response body");
|
|
7319
7321
|
}
|
|
@@ -8239,6 +8241,7 @@ var init_toolset = __esm({
|
|
|
8239
8241
|
const { ToolSetClient: ToolSetClient2 } = (init_client5(), __toCommonJS(client_exports5));
|
|
8240
8242
|
return new ToolSetClient2();
|
|
8241
8243
|
}
|
|
8244
|
+
uniqIdCallback = () => this.name;
|
|
8242
8245
|
/**
|
|
8243
8246
|
* Create a new ToolSet
|
|
8244
8247
|
*/
|
|
@@ -8263,38 +8266,41 @@ var init_toolset = __esm({
|
|
|
8263
8266
|
/**
|
|
8264
8267
|
* List ToolSets
|
|
8265
8268
|
*/
|
|
8266
|
-
static async
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
const toolsets = [];
|
|
8274
|
-
const pageSize = 50;
|
|
8275
|
-
while (true) {
|
|
8276
|
-
const result = await _ToolSet.list(
|
|
8277
|
-
{
|
|
8278
|
-
prefix: options?.prefix,
|
|
8279
|
-
labels: options?.labels,
|
|
8280
|
-
pageSize
|
|
8281
|
-
},
|
|
8282
|
-
config2
|
|
8283
|
-
);
|
|
8284
|
-
toolsets.push(...result);
|
|
8285
|
-
if (result.length < pageSize) {
|
|
8286
|
-
break;
|
|
8287
|
-
}
|
|
8269
|
+
static list = async (...args) => {
|
|
8270
|
+
let input;
|
|
8271
|
+
let config2;
|
|
8272
|
+
if (args.length >= 1 && "input" in args[0]) {
|
|
8273
|
+
input = args[0].input;
|
|
8274
|
+
} else {
|
|
8275
|
+
input = args[0];
|
|
8288
8276
|
}
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8277
|
+
if (args.length >= 1 && "config" in args[0]) {
|
|
8278
|
+
config2 = args[0].config;
|
|
8279
|
+
} else if (args.length > 1 && args[1] instanceof exports.Config) {
|
|
8280
|
+
config2 = args[1];
|
|
8281
|
+
}
|
|
8282
|
+
return await this.getClient().list({
|
|
8283
|
+
input: {
|
|
8284
|
+
...input
|
|
8285
|
+
},
|
|
8286
|
+
config: config2
|
|
8296
8287
|
});
|
|
8297
|
-
}
|
|
8288
|
+
};
|
|
8289
|
+
static listAll = async (...args) => {
|
|
8290
|
+
let input;
|
|
8291
|
+
let config2;
|
|
8292
|
+
if (args.length >= 1 && "input" in args[0]) {
|
|
8293
|
+
input = args[0].input;
|
|
8294
|
+
} else {
|
|
8295
|
+
input = args[0];
|
|
8296
|
+
}
|
|
8297
|
+
if (args.length >= 1 && "config" in args[0]) {
|
|
8298
|
+
config2 = args[0].config;
|
|
8299
|
+
} else if (args.length > 1 && args[1] instanceof exports.Config) {
|
|
8300
|
+
config2 = args[1];
|
|
8301
|
+
}
|
|
8302
|
+
return await listAllResourcesFunction(this.list)({ ...input, config: config2 });
|
|
8303
|
+
};
|
|
8298
8304
|
/**
|
|
8299
8305
|
* Update a ToolSet by Name
|
|
8300
8306
|
*/
|
|
@@ -36035,7 +36041,7 @@ var AgentRunServer = class {
|
|
|
36035
36041
|
};
|
|
36036
36042
|
|
|
36037
36043
|
// src/index.ts
|
|
36038
|
-
var VERSION2 = "0.0.3-test.
|
|
36044
|
+
var VERSION2 = "0.0.3-test.21813936760" ;
|
|
36039
36045
|
/*! Bundled license information:
|
|
36040
36046
|
|
|
36041
36047
|
depd/index.js:
|