@lotics/app-sdk 0.133.0 → 0.133.1
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8655,7 +8655,7 @@ function walkStepTree(steps, visit) {
|
|
|
8655
8655
|
}
|
|
8656
8656
|
}
|
|
8657
8657
|
}
|
|
8658
|
-
function
|
|
8658
|
+
function literalString(value) {
|
|
8659
8659
|
return value !== void 0 && isToolInputExpression(value) && value.$expr.kind === "lit" && typeof value.$expr.value === "string" ? value.$expr.value : null;
|
|
8660
8660
|
}
|
|
8661
8661
|
function toolRows(toolName) {
|
|
@@ -8670,7 +8670,7 @@ function rowWriteOf(step) {
|
|
|
8670
8670
|
if (step.type !== "tool_call") return void 0;
|
|
8671
8671
|
const rows = toolRows(step.tool_name);
|
|
8672
8672
|
if (rows === null) return void 0;
|
|
8673
|
-
return { table_id: rows === "unnamed" ? null :
|
|
8673
|
+
return { table_id: rows === "unnamed" ? null : literalString(step.input[rows.kwarg]) };
|
|
8674
8674
|
}
|
|
8675
8675
|
|
|
8676
8676
|
// ../shared/src/walk_workflow_expression.ts
|
|
@@ -8981,7 +8981,7 @@ function stepOutputRecordAnchor(stepId, path, ctx, seen) {
|
|
|
8981
8981
|
const step = steps.get(stepId);
|
|
8982
8982
|
if (!step) return null;
|
|
8983
8983
|
if (step.type === "tool_call") {
|
|
8984
|
-
const tableId =
|
|
8984
|
+
const tableId = literalString(step.input.table_id);
|
|
8985
8985
|
if (tableId === null) return null;
|
|
8986
8986
|
const table = ctx.tables.get(tableId);
|
|
8987
8987
|
if (!table) return null;
|
package/package.json
CHANGED