@inkeep/agents-sdk 0.0.0-dev-20250924214135 → 0.0.0-dev-20250925023031
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 +0 -17
- package/dist/index.d.cts +2 -38
- package/dist/index.d.ts +2 -38
- package/dist/index.js +1 -15
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3203,20 +3203,6 @@ function transfer(targetAgent, description, condition) {
|
|
|
3203
3203
|
return config;
|
|
3204
3204
|
}
|
|
3205
3205
|
|
|
3206
|
-
// src/default-status-schemas.ts
|
|
3207
|
-
var retrieveStatusSchema = {
|
|
3208
|
-
type: "retrieve",
|
|
3209
|
-
description: 'Use this when the system found or retrieved specific information from searches, queries, or lookups. ONLY report ACTUAL findings that appear explicitly in the tool results - never make up data, names, numbers, or details. The label must state the SPECIFIC discovery (e.g., "Found 3 authentication methods", "Database contains 500 records", "API supports JSON format") not the act of searching. Every detail must be traceable to actual tool output. NEVER invent placeholder names, fictional data, or information not present in the activities.'
|
|
3210
|
-
};
|
|
3211
|
-
var actionStatusSchema = {
|
|
3212
|
-
type: "action",
|
|
3213
|
-
description: 'Use this when the system executed a tool or performed an operation that modified state or had side effects. ONLY report ACTUAL tool executions and their results as they appear in the tool outputs - never make up tool names, parameters, or outcomes. The label must describe what specific action was performed and its concrete result based on actual tool execution data. DO NOT make up examples like "Ran test suite with X passes" unless a test suite was ACTUALLY run and reported X passes. DO NOT say "Executed database query" unless a database query was ACTUALLY executed. Only report what literally happened. NEVER invent tool names, execution results, or details not explicitly present in the tool execution activities. If a tool failed, report the actual failure, not imagined success.'
|
|
3214
|
-
};
|
|
3215
|
-
var defaultStatusSchemas = [
|
|
3216
|
-
retrieveStatusSchema,
|
|
3217
|
-
actionStatusSchema
|
|
3218
|
-
];
|
|
3219
|
-
|
|
3220
3206
|
// src/environment-settings.ts
|
|
3221
3207
|
function createEnvironmentSettings(environments) {
|
|
3222
3208
|
return {
|
|
@@ -3445,7 +3431,6 @@ exports.ExternalAgent = ExternalAgent;
|
|
|
3445
3431
|
exports.Project = Project;
|
|
3446
3432
|
exports.Runner = Runner;
|
|
3447
3433
|
exports.Tool = Tool;
|
|
3448
|
-
exports.actionStatusSchema = actionStatusSchema;
|
|
3449
3434
|
exports.agent = agent;
|
|
3450
3435
|
exports.agentGraph = agentGraph;
|
|
3451
3436
|
exports.agentMcp = agentMcp;
|
|
@@ -3454,7 +3439,6 @@ exports.createEnvironmentSettings = createEnvironmentSettings;
|
|
|
3454
3439
|
exports.createFullProjectViaAPI = createFullProjectViaAPI;
|
|
3455
3440
|
exports.credential = credential;
|
|
3456
3441
|
exports.dataComponent = dataComponent;
|
|
3457
|
-
exports.defaultStatusSchemas = defaultStatusSchemas;
|
|
3458
3442
|
exports.deleteFullProjectViaAPI = deleteFullProjectViaAPI;
|
|
3459
3443
|
exports.externalAgent = externalAgent;
|
|
3460
3444
|
exports.externalAgents = externalAgents;
|
|
@@ -3464,7 +3448,6 @@ exports.mcpTool = mcpTool;
|
|
|
3464
3448
|
exports.project = project;
|
|
3465
3449
|
exports.raceGraphs = raceGraphs;
|
|
3466
3450
|
exports.registerEnvironmentSettings = registerEnvironmentSettings;
|
|
3467
|
-
exports.retrieveStatusSchema = retrieveStatusSchema;
|
|
3468
3451
|
exports.run = run;
|
|
3469
3452
|
exports.stream = stream;
|
|
3470
3453
|
exports.transfer = transfer;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MCPToolConfig as MCPToolConfig$1, CredentialReferenceApiInsert, MCPTransportType, CredentialReferenceSelect, AgentApiInsert, AgentStopWhen, DataComponentApiInsert, ArtifactComponentApiInsert, AgentConversationHistoryConfig, GraphStopWhen, ToolInsert, McpTransportConfig, ArtifactComponentInsert, DataComponentInsert, StopWhen, FullProjectDefinition } from '@inkeep/agents-core';
|
|
1
|
+
import { MCPToolConfig as MCPToolConfig$1, CredentialReferenceApiInsert, MCPTransportType, CredentialReferenceSelect, AgentApiInsert, AgentStopWhen, DataComponentApiInsert, ArtifactComponentApiInsert, AgentConversationHistoryConfig, GraphStopWhen, StatusUpdateSettings, ToolInsert, McpTransportConfig, ArtifactComponentInsert, DataComponentInsert, StopWhen, FullProjectDefinition } from '@inkeep/agents-core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
interface ToolInterface {
|
|
@@ -311,23 +311,6 @@ interface RunResult {
|
|
|
311
311
|
transfers: TransferConfig[];
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
|
-
interface StatusComponent {
|
|
315
|
-
type: string;
|
|
316
|
-
description?: string;
|
|
317
|
-
detailsSchema?: {
|
|
318
|
-
type: 'object';
|
|
319
|
-
properties: Record<string, any>;
|
|
320
|
-
required?: string[];
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
interface StatusUpdateSettings {
|
|
324
|
-
enabled?: boolean;
|
|
325
|
-
numEvents?: number;
|
|
326
|
-
timeInSeconds?: number;
|
|
327
|
-
model?: string;
|
|
328
|
-
statusComponents?: StatusComponent[];
|
|
329
|
-
prompt?: string;
|
|
330
|
-
}
|
|
331
314
|
interface GraphConfig {
|
|
332
315
|
id: string;
|
|
333
316
|
name?: string;
|
|
@@ -1064,25 +1047,6 @@ declare function artifactComponent(config: ArtifactComponentConfig): ArtifactCom
|
|
|
1064
1047
|
declare function dataComponent(config: DataComponentConfig): DataComponent;
|
|
1065
1048
|
declare function agentMcp(config: AgentMcpConfig): AgentMcpConfig;
|
|
1066
1049
|
|
|
1067
|
-
/**
|
|
1068
|
-
* Default status component schemas for AI agent operations
|
|
1069
|
-
*/
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* Schema for retrieve operations - when agents are looking up, searching,
|
|
1073
|
-
* or researching information in web or downstream services
|
|
1074
|
-
*/
|
|
1075
|
-
declare const retrieveStatusSchema: StatusComponent;
|
|
1076
|
-
/**
|
|
1077
|
-
* Schema for action operations - when agents are using tools or delegating
|
|
1078
|
-
* tasks with side-effects to update, create, or modify downstream services
|
|
1079
|
-
*/
|
|
1080
|
-
declare const actionStatusSchema: StatusComponent;
|
|
1081
|
-
/**
|
|
1082
|
-
* Default status component schemas collection
|
|
1083
|
-
*/
|
|
1084
|
-
declare const defaultStatusSchemas: StatusComponent[];
|
|
1085
|
-
|
|
1086
1050
|
interface EnvironmentSettingsConfig {
|
|
1087
1051
|
credentials?: {
|
|
1088
1052
|
[settingId: string]: CredentialReferenceApiInsert;
|
|
@@ -1158,4 +1122,4 @@ declare const run: typeof Runner.run;
|
|
|
1158
1122
|
declare const stream: typeof Runner.stream;
|
|
1159
1123
|
declare const raceGraphs: typeof Runner.raceGraphs;
|
|
1160
1124
|
|
|
1161
|
-
export { Agent, type AgentCanUseType, type AgentConfig, AgentError, type AgentInterface, type AgentResponse, type AllAgentInterface, ArtifactComponent, type AssistantMessage, type BuilderAgentConfig, type BuilderRelationConfig, type BuilderToolConfig, DataComponent, ExternalAgent, type ExternalAgentInterface, type FetchDefinitionConfig, type GenerateOptions, type GraphConfig, type GraphInterface, type MCPToolConfig, MaxTurnsExceededError, type Message, type MessageInput, type ModelSettings, ModelSettingsSchema, Project, type RequestSchemaConfig, type RequestSchemaDefinition, type RunResult, Runner, type ServerConfig, type
|
|
1125
|
+
export { Agent, type AgentCanUseType, type AgentConfig, AgentError, type AgentInterface, type AgentResponse, type AllAgentInterface, ArtifactComponent, type AssistantMessage, type BuilderAgentConfig, type BuilderRelationConfig, type BuilderToolConfig, DataComponent, ExternalAgent, type ExternalAgentInterface, type FetchDefinitionConfig, type GenerateOptions, type GraphConfig, type GraphInterface, type MCPToolConfig, MaxTurnsExceededError, type Message, type MessageInput, type ModelSettings, ModelSettingsSchema, Project, type RequestSchemaConfig, type RequestSchemaDefinition, type RunResult, Runner, type ServerConfig, type StreamEvent, type StreamResponse, type SystemMessage, Tool, type ToolCall, type ToolConfig, ToolExecutionError, type ToolMessage, type ToolResult, type TransferConfig, TransferError, type UserMessage, agent, agentGraph, agentMcp, artifactComponent, createEnvironmentSettings, createFullProjectViaAPI, credential, dataComponent, deleteFullProjectViaAPI, externalAgent, externalAgents, getFullProjectViaAPI, mcpServer, mcpTool, project, raceGraphs, registerEnvironmentSettings, run, stream, transfer, updateFullProjectViaAPI };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MCPToolConfig as MCPToolConfig$1, CredentialReferenceApiInsert, MCPTransportType, CredentialReferenceSelect, AgentApiInsert, AgentStopWhen, DataComponentApiInsert, ArtifactComponentApiInsert, AgentConversationHistoryConfig, GraphStopWhen, ToolInsert, McpTransportConfig, ArtifactComponentInsert, DataComponentInsert, StopWhen, FullProjectDefinition } from '@inkeep/agents-core';
|
|
1
|
+
import { MCPToolConfig as MCPToolConfig$1, CredentialReferenceApiInsert, MCPTransportType, CredentialReferenceSelect, AgentApiInsert, AgentStopWhen, DataComponentApiInsert, ArtifactComponentApiInsert, AgentConversationHistoryConfig, GraphStopWhen, StatusUpdateSettings, ToolInsert, McpTransportConfig, ArtifactComponentInsert, DataComponentInsert, StopWhen, FullProjectDefinition } from '@inkeep/agents-core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
interface ToolInterface {
|
|
@@ -311,23 +311,6 @@ interface RunResult {
|
|
|
311
311
|
transfers: TransferConfig[];
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
|
-
interface StatusComponent {
|
|
315
|
-
type: string;
|
|
316
|
-
description?: string;
|
|
317
|
-
detailsSchema?: {
|
|
318
|
-
type: 'object';
|
|
319
|
-
properties: Record<string, any>;
|
|
320
|
-
required?: string[];
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
interface StatusUpdateSettings {
|
|
324
|
-
enabled?: boolean;
|
|
325
|
-
numEvents?: number;
|
|
326
|
-
timeInSeconds?: number;
|
|
327
|
-
model?: string;
|
|
328
|
-
statusComponents?: StatusComponent[];
|
|
329
|
-
prompt?: string;
|
|
330
|
-
}
|
|
331
314
|
interface GraphConfig {
|
|
332
315
|
id: string;
|
|
333
316
|
name?: string;
|
|
@@ -1064,25 +1047,6 @@ declare function artifactComponent(config: ArtifactComponentConfig): ArtifactCom
|
|
|
1064
1047
|
declare function dataComponent(config: DataComponentConfig): DataComponent;
|
|
1065
1048
|
declare function agentMcp(config: AgentMcpConfig): AgentMcpConfig;
|
|
1066
1049
|
|
|
1067
|
-
/**
|
|
1068
|
-
* Default status component schemas for AI agent operations
|
|
1069
|
-
*/
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* Schema for retrieve operations - when agents are looking up, searching,
|
|
1073
|
-
* or researching information in web or downstream services
|
|
1074
|
-
*/
|
|
1075
|
-
declare const retrieveStatusSchema: StatusComponent;
|
|
1076
|
-
/**
|
|
1077
|
-
* Schema for action operations - when agents are using tools or delegating
|
|
1078
|
-
* tasks with side-effects to update, create, or modify downstream services
|
|
1079
|
-
*/
|
|
1080
|
-
declare const actionStatusSchema: StatusComponent;
|
|
1081
|
-
/**
|
|
1082
|
-
* Default status component schemas collection
|
|
1083
|
-
*/
|
|
1084
|
-
declare const defaultStatusSchemas: StatusComponent[];
|
|
1085
|
-
|
|
1086
1050
|
interface EnvironmentSettingsConfig {
|
|
1087
1051
|
credentials?: {
|
|
1088
1052
|
[settingId: string]: CredentialReferenceApiInsert;
|
|
@@ -1158,4 +1122,4 @@ declare const run: typeof Runner.run;
|
|
|
1158
1122
|
declare const stream: typeof Runner.stream;
|
|
1159
1123
|
declare const raceGraphs: typeof Runner.raceGraphs;
|
|
1160
1124
|
|
|
1161
|
-
export { Agent, type AgentCanUseType, type AgentConfig, AgentError, type AgentInterface, type AgentResponse, type AllAgentInterface, ArtifactComponent, type AssistantMessage, type BuilderAgentConfig, type BuilderRelationConfig, type BuilderToolConfig, DataComponent, ExternalAgent, type ExternalAgentInterface, type FetchDefinitionConfig, type GenerateOptions, type GraphConfig, type GraphInterface, type MCPToolConfig, MaxTurnsExceededError, type Message, type MessageInput, type ModelSettings, ModelSettingsSchema, Project, type RequestSchemaConfig, type RequestSchemaDefinition, type RunResult, Runner, type ServerConfig, type
|
|
1125
|
+
export { Agent, type AgentCanUseType, type AgentConfig, AgentError, type AgentInterface, type AgentResponse, type AllAgentInterface, ArtifactComponent, type AssistantMessage, type BuilderAgentConfig, type BuilderRelationConfig, type BuilderToolConfig, DataComponent, ExternalAgent, type ExternalAgentInterface, type FetchDefinitionConfig, type GenerateOptions, type GraphConfig, type GraphInterface, type MCPToolConfig, MaxTurnsExceededError, type Message, type MessageInput, type ModelSettings, ModelSettingsSchema, Project, type RequestSchemaConfig, type RequestSchemaDefinition, type RunResult, Runner, type ServerConfig, type StreamEvent, type StreamResponse, type SystemMessage, Tool, type ToolCall, type ToolConfig, ToolExecutionError, type ToolMessage, type ToolResult, type TransferConfig, TransferError, type UserMessage, agent, agentGraph, agentMcp, artifactComponent, createEnvironmentSettings, createFullProjectViaAPI, credential, dataComponent, deleteFullProjectViaAPI, externalAgent, externalAgents, getFullProjectViaAPI, mcpServer, mcpTool, project, raceGraphs, registerEnvironmentSettings, run, stream, transfer, updateFullProjectViaAPI };
|
package/dist/index.js
CHANGED
|
@@ -3201,20 +3201,6 @@ function transfer(targetAgent, description, condition) {
|
|
|
3201
3201
|
return config;
|
|
3202
3202
|
}
|
|
3203
3203
|
|
|
3204
|
-
// src/default-status-schemas.ts
|
|
3205
|
-
var retrieveStatusSchema = {
|
|
3206
|
-
type: "retrieve",
|
|
3207
|
-
description: 'Use this when the system found or retrieved specific information from searches, queries, or lookups. ONLY report ACTUAL findings that appear explicitly in the tool results - never make up data, names, numbers, or details. The label must state the SPECIFIC discovery (e.g., "Found 3 authentication methods", "Database contains 500 records", "API supports JSON format") not the act of searching. Every detail must be traceable to actual tool output. NEVER invent placeholder names, fictional data, or information not present in the activities.'
|
|
3208
|
-
};
|
|
3209
|
-
var actionStatusSchema = {
|
|
3210
|
-
type: "action",
|
|
3211
|
-
description: 'Use this when the system executed a tool or performed an operation that modified state or had side effects. ONLY report ACTUAL tool executions and their results as they appear in the tool outputs - never make up tool names, parameters, or outcomes. The label must describe what specific action was performed and its concrete result based on actual tool execution data. DO NOT make up examples like "Ran test suite with X passes" unless a test suite was ACTUALLY run and reported X passes. DO NOT say "Executed database query" unless a database query was ACTUALLY executed. Only report what literally happened. NEVER invent tool names, execution results, or details not explicitly present in the tool execution activities. If a tool failed, report the actual failure, not imagined success.'
|
|
3212
|
-
};
|
|
3213
|
-
var defaultStatusSchemas = [
|
|
3214
|
-
retrieveStatusSchema,
|
|
3215
|
-
actionStatusSchema
|
|
3216
|
-
];
|
|
3217
|
-
|
|
3218
3204
|
// src/environment-settings.ts
|
|
3219
3205
|
function createEnvironmentSettings(environments) {
|
|
3220
3206
|
return {
|
|
@@ -3436,4 +3422,4 @@ var run = Runner.run.bind(Runner);
|
|
|
3436
3422
|
var stream = Runner.stream.bind(Runner);
|
|
3437
3423
|
var raceGraphs = Runner.raceGraphs.bind(Runner);
|
|
3438
3424
|
|
|
3439
|
-
export { Agent, ArtifactComponent, DataComponent, ExternalAgent, Project, Runner, Tool,
|
|
3425
|
+
export { Agent, ArtifactComponent, DataComponent, ExternalAgent, Project, Runner, Tool, agent, agentGraph, agentMcp, artifactComponent, createEnvironmentSettings, createFullProjectViaAPI, credential, dataComponent, deleteFullProjectViaAPI, externalAgent, externalAgents, getFullProjectViaAPI, mcpServer, mcpTool, project, raceGraphs, registerEnvironmentSettings, run, stream, transfer, updateFullProjectViaAPI };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-sdk",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20250925023031",
|
|
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",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"nanoid": "^5.1.5",
|
|
10
10
|
"zod": "^4.1.5",
|
|
11
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
11
|
+
"@inkeep/agents-core": "^0.0.0-dev-20250925023031"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@types/node": "^20.11.24",
|