feat: optimize datalink metadata display, fix field mapping schema, bill timeout and cli options

This commit is contained in:
gitea committed 2026-10-22 18:43:54 +08:00
1 parent fbdb38bfb2
commit a5f685045e
13 files changed
+254 -40

No files matched your search

@@ -51,6 +51,11 @@ export async function executeJavaScriptSandbox(
const value = vm.getProp(parsed.value, key);
try { vm.setProp(vm.global, key, value); } finally { value.dispose(); }
}
// 同时挂载 inputs 命名空间,支持脚本直接通过 inputs.xxx 访问输入对象
if (!Object.hasOwn(inputs, "inputs")) {
const dup = parsed.value.dup();
try { vm.setProp(vm.global, "inputs", dup); } finally { dup.dispose(); }
}
} finally { parsed.value.dispose(); }
const recordLog = (args: Parameters<typeof vm.dump>) => {