@inkeep/agents-core 0.19.4 → 0.19.6
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/{chunk-SLL6V3AE.js → chunk-QFIITHNT.js} +8 -3
- package/dist/client-exports.cjs +8 -3
- package/dist/client-exports.d.cts +7 -7
- package/dist/client-exports.d.ts +7 -7
- package/dist/client-exports.js +1 -1
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/index.cjs +9 -5
- package/dist/index.d.cts +257 -257
- package/dist/index.d.ts +257 -257
- package/dist/index.js +2 -3
- package/dist/{schema-wXveVxxd.d.cts → schema-CcSN2XcZ.d.cts} +1 -1
- package/dist/{schema-C8QBUZZH.d.ts → schema-D8h85qdU.d.ts} +1 -1
- package/dist/{signoz-queries-CuWMQh1H.d.ts → signoz-queries-Bqpkx5sK.d.cts} +6 -1
- package/dist/{signoz-queries-CuWMQh1H.d.cts → signoz-queries-Bqpkx5sK.d.ts} +6 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/{utility-BFHClCiL.d.cts → utility-HqRMF7sM.d.cts} +246 -246
- package/dist/{utility-BFHClCiL.d.ts → utility-HqRMF7sM.d.ts} +246 -246
|
@@ -14,7 +14,8 @@ var SPAN_NAMES = {
|
|
|
14
14
|
};
|
|
15
15
|
var AI_OPERATIONS = {
|
|
16
16
|
GENERATE_TEXT: "ai.generateText.doGenerate",
|
|
17
|
-
STREAM_TEXT: "ai.streamText.doStream"
|
|
17
|
+
STREAM_TEXT: "ai.streamText.doStream",
|
|
18
|
+
STREAM_OBJECT: "ai.streamObject.doStream"
|
|
18
19
|
};
|
|
19
20
|
var SPAN_KEYS = {
|
|
20
21
|
// Core span attributes
|
|
@@ -38,6 +39,7 @@ var SPAN_KEYS = {
|
|
|
38
39
|
AI_RESPONSE_TIMESTAMP: "ai.response.timestamp",
|
|
39
40
|
AI_RESPONSE_CONTENT: "ai.response.content",
|
|
40
41
|
AI_RESPONSE_TEXT: "ai.response.text",
|
|
42
|
+
AI_RESPONSE_OBJECT: "ai.response.object",
|
|
41
43
|
AI_RESPONSE_MODEL: "ai.response.model",
|
|
42
44
|
AI_RESPONSE_TOOL_CALLS: "ai.response.toolCalls",
|
|
43
45
|
AI_PROMPT_MESSAGES: "ai.prompt.messages",
|
|
@@ -83,7 +85,7 @@ var SPAN_KEYS = {
|
|
|
83
85
|
// Artifact processing attributes
|
|
84
86
|
ARTIFACT_ID: "artifact.id",
|
|
85
87
|
ARTIFACT_TYPE: "artifact.type",
|
|
86
|
-
|
|
88
|
+
ARTIFACT_SUB_AGENT_ID: "artifact.sub_agent_id",
|
|
87
89
|
ARTIFACT_TOOL_CALL_ID: "artifact.tool_call_id",
|
|
88
90
|
ARTIFACT_DATA: "artifact.data",
|
|
89
91
|
ARTIFACT_NAME: "artifact.name",
|
|
@@ -98,7 +100,8 @@ var ACTIVITY_TYPES = {
|
|
|
98
100
|
CONTEXT_RESOLUTION: "context_resolution",
|
|
99
101
|
USER_MESSAGE: "user_message",
|
|
100
102
|
AI_ASSISTANT_MESSAGE: "ai_assistant_message",
|
|
101
|
-
AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text"
|
|
103
|
+
AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text",
|
|
104
|
+
AI_MODEL_STREAMED_OBJECT: "ai_model_streamed_object"
|
|
102
105
|
};
|
|
103
106
|
var ACTIVITY_STATUS = {
|
|
104
107
|
SUCCESS: "success",
|
|
@@ -115,6 +118,7 @@ var ACTIVITY_NAMES = {
|
|
|
115
118
|
AI_ASSISTANT_MESSAGE: "AI Assistant Message",
|
|
116
119
|
AI_TEXT_GENERATION: "AI Text Generation",
|
|
117
120
|
AI_STREAMING_TEXT: "AI Streaming Text",
|
|
121
|
+
AI_STREAMING_OBJECT: "AI Streaming Object",
|
|
118
122
|
UNKNOWN_AGENT: "Unknown Agent",
|
|
119
123
|
USER: "User"
|
|
120
124
|
};
|
|
@@ -221,6 +225,7 @@ var QUERY_EXPRESSIONS = {
|
|
|
221
225
|
AI_ASSISTANT_MESSAGES: "aiAssistantMessages",
|
|
222
226
|
AI_GENERATIONS: "aiGenerations",
|
|
223
227
|
AI_STREAMING_TEXT: "aiStreamingText",
|
|
228
|
+
AI_STREAMING_OBJECT: "aiStreamingObject",
|
|
224
229
|
CONTEXT_FETCHERS: "contextFetchers",
|
|
225
230
|
DURATION_SPANS: "durationSpans",
|
|
226
231
|
AGENT_GENERATIONS: "agentGenerations",
|
package/dist/client-exports.cjs
CHANGED
|
@@ -1808,7 +1808,8 @@ var SPAN_NAMES = {
|
|
|
1808
1808
|
};
|
|
1809
1809
|
var AI_OPERATIONS = {
|
|
1810
1810
|
GENERATE_TEXT: "ai.generateText.doGenerate",
|
|
1811
|
-
STREAM_TEXT: "ai.streamText.doStream"
|
|
1811
|
+
STREAM_TEXT: "ai.streamText.doStream",
|
|
1812
|
+
STREAM_OBJECT: "ai.streamObject.doStream"
|
|
1812
1813
|
};
|
|
1813
1814
|
var SPAN_KEYS = {
|
|
1814
1815
|
// Core span attributes
|
|
@@ -1832,6 +1833,7 @@ var SPAN_KEYS = {
|
|
|
1832
1833
|
AI_RESPONSE_TIMESTAMP: "ai.response.timestamp",
|
|
1833
1834
|
AI_RESPONSE_CONTENT: "ai.response.content",
|
|
1834
1835
|
AI_RESPONSE_TEXT: "ai.response.text",
|
|
1836
|
+
AI_RESPONSE_OBJECT: "ai.response.object",
|
|
1835
1837
|
AI_RESPONSE_MODEL: "ai.response.model",
|
|
1836
1838
|
AI_RESPONSE_TOOL_CALLS: "ai.response.toolCalls",
|
|
1837
1839
|
AI_PROMPT_MESSAGES: "ai.prompt.messages",
|
|
@@ -1877,7 +1879,7 @@ var SPAN_KEYS = {
|
|
|
1877
1879
|
// Artifact processing attributes
|
|
1878
1880
|
ARTIFACT_ID: "artifact.id",
|
|
1879
1881
|
ARTIFACT_TYPE: "artifact.type",
|
|
1880
|
-
|
|
1882
|
+
ARTIFACT_SUB_AGENT_ID: "artifact.sub_agent_id",
|
|
1881
1883
|
ARTIFACT_TOOL_CALL_ID: "artifact.tool_call_id",
|
|
1882
1884
|
ARTIFACT_DATA: "artifact.data",
|
|
1883
1885
|
ARTIFACT_NAME: "artifact.name",
|
|
@@ -1892,7 +1894,8 @@ var ACTIVITY_TYPES = {
|
|
|
1892
1894
|
CONTEXT_RESOLUTION: "context_resolution",
|
|
1893
1895
|
USER_MESSAGE: "user_message",
|
|
1894
1896
|
AI_ASSISTANT_MESSAGE: "ai_assistant_message",
|
|
1895
|
-
AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text"
|
|
1897
|
+
AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text",
|
|
1898
|
+
AI_MODEL_STREAMED_OBJECT: "ai_model_streamed_object"
|
|
1896
1899
|
};
|
|
1897
1900
|
var ACTIVITY_STATUS = {
|
|
1898
1901
|
SUCCESS: "success",
|
|
@@ -1909,6 +1912,7 @@ var ACTIVITY_NAMES = {
|
|
|
1909
1912
|
AI_ASSISTANT_MESSAGE: "AI Assistant Message",
|
|
1910
1913
|
AI_TEXT_GENERATION: "AI Text Generation",
|
|
1911
1914
|
AI_STREAMING_TEXT: "AI Streaming Text",
|
|
1915
|
+
AI_STREAMING_OBJECT: "AI Streaming Object",
|
|
1912
1916
|
UNKNOWN_AGENT: "Unknown Agent",
|
|
1913
1917
|
USER: "User"
|
|
1914
1918
|
};
|
|
@@ -2015,6 +2019,7 @@ var QUERY_EXPRESSIONS = {
|
|
|
2015
2019
|
AI_ASSISTANT_MESSAGES: "aiAssistantMessages",
|
|
2016
2020
|
AI_GENERATIONS: "aiGenerations",
|
|
2017
2021
|
AI_STREAMING_TEXT: "aiStreamingText",
|
|
2022
|
+
AI_STREAMING_OBJECT: "aiStreamingObject",
|
|
2018
2023
|
CONTEXT_FETCHERS: "contextFetchers",
|
|
2019
2024
|
DURATION_SPANS: "durationSpans",
|
|
2020
2025
|
AGENT_GENERATIONS: "agentGenerations",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, o as AGGREGATE_OPERATORS, A as AI_OPERATIONS, i as AI_TOOL_TYPES, n as DATA_SOURCES, j as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, l as ORDER_DIRECTIONS, P as PANEL_TYPES, p as QUERY_DEFAULTS, k as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, m as QUERY_TYPES, R as REDUCE_OPERATIONS, d as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-
|
|
1
|
+
export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, o as AGGREGATE_OPERATORS, A as AI_OPERATIONS, i as AI_TOOL_TYPES, n as DATA_SOURCES, j as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, l as ORDER_DIRECTIONS, P as PANEL_TYPES, p as QUERY_DEFAULTS, k as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, m as QUERY_TYPES, R as REDUCE_OPERATIONS, d as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-Bqpkx5sK.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-HqRMF7sM.cjs';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-HqRMF7sM.cjs';
|
|
5
5
|
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.cjs';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -128,8 +128,8 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
|
128
128
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
129
129
|
}, z.core.$strip>;
|
|
130
130
|
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
131
|
-
name: z.ZodString;
|
|
132
131
|
id: z.ZodString;
|
|
132
|
+
name: z.ZodString;
|
|
133
133
|
description: z.ZodString;
|
|
134
134
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
135
135
|
}, {
|
|
@@ -164,11 +164,12 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
164
164
|
description: z.ZodOptional<z.ZodString>;
|
|
165
165
|
defaultSubAgentId: z.ZodOptional<z.ZodString>;
|
|
166
166
|
subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
167
|
-
name: z.ZodString;
|
|
168
167
|
id: z.ZodString;
|
|
168
|
+
name: z.ZodString;
|
|
169
|
+
description: z.ZodString;
|
|
170
|
+
prompt: z.ZodString;
|
|
169
171
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
170
172
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
171
|
-
description: z.ZodString;
|
|
172
173
|
models: z.ZodOptional<z.ZodObject<{
|
|
173
174
|
base: z.ZodOptional<z.ZodObject<{
|
|
174
175
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -192,7 +193,6 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
192
193
|
}, {
|
|
193
194
|
stepCountIs?: number | undefined;
|
|
194
195
|
}>>>>;
|
|
195
|
-
prompt: z.ZodString;
|
|
196
196
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
197
197
|
type: z.ZodLiteral<"internal">;
|
|
198
198
|
canUse: z.ZodArray<z.ZodObject<{
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, o as AGGREGATE_OPERATORS, A as AI_OPERATIONS, i as AI_TOOL_TYPES, n as DATA_SOURCES, j as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, l as ORDER_DIRECTIONS, P as PANEL_TYPES, p as QUERY_DEFAULTS, k as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, m as QUERY_TYPES, R as REDUCE_OPERATIONS, d as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-
|
|
1
|
+
export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, o as AGGREGATE_OPERATORS, A as AI_OPERATIONS, i as AI_TOOL_TYPES, n as DATA_SOURCES, j as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, l as ORDER_DIRECTIONS, P as PANEL_TYPES, p as QUERY_DEFAULTS, k as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, m as QUERY_TYPES, R as REDUCE_OPERATIONS, d as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-Bqpkx5sK.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-HqRMF7sM.js';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-HqRMF7sM.js';
|
|
5
5
|
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.js';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -128,8 +128,8 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
|
128
128
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
129
129
|
}, z.core.$strip>;
|
|
130
130
|
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
131
|
-
name: z.ZodString;
|
|
132
131
|
id: z.ZodString;
|
|
132
|
+
name: z.ZodString;
|
|
133
133
|
description: z.ZodString;
|
|
134
134
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
135
135
|
}, {
|
|
@@ -164,11 +164,12 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
164
164
|
description: z.ZodOptional<z.ZodString>;
|
|
165
165
|
defaultSubAgentId: z.ZodOptional<z.ZodString>;
|
|
166
166
|
subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
167
|
-
name: z.ZodString;
|
|
168
167
|
id: z.ZodString;
|
|
168
|
+
name: z.ZodString;
|
|
169
|
+
description: z.ZodString;
|
|
170
|
+
prompt: z.ZodString;
|
|
169
171
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
170
172
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
171
|
-
description: z.ZodString;
|
|
172
173
|
models: z.ZodOptional<z.ZodObject<{
|
|
173
174
|
base: z.ZodOptional<z.ZodObject<{
|
|
174
175
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -192,7 +193,6 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
192
193
|
}, {
|
|
193
194
|
stepCountIs?: number | undefined;
|
|
194
195
|
}>>>>;
|
|
195
|
-
prompt: z.ZodString;
|
|
196
196
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
197
197
|
type: z.ZodLiteral<"internal">;
|
|
198
198
|
canUse: z.ZodArray<z.ZodObject<{
|
package/dist/client-exports.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-
|
|
1
|
+
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-QFIITHNT.js';
|
|
2
2
|
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-VICWT3WO.js';
|
|
3
3
|
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-VICWT3WO.js';
|
|
4
4
|
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
package/dist/db/schema.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
-
import '../utility-
|
|
4
|
-
export { q as agentFunctionToolRelations, U as agentFunctionToolRelationsRelations, E as agentRelations, H as agentToolRelationsRelations, a as agents, w as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, r as conversations, K as conversationsRelations, x as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, m as functionTools, T as functionToolsRelations, n as functions, R as functionsRelations, v as ledgerArtifacts, Q as ledgerArtifactsRelations, u as messages, L as messagesRelations, p as projects, z as projectsRelations, k as subAgentArtifactComponents, N as subAgentArtifactComponentsRelations, i as subAgentDataComponents, P as subAgentDataComponentsRelations, e as subAgentRelations, S as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, D as subAgentsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-
|
|
3
|
+
import '../utility-HqRMF7sM.cjs';
|
|
4
|
+
export { q as agentFunctionToolRelations, U as agentFunctionToolRelationsRelations, E as agentRelations, H as agentToolRelationsRelations, a as agents, w as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, r as conversations, K as conversationsRelations, x as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, m as functionTools, T as functionToolsRelations, n as functions, R as functionsRelations, v as ledgerArtifacts, Q as ledgerArtifactsRelations, u as messages, L as messagesRelations, p as projects, z as projectsRelations, k as subAgentArtifactComponents, N as subAgentArtifactComponentsRelations, i as subAgentDataComponents, P as subAgentDataComponentsRelations, e as subAgentRelations, S as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, D as subAgentsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-CcSN2XcZ.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import '@hono/zod-openapi';
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
-
import '../utility-
|
|
4
|
-
export { q as agentFunctionToolRelations, U as agentFunctionToolRelationsRelations, E as agentRelations, H as agentToolRelationsRelations, a as agents, w as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, r as conversations, K as conversationsRelations, x as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, m as functionTools, T as functionToolsRelations, n as functions, R as functionsRelations, v as ledgerArtifacts, Q as ledgerArtifactsRelations, u as messages, L as messagesRelations, p as projects, z as projectsRelations, k as subAgentArtifactComponents, N as subAgentArtifactComponentsRelations, i as subAgentDataComponents, P as subAgentDataComponentsRelations, e as subAgentRelations, S as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, D as subAgentsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-
|
|
3
|
+
import '../utility-HqRMF7sM.js';
|
|
4
|
+
export { q as agentFunctionToolRelations, U as agentFunctionToolRelationsRelations, E as agentRelations, H as agentToolRelationsRelations, a as agents, w as apiKeys, G as apiKeysRelations, j as artifactComponents, M as artifactComponentsRelations, b as contextCache, C as contextCacheRelations, c as contextConfigs, B as contextConfigsRelations, r as conversations, K as conversationsRelations, x as credentialReferences, I as credentialReferencesRelations, h as dataComponents, O as dataComponentsRelations, f as externalAgents, F as externalAgentsRelations, m as functionTools, T as functionToolsRelations, n as functions, R as functionsRelations, v as ledgerArtifacts, Q as ledgerArtifactsRelations, u as messages, L as messagesRelations, p as projects, z as projectsRelations, k as subAgentArtifactComponents, N as subAgentArtifactComponentsRelations, i as subAgentDataComponents, P as subAgentDataComponentsRelations, e as subAgentRelations, S as subAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, D as subAgentsRelations, g as taskRelations, A as taskRelationsRelations, t as tasks, y as tasksRelations, l as tools, J as toolsRelations } from '../schema-D8h85qdU.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import '@hono/zod-openapi';
|
package/dist/index.cjs
CHANGED
|
@@ -212935,7 +212935,8 @@ var SPAN_NAMES = {
|
|
|
212935
212935
|
};
|
|
212936
212936
|
var AI_OPERATIONS = {
|
|
212937
212937
|
GENERATE_TEXT: "ai.generateText.doGenerate",
|
|
212938
|
-
STREAM_TEXT: "ai.streamText.doStream"
|
|
212938
|
+
STREAM_TEXT: "ai.streamText.doStream",
|
|
212939
|
+
STREAM_OBJECT: "ai.streamObject.doStream"
|
|
212939
212940
|
};
|
|
212940
212941
|
var SPAN_KEYS = {
|
|
212941
212942
|
// Core span attributes
|
|
@@ -212959,6 +212960,7 @@ var SPAN_KEYS = {
|
|
|
212959
212960
|
AI_RESPONSE_TIMESTAMP: "ai.response.timestamp",
|
|
212960
212961
|
AI_RESPONSE_CONTENT: "ai.response.content",
|
|
212961
212962
|
AI_RESPONSE_TEXT: "ai.response.text",
|
|
212963
|
+
AI_RESPONSE_OBJECT: "ai.response.object",
|
|
212962
212964
|
AI_RESPONSE_MODEL: "ai.response.model",
|
|
212963
212965
|
AI_RESPONSE_TOOL_CALLS: "ai.response.toolCalls",
|
|
212964
212966
|
AI_PROMPT_MESSAGES: "ai.prompt.messages",
|
|
@@ -213004,7 +213006,7 @@ var SPAN_KEYS = {
|
|
|
213004
213006
|
// Artifact processing attributes
|
|
213005
213007
|
ARTIFACT_ID: "artifact.id",
|
|
213006
213008
|
ARTIFACT_TYPE: "artifact.type",
|
|
213007
|
-
|
|
213009
|
+
ARTIFACT_SUB_AGENT_ID: "artifact.sub_agent_id",
|
|
213008
213010
|
ARTIFACT_TOOL_CALL_ID: "artifact.tool_call_id",
|
|
213009
213011
|
ARTIFACT_DATA: "artifact.data",
|
|
213010
213012
|
ARTIFACT_NAME: "artifact.name",
|
|
@@ -213019,7 +213021,8 @@ var ACTIVITY_TYPES = {
|
|
|
213019
213021
|
CONTEXT_RESOLUTION: "context_resolution",
|
|
213020
213022
|
USER_MESSAGE: "user_message",
|
|
213021
213023
|
AI_ASSISTANT_MESSAGE: "ai_assistant_message",
|
|
213022
|
-
AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text"
|
|
213024
|
+
AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text",
|
|
213025
|
+
AI_MODEL_STREAMED_OBJECT: "ai_model_streamed_object"
|
|
213023
213026
|
};
|
|
213024
213027
|
var ACTIVITY_STATUS = {
|
|
213025
213028
|
SUCCESS: "success",
|
|
@@ -213036,6 +213039,7 @@ var ACTIVITY_NAMES = {
|
|
|
213036
213039
|
AI_ASSISTANT_MESSAGE: "AI Assistant Message",
|
|
213037
213040
|
AI_TEXT_GENERATION: "AI Text Generation",
|
|
213038
213041
|
AI_STREAMING_TEXT: "AI Streaming Text",
|
|
213042
|
+
AI_STREAMING_OBJECT: "AI Streaming Object",
|
|
213039
213043
|
UNKNOWN_AGENT: "Unknown Agent",
|
|
213040
213044
|
USER: "User"
|
|
213041
213045
|
};
|
|
@@ -213142,6 +213146,7 @@ var QUERY_EXPRESSIONS = {
|
|
|
213142
213146
|
AI_ASSISTANT_MESSAGES: "aiAssistantMessages",
|
|
213143
213147
|
AI_GENERATIONS: "aiGenerations",
|
|
213144
213148
|
AI_STREAMING_TEXT: "aiStreamingText",
|
|
213149
|
+
AI_STREAMING_OBJECT: "aiStreamingObject",
|
|
213145
213150
|
CONTEXT_FETCHERS: "contextFetchers",
|
|
213146
213151
|
DURATION_SPANS: "durationSpans",
|
|
213147
213152
|
AGENT_GENERATIONS: "agentGenerations",
|
|
@@ -225020,8 +225025,7 @@ var envSchema = zod.z.object({
|
|
|
225020
225025
|
ENVIRONMENT: zod.z.enum(["development", "production", "pentest", "test"]).optional(),
|
|
225021
225026
|
DB_FILE_NAME: zod.z.string().optional(),
|
|
225022
225027
|
TURSO_DATABASE_URL: zod.z.string().optional(),
|
|
225023
|
-
TURSO_AUTH_TOKEN: zod.z.string().optional()
|
|
225024
|
-
OTEL_TRACES_FORCE_FLUSH_ENABLED: zod.z.coerce.boolean().optional()
|
|
225028
|
+
TURSO_AUTH_TOKEN: zod.z.string().optional()
|
|
225025
225029
|
});
|
|
225026
225030
|
var parseEnv = () => {
|
|
225027
225031
|
try {
|