@inkeep/create-agents 0.26.2 → 0.27.0

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/dist/utils.js +5 -0
  2. package/package.json +2 -2
package/dist/utils.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { exec } from 'node:child_process';
2
+ import crypto from 'node:crypto';
2
3
  import path from 'node:path';
3
4
  import { promisify } from 'node:util';
4
5
  import * as p from '@clack/prompts';
@@ -260,6 +261,7 @@ async function createWorkspaceStructure() {
260
261
  async function createEnvironmentFiles(config) {
261
262
  // Convert to forward slashes for cross-platform SQLite URI compatibility
262
263
  const dbPath = process.cwd().replace(/\\/g, '/');
264
+ const jwtSigningSecret = crypto.randomBytes(32).toString('hex');
263
265
  const envContent = `# Environment
264
266
  ENVIRONMENT=development
265
267
 
@@ -285,6 +287,9 @@ OTEL_EXPORTER_OTLP_TRACES_HEADERS="signoz-ingestion-key=<your-ingestion-key>"
285
287
 
286
288
  # Nango Configuration
287
289
  NANGO_SECRET_KEY=
290
+
291
+ # JWT Signing Secret
292
+ INKEEP_AGENTS_JWT_SIGNING_SECRET=${jwtSigningSecret}
288
293
  `;
289
294
  await fs.writeFile('.env', envContent);
290
295
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/create-agents",
3
- "version": "0.26.2",
3
+ "version": "0.27.0",
4
4
  "description": "Create an Inkeep Agent Framework project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -34,7 +34,7 @@
34
34
  "fs-extra": "^11.0.0",
35
35
  "picocolors": "^1.0.0",
36
36
  "drizzle-kit": "^0.31.5",
37
- "@inkeep/agents-core": "0.26.2"
37
+ "@inkeep/agents-core": "0.27.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/degit": "^2.8.6",