@inkeep/agents-cli 0.27.0 → 0.29.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.js +28 -25
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1824,7 +1824,7 @@ var init_schema = __esm({
|
|
|
1824
1824
|
...projectScoped,
|
|
1825
1825
|
...uiProperties,
|
|
1826
1826
|
props: blob("props", { mode: "json" }).$type(),
|
|
1827
|
-
|
|
1827
|
+
render: blob("render", { mode: "json" }).$type(),
|
|
1828
1828
|
...timestamps
|
|
1829
1829
|
},
|
|
1830
1830
|
(table) => [
|
|
@@ -2177,6 +2177,7 @@ var init_schema = __esm({
|
|
|
2177
2177
|
"credential_references",
|
|
2178
2178
|
{
|
|
2179
2179
|
...projectScoped,
|
|
2180
|
+
name: text("name").notNull(),
|
|
2180
2181
|
type: text("type").notNull(),
|
|
2181
2182
|
credentialStoreId: text("credential_store_id").notNull(),
|
|
2182
2183
|
retrievalParams: blob("retrieval_params", { mode: "json" }).$type(),
|
|
@@ -2935,6 +2936,7 @@ var init_schemas = __esm({
|
|
|
2935
2936
|
id: z2.string(),
|
|
2936
2937
|
tenantId: z2.string(),
|
|
2937
2938
|
projectId: z2.string(),
|
|
2939
|
+
name: z2.string(),
|
|
2938
2940
|
type: z2.string(),
|
|
2939
2941
|
credentialStoreId: z2.string(),
|
|
2940
2942
|
retrievalParams: z2.record(z2.string(), z2.unknown()).nullish(),
|
|
@@ -233743,9 +233745,9 @@ var init_artifactComponents = __esm({
|
|
|
233743
233745
|
}
|
|
233744
233746
|
});
|
|
233745
233747
|
|
|
233746
|
-
// ../packages/agents-core/src/validation/
|
|
233747
|
-
var
|
|
233748
|
-
"../packages/agents-core/src/validation/
|
|
233748
|
+
// ../packages/agents-core/src/validation/render-validation.ts
|
|
233749
|
+
var init_render_validation = __esm({
|
|
233750
|
+
"../packages/agents-core/src/validation/render-validation.ts"() {
|
|
233749
233751
|
"use strict";
|
|
233750
233752
|
init_esm_shims();
|
|
233751
233753
|
}
|
|
@@ -233757,10 +233759,10 @@ var init_dataComponents = __esm({
|
|
|
233757
233759
|
"../packages/agents-core/src/data-access/dataComponents.ts"() {
|
|
233758
233760
|
"use strict";
|
|
233759
233761
|
init_esm_shims();
|
|
233760
|
-
init_conversations();
|
|
233761
233762
|
init_schema();
|
|
233762
|
-
|
|
233763
|
+
init_conversations();
|
|
233763
233764
|
init_props_validation();
|
|
233765
|
+
init_render_validation();
|
|
233764
233766
|
}
|
|
233765
233767
|
});
|
|
233766
233768
|
|
|
@@ -234061,27 +234063,27 @@ var init_memory_store = __esm({
|
|
|
234061
234063
|
}
|
|
234062
234064
|
});
|
|
234063
234065
|
|
|
234064
|
-
// ../node_modules/.pnpm/@nangohq+node@0.69.
|
|
234066
|
+
// ../node_modules/.pnpm/@nangohq+node@0.69.5/node_modules/@nangohq/node/dist/version.js
|
|
234065
234067
|
var init_version2 = __esm({
|
|
234066
|
-
"../node_modules/.pnpm/@nangohq+node@0.69.
|
|
234068
|
+
"../node_modules/.pnpm/@nangohq+node@0.69.5/node_modules/@nangohq/node/dist/version.js"() {
|
|
234067
234069
|
"use strict";
|
|
234068
234070
|
init_esm_shims();
|
|
234069
234071
|
}
|
|
234070
234072
|
});
|
|
234071
234073
|
|
|
234072
|
-
// ../node_modules/.pnpm/@nangohq+node@0.69.
|
|
234074
|
+
// ../node_modules/.pnpm/@nangohq+node@0.69.5/node_modules/@nangohq/node/dist/utils.js
|
|
234073
234075
|
var init_utils2 = __esm({
|
|
234074
|
-
"../node_modules/.pnpm/@nangohq+node@0.69.
|
|
234076
|
+
"../node_modules/.pnpm/@nangohq+node@0.69.5/node_modules/@nangohq/node/dist/utils.js"() {
|
|
234075
234077
|
"use strict";
|
|
234076
234078
|
init_esm_shims();
|
|
234077
234079
|
init_version2();
|
|
234078
234080
|
}
|
|
234079
234081
|
});
|
|
234080
234082
|
|
|
234081
|
-
// ../node_modules/.pnpm/@nangohq+node@0.69.
|
|
234083
|
+
// ../node_modules/.pnpm/@nangohq+node@0.69.5/node_modules/@nangohq/node/dist/types.js
|
|
234082
234084
|
var SyncConfigType;
|
|
234083
234085
|
var init_types4 = __esm({
|
|
234084
|
-
"../node_modules/.pnpm/@nangohq+node@0.69.
|
|
234086
|
+
"../node_modules/.pnpm/@nangohq+node@0.69.5/node_modules/@nangohq/node/dist/types.js"() {
|
|
234085
234087
|
"use strict";
|
|
234086
234088
|
init_esm_shims();
|
|
234087
234089
|
(function(SyncConfigType2) {
|
|
@@ -234091,12 +234093,12 @@ var init_types4 = __esm({
|
|
|
234091
234093
|
}
|
|
234092
234094
|
});
|
|
234093
234095
|
|
|
234094
|
-
// ../node_modules/.pnpm/@nangohq+node@0.69.
|
|
234096
|
+
// ../node_modules/.pnpm/@nangohq+node@0.69.5/node_modules/@nangohq/node/dist/index.js
|
|
234095
234097
|
import crypto5 from "crypto";
|
|
234096
234098
|
import https from "https";
|
|
234097
234099
|
var defaultHttpsAgent;
|
|
234098
234100
|
var init_dist6 = __esm({
|
|
234099
|
-
"../node_modules/.pnpm/@nangohq+node@0.69.
|
|
234101
|
+
"../node_modules/.pnpm/@nangohq+node@0.69.5/node_modules/@nangohq/node/dist/index.js"() {
|
|
234100
234102
|
"use strict";
|
|
234101
234103
|
init_esm_shims();
|
|
234102
234104
|
init_utils2();
|
|
@@ -234119,7 +234121,8 @@ var init_nango_store = __esm({
|
|
|
234119
234121
|
logger14 = getLogger("nango-credential-store");
|
|
234120
234122
|
CredentialKeySchema = z10.object({
|
|
234121
234123
|
connectionId: z10.string().min(1, "connectionId must be a non-empty string"),
|
|
234122
|
-
providerConfigKey: z10.string().min(1, "providerConfigKey must be a non-empty string")
|
|
234124
|
+
providerConfigKey: z10.string().min(1, "providerConfigKey must be a non-empty string"),
|
|
234125
|
+
integrationDisplayName: z10.string().nullish()
|
|
234123
234126
|
});
|
|
234124
234127
|
}
|
|
234125
234128
|
});
|
|
@@ -234212,8 +234215,8 @@ var init_validation2 = __esm({
|
|
|
234212
234215
|
init_agentFull();
|
|
234213
234216
|
init_event_schemas();
|
|
234214
234217
|
init_id_validation();
|
|
234215
|
-
init_preview_validation();
|
|
234216
234218
|
init_props_validation();
|
|
234219
|
+
init_render_validation();
|
|
234217
234220
|
init_schemas();
|
|
234218
234221
|
}
|
|
234219
234222
|
});
|
|
@@ -235837,8 +235840,8 @@ REQUIREMENTS:
|
|
|
235837
235840
|
2. CRITICAL: Always include serverUrl property (required by SDK) extracted from config.mcp.server.url
|
|
235838
235841
|
3. CRITICAL: Use individual properties supported by mcpTool - do NOT use nested config object
|
|
235839
235842
|
4. Extract configuration properties and map them to mcpTool's expected properties (serverUrl, transport, etc.)
|
|
235840
|
-
5. CRITICAL: If credentialReferenceId exists in tool data, add it as a credential property using envSettings.
|
|
235841
|
-
6. Convert credentialReferenceId to credential key format by replacing hyphens with underscores for the
|
|
235843
|
+
5. CRITICAL: If credentialReferenceId exists in tool data, add it as a credential property using envSettings.getEnvironmentCredential()
|
|
235844
|
+
6. Convert credentialReferenceId to credential key format by replacing hyphens with underscores for the getEnvironmentCredential() call (e.g., 'inkeep-api-credential' becomes 'inkeep_api_credential')
|
|
235842
235845
|
7. TRANSPORT CONFIG: If config.mcp.transport exists, extract it as a transport property (not nested in config)
|
|
235843
235846
|
8. NO CONFIG OBJECT: mcpTool does not accept a 'config' property - use individual properties only
|
|
235844
235847
|
|
|
@@ -235850,7 +235853,7 @@ export const inkeepFacts = mcpTool({
|
|
|
235850
235853
|
id: 'inkeep_facts',
|
|
235851
235854
|
name: 'inkeep_facts',
|
|
235852
235855
|
serverUrl: 'https://mcp.inkeep.com/inkeep/mcp',
|
|
235853
|
-
credential: envSettings.
|
|
235856
|
+
credential: envSettings.getEnvironmentCredential('inkeep_api_credential')
|
|
235854
235857
|
});
|
|
235855
235858
|
|
|
235856
235859
|
EXAMPLE WITH TRANSPORT CONFIG:
|
|
@@ -236417,8 +236420,8 @@ REQUIREMENTS FOR TOOL FILE:
|
|
|
236417
236420
|
2. CRITICAL: Always include serverUrl property (required by SDK) extracted from config.mcp.server.url
|
|
236418
236421
|
3. CRITICAL: Use individual properties supported by mcpTool - do NOT use nested config object
|
|
236419
236422
|
4. Extract configuration properties and map them to mcpTool's expected properties (serverUrl, transport, etc.)
|
|
236420
|
-
5. CRITICAL: If credentialReferenceId exists in tool data, add it as a credential property using envSettings.
|
|
236421
|
-
6. Convert credentialReferenceId to credential key format by replacing hyphens with underscores for the
|
|
236423
|
+
5. CRITICAL: If credentialReferenceId exists in tool data, add it as a credential property using envSettings.getEnvironmentCredential()
|
|
236424
|
+
6. Convert credentialReferenceId to credential key format by replacing hyphens with underscores for the getEnvironmentCredential() call (e.g., 'inkeep-api-credential' becomes 'inkeep_api_credential')
|
|
236422
236425
|
7. TRANSPORT CONFIG: If config.mcp.transport exists, extract it as a transport property (not nested in config)
|
|
236423
236426
|
8. NO CONFIG OBJECT: mcpTool does not accept a 'config' property - use individual properties only
|
|
236424
236427
|
`;
|
|
@@ -236429,8 +236432,8 @@ REQUIREMENTS FOR EXTERNAL AGENT FILE:
|
|
|
236429
236432
|
1. Import externalAgent from '@inkeep/agents-sdk'
|
|
236430
236433
|
2. Create the external agent using externalAgent()
|
|
236431
236434
|
3. Export following naming convention rules (camelCase version of ID)
|
|
236432
|
-
5. CRITICAL: If credentialReferenceId exists in external agent data, add it as a credential property using envSettings.
|
|
236433
|
-
6. Convert credentialReferenceId to credential key format by replacing hyphens with underscores for the
|
|
236435
|
+
5. CRITICAL: If credentialReferenceId exists in external agent data, add it as a credential property using envSettings.getEnvironmentCredential()
|
|
236436
|
+
6. Convert credentialReferenceId to credential key format by replacing hyphens with underscores for the getEnvironmentCredential() call (e.g., 'inkeep-api-credential' becomes 'inkeep_api_credential')
|
|
236434
236437
|
`;
|
|
236435
236438
|
break;
|
|
236436
236439
|
case "data_component":
|
|
@@ -240494,8 +240497,8 @@ init_esm_shims();
|
|
|
240494
240497
|
init_env2();
|
|
240495
240498
|
import { existsSync as existsSync12 } from "fs";
|
|
240496
240499
|
import { join as join13, resolve as resolve5 } from "path";
|
|
240497
|
-
import chalk10 from "chalk";
|
|
240498
240500
|
import * as p8 from "@clack/prompts";
|
|
240501
|
+
import chalk10 from "chalk";
|
|
240499
240502
|
|
|
240500
240503
|
// src/utils/environment-loader.ts
|
|
240501
240504
|
init_esm_shims();
|
|
@@ -240687,7 +240690,7 @@ async function pushCommand(options) {
|
|
|
240687
240690
|
}
|
|
240688
240691
|
}
|
|
240689
240692
|
if (config.manageUiUrl) {
|
|
240690
|
-
const projectUrl = `${config.manageUiUrl}/projects/${projectId}`;
|
|
240693
|
+
const projectUrl = `${config.manageUiUrl}/${config.tenantId}/projects/${projectId}`;
|
|
240691
240694
|
console.log(chalk10.cyan("\n\u{1F517} Project URL:"));
|
|
240692
240695
|
console.log(chalk10.blue.underline(` ${projectUrl}`));
|
|
240693
240696
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"recast": "^0.23.0",
|
|
49
49
|
"ts-morph": "^26.0.0",
|
|
50
50
|
"tsx": "^4.20.5",
|
|
51
|
-
"@inkeep/agents-
|
|
52
|
-
"@inkeep/agents-
|
|
51
|
+
"@inkeep/agents-core": "^0.29.0",
|
|
52
|
+
"@inkeep/agents-sdk": "^0.29.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/degit": "^2.8.6",
|