@inkeep/create-agents 0.0.0-dev-20260120230946 → 0.0.0-dev-20260121022749

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.
@@ -62,7 +62,7 @@ describe('create-agents quickstart e2e', () => {
62
62
  /OPENAI_API_KEY=test-openai-key/,
63
63
  /INKEEP_AGENTS_MANAGE_DATABASE_URL=postgresql:\/\/appuser:password@localhost:5432\/inkeep_agents/,
64
64
  /INKEEP_AGENTS_RUN_DATABASE_URL=postgresql:\/\/appuser:password@localhost:5433\/inkeep_agents/,
65
- /INKEEP_AGENTS_MANAGE_API_URL="http:\/\/127\.0\.0\.1:3002"/,
65
+ /INKEEP_AGENTS_API_URL="http:\/\/127\.0\.0\.1:3002"/,
66
66
  /INKEEP_AGENTS_RUN_API_URL="http:\/\/127\.0\.0\.1:3003"/,
67
67
  /INKEEP_AGENTS_JWT_SIGNING_SECRET=\w+/, // Random secret should be generated
68
68
  ]);
@@ -130,7 +130,7 @@ describe('create-agents quickstart e2e', () => {
130
130
  expect(pushResult.exitCode, `Push failed with exit code ${pushResult.exitCode}\nstdout: ${pushResult.stdout}\nstderr: ${pushResult.stderr}`).toBe(0);
131
131
  console.log('Testing API requests');
132
132
  // Test API requests
133
- const response = await fetch(`${manageApiUrl}/tenants/default/projects/${projectId}`);
133
+ const response = await fetch(`${manageApiUrl}/manage/tenants/default/projects/${projectId}`);
134
134
  const data = await response.json();
135
135
  expect(data.data.tenantId).toBe('default');
136
136
  expect(data.data.id).toBe(projectId);
@@ -138,8 +138,7 @@ export async function verifyDirectoryStructure(baseDir, expectedPaths) {
138
138
  export async function linkLocalPackages(projectDir, monorepoRoot) {
139
139
  const packageJsonPaths = [
140
140
  path.join(projectDir, 'package.json'),
141
- path.join(projectDir, 'apps/manage-api/package.json'),
142
- path.join(projectDir, 'apps/run-api/package.json'),
141
+ path.join(projectDir, 'apps/agents-api/package.json'),
143
142
  ];
144
143
  const packageJsons = {};
145
144
  for (const packageJsonPath of packageJsonPaths) {
@@ -149,8 +148,7 @@ export async function linkLocalPackages(projectDir, monorepoRoot) {
149
148
  const inkeepPackages = {
150
149
  '@inkeep/agents-sdk': `link:${path.join(monorepoRoot, 'packages/agents-sdk')}`,
151
150
  '@inkeep/agents-core': `link:${path.join(monorepoRoot, 'packages/agents-core')}`,
152
- '@inkeep/agents-manage-api': `link:${path.join(monorepoRoot, 'agents-manage-api')}`,
153
- '@inkeep/agents-run-api': `link:${path.join(monorepoRoot, 'agents-run-api')}`,
151
+ '@inkeep/agents-api': `link:${path.join(monorepoRoot, 'agents-api')}`,
154
152
  '@inkeep/agents-cli': `link:${path.join(monorepoRoot, 'agents-cli')}`,
155
153
  };
156
154
  // Replace package versions with local links
package/dist/utils.js CHANGED
@@ -32,8 +32,7 @@ const DIRECTORY_VALIDATION = {
32
32
  const agentsTemplateRepo = 'https://github.com/inkeep/agents/create-agents-template';
33
33
  const projectTemplateRepo = 'https://github.com/inkeep/agents/agents-cookbook/template-projects';
34
34
  const execAsync = promisify(exec);
35
- const manageApiPort = '3002';
36
- const runApiPort = '3003';
35
+ const agentsApiPort = '3002';
37
36
  export const defaultGoogleModelConfigurations = {
38
37
  base: {
39
38
  model: GOOGLE_MODELS.GEMINI_2_5_FLASH,
@@ -383,8 +382,7 @@ export const createAgents = async (args = {}) => {
383
382
  ` pnpm setup # Setup project in database\n` +
384
383
  ` pnpm dev # Start development servers\n\n` +
385
384
  `${color.yellow('Available services:')}\n` +
386
- ` • Manage API: http://127.0.0.1:3002\n` +
387
- ` • Run API: http://127.0.0.1:3003\n` +
385
+ ` • Agents API: http://127.0.0.1:3002\n` +
388
386
  ` • Manage UI: Available with management API\n` +
389
387
  `\n${color.yellow('Configuration:')}\n` +
390
388
  ` • Edit .env for environment variables\n` +
@@ -425,9 +423,9 @@ async function createEnvironmentFiles(config) {
425
423
  ENVIRONMENT=development
426
424
 
427
425
  # Database Configuration (Split Database Setup)
428
- # Manage API uses DoltgreSQL on port 5432 for version control features
426
+ # Management entities database uses DoltgreSQL on port 5432 for version control features
429
427
  INKEEP_AGENTS_MANAGE_DATABASE_URL=postgresql://appuser:password@localhost:5432/inkeep_agents
430
- # Run API uses PostgreSQL on port 5433 for runtime operations
428
+ # Runtime entities database uses PostgreSQL on port 5433 for runtime operations
431
429
  INKEEP_AGENTS_RUN_DATABASE_URL=postgresql://appuser:password@localhost:5433/inkeep_agents
432
430
 
433
431
  # AI Provider Keys
@@ -439,12 +437,10 @@ AZURE_API_KEY=${config.azureKey || 'your-azure-key-here'}
439
437
  # Inkeep API URLs
440
438
  # Internal URLs (server-side, Docker internal networking)
441
439
  # Using 127.0.0.1 instead of localhost to avoid IPv6/IPv4 resolution issues
442
- INKEEP_AGENTS_MANAGE_API_URL="http://127.0.0.1:3002"
443
- INKEEP_AGENTS_RUN_API_URL="http://127.0.0.1:3003"
440
+ INKEEP_AGENTS_API_URL="http://127.0.0.1:3002"
444
441
 
445
442
  # Public URLs (client-side, browser accessible)
446
- PUBLIC_INKEEP_AGENTS_MANAGE_API_URL="http://127.0.0.1:3002"
447
- PUBLIC_INKEEP_AGENTS_RUN_API_URL="http://127.0.0.1:3003"
443
+ PUBLIC_INKEEP_AGENTS_API_URL="http://127.0.0.1:3002"
448
444
 
449
445
  # SigNoz Configuration
450
446
  SIGNOZ_URL=your-signoz-url-here
@@ -483,13 +479,10 @@ async function createInkeepConfig(config) {
483
479
 
484
480
  const config = defineConfig({
485
481
  tenantId: "${config.tenantId}",
486
- agentsManageApi: {
482
+ agentsApi: {
487
483
  // Using 127.0.0.1 instead of localhost to avoid IPv6/IPv4 resolution issues
488
484
  url: 'http://127.0.0.1:3002',
489
485
  },
490
- agentsRunApi: {
491
- url: 'http://127.0.0.1:3003',
492
- },
493
486
  });
494
487
 
495
488
  export default config;`;
@@ -588,11 +581,8 @@ async function isPortAvailable(port) {
588
581
  */
589
582
  function displayPortConflictError(unavailablePorts) {
590
583
  let errorMessage = '';
591
- if (unavailablePorts.runApi) {
592
- errorMessage += `${color.red(`Run API port ${runApiPort} is already in use`)}\n`;
593
- }
594
- if (unavailablePorts.manageApi) {
595
- errorMessage += `${color.red(`Manage API port ${manageApiPort} is already in use`)}\n`;
584
+ if (unavailablePorts.agentsApi) {
585
+ errorMessage += `${color.red(`Agents API port ${agentsApiPort} is already in use`)}\n`;
596
586
  }
597
587
  p.cancel(`\n${color.red('✗ Port conflicts detected')}\n\n` +
598
588
  `${errorMessage}\n` +
@@ -603,14 +593,10 @@ function displayPortConflictError(unavailablePorts) {
603
593
  * Check port availability and display errors if needed
604
594
  */
605
595
  async function checkPortsAvailability() {
606
- const [runApiAvailable, manageApiAvailable] = await Promise.all([
607
- isPortAvailable(Number(runApiPort)),
608
- isPortAvailable(Number(manageApiPort)),
609
- ]);
610
- if (!runApiAvailable || !manageApiAvailable) {
596
+ const [agentsApiAvailable] = await Promise.all([isPortAvailable(Number(agentsApiPort))]);
597
+ if (!agentsApiAvailable) {
611
598
  displayPortConflictError({
612
- runApi: !runApiAvailable,
613
- manageApi: !manageApiAvailable,
599
+ agentsApi: !agentsApiAvailable,
614
600
  });
615
601
  }
616
602
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/create-agents",
3
- "version": "0.0.0-dev-20260120230946",
3
+ "version": "0.0.0-dev-20260121022749",
4
4
  "description": "Create an Inkeep Agent Framework project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  "degit": "^2.8.4",
34
34
  "fs-extra": "^11.0.0",
35
35
  "picocolors": "^1.0.0",
36
- "@inkeep/agents-core": "0.0.0-dev-20260120230946"
36
+ "@inkeep/agents-core": "0.0.0-dev-20260121022749"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/degit": "^2.8.6",