go_script

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

templ: version: v0.3.1020

Package go_script is the editor-side module for the `go_script` workflow node — palette entry, drawflow codec, inspector partial + JS module (Ace editor). Pairs with the engine-side executor in internal/agents/workflow/nodes/go_script.go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inspector

func Inspector() templ.Component

Inspector is the parameters-tab partial for the go_script node. Renders ArgForm from GoScriptSchema — the same struct the engine reflects for workflow_node_types. The `code` field is a textarea row; inspector.js upgrades it to an Ace editor (Go mode, gutter, soft errors) at hydrate time so users see syntax highlighting + line numbers + parse errors inline. The Fixed/Expression toggle still wraps the editor so users can pin code as a literal that the engine won't pre-render through Go templates.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL