@happyvertical/smrt-chat 0.57.18 → 0.57.20

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-DjGf2AoJ.js";
2
- import { A as MAX_CLIENT_TOOLS, B as RUNTIME_REPORT_DEFINE_FUNCTION_NAME, C as SESSION_CONTINUATIONS_FIELD, D as runAssistantTurn, E as createSessionContinuationStore, F as classifyToolError, G as RUNTIME_REPORT_RUN_TOOL_SLUG, H as RUNTIME_REPORT_LIST_FUNCTION_NAME, I as invokeManifestTool, J as createRuntimeReportTools, K as RUNTIME_REPORT_SOURCES_FUNCTION_NAME, L as manifestToolToAITool, M as MAX_CLIENT_TOOL_SCHEMA_BYTES, N as appendClientToolResults, O as CLIENT_TOOL_RESULT_GUIDANCE, P as buildManifestToolCatalog, R as runToolLoop, S as DEFAULT_CONTINUATION_TTL_MS, T as createMemoryContinuationStore, U as RUNTIME_REPORT_LIST_TOOL_SLUG, V as RUNTIME_REPORT_DEFINE_TOOL_SLUG, W as RUNTIME_REPORT_RUN_FUNCTION_NAME, _ as runPersonaConversationTurn, a as MAX_CHAT_STREAM_CONTENT_LENGTH, b as CONTINUATION_CLAIM_TTL_MS, c as encodeChatStreamEvent, d as conversationPersonaFromAgentPersona, f as conversationPersonaFromResolved, g as resolveConversationInstructions, h as recallPersonaMemory, i as DEFAULT_CHAT_STREAM_HEARTBEAT_MS, j as MAX_CLIENT_TOOL_RESULT_CHARS, k as DEFAULT_MAX_STEPS, l as runChatConversationStream, m as principalBindingFor, n as ChatStreamError, o as MAX_CHAT_STREAM_MESSAGES, p as formatRecalledMemory, q as RUNTIME_REPORT_SOURCES_TOOL_SLUG, r as ChatStreamUnauthorizedError, s as createChatStreamHandler, t as ChatStreamBadRequestError, u as bindPersonaToSession, v as ASSISTANT_TURN_GENERIC_ERROR, w as createAssistantTurnResponse, x as DEFAULT_ASSISTANT_TURN_HEARTBEAT_MS, y as AssistantTurnUserError, z as sanitizeClientToolDeclarations } from "./chunks/chat-stream-DhufPCKS.js";
2
+ import { A as MAX_CLIENT_TOOLS, B as RUNTIME_REPORT_DEFINE_FUNCTION_NAME, C as SESSION_CONTINUATIONS_FIELD, D as runAssistantTurn, E as createSessionContinuationStore, F as classifyToolError, G as RUNTIME_REPORT_RUN_TOOL_SLUG, H as RUNTIME_REPORT_LIST_FUNCTION_NAME, I as invokeManifestTool, J as createRuntimeReportTools, K as RUNTIME_REPORT_SOURCES_FUNCTION_NAME, L as manifestToolToAITool, M as MAX_CLIENT_TOOL_SCHEMA_BYTES, N as appendClientToolResults, O as CLIENT_TOOL_RESULT_GUIDANCE, P as buildManifestToolCatalog, R as runToolLoop, S as DEFAULT_CONTINUATION_TTL_MS, T as createMemoryContinuationStore, U as RUNTIME_REPORT_LIST_TOOL_SLUG, V as RUNTIME_REPORT_DEFINE_TOOL_SLUG, W as RUNTIME_REPORT_RUN_FUNCTION_NAME, _ as runPersonaConversationTurn, a as MAX_CHAT_STREAM_CONTENT_LENGTH, b as CONTINUATION_CLAIM_TTL_MS, c as encodeChatStreamEvent, d as conversationPersonaFromAgentPersona, f as conversationPersonaFromResolved, g as resolveConversationInstructions, h as recallPersonaMemory, i as DEFAULT_CHAT_STREAM_HEARTBEAT_MS, j as MAX_CLIENT_TOOL_RESULT_CHARS, k as DEFAULT_MAX_STEPS, l as runChatConversationStream, m as principalBindingFor, n as ChatStreamError, o as MAX_CHAT_STREAM_MESSAGES, p as formatRecalledMemory, q as RUNTIME_REPORT_SOURCES_TOOL_SLUG, r as ChatStreamUnauthorizedError, s as createChatStreamHandler, t as ChatStreamBadRequestError, u as bindPersonaToSession, v as ASSISTANT_TURN_GENERIC_ERROR, w as createAssistantTurnResponse, x as DEFAULT_ASSISTANT_TURN_HEARTBEAT_MS, y as AssistantTurnUserError, z as sanitizeClientToolDeclarations } from "./chunks/chat-stream-CD0WoG7X.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.18",
5
+ "packageVersion": "0.57.20",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-chat:AgentSessionCollection": {
8
8
  "name": "agentsessioncollection",
