Dive

dive pack

dive pack run

Run one of a pack's items, private and migration ones included, under its manifest name

Runs a tool, plan or agent of the pack at --path, the way the pack's own plans call it, so items outside the public interface and migration items run too. This is the only direct way to run them. The result is printed to stdout as JSON.

Arguments

ITEMstringrequired

The item as <tool|plan|agent><name>, its full catalog name, $pack<kind>__<name>, or a bare name when only one item has it

Inputs as a JSON object: inline ('{"a":1}'), @file.json, or - for stdin

Options

--inputstring[]

Override individual input keys (applied on top of the JSON document)

Format: KEY=VALUE.

--pathstringdefault: .

The pack's directory, holding pack.toml

Format: PATH.

--jsonboolean

Print a JSON envelope instead of text

Global options

Increase log verbosity (-v info, -vv debug, -vvv trace)

Act as this [identities] entry: runs get a run token minted for its tenant and user, which http tools send to the app

Format: IDENTITY.

dive pack run [OPTIONS] <ITEM> [JSON|@FILE|-]