@inkeep/create-agents 0.32.0 → 0.32.2
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.
|
@@ -34,7 +34,7 @@ describe('create-agents quickstart e2e', () => {
|
|
|
34
34
|
projectTemplatesPrefix,
|
|
35
35
|
], testDir);
|
|
36
36
|
// Verify the CLI completed successfully
|
|
37
|
-
expect(result.exitCode).toBe(0);
|
|
37
|
+
expect(result.exitCode, `CLI failed with exit code ${result.exitCode}\nstdout: ${result.stdout}\nstderr: ${result.stderr}`).toBe(0);
|
|
38
38
|
console.log('CLI completed successfully');
|
|
39
39
|
// Verify the core directory structure
|
|
40
40
|
console.log('Verifying directory structure...');
|
|
@@ -66,6 +66,9 @@ describe('create-agents quickstart e2e', () => {
|
|
|
66
66
|
console.log('Verifying inkeep.config.ts...');
|
|
67
67
|
await verifyFile(path.join(projectDir, 'src/inkeep.config.ts'));
|
|
68
68
|
console.log('inkeep.config.ts verified');
|
|
69
|
+
console.log('Setting up project in database');
|
|
70
|
+
await runCommand('pnpm', ['setup-dev'], projectDir);
|
|
71
|
+
console.log('Project setup in database');
|
|
69
72
|
console.log('Starting dev servers');
|
|
70
73
|
// Start dev servers in background with output monitoring
|
|
71
74
|
const devProcess = execa('pnpm', ['dev'], {
|
|
@@ -112,7 +115,7 @@ describe('create-agents quickstart e2e', () => {
|
|
|
112
115
|
'--config',
|
|
113
116
|
'src/inkeep.config.ts',
|
|
114
117
|
], projectDir, 30000);
|
|
115
|
-
expect(pushResult.exitCode).toBe(0);
|
|
118
|
+
expect(pushResult.exitCode, `Push failed with exit code ${pushResult.exitCode}\nstdout: ${pushResult.stdout}\nstderr: ${pushResult.stderr}`).toBe(0);
|
|
116
119
|
console.log('Testing API requests');
|
|
117
120
|
// Test API requests
|
|
118
121
|
const response = await fetch(`${manageApiUrl}/tenants/default/projects/${projectId}`);
|
|
@@ -129,7 +132,7 @@ describe('create-agents quickstart e2e', () => {
|
|
|
129
132
|
'--config',
|
|
130
133
|
'src/inkeep.config.ts',
|
|
131
134
|
], projectDir, 30000);
|
|
132
|
-
expect(pushResultLocal.exitCode).toBe(0);
|
|
135
|
+
expect(pushResultLocal.exitCode, `Push with local packages failed with exit code ${pushResultLocal.exitCode}\nstdout: ${pushResultLocal.stdout}\nstderr: ${pushResultLocal.stderr}`).toBe(0);
|
|
133
136
|
// Test that the project works with local packages
|
|
134
137
|
const responseLocal = await fetch(`${manageApiUrl}/tenants/default/projects/${projectId}`);
|
|
135
138
|
expect(responseLocal.status).toBe(200);
|
package/dist/utils.js
CHANGED
|
@@ -345,13 +345,6 @@ export const myProject = project({
|
|
|
345
345
|
}
|
|
346
346
|
async function installDependencies() {
|
|
347
347
|
await execAsync('pnpm install');
|
|
348
|
-
try {
|
|
349
|
-
await execAsync('pnpm upgrade-agents');
|
|
350
|
-
}
|
|
351
|
-
catch (error) {
|
|
352
|
-
console.warn('Warning: Package upgrade failed, continuing with current versions');
|
|
353
|
-
console.warn(error instanceof Error ? error.message : 'Unknown error');
|
|
354
|
-
}
|
|
355
348
|
}
|
|
356
349
|
async function initializeGit() {
|
|
357
350
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/create-agents",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.2",
|
|
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.32.
|
|
37
|
+
"@inkeep/agents-core": "0.32.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/degit": "^2.8.6",
|