@inkeep/agents-cli 0.27.0 → 0.28.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 +15 -15
- 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) => [
|
|
@@ -233743,9 +233743,9 @@ var init_artifactComponents = __esm({
|
|
|
233743
233743
|
}
|
|
233744
233744
|
});
|
|
233745
233745
|
|
|
233746
|
-
// ../packages/agents-core/src/validation/
|
|
233747
|
-
var
|
|
233748
|
-
"../packages/agents-core/src/validation/
|
|
233746
|
+
// ../packages/agents-core/src/validation/render-validation.ts
|
|
233747
|
+
var init_render_validation = __esm({
|
|
233748
|
+
"../packages/agents-core/src/validation/render-validation.ts"() {
|
|
233749
233749
|
"use strict";
|
|
233750
233750
|
init_esm_shims();
|
|
233751
233751
|
}
|
|
@@ -233757,10 +233757,10 @@ var init_dataComponents = __esm({
|
|
|
233757
233757
|
"../packages/agents-core/src/data-access/dataComponents.ts"() {
|
|
233758
233758
|
"use strict";
|
|
233759
233759
|
init_esm_shims();
|
|
233760
|
-
init_conversations();
|
|
233761
233760
|
init_schema();
|
|
233762
|
-
|
|
233761
|
+
init_conversations();
|
|
233763
233762
|
init_props_validation();
|
|
233763
|
+
init_render_validation();
|
|
233764
233764
|
}
|
|
233765
233765
|
});
|
|
233766
233766
|
|
|
@@ -234212,8 +234212,8 @@ var init_validation2 = __esm({
|
|
|
234212
234212
|
init_agentFull();
|
|
234213
234213
|
init_event_schemas();
|
|
234214
234214
|
init_id_validation();
|
|
234215
|
-
init_preview_validation();
|
|
234216
234215
|
init_props_validation();
|
|
234216
|
+
init_render_validation();
|
|
234217
234217
|
init_schemas();
|
|
234218
234218
|
}
|
|
234219
234219
|
});
|
|
@@ -235837,8 +235837,8 @@ REQUIREMENTS:
|
|
|
235837
235837
|
2. CRITICAL: Always include serverUrl property (required by SDK) extracted from config.mcp.server.url
|
|
235838
235838
|
3. CRITICAL: Use individual properties supported by mcpTool - do NOT use nested config object
|
|
235839
235839
|
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
|
|
235840
|
+
5. CRITICAL: If credentialReferenceId exists in tool data, add it as a credential property using envSettings.getEnvironmentCredential()
|
|
235841
|
+
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
235842
|
7. TRANSPORT CONFIG: If config.mcp.transport exists, extract it as a transport property (not nested in config)
|
|
235843
235843
|
8. NO CONFIG OBJECT: mcpTool does not accept a 'config' property - use individual properties only
|
|
235844
235844
|
|
|
@@ -235850,7 +235850,7 @@ export const inkeepFacts = mcpTool({
|
|
|
235850
235850
|
id: 'inkeep_facts',
|
|
235851
235851
|
name: 'inkeep_facts',
|
|
235852
235852
|
serverUrl: 'https://mcp.inkeep.com/inkeep/mcp',
|
|
235853
|
-
credential: envSettings.
|
|
235853
|
+
credential: envSettings.getEnvironmentCredential('inkeep_api_credential')
|
|
235854
235854
|
});
|
|
235855
235855
|
|
|
235856
235856
|
EXAMPLE WITH TRANSPORT CONFIG:
|
|
@@ -236417,8 +236417,8 @@ REQUIREMENTS FOR TOOL FILE:
|
|
|
236417
236417
|
2. CRITICAL: Always include serverUrl property (required by SDK) extracted from config.mcp.server.url
|
|
236418
236418
|
3. CRITICAL: Use individual properties supported by mcpTool - do NOT use nested config object
|
|
236419
236419
|
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
|
|
236420
|
+
5. CRITICAL: If credentialReferenceId exists in tool data, add it as a credential property using envSettings.getEnvironmentCredential()
|
|
236421
|
+
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
236422
|
7. TRANSPORT CONFIG: If config.mcp.transport exists, extract it as a transport property (not nested in config)
|
|
236423
236423
|
8. NO CONFIG OBJECT: mcpTool does not accept a 'config' property - use individual properties only
|
|
236424
236424
|
`;
|
|
@@ -236429,8 +236429,8 @@ REQUIREMENTS FOR EXTERNAL AGENT FILE:
|
|
|
236429
236429
|
1. Import externalAgent from '@inkeep/agents-sdk'
|
|
236430
236430
|
2. Create the external agent using externalAgent()
|
|
236431
236431
|
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
|
|
236432
|
+
5. CRITICAL: If credentialReferenceId exists in external agent data, add it as a credential property using envSettings.getEnvironmentCredential()
|
|
236433
|
+
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
236434
|
`;
|
|
236435
236435
|
break;
|
|
236436
236436
|
case "data_component":
|
|
@@ -240687,7 +240687,7 @@ async function pushCommand(options) {
|
|
|
240687
240687
|
}
|
|
240688
240688
|
}
|
|
240689
240689
|
if (config.manageUiUrl) {
|
|
240690
|
-
const projectUrl = `${config.manageUiUrl}/projects/${projectId}`;
|
|
240690
|
+
const projectUrl = `${config.manageUiUrl}/${config.tenantId}/projects/${projectId}`;
|
|
240691
240691
|
console.log(chalk10.cyan("\n\u{1F517} Project URL:"));
|
|
240692
240692
|
console.log(chalk10.blue.underline(` ${projectUrl}`));
|
|
240693
240693
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.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.28.0",
|
|
52
|
+
"@inkeep/agents-sdk": "^0.28.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/degit": "^2.8.6",
|