@inkeep/agents-cli 0.50.1 → 0.50.4
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.
|
@@ -117,6 +117,10 @@ async function promptForModelConfiguration() {
|
|
|
117
117
|
}
|
|
118
118
|
];
|
|
119
119
|
const googleModels = [
|
|
120
|
+
{
|
|
121
|
+
label: "Gemini 3.1 Pro Preview",
|
|
122
|
+
value: GOOGLE_MODELS.GEMINI_3_1_PRO_PREVIEW
|
|
123
|
+
},
|
|
120
124
|
{
|
|
121
125
|
label: "Gemini 3 Pro Preview",
|
|
122
126
|
value: GOOGLE_MODELS.GEMINI_3_PRO_PREVIEW
|
package/dist/utils/templates.js
CHANGED
|
@@ -177,7 +177,7 @@ async function getAvailableTemplates(templatePath = "template-projects", local)
|
|
|
177
177
|
const fullTemplatePath = path.join(local, templatePath);
|
|
178
178
|
const items = await fs.readdir(fullTemplatePath);
|
|
179
179
|
const directories = [];
|
|
180
|
-
for (const item of items) if ((await fs.stat(path.join(fullTemplatePath, item))).isDirectory()
|
|
180
|
+
for (const item of items) if ((await fs.stat(path.join(fullTemplatePath, item))).isDirectory()) directories.push(item);
|
|
181
181
|
return directories;
|
|
182
182
|
}
|
|
183
183
|
const response = await fetch(`https://api.github.com/repos/inkeep/agents/contents/agents-cookbook/${templatePath}`);
|
|
@@ -189,7 +189,7 @@ async function getAvailableTemplates(templatePath = "template-projects", local)
|
|
|
189
189
|
throw new Error(`Failed to parse templates response. Please check your internet connection and try again. ${error}`);
|
|
190
190
|
}
|
|
191
191
|
if (!Array.isArray(contents)) throw new Error("Unexpected response format from templates. Please check your internet connection and try again");
|
|
192
|
-
return contents.filter((item) => item.type === "dir"
|
|
192
|
+
return contents.filter((item) => item.type === "dir").map((item) => item.name);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.4",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"tsx": "^4.20.5",
|
|
41
41
|
"yaml": "^2.7.0",
|
|
42
42
|
"zod": "^4.3.6",
|
|
43
|
-
"@inkeep/agents-
|
|
44
|
-
"@inkeep/agents-
|
|
43
|
+
"@inkeep/agents-core": "^0.50.4",
|
|
44
|
+
"@inkeep/agents-sdk": "^0.50.4"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/degit": "^2.8.6",
|