@inkeep/agents-cli 0.0.0-dev-20250925124151 → 0.0.0-dev-20250925214347
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 +6 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -21872,15 +21872,17 @@ async function listGraphsCommand(options) {
|
|
|
21872
21872
|
const api = await ManagementApiClient.create(
|
|
21873
21873
|
config.agentsManageApiUrl,
|
|
21874
21874
|
configPath,
|
|
21875
|
-
config.tenantId
|
|
21875
|
+
config.tenantId,
|
|
21876
|
+
options.project
|
|
21877
|
+
// pass project ID as projectIdOverride
|
|
21876
21878
|
);
|
|
21877
21879
|
const spinner = ora3("Fetching graphs...").start();
|
|
21878
21880
|
try {
|
|
21879
21881
|
const graphs = await api.listGraphs();
|
|
21880
|
-
spinner.succeed(`Found ${graphs.length} graph(s)`);
|
|
21882
|
+
spinner.succeed(`Found ${graphs.length} graph(s) in project "${options.project}"`);
|
|
21881
21883
|
if (graphs.length === 0) {
|
|
21882
21884
|
console.log(
|
|
21883
|
-
chalk5.gray(
|
|
21885
|
+
chalk5.gray(`No graphs found in project "${options.project}". Define graphs in your project and run: inkeep push`)
|
|
21884
21886
|
);
|
|
21885
21887
|
return;
|
|
21886
21888
|
}
|
|
@@ -23542,7 +23544,7 @@ program.command("chat [graph-id]").description(
|
|
|
23542
23544
|
const config = options.config || options.configFilePath;
|
|
23543
23545
|
await chatCommandEnhanced2(graphId, { ...options, config });
|
|
23544
23546
|
});
|
|
23545
|
-
program.command("list-graphs").description("List all available graphs for
|
|
23547
|
+
program.command("list-graphs").description("List all available graphs for a specific project").requiredOption("--project <project-id>", "Project ID to list graphs for").option("--tenant-id <tenant-id>", "Tenant ID").option("--agents-manage-api-url <url>", "Agents manage API URL").option("--config <path>", "Path to configuration file").option("--config-file-path <path>", "Path to configuration file (deprecated, use --config)").action(async (options) => {
|
|
23546
23548
|
const config = options.config || options.configFilePath;
|
|
23547
23549
|
await listGraphsCommand({ ...options, config });
|
|
23548
23550
|
});
|
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-20250925214347",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"recast": "^0.23.0",
|
|
46
46
|
"ts-morph": "^26.0.0",
|
|
47
47
|
"tsx": "^4.20.5",
|
|
48
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
49
|
-
"@inkeep/agents-manage-ui": "^0.0.0-dev-
|
|
48
|
+
"@inkeep/agents-core": "^0.0.0-dev-20250925214347",
|
|
49
|
+
"@inkeep/agents-manage-ui": "^0.0.0-dev-20250925214347"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/degit": "^2.8.6",
|