@inkeep/agents-sdk 0.22.0 → 0.22.2

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.cjs CHANGED
@@ -404,7 +404,9 @@ var FunctionTool = class {
404
404
  for (const dep in deps) {
405
405
  if (deps[dep] === false) {
406
406
  delete deps[dep];
407
- throw new Error(`Dependency \x1B[1;32m${dep}\x1B[0m used in function tool \x1B[1;32m${config.name}\x1B[0m is neither installed nor in dependencies object.`);
407
+ throw new Error(
408
+ `Dependency \x1B[1;32m${dep}\x1B[0m used in function tool \x1B[1;32m${config.name}\x1B[0m is neither installed nor in dependencies object.`
409
+ );
408
410
  }
409
411
  }
410
412
  this.config.dependencies = deps;
@@ -2087,7 +2089,6 @@ var Project = class {
2087
2089
  __publicField(this, "initialized", false);
2088
2090
  __publicField(this, "models");
2089
2091
  __publicField(this, "stopWhen");
2090
- __publicField(this, "sandboxConfig");
2091
2092
  __publicField(this, "agents", []);
2092
2093
  __publicField(this, "agentMap", /* @__PURE__ */ new Map());
2093
2094
  __publicField(this, "credentialReferences", []);
@@ -2101,7 +2102,6 @@ var Project = class {
2101
2102
  this.baseURL = process.env.INKEEP_API_URL || "http://localhost:3002";
2102
2103
  this.models = config.models;
2103
2104
  this.stopWhen = config.stopWhen;
2104
- this.sandboxConfig = config.sandboxConfig;
2105
2105
  if (config.agents) {
2106
2106
  this.agents = config.agents();
2107
2107
  this.agentMap = new Map(this.agents.map((agent2) => [agent2.getId(), agent2]));
@@ -2660,7 +2660,6 @@ var Project = class {
2660
2660
  description: this.projectDescription || "",
2661
2661
  models: this.models,
2662
2662
  stopWhen: this.stopWhen,
2663
- sandboxConfig: this.sandboxConfig,
2664
2663
  agents: agentsObject,
2665
2664
  tools: toolsObject,
2666
2665
  functions: Object.keys(functionsObject).length > 0 ? functionsObject : void 0,
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { ArtifactComponentInsert, MCPToolConfig as MCPToolConfig$1, DataComponentApiInsert, ArtifactComponentApiInsert, CredentialReferenceApiInsert, DataComponentInsert, CredentialReferenceSelect, FunctionToolConfig, SubAgentApiInsert, AgentConversationHistoryConfig, AgentStopWhen, ModelSettings, StatusUpdateSettings, FullAgentDefinition, ToolInsert, McpTransportConfig, StopWhen, SandboxConfig, FullProjectDefinition, StatusComponent as StatusComponent$1 } from '@inkeep/agents-core';
2
- export { ANTHROPIC_MODELS, FunctionToolConfig, GOOGLE_MODELS, ModelSettings, OPENAI_MODELS, SandboxConfig } from '@inkeep/agents-core';
1
+ import { ArtifactComponentInsert, MCPToolConfig as MCPToolConfig$1, DataComponentApiInsert, ArtifactComponentApiInsert, CredentialReferenceApiInsert, DataComponentInsert, CredentialReferenceSelect, FunctionToolConfig, SubAgentApiInsert, AgentConversationHistoryConfig, AgentStopWhen, ModelSettings, StatusUpdateSettings, FullAgentDefinition, ToolInsert, McpTransportConfig, StopWhen, FullProjectDefinition, StatusComponent as StatusComponent$1 } from '@inkeep/agents-core';
2
+ export { ANTHROPIC_MODELS, FunctionToolConfig, GOOGLE_MODELS, ModelSettings, OPENAI_MODELS } from '@inkeep/agents-core';
3
3
  import { z } from 'zod';
4
4
 
5
5
  type ArtifactComponentConfigWithZod = Omit<ArtifactComponentInsert, 'tenantId' | 'projectId' | 'props'> & {
@@ -756,7 +756,6 @@ interface ProjectConfig {
756
756
  summarizer?: ModelSettings;
757
757
  };
758
758
  stopWhen?: StopWhen;
759
- sandboxConfig?: SandboxConfig;
760
759
  agents?: () => Agent[];
761
760
  tools?: () => Tool[];
762
761
  dataComponents?: () => DataComponent[];
@@ -825,7 +824,6 @@ declare class Project implements ProjectInterface {
825
824
  private initialized;
826
825
  private models?;
827
826
  private stopWhen?;
828
- private sandboxConfig?;
829
827
  private agents;
830
828
  private agentMap;
831
829
  private credentialReferences?;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ArtifactComponentInsert, MCPToolConfig as MCPToolConfig$1, DataComponentApiInsert, ArtifactComponentApiInsert, CredentialReferenceApiInsert, DataComponentInsert, CredentialReferenceSelect, FunctionToolConfig, SubAgentApiInsert, AgentConversationHistoryConfig, AgentStopWhen, ModelSettings, StatusUpdateSettings, FullAgentDefinition, ToolInsert, McpTransportConfig, StopWhen, SandboxConfig, FullProjectDefinition, StatusComponent as StatusComponent$1 } from '@inkeep/agents-core';
2
- export { ANTHROPIC_MODELS, FunctionToolConfig, GOOGLE_MODELS, ModelSettings, OPENAI_MODELS, SandboxConfig } from '@inkeep/agents-core';
1
+ import { ArtifactComponentInsert, MCPToolConfig as MCPToolConfig$1, DataComponentApiInsert, ArtifactComponentApiInsert, CredentialReferenceApiInsert, DataComponentInsert, CredentialReferenceSelect, FunctionToolConfig, SubAgentApiInsert, AgentConversationHistoryConfig, AgentStopWhen, ModelSettings, StatusUpdateSettings, FullAgentDefinition, ToolInsert, McpTransportConfig, StopWhen, FullProjectDefinition, StatusComponent as StatusComponent$1 } from '@inkeep/agents-core';
2
+ export { ANTHROPIC_MODELS, FunctionToolConfig, GOOGLE_MODELS, ModelSettings, OPENAI_MODELS } from '@inkeep/agents-core';
3
3
  import { z } from 'zod';
4
4
 
5
5
  type ArtifactComponentConfigWithZod = Omit<ArtifactComponentInsert, 'tenantId' | 'projectId' | 'props'> & {
@@ -756,7 +756,6 @@ interface ProjectConfig {
756
756
  summarizer?: ModelSettings;
757
757
  };
758
758
  stopWhen?: StopWhen;
759
- sandboxConfig?: SandboxConfig;
760
759
  agents?: () => Agent[];
761
760
  tools?: () => Tool[];
762
761
  dataComponents?: () => DataComponent[];
@@ -825,7 +824,6 @@ declare class Project implements ProjectInterface {
825
824
  private initialized;
826
825
  private models?;
827
826
  private stopWhen?;
828
- private sandboxConfig?;
829
827
  private agents;
830
828
  private agentMap;
831
829
  private credentialReferences?;
package/dist/index.js CHANGED
@@ -377,7 +377,9 @@ var FunctionTool = class {
377
377
  for (const dep in deps) {
378
378
  if (deps[dep] === false) {
379
379
  delete deps[dep];
380
- throw new Error(`Dependency \x1B[1;32m${dep}\x1B[0m used in function tool \x1B[1;32m${config.name}\x1B[0m is neither installed nor in dependencies object.`);
380
+ throw new Error(
381
+ `Dependency \x1B[1;32m${dep}\x1B[0m used in function tool \x1B[1;32m${config.name}\x1B[0m is neither installed nor in dependencies object.`
382
+ );
381
383
  }
382
384
  }
383
385
  this.config.dependencies = deps;
@@ -2060,7 +2062,6 @@ var Project = class {
2060
2062
  __publicField(this, "initialized", false);
2061
2063
  __publicField(this, "models");
2062
2064
  __publicField(this, "stopWhen");
2063
- __publicField(this, "sandboxConfig");
2064
2065
  __publicField(this, "agents", []);
2065
2066
  __publicField(this, "agentMap", /* @__PURE__ */ new Map());
2066
2067
  __publicField(this, "credentialReferences", []);
@@ -2074,7 +2075,6 @@ var Project = class {
2074
2075
  this.baseURL = process.env.INKEEP_API_URL || "http://localhost:3002";
2075
2076
  this.models = config.models;
2076
2077
  this.stopWhen = config.stopWhen;
2077
- this.sandboxConfig = config.sandboxConfig;
2078
2078
  if (config.agents) {
2079
2079
  this.agents = config.agents();
2080
2080
  this.agentMap = new Map(this.agents.map((agent2) => [agent2.getId(), agent2]));
@@ -2633,7 +2633,6 @@ var Project = class {
2633
2633
  description: this.projectDescription || "",
2634
2634
  models: this.models,
2635
2635
  stopWhen: this.stopWhen,
2636
- sandboxConfig: this.sandboxConfig,
2637
2636
  agents: agentsObject,
2638
2637
  tools: toolsObject,
2639
2638
  functions: Object.keys(functionsObject).length > 0 ? functionsObject : void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-sdk",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "description": "Agents SDK for building and managing agents in the Inkeep Agent Framework",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -12,7 +12,7 @@
12
12
  "nanoid": "^5.1.5",
13
13
  "typescript": "^5.3.3",
14
14
  "zod": "^4.1.11",
15
- "@inkeep/agents-core": "^0.22.0"
15
+ "@inkeep/agents-core": "^0.22.2"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/js-yaml": "^4.0.9",