Documentation
¶
Overview ¶
Package savegatewire assembles the gate a managed script's source save crosses on the portal (#1939, #1942): the script editor's saves and an application import (#2476) both go through it, as manage_script's saves go through the script layer's.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallTester ¶ added in v1.161.0
func CallTester(p *platform.Platform) handlerhttp.Tester
CallTester is the test panel's answer for a connection's handlers (#2436), nil when the tool-call handlers are not wired.
func Drafts ¶ added in v1.153.2
func Drafts(p *platform.Platform, gate *scriptsave.Gate) *scriptdraft.Runner
Drafts is the runner a draft started on the portal executes on: the script editor's dry run and a form's preview (#2494). It reads the libraries and files gate reads and keeps a draft's recording in gate's store, over the assembled MCP server, so a draft's platform calls cross the middleware chain an agent's calls cross.
func Gate ¶
func Gate(p *platform.Platform) *scriptsave.Gate
Gate is the save gate over the platform's recordings (sealed with its rest encryptor), destinations, memory budget, answer contracts, libraries and resource files. A script's handlers must still be served by each version saved (#2171, #2441).
Types ¶
This section is empty.