@inkeep/create-agents 0.0.0-dev-20251201235424 → 0.0.0-dev-20251202000810
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.
|
@@ -2,7 +2,8 @@ import path from 'node:path';
|
|
|
2
2
|
import { execa } from 'execa';
|
|
3
3
|
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
|
|
4
4
|
import { cleanupDir, createTempDir, linkLocalPackages, runCommand, runCreateAgentsCLI, verifyDirectoryStructure, verifyFile, waitForServerReady, } from './utils';
|
|
5
|
-
|
|
5
|
+
// Use 127.0.0.1 instead of localhost to avoid IPv6/IPv4 resolution issues on CI (Ubuntu)
|
|
6
|
+
const manageApiUrl = 'http://127.0.0.1:3002';
|
|
6
7
|
describe('create-agents quickstart e2e', () => {
|
|
7
8
|
let testDir;
|
|
8
9
|
let projectDir;
|
|
@@ -59,8 +60,8 @@ describe('create-agents quickstart e2e', () => {
|
|
|
59
60
|
/ENVIRONMENT=development/,
|
|
60
61
|
/OPENAI_API_KEY=test-openai-key/,
|
|
61
62
|
/DATABASE_URL=postgresql:\/\/appuser:password@localhost:5432\/inkeep_agents/,
|
|
62
|
-
/INKEEP_AGENTS_MANAGE_API_URL="http:\/\/
|
|
63
|
-
/INKEEP_AGENTS_RUN_API_URL="http:\/\/
|
|
63
|
+
/INKEEP_AGENTS_MANAGE_API_URL="http:\/\/127\.0\.0\.1:3002"/,
|
|
64
|
+
/INKEEP_AGENTS_RUN_API_URL="http:\/\/127\.0\.0\.1:3003"/,
|
|
64
65
|
/INKEEP_AGENTS_JWT_SIGNING_SECRET=\w+/, // Random secret should be generated
|
|
65
66
|
]);
|
|
66
67
|
console.log('.env file verified');
|
package/dist/utils.js
CHANGED
|
@@ -290,8 +290,8 @@ export const createAgents = async (args = {}) => {
|
|
|
290
290
|
` pnpm setup # Setup project in database\n` +
|
|
291
291
|
` pnpm dev # Start development servers\n\n` +
|
|
292
292
|
`${color.yellow('Available services:')}\n` +
|
|
293
|
-
` • Manage API: http://
|
|
294
|
-
` • Run API: http://
|
|
293
|
+
` • Manage API: http://127.0.0.1:3002\n` +
|
|
294
|
+
` • Run API: http://127.0.0.1:3003\n` +
|
|
295
295
|
` • Manage UI: Available with management API\n` +
|
|
296
296
|
`\n${color.yellow('Configuration:')}\n` +
|
|
297
297
|
` • Edit .env for environment variables\n` +
|
|
@@ -341,12 +341,13 @@ GOOGLE_GENERATIVE_AI_API_KEY=${config.googleKey || 'your-google-key-here'}
|
|
|
341
341
|
|
|
342
342
|
# Inkeep API URLs
|
|
343
343
|
# Internal URLs (server-side, Docker internal networking)
|
|
344
|
-
|
|
345
|
-
|
|
344
|
+
# Using 127.0.0.1 instead of localhost to avoid IPv6/IPv4 resolution issues
|
|
345
|
+
INKEEP_AGENTS_MANAGE_API_URL="http://127.0.0.1:3002"
|
|
346
|
+
INKEEP_AGENTS_RUN_API_URL="http://127.0.0.1:3003"
|
|
346
347
|
|
|
347
348
|
# Public URLs (client-side, browser accessible)
|
|
348
|
-
PUBLIC_INKEEP_AGENTS_MANAGE_API_URL="http://
|
|
349
|
-
PUBLIC_INKEEP_AGENTS_RUN_API_URL="http://
|
|
349
|
+
PUBLIC_INKEEP_AGENTS_MANAGE_API_URL="http://127.0.0.1:3002"
|
|
350
|
+
PUBLIC_INKEEP_AGENTS_RUN_API_URL="http://127.0.0.1:3003"
|
|
350
351
|
|
|
351
352
|
# SigNoz Configuration
|
|
352
353
|
SIGNOZ_URL=your-signoz-url-here
|
|
@@ -384,10 +385,11 @@ async function createInkeepConfig(config) {
|
|
|
384
385
|
const config = defineConfig({
|
|
385
386
|
tenantId: "${config.tenantId}",
|
|
386
387
|
agentsManageApi: {
|
|
387
|
-
|
|
388
|
+
// Using 127.0.0.1 instead of localhost to avoid IPv6/IPv4 resolution issues
|
|
389
|
+
url: 'http://127.0.0.1:3002',
|
|
388
390
|
},
|
|
389
391
|
agentsRunApi: {
|
|
390
|
-
url: 'http://
|
|
392
|
+
url: 'http://127.0.0.1:3003',
|
|
391
393
|
},
|
|
392
394
|
});
|
|
393
395
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/create-agents",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251202000810",
|
|
4
4
|
"description": "Create an Inkeep Agent Framework project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"drizzle-kit": "^0.31.5",
|
|
35
35
|
"fs-extra": "^11.0.0",
|
|
36
36
|
"picocolors": "^1.0.0",
|
|
37
|
-
"@inkeep/agents-core": "0.0.0-dev-
|
|
37
|
+
"@inkeep/agents-core": "0.0.0-dev-20251202000810"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/degit": "^2.8.6",
|