@happyvertical/smrt-chat 0.57.46 → 0.57.47

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { c as ChatThread, d as ChatParticipant, f as ChatMessage, i as clientRequestMessageId, l as ChatRoom, n as ChatService, o as VoiceSessionCollection, p as AgentSession, s as VoiceSession, t as ChatClientRequestConflictError, u as ChatReaction } from "./chunks/ChatService-BGBAqmZq.js";
2
- import { $ as isFallbackReply, A as DEFAULT_EMPTY_ANSWER_FALLBACK, B as MAX_SERVER_TOOL_OBSERVATION_CHARS, C as DEFAULT_CONTINUATION_TTL_MS, D as createSessionContinuationStore, E as createMemoryContinuationStore, F as MAX_CLIENT_TOOLS, G as TOOL_CALL_DEDUPED_REJECTED_NOTE, H as MAX_TOOL_LOOP_REASONING_CHARS, I as MAX_CLIENT_TOOL_RESULT_CHARS, J as TOOL_LOOP_REPEATED_CALLS_INSTRUCTION, K as TOOL_EXECUTION_ERROR_HINT, L as MAX_CLIENT_TOOL_SCHEMA_BYTES, M as DEFAULT_MAX_STEPS, N as FALLBACK_HISTORY_PLACEHOLDER, O as runAssistantTurn, P as FALLBACK_REPLY_METADATA_KEY, Q as invokeManifestTool, R as MAX_DEDUPED_CALLS_PER_TURN, S as DEFAULT_ASSISTANT_TURN_HEARTBEAT_MS, T as createAssistantTurnResponse, U as SERVER_TOOL_OBSERVATION_TRUNCATED_MARKER, V as MAX_TOOL_FAILURE_ARGS_CHARS, W as TOOL_CALL_DEDUPED_NOTE, X as buildManifestToolCatalog, Y as appendClientToolResults, Z as classifyToolError, _ as resolveConversationInstructions, a as DEFAULT_CHAT_STREAM_HEARTBEAT_MS, at as sanitizeClientToolDeclarations, b as AssistantTurnUserError, c as createChatStreamHandler, ct as RUNTIME_REPORT_DEFINE_FUNCTION_NAME, d as bindPersonaToSession, dt as RUNTIME_REPORT_LIST_TOOL_SLUG, et as manifestToolToAITool, f as conversationPersonaFromAgentPersona, ft as RUNTIME_REPORT_RUN_FUNCTION_NAME, g as recallPersonaMemory, gt as createRuntimeReportTools, h as principalBindingFor, ht as RUNTIME_REPORT_SOURCES_TOOL_SLUG, i as ChatStreamUnauthorizedError, it as runToolLoop, j as DEFAULT_MAX_REPEATED_CALLS, k as CLIENT_TOOL_RESULT_GUIDANCE, l as encodeChatStreamEvent, lt as RUNTIME_REPORT_DEFINE_TOOL_SLUG, m as formatRecalledMemory, mt as RUNTIME_REPORT_SOURCES_FUNCTION_NAME, n as ChatStreamBadRequestError, nt as replyMetadataFor, o as MAX_CHAT_STREAM_CONTENT_LENGTH, ot as toolFailureAuditMetadata, p as conversationPersonaFromResolved, pt as RUNTIME_REPORT_RUN_TOOL_SLUG, q as TOOL_LOOP_ANSWER_NOW_INSTRUCTION, r as ChatStreamError, rt as resolveTurnReply, s as MAX_CHAT_STREAM_MESSAGES, st as toolFailureRecord, t as CHAT_STREAM_TIMEOUT_ERROR, tt as replyContentFor, u as runChatConversationStream, ut as RUNTIME_REPORT_LIST_FUNCTION_NAME, v as runPersonaConversationTurn, w as SESSION_CONTINUATIONS_FIELD, x as CONTINUATION_CLAIM_TTL_MS, y as ASSISTANT_TURN_GENERIC_ERROR, z as MAX_REPEATED_CALLS_LIMIT } from "./chunks/chat-stream-CL2kxpWo.js";
2
+ import { $ as isFallbackReply, A as DEFAULT_EMPTY_ANSWER_FALLBACK, B as MAX_SERVER_TOOL_OBSERVATION_CHARS, C as DEFAULT_CONTINUATION_TTL_MS, D as createSessionContinuationStore, E as createMemoryContinuationStore, F as MAX_CLIENT_TOOLS, G as TOOL_CALL_DEDUPED_REJECTED_NOTE, H as MAX_TOOL_LOOP_REASONING_CHARS, I as MAX_CLIENT_TOOL_RESULT_CHARS, J as TOOL_LOOP_REPEATED_CALLS_INSTRUCTION, K as TOOL_EXECUTION_ERROR_HINT, L as MAX_CLIENT_TOOL_SCHEMA_BYTES, M as DEFAULT_MAX_STEPS, N as FALLBACK_HISTORY_PLACEHOLDER, O as runAssistantTurn, P as FALLBACK_REPLY_METADATA_KEY, Q as invokeManifestTool, R as MAX_DEDUPED_CALLS_PER_TURN, S as DEFAULT_ASSISTANT_TURN_HEARTBEAT_MS, T as createAssistantTurnResponse, U as SERVER_TOOL_OBSERVATION_TRUNCATED_MARKER, V as MAX_TOOL_FAILURE_ARGS_CHARS, W as TOOL_CALL_DEDUPED_NOTE, X as buildManifestToolCatalog, Y as appendClientToolResults, Z as classifyToolError, _ as resolveConversationInstructions, a as DEFAULT_CHAT_STREAM_HEARTBEAT_MS, at as sanitizeClientToolDeclarations, b as AssistantTurnUserError, c as createChatStreamHandler, ct as RUNTIME_REPORT_DEFINE_FUNCTION_NAME, d as bindPersonaToSession, dt as RUNTIME_REPORT_LIST_TOOL_SLUG, et as manifestToolToAITool, f as conversationPersonaFromAgentPersona, ft as RUNTIME_REPORT_RUN_FUNCTION_NAME, g as recallPersonaMemory, gt as createRuntimeReportTools, h as principalBindingFor, ht as RUNTIME_REPORT_SOURCES_TOOL_SLUG, i as ChatStreamUnauthorizedError, it as runToolLoop, j as DEFAULT_MAX_REPEATED_CALLS, k as CLIENT_TOOL_RESULT_GUIDANCE, l as encodeChatStreamEvent, lt as RUNTIME_REPORT_DEFINE_TOOL_SLUG, m as formatRecalledMemory, mt as RUNTIME_REPORT_SOURCES_FUNCTION_NAME, n as ChatStreamBadRequestError, nt as replyMetadataFor, o as MAX_CHAT_STREAM_CONTENT_LENGTH, ot as toolFailureAuditMetadata, p as conversationPersonaFromResolved, pt as RUNTIME_REPORT_RUN_TOOL_SLUG, q as TOOL_LOOP_ANSWER_NOW_INSTRUCTION, r as ChatStreamError, rt as resolveTurnReply, s as MAX_CHAT_STREAM_MESSAGES, st as toolFailureRecord, t as CHAT_STREAM_TIMEOUT_ERROR, tt as replyContentFor, u as runChatConversationStream, ut as RUNTIME_REPORT_LIST_FUNCTION_NAME, v as runPersonaConversationTurn, w as SESSION_CONTINUATIONS_FIELD, x as CONTINUATION_CLAIM_TTL_MS, y as ASSISTANT_TURN_GENERIC_ERROR, z as MAX_REPEATED_CALLS_LIMIT } from "./chunks/chat-stream-DUJlSGOu.js";
3
3
  import { i as matchesToolAllowList, n as encodeAssistantTurnEvent, r as readAssistantTurnStream, t as AssistantTurnStreamError } from "./chunks/assistant-turn-events-BbZUf-Ju.js";
