@inkeep/agents-cli 0.0.0-dev-20250910233151 → 0.0.0-dev-20250910233441

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -37983,6 +37983,10 @@ async function pushCommand(graphPath, options) {
37983
37983
  console.error(chalk6.red(`File not found: ${absolutePath}`));
37984
37984
  process.exit(1);
37985
37985
  }
37986
+ if (options.env) {
37987
+ process.env.INKEEP_ENV = options.env;
37988
+ spinner2.text = `Setting environment to '${options.env}'...`;
37989
+ }
37986
37990
  spinner2.text = "Loading graph module...";
37987
37991
  const module = await importWithTypeScriptSupport(absolutePath);
37988
37992
  const exports = Object.keys(module);
@@ -38202,6 +38206,9 @@ configCommand.command("list").description("List all configuration values").optio
38202
38206
  program.command("push <graph-path>").description("Push a graph configuration to the backend").option("--tenant-id <tenant-id>", "Tenant ID (use with --api-url)").option("--api-url <api-url>", "API URL (use with --tenant-id or alone to override config)").option(
38203
38207
  "--config-file-path <path>",
38204
38208
  "Path to configuration file (alternative to --tenant-id/--api-url)"
38209
+ ).option(
38210
+ "--env <environment>",
38211
+ "Environment to use for credential resolution (e.g., development, production)"
38205
38212
  ).action(async (graphPath, options) => {
38206
38213
  await pushCommand(graphPath, options);
38207
38214
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-cli",
3
- "version": "0.0.0-dev-20250910233151",
3
+ "version": "0.0.0-dev-20250910233441",
4
4
  "description": "Inkeep CLI tool",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,8 +42,8 @@
42
42
  "recast": "^0.23.0",
43
43
  "ts-morph": "^26.0.0",
44
44
  "tsx": "^4.20.5",
45
- "@inkeep/agents-core": "^0.0.0-dev-20250910233151",
46
- "@inkeep/agents-manage-ui": "^0.0.0-dev-20250910233151"
45
+ "@inkeep/agents-core": "^0.0.0-dev-20250910233441",
46
+ "@inkeep/agents-manage-ui": "^0.0.0-dev-20250910233441"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/fs-extra": "^11.0.4",