toolargs

package
v0.128.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package toolargs decodes raw JSON tool-argument payloads.

It is a leaf package shared by the extension runtime, the SDK event bridge and the TUI, so the UI does not need to import internal/extensions for it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(raw string) map[string]any

Parse decodes a raw JSON tool-argument payload into a map.

It returns nil for empty, whitespace-only, or malformed input. Callers treat nil as "no arguments" rather than as an error: this is non-fatal convenience parsing shared by the extension wrapper, the SDK event bridge, and the TUI activity row, none of which may fail because a payload did not decode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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