4
4
  import { a as createServerDataSurfaceBridge, i as createDataSurfaceCommandBridge, n as DEFAULT_DATA_SURFACE_BRIDGE_TTL_MS, r as createDataSurfaceBridge, t as DATA_SURFACE_BRIDGE_VERSION } from "./chunks/data-surface-bridge-BJomMxjS.js";
5
5
  import { HELPER_CLEARED_PREFERENCES, HELPER_PREFERENCES_VERSION, helperPreferenceFields, isHelperClearedPreferences, parseHelperPreferences } from "./helper-preferences.js";
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-chat",
5
- "packageVersion": "0.57.46",
5
+ "packageVersion": "0.57.47",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-chat:AgentSessionCollection": {
8
8
  "name": "agentsessioncollection",
@@ -148,6 +148,11 @@
148
148
  "extendsTypeArg": "AgentSession",
149
149
  "exportName": "AgentSessionCollection",
150
150
  "collectionExportName": "AgentSessionCollectionCollection",
151
+ "collectionOf": "@happyvertical/smrt-chat:AgentSession",
152
+ "inheritedExposure": [
153
+ "api",
154
+ "mcp"
155
+ ],
151
156
  "schema": {
152
157
  "tableName": "agent_sessions",
153
158
  "ddl": "CREATE TABLE IF NOT EXISTS \"agent_sessions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_id\" TEXT NOT NULL DEFAULT '',\n \"agent_profile_id\" UUID,\n \"participant_profile_id\" UUID NOT NULL,\n \"chat_room_id\" UUID,\n \"status\" TEXT NOT NULL DEFAULT 'active',\n \"allowed_tools\" TEXT DEFAULT '[]',\n \"session_context\" TEXT DEFAULT '{}',\n \"system_prompt\" TEXT DEFAULT '',\n \"message_count\" INTEGER DEFAULT 0,\n \"total_tokens_used\" INTEGER DEFAULT 0,\n \"max_tokens\" INTEGER DEFAULT 0,\n \"max_messages\" INTEGER DEFAULT 0,\n \"last_message_at\" TIMESTAMP,\n \"expires_at\" TIMESTAMP,\n \"closed_at\" TIMESTAMP\n);",
@@ -480,6 +485,11 @@
480
485
  "extendsTypeArg": "ChatMessage",
481
486
  "exportName": "ChatMessageCollection",
482
487
  "collectionExportName": "ChatMessageCollectionCollection",
488
+ "collectionOf": "@happyvertical/smrt-chat:ChatMessage",
489
+ "inheritedExposure": [
490
+ "api",
491
+ "mcp"
492
+ ],
483
493
  "schema": {
484
494
  "tableName": "chat_messages",
485
495
  "ddl": "CREATE TABLE IF NOT EXISTS \"chat_messages\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"room_id\" UUID NOT NULL,\n \"thread_id\" UUID,\n \"sender_profile_id\" UUID NOT NULL,\n \"agent_session_id\" UUID,\n \"content\" TEXT DEFAULT '',\n \"message_type\" TEXT NOT NULL DEFAULT 'text',\n \"role\" TEXT NOT NULL DEFAULT 'user',\n \"is_edited\" BOOLEAN DEFAULT FALSE,\n \"edited_at\" TIMESTAMP,\n \"is_deleted\" BOOLEAN DEFAULT FALSE,\n \"reply_to_message_id\" UUID,\n \"metadata\" TEXT DEFAULT '{}',\n \"tool_call_data\" TEXT,\n \"attachments\" TEXT DEFAULT '[]'\n);",
@@ -845,6 +855,11 @@
845
855
  "extendsTypeArg": "ChatParticipant",
846
856
  "exportName": "ChatParticipantCollection",
847
857
  "collectionExportName": "ChatParticipantCollectionCollection",
858
+ "collectionOf": "@happyvertical/smrt-chat:ChatParticipant",
859
+ "inheritedExposure": [
860
+ "api",
861
+ "mcp"
862
+ ],
848
863
  "schema": {
849
864
  "tableName": "chat_participants",
850
865
  "ddl": "CREATE TABLE IF NOT EXISTS \"chat_participants\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"room_id\" UUID NOT NULL,\n \"profile_id\" UUID NOT NULL,\n \"role\" TEXT NOT NULL DEFAULT 'member',\n \"status\" TEXT NOT NULL DEFAULT 'active',\n \"online_status\" TEXT NOT NULL DEFAULT 'offline',\n \"last_read_message_id\" UUID,\n \"last_seen_at\" TIMESTAMP,\n \"joined_at\" TIMESTAMP,\n \"nickname\" TEXT DEFAULT '',\n \"is_muted\" BOOLEAN DEFAULT FALSE,\n \"is_pinned\" BOOLEAN DEFAULT FALSE\n);",
@@ -1082,6 +1097,12 @@
1082
1097
  "extendsTypeArg": "ChatReaction",
1083
1098
  "exportName": "ChatReactionCollection",
1084
1099
  "collectionExportName": "ChatReactionCollectionCollection",
1100
+ "collectionOf": "@happyvertical/smrt-chat:ChatReaction",
1101
+ "inheritedExposure": [
1102
+ "api",
1103
+ "mcp",
1104
+ "cli"
1105
+ ],
1085
1106
  "schema": {
1086
1107
  "tableName": "chat_reactions",
1087
1108
  "ddl": "CREATE TABLE IF NOT EXISTS \"chat_reactions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"message_id\" UUID NOT NULL,\n \"profile_id\" UUID NOT NULL,\n \"emoji\" TEXT NOT NULL DEFAULT ''\n);",
@@ -1294,6 +1315,11 @@
1294
1315
  "extendsTypeArg": "ChatRoom",
1295
1316
  "exportName": "ChatRoomCollection",
1296
1317
  "collectionExportName": "ChatRoomCollectionCollection",
1318
+ "collectionOf": "@happyvertical/smrt-chat:ChatRoom",
1319
+ "inheritedExposure": [
1320
+ "api",
1321
+ "mcp"
1322
+ ],
1297
1323
  "schema": {
1298
1324
  "tableName": "chat_rooms",
1299
1325
  "ddl": "CREATE TABLE IF NOT EXISTS \"chat_rooms\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT DEFAULT '',\n \"room_type\" TEXT NOT NULL DEFAULT 'public',\n \"status\" TEXT NOT NULL DEFAULT 'active',\n \"topic\" TEXT DEFAULT '',\n \"avatar_url\" TEXT DEFAULT '',\n \"is_archived\" BOOLEAN DEFAULT FALSE,\n \"max_participants\" INTEGER DEFAULT 0,\n \"metadata\" TEXT DEFAULT '{}',\n \"created_by_profile_id\" UUID,\n \"last_message_at\" TIMESTAMP\n);",
@@ -1488,6 +1514,11 @@
1488
1514
  "extendsTypeArg": "ChatThread",
1489
1515
  "exportName": "ChatThreadCollection",
1490
1516
  "collectionExportName": "ChatThreadCollectionCollection",
1517
+ "collectionOf": "@happyvertical/smrt-chat:ChatThread",
1518
+ "inheritedExposure": [
1519
+ "api",
1520
+ "mcp"
1521
+ ],
1491
1522
  "schema": {
1492
1523
  "tableName": "chat_threads",
1493
1524
  "ddl": "CREATE TABLE IF NOT EXISTS \"chat_threads\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"room_id\" UUID NOT NULL,\n \"root_message_id\" UUID,\n \"title\" TEXT DEFAULT '',\n \"is_resolved\" BOOLEAN DEFAULT FALSE,\n \"message_count\" INTEGER DEFAULT 0,\n \"last_message_at\" TIMESTAMP,\n \"participant_count\" INTEGER DEFAULT 0\n);",
@@ -1658,6 +1689,12 @@
1658
1689
  "extendsTypeArg": "VoiceGatewayTurn",
1659
1690
  "exportName": "VoiceGatewayTurnCollection",
1660
1691
  "collectionExportName": "VoiceGatewayTurnCollectionCollection",
1692
+ "collectionOf": "@happyvertical/smrt-chat:VoiceGatewayTurn",
1693
+ "inheritedExposure": [
1694
+ "api",
1695
+ "mcp",
1696
+ "cli"
1697
+ ],
1661
1698
  "schema": {
1662
1699
  "tableName": "voice_gateway_turns",
1663
1700
  "ddl": "CREATE TABLE IF NOT EXISTS \"voice_gateway_turns\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"voice_session_id\" UUID NOT NULL,\n \"gateway_session_id\" TEXT NOT NULL DEFAULT '',\n \"gateway_turn_id\" TEXT NOT NULL DEFAULT '',\n \"target\" TEXT NOT NULL DEFAULT 'smrt:chat',\n \"status\" TEXT NOT NULL DEFAULT 'processing',\n \"completed_at\" TIMESTAMP,\n \"failed_at\" TIMESTAMP\n);",
@@ -1839,6 +1876,11 @@
1839
1876
  "extendsTypeArg": "VoiceSession",
1840
1877
  "exportName": "VoiceSessionCollection",
1841
1878
  "collectionExportName": "VoiceSessionCollectionCollection",
1879
+ "collectionOf": "@happyvertical/smrt-chat:VoiceSession",
1880
+ "inheritedExposure": [
1881
+ "api",
1882
+ "mcp"
1883
+ ],
1842
1884
  "schema": {
1843
1885
  "tableName": "voice_sessions",
1844
1886
  "ddl": "CREATE TABLE IF NOT EXISTS \"voice_sessions\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"gateway_session_id\" TEXT NOT NULL DEFAULT '',\n \"actor_profile_id\" UUID NOT NULL,\n \"actor_user_id\" UUID,\n \"persona_id\" UUID NOT NULL,\n \"agent_session_id\" UUID NOT NULL,\n \"chat_room_id\" UUID NOT NULL,\n \"thread_id\" UUID,\n \"target\" TEXT NOT NULL DEFAULT 'smrt:chat',\n \"status\" TEXT NOT NULL DEFAULT 'active',\n \"expires_at\" TIMESTAMP NOT NULL,\n \"last_turn_at\" TIMESTAMP,\n \"last_gateway_turn_id\" TEXT,\n \"persona_snapshot\" TEXT DEFAULT '{}',\n \"metadata\" TEXT DEFAULT '{}',\n \"processed_turn_ids\" TEXT DEFAULT '[]'\n);",
@@ -3829,7 +3871,8 @@
3829
3871
  {
3830
3872
  "name": "data",
3831
3873
  "type": "ChatRoomMetadata",
3832
- "optional": false
3874
+ "optional": false,
3875
+ "resolvedType": "Record<string, unknown>"
3833
3876
  }
3834
3877
  ],
3835
3878
  "returnType": "void",
@@ -3843,7 +3886,8 @@
3843
3886
  {
3844
3887
  "name": "updates",
3845
3888
  "type": "ChatRoomMetadata",
3846
- "optional": false
3889
+ "optional": false,
3890
+ "resolvedType": "Record<string, unknown>"
3847
3891
  }
3848
3892
  ],
3849
3893
  "returnType": "void",
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-chat",
6
- "packageVersion": "0.57.46",
6
+ "packageVersion": "0.57.47",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "0768597bd095973a16cdbe07a4f9c3b5daf31f2db2d6f6ce02b16d5ab5e21e64",
11
- "packageJson": "9e262b414bd0ea780224ef8554b6228b82f41fd6d026febbc8e24519464edf49",
10
+ "manifest": "8d4245961ed2cf4e1682deb17fb7c58d381cc428c0dfcc94be57d2a06ec15d59",
11
+ "packageJson": "5aae57ed48bfebfc628d57db0ab65e18a342297980f1bb5da2ded76af184dcef",
12
12
  "agents": "44b54fd3a94f6f255b66032c138c81f120d4d8ba9fe219b45c5d926b3f22fcb3",
13
13
  "moduleDoc:agents/dev-workbench.md": "f07a428519e8cca4a46371da0a3b33b9c8d3102f1d9056e4c8efba3c0b702048",
14
14
  "moduleDoc:agents/overview-tools.md": "752a4afb6b57a2e9224f3c65a98b0deb23cda87371f01ac0566f0887e9bb12da",
package/dist/sveltekit.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as clientRequestMessageId, n as ChatService, t as ChatClientRequestConflictError } from "./chunks/ChatService-BGBAqmZq.js";
2
- import { $ as isFallbackReply, D as createSessionContinuationStore, I as MAX_CLIENT_TOOL_RESULT_CHARS, N as FALLBACK_HISTORY_PLACEHOLDER, O as runAssistantTurn, T as createAssistantTurnResponse, X as buildManifestToolCatalog, at as sanitizeClientToolDeclarations, y as ASSISTANT_TURN_GENERIC_ERROR } from "./chunks/chat-stream-CL2kxpWo.js";
2
+ import { $ as isFallbackReply, D as createSessionContinuationStore, I as MAX_CLIENT_TOOL_RESULT_CHARS, N as FALLBACK_HISTORY_PLACEHOLDER, O as runAssistantTurn, T as createAssistantTurnResponse, X as buildManifestToolCatalog, at as sanitizeClientToolDeclarations, y as ASSISTANT_TURN_GENERIC_ERROR } from "./chunks/chat-stream-DUJlSGOu.js";
3
3
  import { getCurrentSessionPermissionContext, getRequestScopedDatabase } from "@happyvertical/smrt-users";
4
4
  import { getConfig, loadConfig, resolveConfiguredAIProvider, toAIClientOptions } from "@happyvertical/smrt-config";
5
5
  //#region src/sveltekit.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-chat",
3
- "version": "0.57.46",
3
+ "version": "0.57.47",
4
4
  "smrtJsdoc": "strict",
5
5
  "description": "Chat rooms, DMs, threads, and agent conversations for the SMRT framework",
6
6
  "type": "module",
@@ -83,22 +83,22 @@
83
83
  },
84
84
  "dependencies": {
85
85
  "@happyvertical/animation": "0.5.0",
86
- "@happyvertical/ai": "^0.111.0",
87
- "@happyvertical/speech": "^0.111.0",
88
- "@happyvertical/smrt-images": "0.57.46",
89
- "@happyvertical/smrt-agents": "0.57.46",
90
- "@happyvertical/smrt-assets": "0.57.46",
91
- "@happyvertical/smrt-config": "0.57.46",
92
- "@happyvertical/smrt-core": "0.57.46",
93
- "@happyvertical/smrt-personas": "0.57.46",
94
- "@happyvertical/smrt-profiles": "0.57.46",
95
- "@happyvertical/smrt-reports": "0.57.46",
96
- "@happyvertical/smrt-tenancy": "0.57.46",
97
- "@happyvertical/smrt-types": "0.57.46",
98
- "@happyvertical/smrt-ui": "0.57.46",
99
- "@happyvertical/smrt-users": "0.57.46",
100
- "@happyvertical/sql": "^0.111.0",
101
- "@happyvertical/images": "^0.111.0",
86
+ "@happyvertical/ai": "^0.111.3",
87
+ "@happyvertical/speech": "^0.111.3",
88
+ "@happyvertical/smrt-images": "0.57.47",
89
+ "@happyvertical/smrt-agents": "0.57.47",
90
+ "@happyvertical/smrt-assets": "0.57.47",
91
+ "@happyvertical/smrt-config": "0.57.47",
92
+ "@happyvertical/smrt-core": "0.57.47",
93
+ "@happyvertical/smrt-personas": "0.57.47",
94
+ "@happyvertical/smrt-profiles": "0.57.47",
95
+ "@happyvertical/smrt-reports": "0.57.47",
96
+ "@happyvertical/smrt-tenancy": "0.57.47",
97
+ "@happyvertical/smrt-types": "0.57.47",
98
+ "@happyvertical/smrt-ui": "0.57.47",
99
+ "@happyvertical/smrt-users": "0.57.47",
100
+ "@happyvertical/sql": "^0.111.3",
101
+ "@happyvertical/images": "^0.111.3",
102
102
  "gsap": "^3.13.0"
103
103
  },
104
104
  "peerDependencies": {
@@ -110,10 +110,10 @@
110
110
  }
111
111
  },
112
112
  "devDependencies": {
113
- "@happyvertical/smrt-playground": "0.57.46",
114
- "@happyvertical/smrt-scanner": "0.57.46",
115
- "@happyvertical/smrt-vitest": "0.57.46",
116
- "@happyvertical/smrt-web": "0.57.46",
113
+ "@happyvertical/smrt-playground": "0.57.47",
114
+ "@happyvertical/smrt-scanner": "0.57.47",
115
+ "@happyvertical/smrt-vitest": "0.57.47",
116
+ "@happyvertical/smrt-web": "0.57.47",
117
117
  "@mlc-ai/web-llm": "^0.2.85",
118
118
  "bitgpu": "0.19.1",
119
119
  "@sveltejs/kit": "2.69.1",