@inkeep/create-agents 0.32.2 → 0.33.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.
- package/dist/templates.js +4 -6
- package/dist/utils.js +5 -0
- package/package.json +2 -2
package/dist/templates.js
CHANGED
|
@@ -259,10 +259,8 @@ export async function getAvailableTemplates(localPrefix) {
|
|
|
259
259
|
const response = await fs.readdir(fullTemplatePath);
|
|
260
260
|
return response.filter((item) => fs.stat(path.join(fullTemplatePath, item)).then((stat) => stat.isDirectory()));
|
|
261
261
|
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
return contents.filter((item) => item.type === 'dir').map((item) => item.name);
|
|
267
|
-
}
|
|
262
|
+
// Fetch the list of templates from your repo
|
|
263
|
+
const response = await fetch(`https://api.github.com/repos/inkeep/agents/contents/agents-cookbook/template-projects`);
|
|
264
|
+
const contents = await response.json();
|
|
265
|
+
return contents.filter((item) => item.type === 'dir').map((item) => item.name);
|
|
268
266
|
}
|
package/dist/utils.js
CHANGED
|
@@ -293,9 +293,14 @@ OPENAI_API_KEY=${config.openAiKey || 'your-openai-key-here'}
|
|
|
293
293
|
GOOGLE_GENERATIVE_AI_API_KEY=${config.googleKey || 'your-google-key-here'}
|
|
294
294
|
|
|
295
295
|
# Inkeep API URLs
|
|
296
|
+
# Internal URLs (server-side, Docker internal networking)
|
|
296
297
|
INKEEP_AGENTS_MANAGE_API_URL="http://localhost:3002"
|
|
297
298
|
INKEEP_AGENTS_RUN_API_URL="http://localhost:3003"
|
|
298
299
|
|
|
300
|
+
# Public URLs (client-side, browser accessible)
|
|
301
|
+
PUBLIC_INKEEP_AGENTS_MANAGE_API_URL="http://localhost:3002"
|
|
302
|
+
PUBLIC_INKEEP_AGENTS_RUN_API_URL="http://localhost:3003"
|
|
303
|
+
|
|
299
304
|
# SigNoz Configuration
|
|
300
305
|
SIGNOZ_URL=your-signoz-url-here
|
|
301
306
|
SIGNOZ_API_KEY=your-signoz-api-key-here
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/create-agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
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.
|
|
37
|
+
"@inkeep/agents-core": "0.33.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/degit": "^2.8.6",
|