@inkeep/agents-cli 0.0.0-dev-20251125185858 → 0.0.0-dev-20251125203032
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.js +24 -12
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1061,8 +1061,8 @@ var init_env = __esm({
|
|
|
1061
1061
|
"../packages/agents-core/src/env.ts"() {
|
|
1062
1062
|
"use strict";
|
|
1063
1063
|
init_esm_shims();
|
|
1064
|
-
import_dotenv_expand = __toESM(require_main(), 1);
|
|
1065
1064
|
init_dist4();
|
|
1065
|
+
import_dotenv_expand = __toESM(require_main(), 1);
|
|
1066
1066
|
loadEnvironmentFiles = () => {
|
|
1067
1067
|
const environmentFiles = [];
|
|
1068
1068
|
const currentEnv = path2.resolve(process.cwd(), ".env");
|
|
@@ -1774,7 +1774,7 @@ var init_schema = __esm({
|
|
|
1774
1774
|
};
|
|
1775
1775
|
uiProperties = {
|
|
1776
1776
|
name: varchar("name", { length: 256 }).notNull(),
|
|
1777
|
-
description: text2("description")
|
|
1777
|
+
description: text2("description")
|
|
1778
1778
|
};
|
|
1779
1779
|
timestamps = {
|
|
1780
1780
|
createdAt: timestamp2("created_at", { mode: "string" }).notNull().defaultNow(),
|
|
@@ -1871,7 +1871,7 @@ var init_schema = __esm({
|
|
|
1871
1871
|
{
|
|
1872
1872
|
...agentScoped,
|
|
1873
1873
|
...uiProperties,
|
|
1874
|
-
prompt: text2("prompt")
|
|
1874
|
+
prompt: text2("prompt"),
|
|
1875
1875
|
conversationHistoryConfig: jsonb("conversation_history_config").$type().default({
|
|
1876
1876
|
mode: "full",
|
|
1877
1877
|
limit: 50,
|
|
@@ -3585,7 +3585,7 @@ var init_schemas = __esm({
|
|
|
3585
3585
|
RelatedAgentInfoSchema = z.object({
|
|
3586
3586
|
id: z.string(),
|
|
3587
3587
|
name: z.string(),
|
|
3588
|
-
description: z.string()
|
|
3588
|
+
description: z.string().nullable()
|
|
3589
3589
|
}).openapi("RelatedAgentInfo");
|
|
3590
3590
|
ComponentAssociationSchema = z.object({
|
|
3591
3591
|
subAgentId: z.string(),
|
|
@@ -3813,7 +3813,7 @@ var init_schemas = __esm({
|
|
|
3813
3813
|
dataComponents: z.array(z.string()).optional(),
|
|
3814
3814
|
artifactComponents: z.array(z.string()).optional(),
|
|
3815
3815
|
canTransferTo: z.array(z.string()).optional(),
|
|
3816
|
-
prompt: z.string().trim().
|
|
3816
|
+
prompt: z.string().trim().optional(),
|
|
3817
3817
|
canDelegateTo: z.array(
|
|
3818
3818
|
z.union([
|
|
3819
3819
|
z.string(),
|
|
@@ -227423,13 +227423,13 @@ var init_mcp_client = __esm({
|
|
|
227423
227423
|
"../packages/agents-core/src/utils/mcp-client.ts"() {
|
|
227424
227424
|
"use strict";
|
|
227425
227425
|
init_esm_shims();
|
|
227426
|
+
init_dist4();
|
|
227426
227427
|
init_client2();
|
|
227427
227428
|
init_sse();
|
|
227428
227429
|
init_streamableHttp();
|
|
227429
227430
|
init_protocol();
|
|
227430
227431
|
init_types2();
|
|
227431
227432
|
init_exit_hook();
|
|
227432
|
-
init_dist4();
|
|
227433
227433
|
init_execution_limits_shared();
|
|
227434
227434
|
init_utility();
|
|
227435
227435
|
}
|
|
@@ -245739,8 +245739,8 @@ var init_nango_store = __esm({
|
|
|
245739
245739
|
"../packages/agents-core/src/credential-stores/nango-store.ts"() {
|
|
245740
245740
|
"use strict";
|
|
245741
245741
|
init_esm_shims();
|
|
245742
|
-
init_dist12();
|
|
245743
245742
|
init_dist4();
|
|
245743
|
+
init_dist12();
|
|
245744
245744
|
init_types();
|
|
245745
245745
|
init_logger();
|
|
245746
245746
|
logger18 = getLogger("nango-credential-store");
|
|
@@ -253134,10 +253134,13 @@ function generateArtifactComponentDefinition(componentId, componentData, style =
|
|
|
253134
253134
|
if (!componentData || typeof componentData !== "object") {
|
|
253135
253135
|
throw new Error(`componentData is required for artifact component '${componentId}'`);
|
|
253136
253136
|
}
|
|
253137
|
-
const requiredFields = ["name"
|
|
253137
|
+
const requiredFields = ["name"];
|
|
253138
253138
|
const missingFields = requiredFields.filter(
|
|
253139
253139
|
(field) => !componentData[field] || componentData[field] === null || componentData[field] === void 0
|
|
253140
253140
|
);
|
|
253141
|
+
if (!componentData.props) {
|
|
253142
|
+
missingFields.push("props");
|
|
253143
|
+
}
|
|
253141
253144
|
if (missingFields.length > 0) {
|
|
253142
253145
|
throw new Error(
|
|
253143
253146
|
`Missing required fields for artifact component '${componentId}': ${missingFields.join(", ")}`
|
|
@@ -253613,10 +253616,13 @@ function generateDataComponentDefinition(componentId, componentData, style = DEF
|
|
|
253613
253616
|
if (!componentData || typeof componentData !== "object") {
|
|
253614
253617
|
throw new Error(`componentData is required for data component '${componentId}'`);
|
|
253615
253618
|
}
|
|
253616
|
-
const requiredFields = ["name"
|
|
253619
|
+
const requiredFields = ["name"];
|
|
253617
253620
|
const missingFields = requiredFields.filter(
|
|
253618
253621
|
(field) => !componentData[field] || componentData[field] === null || componentData[field] === void 0
|
|
253619
253622
|
);
|
|
253623
|
+
if (!componentData.props) {
|
|
253624
|
+
missingFields.push("props");
|
|
253625
|
+
}
|
|
253620
253626
|
if (missingFields.length > 0) {
|
|
253621
253627
|
throw new Error(
|
|
253622
253628
|
`Missing required fields for data component '${componentId}': ${missingFields.join(", ")}`
|
|
@@ -253907,7 +253913,7 @@ function generateExternalAgentDefinition(agentId, agentData, style = DEFAULT_STY
|
|
|
253907
253913
|
if (!agentData || typeof agentData !== "object") {
|
|
253908
253914
|
throw new Error(`agentData is required for external agent '${agentId}'`);
|
|
253909
253915
|
}
|
|
253910
|
-
const requiredFields = ["name", "
|
|
253916
|
+
const requiredFields = ["name", "baseUrl"];
|
|
253911
253917
|
const missingFields = requiredFields.filter(
|
|
253912
253918
|
(field) => !agentData[field] || agentData[field] === null || agentData[field] === void 0
|
|
253913
253919
|
);
|
|
@@ -254054,10 +254060,16 @@ function generateFunctionToolDefinition(toolId, toolData, style = DEFAULT_STYLE6
|
|
|
254054
254060
|
if (!toolData || typeof toolData !== "object") {
|
|
254055
254061
|
throw new Error(`toolData is required for function tool '${toolId}'`);
|
|
254056
254062
|
}
|
|
254057
|
-
const requiredFields = ["name"
|
|
254063
|
+
const requiredFields = ["name"];
|
|
254058
254064
|
const missingFields = requiredFields.filter(
|
|
254059
254065
|
(field) => !toolData[field] || toolData[field] === null || toolData[field] === void 0
|
|
254060
254066
|
);
|
|
254067
|
+
if (!toolData.inputSchema && !toolData.schema) {
|
|
254068
|
+
missingFields.push("inputSchema");
|
|
254069
|
+
}
|
|
254070
|
+
if (!toolData.executeCode && !toolData.execute) {
|
|
254071
|
+
missingFields.push("executeCode");
|
|
254072
|
+
}
|
|
254061
254073
|
if (missingFields.length > 0) {
|
|
254062
254074
|
throw new Error(
|
|
254063
254075
|
`Missing required fields for function tool '${toolId}': ${missingFields.join(", ")}`
|
|
@@ -254564,7 +254576,7 @@ function generateSubAgentDefinition(agentId, agentData, style = DEFAULT_STYLE, r
|
|
|
254564
254576
|
if (!agentData || typeof agentData !== "object") {
|
|
254565
254577
|
throw new Error(`agentData is required for sub-agent '${agentId}'`);
|
|
254566
254578
|
}
|
|
254567
|
-
const requiredFields = ["name"
|
|
254579
|
+
const requiredFields = ["name"];
|
|
254568
254580
|
const missingFields = requiredFields.filter(
|
|
254569
254581
|
(field) => !agentData[field] || agentData[field] === null || agentData[field] === void 0
|
|
254570
254582
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251125203032",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"ts-morph": "^26.0.0",
|
|
51
51
|
"tsx": "^4.20.5",
|
|
52
52
|
"open": "^10.2.0",
|
|
53
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
54
|
-
"@inkeep/agents-sdk": "^0.0.0-dev-
|
|
53
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251125203032",
|
|
54
|
+
"@inkeep/agents-sdk": "^0.0.0-dev-20251125203032"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/degit": "^2.8.6",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"vitest": "^3.2.4"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@inkeep/agents-manage-ui": "0.0.0-dev-
|
|
67
|
+
"@inkeep/agents-manage-ui": "0.0.0-dev-20251125203032",
|
|
68
68
|
"zod": "^4.1.11"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|