@inkeep/agents-cli 0.0.0-dev-20251014185934 → 0.0.0-dev-20251014190820
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 +0 -27
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1618,11 +1618,8 @@ var init_schema = __esm({
|
|
|
1618
1618
|
{
|
|
1619
1619
|
...tenantScoped,
|
|
1620
1620
|
...uiProperties,
|
|
1621
|
-
// Project-level default model settings that can be inherited by agents
|
|
1622
1621
|
models: text("models", { mode: "json" }).$type(),
|
|
1623
|
-
// Project-level stopWhen configuration that can be inherited by agents
|
|
1624
1622
|
stopWhen: text("stop_when", { mode: "json" }).$type(),
|
|
1625
|
-
// Project-level sandbox configuration for function execution
|
|
1626
1623
|
sandboxConfig: text("sandbox_config", { mode: "json" }).$type(),
|
|
1627
1624
|
...timestamps
|
|
1628
1625
|
},
|
|
@@ -1655,9 +1652,7 @@ var init_schema = __esm({
|
|
|
1655
1652
|
"context_configs",
|
|
1656
1653
|
{
|
|
1657
1654
|
...agentScoped,
|
|
1658
|
-
// Developer-defined Zod schema for validating incoming request context
|
|
1659
1655
|
headersSchema: blob("headers_schema", { mode: "json" }).$type(),
|
|
1660
|
-
// Object mapping template keys to fetch definitions that use request context data
|
|
1661
1656
|
contextVariables: blob("context_variables", { mode: "json" }).$type(),
|
|
1662
1657
|
...timestamps
|
|
1663
1658
|
},
|
|
@@ -1674,15 +1669,11 @@ var init_schema = __esm({
|
|
|
1674
1669
|
"context_cache",
|
|
1675
1670
|
{
|
|
1676
1671
|
...projectScoped,
|
|
1677
|
-
// Always scoped to conversation for complete data isolation
|
|
1678
1672
|
conversationId: text("conversation_id").notNull(),
|
|
1679
|
-
// Reference to the context config and specific fetch definition
|
|
1680
1673
|
contextConfigId: text("context_config_id").notNull(),
|
|
1681
1674
|
contextVariableKey: text("context_variable_key").notNull(),
|
|
1682
1675
|
value: blob("value", { mode: "json" }).$type().notNull(),
|
|
1683
|
-
// Request hash for cache invalidation based on context changes
|
|
1684
1676
|
requestHash: text("request_hash"),
|
|
1685
|
-
// Metadata for monitoring and debugging
|
|
1686
1677
|
fetchedAt: text("fetched_at").notNull(),
|
|
1687
1678
|
fetchSource: text("fetch_source"),
|
|
1688
1679
|
fetchDurationMs: integer("fetch_duration_ms"),
|
|
@@ -1729,9 +1720,7 @@ var init_schema = __esm({
|
|
|
1729
1720
|
{
|
|
1730
1721
|
...agentScoped,
|
|
1731
1722
|
sourceSubAgentId: text("source_sub_agent_id").notNull(),
|
|
1732
|
-
// For internal relationships
|
|
1733
1723
|
targetSubAgentId: text("target_sub_agent_id"),
|
|
1734
|
-
// For external relationships
|
|
1735
1724
|
externalSubAgentId: text("external_sub_agent_id"),
|
|
1736
1725
|
relationType: text("relation_type"),
|
|
1737
1726
|
...timestamps
|
|
@@ -1900,9 +1889,7 @@ var init_schema = __esm({
|
|
|
1900
1889
|
config: blob("config", { mode: "json" }).$type().notNull(),
|
|
1901
1890
|
credentialReferenceId: text("credential_reference_id"),
|
|
1902
1891
|
headers: blob("headers", { mode: "json" }).$type(),
|
|
1903
|
-
// Image URL for custom tool icon (supports regular URLs and base64 encoded images)
|
|
1904
1892
|
imageUrl: text("image_url"),
|
|
1905
|
-
// Server capabilities and status (only for MCP tools)
|
|
1906
1893
|
capabilities: blob("capabilities", { mode: "json" }).$type(),
|
|
1907
1894
|
lastError: text("last_error"),
|
|
1908
1895
|
...timestamps
|
|
@@ -1932,7 +1919,6 @@ var init_schema = __esm({
|
|
|
1932
1919
|
foreignColumns: [agents.tenantId, agents.projectId, agents.id],
|
|
1933
1920
|
name: "function_tools_agent_fk"
|
|
1934
1921
|
}).onDelete("cascade"),
|
|
1935
|
-
// Foreign key constraint to functions table
|
|
1936
1922
|
foreignKey({
|
|
1937
1923
|
columns: [table.tenantId, table.projectId, table.functionId],
|
|
1938
1924
|
foreignColumns: [functions.tenantId, functions.projectId, functions.id],
|
|
@@ -1990,13 +1976,11 @@ var init_schema = __esm({
|
|
|
1990
1976
|
},
|
|
1991
1977
|
(table) => [
|
|
1992
1978
|
primaryKey({ columns: [table.tenantId, table.projectId, table.agentId, table.id] }),
|
|
1993
|
-
// Foreign key constraint to sub_agents table
|
|
1994
1979
|
foreignKey({
|
|
1995
1980
|
columns: [table.tenantId, table.projectId, table.agentId, table.subAgentId],
|
|
1996
1981
|
foreignColumns: [subAgents.tenantId, subAgents.projectId, subAgents.agentId, subAgents.id],
|
|
1997
1982
|
name: "sub_agent_function_tool_relations_sub_agent_fk"
|
|
1998
1983
|
}).onDelete("cascade"),
|
|
1999
|
-
// Foreign key constraint to functionTools table
|
|
2000
1984
|
foreignKey({
|
|
2001
1985
|
columns: [table.tenantId, table.projectId, table.agentId, table.functionToolId],
|
|
2002
1986
|
foreignColumns: [
|
|
@@ -2034,26 +2018,18 @@ var init_schema = __esm({
|
|
|
2034
2018
|
{
|
|
2035
2019
|
...projectScoped,
|
|
2036
2020
|
conversationId: text("conversation_id").notNull(),
|
|
2037
|
-
// Role mapping: user, agent, system (unified for both formats)
|
|
2038
2021
|
role: text("role").notNull(),
|
|
2039
|
-
// Agent sender/recipient tracking (nullable - only populated when relevant)
|
|
2040
2022
|
fromSubAgentId: text("from_sub_agent_id"),
|
|
2041
2023
|
toSubAgentId: text("to_sub_agent_id"),
|
|
2042
|
-
// External agent sender tracking
|
|
2043
2024
|
fromExternalAgentId: text("from_external_sub_agent_id"),
|
|
2044
|
-
// External agent recipient tracking
|
|
2045
2025
|
toExternalAgentId: text("to_external_sub_agent_id"),
|
|
2046
|
-
// Message content stored as JSON to support both formats
|
|
2047
2026
|
content: blob("content", { mode: "json" }).$type().notNull(),
|
|
2048
|
-
// Message classification and filtering
|
|
2049
2027
|
visibility: text("visibility").notNull().default("user-facing"),
|
|
2050
2028
|
messageType: text("message_type").notNull().default("chat"),
|
|
2051
2029
|
taskId: text("task_id"),
|
|
2052
2030
|
parentMessageId: text("parent_message_id"),
|
|
2053
|
-
// A2A specific fields
|
|
2054
2031
|
a2aTaskId: text("a2a_task_id"),
|
|
2055
2032
|
a2aSessionId: text("a2a_session_id"),
|
|
2056
|
-
// Metadata for extensions
|
|
2057
2033
|
metadata: blob("metadata", { mode: "json" }).$type(),
|
|
2058
2034
|
...timestamps
|
|
2059
2035
|
},
|
|
@@ -2070,17 +2046,14 @@ var init_schema = __esm({
|
|
|
2070
2046
|
"ledger_artifacts",
|
|
2071
2047
|
{
|
|
2072
2048
|
...projectScoped,
|
|
2073
|
-
// Links
|
|
2074
2049
|
taskId: text("task_id").notNull(),
|
|
2075
2050
|
toolCallId: text("tool_call_id"),
|
|
2076
2051
|
contextId: text("context_id").notNull(),
|
|
2077
|
-
// Core Artifact fields
|
|
2078
2052
|
type: text("type").notNull().default("source"),
|
|
2079
2053
|
name: text("name"),
|
|
2080
2054
|
description: text("description"),
|
|
2081
2055
|
parts: blob("parts", { mode: "json" }).$type(),
|
|
2082
2056
|
metadata: blob("metadata", { mode: "json" }).$type(),
|
|
2083
|
-
// Extra ledger information (not part of the Artifact spec – kept optional)
|
|
2084
2057
|
summary: text("summary"),
|
|
2085
2058
|
mime: blob("mime", { mode: "json" }).$type(),
|
|
2086
2059
|
visibility: text("visibility").default("context"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251014190820",
|
|
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.0.0-dev-
|
|
50
|
-
"@inkeep/agents-sdk": "^0.0.0-dev-
|
|
49
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251014190820",
|
|
50
|
+
"@inkeep/agents-sdk": "^0.0.0-dev-20251014190820"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/degit": "^2.8.6",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"vitest": "^3.2.4"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@inkeep/agents-manage-ui": "0.0.0-dev-
|
|
65
|
+
"@inkeep/agents-manage-ui": "0.0.0-dev-20251014190820",
|
|
66
66
|
"zod": "^4.1.11"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|