Workspace ManagerconceptAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

Workspace Manager: API Reference

Libtmux_json.Workspace

module Workspace

Public owner: Libtmux_json

Validate workspace documents and describe plans and retained execution. Preview output never supplies executable targets.

Members4#

Common operations1#

  • of_string function Decode libtmux.workspace/1 with the query codec's 64 KiB, UTF-8 and 32-level JSON bounds. Reject duplicate and unknown properties, invalid argv/shell combinations and configuration errors. directory is the absolute document directory; these functions perform no filesystem I/O.

Other members3#

  • decode function
  • encode_plan function Describe libtmux.workspace-plan/1 without I/O. The advisory preview contains command argv, cwd and environment names, excluding environment values, option values and startup text. It is not an execution script.
  • encode_receipt function Describe libtmux.workspace-receipt/1 with ordered steps, outcome index lists, creation IDs, unbound hints and per-pane cleanup. Diagnostic messages are limited to 4096 bytes with an explicit truncation flag; command payloads are omitted.
Esc

Type to search.

Reference previewOpen reference