spine-framework 0.3.110 → 0.3.112

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.
@@ -175,7 +175,8 @@ export async function runAgent(
175
175
  )
176
176
 
177
177
  // 4. Check confidence and escalate if needed
178
- if (agentResponse.confidence < (promptConfig.confidence_threshold || 0)) {
178
+ const isEscalated = agentResponse.confidence < (promptConfig.confidence_threshold || 0)
179
+ if (isEscalated) {
179
180
  await handleEscalation(
180
181
  threadId,
181
182
  agentResponse.confidence,
@@ -204,6 +205,7 @@ export async function runAgent(
204
205
  agent_id: agent.id,
205
206
  prompt_config_id: promptConfig.id,
206
207
  sender_type: 'agent',
208
+ escalated: isEscalated,
207
209
  },
208
210
  ctx,
209
211
  replyTypeSlug
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en">
2
+ <html lang="en" class="h-full">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <link rel="icon" type="image/svg+xml" href="/spine-logo.svg" />
@@ -9,8 +9,8 @@
9
9
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
10
10
  <title>Spine Framework</title>
11
11
  </head>
12
- <body>
13
- <div id="root"></div>
12
+ <body class="h-full">
13
+ <div id="root" class="h-full"></div>
14
14
  <script type="module" src="/src/main.tsx"></script>
15
15
  </body>
16
16
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spine-framework",
3
- "version": "0.3.110",
3
+ "version": "0.3.112",
4
4
  "description": "Multi-tenant, modular application platform for modern SaaS systems",
5
5
  "type": "module",
6
6
  "bin": {