@inkeep/agents-cli 0.0.0-dev-20260221201622 → 0.0.0-dev-20260223163105

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/package.json +4 -4
  2. package/dist/utils/url.js +0 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-cli",
3
- "version": "0.0.0-dev-20260221201622",
3
+ "version": "0.0.0-dev-20260223163105",
4
4
  "description": "Inkeep CLI tool",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -40,8 +40,8 @@
40
40
  "tsx": "^4.20.5",
41
41
  "yaml": "^2.7.0",
42
42
  "zod": "^4.3.6",
43
- "@inkeep/agents-sdk": "^0.0.0-dev-20260221201622",
44
- "@inkeep/agents-core": "^0.0.0-dev-20260221201622"
43
+ "@inkeep/agents-core": "^0.0.0-dev-20260223163105",
44
+ "@inkeep/agents-sdk": "^0.0.0-dev-20260223163105"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/degit": "^2.8.6",
@@ -52,7 +52,7 @@
52
52
  "vitest": "^3.2.4"
53
53
  },
54
54
  "peerDependencies": {
55
- "@inkeep/agents-manage-ui": "0.0.0-dev-20260221201622"
55
+ "@inkeep/agents-manage-ui": "0.0.0-dev-20260223163105"
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public",
package/dist/utils/url.js DELETED
@@ -1,26 +0,0 @@
1
- //#region src/utils/url.ts
2
- /**
3
- * Normalizes a base URL by removing trailing slashes and validating format
4
- * @param url The URL to normalize
5
- * @returns The normalized URL
6
- * @throws Error if URL is invalid
7
- */
8
- function normalizeBaseUrl(url) {
9
- const trimmedUrl = url.trim();
10
- if (!trimmedUrl.match(/^https?:\/\//i)) throw new Error(`Invalid URL format: ${url}. Must start with http:// or https://`);
11
- return trimmedUrl.replace(/\/+$/, "");
12
- }
13
- /**
14
- * Constructs an agent view URL for the management UI
15
- * @param manageUiUrl The base management UI URL
16
- * @param tenantId The tenant ID
17
- * @param projectId The project ID
18
- * @param agentId The agent ID
19
- * @returns The complete agent view URL
20
- */
21
- function buildAgentViewUrl(manageUiUrl, tenantId, projectId, agentId) {
22
- return `${normalizeBaseUrl(manageUiUrl || "http://localhost:3000")}/${tenantId}/projects/${projectId}/agents/${agentId}`;
23
- }
24
-
25
- //#endregion
26
- export { buildAgentViewUrl, normalizeBaseUrl };