@inkeep/agents-cli 0.0.0-dev-20251125185858 → 0.0.0-dev-20251125213506

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/index.js +26 -12
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1061,8 +1061,8 @@ var init_env = __esm({
1061
1061
  "../packages/agents-core/src/env.ts"() {
1062
1062
  "use strict";
1063
1063
  init_esm_shims();
1064
- import_dotenv_expand = __toESM(require_main(), 1);
1065
1064
  init_dist4();
1065
+ import_dotenv_expand = __toESM(require_main(), 1);
1066
1066
  loadEnvironmentFiles = () => {
1067
1067
  const environmentFiles = [];
1068
1068
  const currentEnv = path2.resolve(process.cwd(), ".env");
@@ -1201,6 +1201,8 @@ var init_models = __esm({
1201
1201
  "use strict";
1202
1202
  init_esm_shims();
1203
1203
  ANTHROPIC_MODELS = {
1204
+ CLAUDE_OPUS_4_5: "anthropic/claude-opus-4-5",
1205
+ CLAUDE_OPUS_4_5_20251101: "anthropic/claude-opus-4-5-20251101",
1204
1206
  CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1",
1205
1207
  CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
1206
1208
  CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5",
@@ -1774,7 +1776,7 @@ var init_schema = __esm({
1774
1776
  };
1775
1777
  uiProperties = {
1776
1778
  name: varchar("name", { length: 256 }).notNull(),
1777
- description: text2("description").notNull()
1779
+ description: text2("description")
1778
1780
  };
1779
1781
  timestamps = {
1780
1782
  createdAt: timestamp2("created_at", { mode: "string" }).notNull().defaultNow(),
@@ -1871,7 +1873,7 @@ var init_schema = __esm({
1871
1873
  {
1872
1874
  ...agentScoped,
1873
1875
  ...uiProperties,
1874
- prompt: text2("prompt").notNull(),
1876
+ prompt: text2("prompt"),
1875
1877
  conversationHistoryConfig: jsonb("conversation_history_config").$type().default({
1876
1878
  mode: "full",
1877
1879
  limit: 50,
@@ -3585,7 +3587,7 @@ var init_schemas = __esm({
3585
3587
  RelatedAgentInfoSchema = z.object({
3586
3588
  id: z.string(),
3587
3589
  name: z.string(),
3588
- description: z.string()
3590
+ description: z.string().nullable()
3589
3591
  }).openapi("RelatedAgentInfo");
3590
3592
  ComponentAssociationSchema = z.object({
3591
3593
  subAgentId: z.string(),
@@ -3813,7 +3815,7 @@ var init_schemas = __esm({
3813
3815
  dataComponents: z.array(z.string()).optional(),
3814
3816
  artifactComponents: z.array(z.string()).optional(),
3815
3817
  canTransferTo: z.array(z.string()).optional(),
3816
- prompt: z.string().trim().nonempty(),
3818
+ prompt: z.string().trim().optional(),
3817
3819
  canDelegateTo: z.array(
3818
3820
  z.union([
3819
3821
  z.string(),
@@ -227423,13 +227425,13 @@ var init_mcp_client = __esm({
227423
227425
  "../packages/agents-core/src/utils/mcp-client.ts"() {
227424
227426
  "use strict";
227425
227427
  init_esm_shims();
227428
+ init_dist4();
227426
227429
  init_client2();
227427
227430
  init_sse();
227428
227431
  init_streamableHttp();
227429
227432
  init_protocol();
227430
227433
  init_types2();
227431
227434
  init_exit_hook();
227432
- init_dist4();
227433
227435
  init_execution_limits_shared();
227434
227436
  init_utility();
227435
227437
  }
@@ -245739,8 +245741,8 @@ var init_nango_store = __esm({
245739
245741
  "../packages/agents-core/src/credential-stores/nango-store.ts"() {
245740
245742
  "use strict";
245741
245743
  init_esm_shims();
245742
- init_dist12();
245743
245744
  init_dist4();
245745
+ init_dist12();
245744
245746
  init_types();
245745
245747
  init_logger();
245746
245748
  logger18 = getLogger("nango-credential-store");
@@ -253134,10 +253136,13 @@ function generateArtifactComponentDefinition(componentId, componentData, style =
253134
253136
  if (!componentData || typeof componentData !== "object") {
253135
253137
  throw new Error(`componentData is required for artifact component '${componentId}'`);
253136
253138
  }
253137
- const requiredFields = ["name", "description", "props"];
253139
+ const requiredFields = ["name"];
253138
253140
  const missingFields = requiredFields.filter(
253139
253141
  (field) => !componentData[field] || componentData[field] === null || componentData[field] === void 0
253140
253142
  );
253143
+ if (!componentData.props) {
253144
+ missingFields.push("props");
253145
+ }
253141
253146
  if (missingFields.length > 0) {
253142
253147
  throw new Error(
253143
253148
  `Missing required fields for artifact component '${componentId}': ${missingFields.join(", ")}`
@@ -253613,10 +253618,13 @@ function generateDataComponentDefinition(componentId, componentData, style = DEF
253613
253618
  if (!componentData || typeof componentData !== "object") {
253614
253619
  throw new Error(`componentData is required for data component '${componentId}'`);
253615
253620
  }
253616
- const requiredFields = ["name", "description", "props"];
253621
+ const requiredFields = ["name"];
253617
253622
  const missingFields = requiredFields.filter(
253618
253623
  (field) => !componentData[field] || componentData[field] === null || componentData[field] === void 0
253619
253624
  );
253625
+ if (!componentData.props) {
253626
+ missingFields.push("props");
253627
+ }
253620
253628
  if (missingFields.length > 0) {
253621
253629
  throw new Error(
253622
253630
  `Missing required fields for data component '${componentId}': ${missingFields.join(", ")}`
@@ -253907,7 +253915,7 @@ function generateExternalAgentDefinition(agentId, agentData, style = DEFAULT_STY
253907
253915
  if (!agentData || typeof agentData !== "object") {
253908
253916
  throw new Error(`agentData is required for external agent '${agentId}'`);
253909
253917
  }
253910
- const requiredFields = ["name", "description", "baseUrl"];
253918
+ const requiredFields = ["name", "baseUrl"];
253911
253919
  const missingFields = requiredFields.filter(
253912
253920
  (field) => !agentData[field] || agentData[field] === null || agentData[field] === void 0
253913
253921
  );
@@ -254054,10 +254062,16 @@ function generateFunctionToolDefinition(toolId, toolData, style = DEFAULT_STYLE6
254054
254062
  if (!toolData || typeof toolData !== "object") {
254055
254063
  throw new Error(`toolData is required for function tool '${toolId}'`);
254056
254064
  }
254057
- const requiredFields = ["name", "inputSchema", "executeCode"];
254065
+ const requiredFields = ["name"];
254058
254066
  const missingFields = requiredFields.filter(
254059
254067
  (field) => !toolData[field] || toolData[field] === null || toolData[field] === void 0
254060
254068
  );
254069
+ if (!toolData.inputSchema && !toolData.schema) {
254070
+ missingFields.push("inputSchema");
254071
+ }
254072
+ if (!toolData.executeCode && !toolData.execute) {
254073
+ missingFields.push("executeCode");
254074
+ }
254061
254075
  if (missingFields.length > 0) {
254062
254076
  throw new Error(
254063
254077
  `Missing required fields for function tool '${toolId}': ${missingFields.join(", ")}`
@@ -254564,7 +254578,7 @@ function generateSubAgentDefinition(agentId, agentData, style = DEFAULT_STYLE, r
254564
254578
  if (!agentData || typeof agentData !== "object") {
254565
254579
  throw new Error(`agentData is required for sub-agent '${agentId}'`);
254566
254580
  }
254567
- const requiredFields = ["name", "description", "prompt"];
254581
+ const requiredFields = ["name"];
254568
254582
  const missingFields = requiredFields.filter(
254569
254583
  (field) => !agentData[field] || agentData[field] === null || agentData[field] === void 0
254570
254584
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-cli",
3
- "version": "0.0.0-dev-20251125185858",
3
+ "version": "0.0.0-dev-20251125213506",
4
4
  "description": "Inkeep CLI tool",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -50,8 +50,8 @@
50
50
  "ts-morph": "^26.0.0",
51
51
  "tsx": "^4.20.5",
52
52
  "open": "^10.2.0",
53
- "@inkeep/agents-core": "^0.0.0-dev-20251125185858",
54
- "@inkeep/agents-sdk": "^0.0.0-dev-20251125185858"
53
+ "@inkeep/agents-core": "^0.0.0-dev-20251125213506",
54
+ "@inkeep/agents-sdk": "^0.0.0-dev-20251125213506"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/degit": "^2.8.6",
@@ -64,7 +64,7 @@
64
64
  "vitest": "^3.2.4"
65
65
  },
66
66
  "peerDependencies": {
67
- "@inkeep/agents-manage-ui": "0.0.0-dev-20251125185858",
67
+ "@inkeep/agents-manage-ui": "0.0.0-dev-20251125213506",
68
68
  "zod": "^4.1.11"
69
69
  },
70
70
  "engines": {