@lota-sdk/core 0.3.3 → 0.4.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lota-sdk/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@chat-adapter/slack": "^4.23.0",
|
|
33
33
|
"@chat-adapter/state-ioredis": "^4.23.0",
|
|
34
34
|
"@logtape/logtape": "^2.0.5",
|
|
35
|
-
"@lota-sdk/shared": "0.
|
|
35
|
+
"@lota-sdk/shared": "0.4.0",
|
|
36
36
|
"@mendable/firecrawl-js": "^4.18.1",
|
|
37
37
|
"@surrealdb/node": "^3.0.3",
|
|
38
38
|
"ai": "^6.0.145",
|
|
@@ -56,10 +56,7 @@ function parseAiGatewayJsonRequestBody(body: BodyInit | null | undefined): Recor
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
function withDefaultAiGatewayCacheHeaders(params: AiGatewayCallOptions): AiGatewayCallOptions {
|
|
59
|
-
return {
|
|
60
|
-
...params,
|
|
61
|
-
headers: mergeAiGatewayHeaders(params.headers, buildAiGatewayCacheHeaders('lota-sdk')),
|
|
62
|
-
}
|
|
59
|
+
return { ...params, headers: mergeAiGatewayHeaders(params.headers, buildAiGatewayCacheHeaders('lota-sdk')) }
|
|
63
60
|
}
|
|
64
61
|
|
|
65
62
|
function normalizeAiGatewayUrl(value: string): string {
|
package/src/db/sdk-database.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const LOTA_SDK_DATABASE_NAME = '
|
|
1
|
+
export const LOTA_SDK_DATABASE_NAME = 'lotasdk_thread'
|
|
@@ -368,7 +368,7 @@ class PlanRunService {
|
|
|
368
368
|
|
|
369
369
|
// Slim mode: non-active/ready nodes get summary only (used for prompt injection via JSON.stringify).
|
|
370
370
|
// The cast is safe — this data is only consumed by formatExecutionPlansForPrompt, not by Zod validation.
|
|
371
|
-
//
|
|
371
|
+
// executionPlanQuery calls toSerializablePlan without slim=true for full inspection payloads.
|
|
372
372
|
if (slim && !isActiveOrReady) {
|
|
373
373
|
return {
|
|
374
374
|
id: nodeSpec.nodeId,
|