@inkeep/create-agents 0.58.3 → 0.58.5

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.
@@ -90,7 +90,7 @@ describe('create-agents quickstart e2e', () => {
90
90
  console.log('Local monorepo packages linked and dependencies installed');
91
91
  console.log('Setting up project in database');
92
92
  // Pass bypass secret so setup-dev:cloud's internal push can authenticate
93
- await runCommand({
93
+ const setupResult = await runCommand({
94
94
  command: 'pnpm',
95
95
  args: ['setup-dev:cloud'],
96
96
  cwd: projectDir,
@@ -103,6 +103,7 @@ describe('create-agents quickstart e2e', () => {
103
103
  },
104
104
  stream: true,
105
105
  });
106
+ expect(setupResult.exitCode, `setup-dev:cloud failed. exitCode: ${setupResult.exitCode}\nstdout: ${setupResult.stdout}\nstderr: ${setupResult.stderr}`).toBe(0);
106
107
  // Run auth init separately to create the "default" organization and admin user.
107
108
  // setup-dev:cloud may exit early if its internal migrations fail (e.g. when CI
108
109
  // already applied migrations from the monorepo root), skipping auth init entirely.
@@ -241,12 +241,25 @@ export async function startDashboardServer(projectDir, env = {}) {
241
241
  const manageUiPkgJson = path.join(projectDir, 'node_modules/@inkeep/agents-manage-ui/package.json');
242
242
  // Resolve symlinks so linked packages (link:) point to the actual monorepo directory
243
243
  const manageUiRoot = await fs.realpath(path.dirname(manageUiPkgJson));
244
- const standaloneDir = path.join(manageUiRoot, '.next/standalone/agents-manage-ui');
245
- const serverEntry = path.join(standaloneDir, 'server.js');
246
- if (!(await fs.pathExists(serverEntry))) {
244
+ const standaloneBase = path.join(manageUiRoot, '.next/standalone');
245
+ const candidates = [
246
+ path.join(standaloneBase, 'agents-manage-ui', 'server.js'),
247
+ path.join(standaloneBase, 'agents', 'agents-manage-ui', 'server.js'),
248
+ ];
249
+ let serverEntry = null;
250
+ let standaloneDir = null;
251
+ for (const entry of candidates) {
252
+ if (await fs.pathExists(entry)) {
253
+ serverEntry = entry;
254
+ standaloneDir = path.dirname(entry);
255
+ break;
256
+ }
257
+ }
258
+ if (!serverEntry || !standaloneDir) {
247
259
  const originalPath = path.dirname(manageUiPkgJson);
248
- throw new Error(`Dashboard standalone server not found at ${serverEntry}` +
249
- (originalPath !== manageUiRoot ? ` (symlink resolved from ${originalPath})` : '') +
260
+ throw new Error(`Dashboard standalone server not found (tried ${candidates.join(', ')}). ` +
261
+ `Resolved package root: ${manageUiRoot}` +
262
+ (originalPath !== manageUiRoot ? ` (symlink from ${originalPath})` : '') +
250
263
  `. Ensure the package is built with 'output: standalone' (run turbo build).`);
251
264
  }
252
265
  const child = fork(serverEntry, [], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/create-agents",
3
- "version": "0.58.3",
3
+ "version": "0.58.5",
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.58.3"
36
+ "@inkeep/agents-core": "0.58.5"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/degit": "^2.8.6",