MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / runScript

Method runScript

src/app/service/service_worker/runtime.ts:1387–1393  ·  view source on GitHub ↗
(uuid: string)

Source from the content-addressed store, hash-verified

1385
1386 // 运行脚本
1387 async runScript(uuid: string) {
1388 const res = await this.script.getScriptRunResourceByUUID(uuid);
1389 if (!res) {
1390 return;
1391 }
1392 return await runScript(this.msgSender, res);
1393 }
1394
1395 scriptMatchEntry(
1396 scriptRes: ScriptRunResource,

Callers

nothing calls this directly

Calls 2

runScriptFunction · 0.90

Tested by

no test coverage detected