@@ -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.18",
6
+ "packageVersion": "0.57.20",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "0d1778d9270c797dbb4e77aaa666cffa9cdab5bf65d5d98dee995313b71d7f93",
11
- "packageJson": "d74ec9714971772d4cf6e5659a88c96f601975ce43b374561f4cda12972657d0",
10
+ "manifest": "7e03a367d2b142ab0dec53ca6a12d521ee2344fd07aff4d37b9228732390d1bf",
11
+ "packageJson": "d0738ac34e21717a9055c8069d6b50aef68ed32313231f532394d10072e07ceb",
12
12
  "agents": "fbe59050d13081c743f92497371a2911d07e3b23720571f28fe07c1078c411f1",
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-DjGf2AoJ.js";
2
- import { D as runAssistantTurn, E as createSessionContinuationStore, P as buildManifestToolCatalog, j as MAX_CLIENT_TOOL_RESULT_CHARS, v as ASSISTANT_TURN_GENERIC_ERROR, w as createAssistantTurnResponse, z as sanitizeClientToolDeclarations } from "./chunks/chat-stream-DhufPCKS.js";
2
+ import { D as runAssistantTurn, E as createSessionContinuationStore, P as buildManifestToolCatalog, j as MAX_CLIENT_TOOL_RESULT_CHARS, v as ASSISTANT_TURN_GENERIC_ERROR, w as createAssistantTurnResponse, z as sanitizeClientToolDeclarations } from "./chunks/chat-stream-CD0WoG7X.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.18",
3
+ "version": "0.57.20",
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.105.5",
87
- "@happyvertical/speech": "^0.105.5",
88
- "@happyvertical/smrt-images": "0.57.18",
89
- "@happyvertical/smrt-agents": "0.57.18",
90
- "@happyvertical/smrt-assets": "0.57.18",
91
- "@happyvertical/smrt-config": "0.57.18",
92
- "@happyvertical/smrt-core": "0.57.18",
93
- "@happyvertical/smrt-personas": "0.57.18",
94
- "@happyvertical/smrt-profiles": "0.57.18",
95
- "@happyvertical/smrt-reports": "0.57.18",
96
- "@happyvertical/smrt-tenancy": "0.57.18",
97
- "@happyvertical/smrt-types": "0.57.18",
98
- "@happyvertical/smrt-ui": "0.57.18",
99
- "@happyvertical/smrt-users": "0.57.18",
100
- "@happyvertical/sql": "^0.105.5",
101
- "@happyvertical/images": "^0.105.5",
86
+ "@happyvertical/ai": "^0.106.0",
87
+ "@happyvertical/speech": "^0.106.0",
88
+ "@happyvertical/smrt-images": "0.57.20",
89
+ "@happyvertical/smrt-agents": "0.57.20",
90
+ "@happyvertical/smrt-assets": "0.57.20",
91
+ "@happyvertical/smrt-config": "0.57.20",
92
+ "@happyvertical/smrt-core": "0.57.20",
93
+ "@happyvertical/smrt-personas": "0.57.20",
94
+ "@happyvertical/smrt-profiles": "0.57.20",
95
+ "@happyvertical/smrt-reports": "0.57.20",
96
+ "@happyvertical/smrt-tenancy": "0.57.20",
97
+ "@happyvertical/smrt-types": "0.57.20",
98
+ "@happyvertical/smrt-ui": "0.57.20",
99
+ "@happyvertical/smrt-users": "0.57.20",
100
+ "@happyvertical/sql": "^0.106.0",
101
+ "@happyvertical/images": "^0.106.0",
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.18",
114
- "@happyvertical/smrt-scanner": "0.57.18",
115
- "@happyvertical/smrt-vitest": "0.57.18",
116
- "@happyvertical/smrt-web": "0.57.18",
113
+ "@happyvertical/smrt-playground": "0.57.20",
114
+ "@happyvertical/smrt-scanner": "0.57.20",
115
+ "@happyvertical/smrt-vitest": "0.57.20",
116
+ "@happyvertical/smrt-web": "0.57.20",
117
117
  "@mlc-ai/web-llm": "^0.2.85",
118
118
  "bitgpu": "0.19.1",
119
119
  "@sveltejs/kit": "2.69.1",