@inkeep/agents-cli 0.0.0-dev-20251030152636 → 0.0.0-dev-20251030195812

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 +25 -10
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -239151,19 +239151,34 @@ async function initCommand(options) {
239151
239151
  p3.cancel("Operation cancelled");
239152
239152
  process.exit(0);
239153
239153
  }
239154
- const apiUrl = await p3.text({
239155
- message: "Enter the API URL:",
239156
- defaultValue: "http://localhost:3002",
239157
- validate: (input) => {
239158
- try {
239154
+ const validateUrl = (input) => {
239155
+ try {
239156
+ if (input && input.trim() !== "") {
239159
239157
  new URL(input);
239160
239158
  return void 0;
239161
- } catch {
239162
- return "Please enter a valid URL";
239163
239159
  }
239160
+ return void 0;
239161
+ } catch {
239162
+ return "Please enter a valid URL";
239164
239163
  }
239164
+ };
239165
+ const manageApiUrl = await p3.text({
239166
+ message: "Enter the Management API URL:",
239167
+ placeholder: "http://localhost:3002",
239168
+ defaultValue: "http://localhost:3002",
239169
+ validate: validateUrl
239170
+ });
239171
+ if (p3.isCancel(manageApiUrl)) {
239172
+ p3.cancel("Operation cancelled");
239173
+ process.exit(0);
239174
+ }
239175
+ const runApiUrl = await p3.text({
239176
+ message: "Enter the Run API URL:",
239177
+ placeholder: "http://localhost:3003",
239178
+ defaultValue: "http://localhost:3003",
239179
+ validate: validateUrl
239165
239180
  });
239166
- if (p3.isCancel(apiUrl)) {
239181
+ if (p3.isCancel(runApiUrl)) {
239167
239182
  p3.cancel("Operation cancelled");
239168
239183
  process.exit(0);
239169
239184
  }
@@ -239172,10 +239187,10 @@ async function initCommand(options) {
239172
239187
  export default defineConfig({
239173
239188
  tenantId: '${tenantId}',
239174
239189
  agentsManageApi: {
239175
- url: '${apiUrl}',
239190
+ url: '${manageApiUrl}',
239176
239191
  },
239177
239192
  agentsRunApi: {
239178
- url: '${apiUrl}',
239193
+ url: '${runApiUrl}',
239179
239194
  },
239180
239195
  });
239181
239196
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-cli",
3
- "version": "0.0.0-dev-20251030152636",
3
+ "version": "0.0.0-dev-20251030195812",
4
4
  "description": "Inkeep CLI tool",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -49,8 +49,8 @@
49
49
  "ts-morph": "^26.0.0",
50
50
  "tsx": "^4.20.5",
51
51
  "open": "^10.2.0",
52
- "@inkeep/agents-core": "^0.0.0-dev-20251030152636",
53
- "@inkeep/agents-sdk": "^0.0.0-dev-20251030152636"
52
+ "@inkeep/agents-core": "^0.0.0-dev-20251030195812",
53
+ "@inkeep/agents-sdk": "^0.0.0-dev-20251030195812"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/degit": "^2.8.6",
@@ -63,7 +63,7 @@
63
63
  "vitest": "^3.2.4"
64
64
  },
65
65
  "peerDependencies": {
66
- "@inkeep/agents-manage-ui": "0.0.0-dev-20251030152636",
66
+ "@inkeep/agents-manage-ui": "0.0.0-dev-20251030195812",
67
67
  "zod": "^4.1.11"
68
68
  },
69
69
  "engines": {