@inkeep/agents-cli 0.19.2 → 0.19.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.
- package/dist/index.js +24 -24
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -78,23 +78,19 @@ var init_models = __esm({
|
|
|
78
78
|
"use strict";
|
|
79
79
|
init_esm_shims();
|
|
80
80
|
ANTHROPIC_MODELS = {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
|
|
82
|
+
CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
|
|
83
|
+
CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
|
|
84
|
+
CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022",
|
|
85
|
+
CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
|
|
86
86
|
};
|
|
87
87
|
OPENAI_MODELS = {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
GPT_4O: "gpt-4o",
|
|
95
|
-
GPT_4O_MINI: "gpt-4o-mini",
|
|
96
|
-
GPT_4_TURBO: "gpt-4-turbo",
|
|
97
|
-
GPT_3_5_TURBO: "gpt-3.5-turbo"
|
|
88
|
+
GPT_5_20250807: "openai/gpt-5-2025-08-07",
|
|
89
|
+
GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
|
|
90
|
+
GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
|
|
91
|
+
GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
|
|
92
|
+
GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
|
|
93
|
+
GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
|
|
98
94
|
};
|
|
99
95
|
GOOGLE_MODELS = {
|
|
100
96
|
GEMINI_2_5_PRO: "google/gemini-2.5-pro",
|
|
@@ -233541,12 +233537,12 @@ var init_projectFull = __esm({
|
|
|
233541
233537
|
"use strict";
|
|
233542
233538
|
init_esm_shims();
|
|
233543
233539
|
init_logger();
|
|
233540
|
+
init_agentFull2();
|
|
233544
233541
|
init_agents();
|
|
233545
233542
|
init_artifactComponents();
|
|
233546
233543
|
init_credentialReferences();
|
|
233547
233544
|
init_dataComponents();
|
|
233548
233545
|
init_functions();
|
|
233549
|
-
init_agentFull2();
|
|
233550
233546
|
init_projects();
|
|
233551
233547
|
init_tools();
|
|
233552
233548
|
defaultLogger = getLogger("projectFull");
|
|
@@ -234416,7 +234412,7 @@ ${errorText}`);
|
|
|
234416
234412
|
...emitOperations && { "x-emit-operations": "true" }
|
|
234417
234413
|
},
|
|
234418
234414
|
body: JSON.stringify({
|
|
234419
|
-
model: OPENAI_MODELS.
|
|
234415
|
+
model: OPENAI_MODELS.GPT_4_1_MINI_20250414,
|
|
234420
234416
|
// Required but will be overridden by graph config
|
|
234421
234417
|
messages: messages2,
|
|
234422
234418
|
conversationId,
|
|
@@ -235741,21 +235737,21 @@ var PROJECT_JSON_EXAMPLE = `
|
|
|
235741
235737
|
"description": "test test",
|
|
235742
235738
|
"models": {
|
|
235743
235739
|
"base": {
|
|
235744
|
-
"model": "${ANTHROPIC_MODELS.
|
|
235740
|
+
"model": "${ANTHROPIC_MODELS.CLAUDE_OPUS_4_1_20250805}",
|
|
235745
235741
|
"providerOptions": {
|
|
235746
235742
|
"temperature": 0.7,
|
|
235747
235743
|
"maxTokens": 2096
|
|
235748
235744
|
}
|
|
235749
235745
|
},
|
|
235750
235746
|
"structuredOutput": {
|
|
235751
|
-
"model": "${OPENAI_MODELS.
|
|
235747
|
+
"model": "${OPENAI_MODELS.GPT_4_1_MINI_20250414}",
|
|
235752
235748
|
"providerOptions": {
|
|
235753
235749
|
"temperature": 0.4,
|
|
235754
235750
|
"maxTokens": 2048
|
|
235755
235751
|
}
|
|
235756
235752
|
},
|
|
235757
235753
|
"summarizer": {
|
|
235758
|
-
"model": "${OPENAI_MODELS.
|
|
235754
|
+
"model": "${OPENAI_MODELS.GPT_5_NANO_20250807}",
|
|
235759
235755
|
"providerOptions": {
|
|
235760
235756
|
"temperature": 0.8,
|
|
235761
235757
|
"maxTokens": 1024
|
|
@@ -235815,7 +235811,7 @@ var PROJECT_JSON_EXAMPLE = `
|
|
|
235815
235811
|
"updatedAt": "2025-10-05T16:43:26.813Z",
|
|
235816
235812
|
"models": {
|
|
235817
235813
|
"base": {
|
|
235818
|
-
"model": "${ANTHROPIC_MODELS.
|
|
235814
|
+
"model": "${ANTHROPIC_MODELS.CLAUDE_SONNET_4_20250514}",
|
|
235819
235815
|
"providerOptions": {
|
|
235820
235816
|
"temperature": 0.5
|
|
235821
235817
|
}
|
|
@@ -236929,12 +236925,16 @@ async function pullProjectCommand(options) {
|
|
|
236929
236925
|
if (options.project) {
|
|
236930
236926
|
if (currentProjectId) {
|
|
236931
236927
|
spinner.fail("Conflicting project specification");
|
|
236932
|
-
console.error(
|
|
236928
|
+
console.error(
|
|
236929
|
+
chalk7.red("Error: Cannot specify --project argument when in a project directory")
|
|
236930
|
+
);
|
|
236933
236931
|
console.error(chalk7.yellow(` \u2022 Current directory project: ${currentProjectId}`));
|
|
236934
236932
|
console.error(chalk7.yellow(` \u2022 Specified project argument: ${options.project}`));
|
|
236935
236933
|
console.error(chalk7.gray("\nTo pull to this directory, run without --project argument:"));
|
|
236936
236934
|
console.error(chalk7.gray(" inkeep pull"));
|
|
236937
|
-
console.error(
|
|
236935
|
+
console.error(
|
|
236936
|
+
chalk7.gray("\nTo pull a different project, run from a non-project directory.")
|
|
236937
|
+
);
|
|
236938
236938
|
process.exit(1);
|
|
236939
236939
|
}
|
|
236940
236940
|
const projectIdFromPath = options.project.split("/").pop() || options.project;
|
|
@@ -237032,7 +237032,7 @@ async function pullProjectCommand(options) {
|
|
|
237032
237032
|
}
|
|
237033
237033
|
spinner.start("Generating project files with LLM...");
|
|
237034
237034
|
const modelSettings = {
|
|
237035
|
-
model: ANTHROPIC_MODELS.
|
|
237035
|
+
model: ANTHROPIC_MODELS.CLAUDE_SONNET_4_20250514
|
|
237036
237036
|
};
|
|
237037
237037
|
await generateProjectFiles(
|
|
237038
237038
|
dirs,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.4",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"recast": "^0.23.0",
|
|
47
47
|
"ts-morph": "^26.0.0",
|
|
48
48
|
"tsx": "^4.20.5",
|
|
49
|
-
"@inkeep/agents-core": "^0.19.
|
|
50
|
-
"@inkeep/agents-sdk": "^0.19.
|
|
49
|
+
"@inkeep/agents-core": "^0.19.4",
|
|
50
|
+
"@inkeep/agents-sdk": "^0.19.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/degit": "^2.8.6",
|