@inkeep/create-agents 0.0.0-dev-20251112202138 → 0.0.0-dev-20251112212749
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/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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/create-agents",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251112212749",
|
|
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.0.0-dev-
|
|
37
|
+
"@inkeep/agents-core": "0.0.0-dev-20251112212749"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/degit": "^2.8.6",
|