Namespace Kuestenlogik.Bowire.Scripting

Classes

BowireScriptCall

One script run: the script, the request it belongs to and the scope it may read and write.

BowireScriptLimits

The sandbox's limits. A script that reaches one is stopped and reported, so a runaway script fails its call rather than the run. The caller fills them from configuration (Bowire:Scripting:*); these are the values when it sets none.

BowireScriptRequest

The request a script sees and, before it is sent, may change.

BowireScriptResponse

The response a post-response script reads.

BowireScriptResult

What a script run came to.

BowireScriptRunners

Finds the installed IBowireScriptRunner.

BowireScriptSender

#1111 — ctx.sendRequest on the server side: the request goes to the protocol plugin it names, the way bowire call and bowire test invoke (a request by URL is an ad-hoc call of the REST plugin).

BowireScriptSendRequest

#1111 — a request a script sends with ctx.sendRequest.

BowireScriptSendResponse

#1111 — what a ctx.sendRequest came back with.

BowireScriptSession

The pre-request and post-response scripts of one run (#672): the runner, the values scripts share across the run (ctx.vars.captured) and the sandbox limits from configuration. Used by bowire test, and since #1059 by bowire call and the MCP tool bowire.invoke.

JintScriptRunner

Runs scripts with the workbench's own runtime, wwwroot/js/scripts.js, in Jint (#672). The browser and bowire test therefore build the same ctx from the same code: what the conformance suite checks is the engine, not two implementations of one API.

MethodScriptStore

#1059 — the pre-request and post-response scripts of a workspace's methods, on disk: scripts.json in the workspace's folder (or a git-native workspace's own directory), keyed service::method. The workbench reads and writes it through /api/scripts; bowire call and the MCP tool bowire.invoke read it, so a method runs with its scripts wherever it is called from.

Interfaces

IBowireScriptRunner

Runs a request's pre-request and post-response scripts outside the browser (#672): in bowire test, and anywhere else a call is made on the server side.