Skip to main content

Hugpy Terminal

Shared terminal, sessions and headless client primitives for the Hugpy arms. hugpy-harness binds the runtime to Wrapper; hugpy-fleet binds it to Core. Wrapper and Core can bundle the appropriate arm without depending on one another. Agent's existing Harness compatibility imports keep using this runtime.

hugpy_terminal.control.roles fixes host identity and endpoint discovery. hugpy_terminal.control.controls supplies headless Wrapper/Core adapters without loading curses, an engine or a web server. hugpy_terminal.control.arms is the common JSON/CLI host. Settings are validated and confirmed using hugpy-settings. hugpy_terminal.models.db is the models-db-v1 contract (HTTP only, no database driver): Wrapper and Core clients, the table sections, and pure helpers that merge per-worker models rows into fleet records and resolve catalog keys.

This package is built from staged source and bundled in offline Debian installers; PyPI publication is a separate operation.

Source organization

The package source is src/hugpy_terminal inside this package directory. All standard-library and external package imports go through imports/init_imports.py. Internal imports and lazy export maps use relative paths. Ordinary imports live at module scope; deferred imports document their optional backend, protocol selection, or circular dependency requirement.

imports/constants.py owns reusable defaults, policy and protocol vocabularies, limits, UI metadata, media tasks, input markers, and text-format patterns. imports/classes/ groups base errors, screen geometry, input decoding, selection classes, and immutable task records. imports/functions/ groups parsing, paths, loading, hashing, text, columns, layout, URLs, address validation, timestamps, markup, token estimates, clipboard output, Markdown, private file writing, formatting, durations, clipping and meters. Both shared layers export their public names lazily, so unrelated backends remain optional.

Hugpy workflows stay in their feature modules. Import helpers and classes from imports/functions and imports/classes directly. The former TUI input, layout, selection, and text forwarding modules, settings aliases, and old Claude client alias have been removed. Settings consumers import hugpy_settings directly. The SQLite journal is organized as journal/journal.py beside journal/journal.sql, with package exports in journal/__init__.py; the SQL is included in built wheels.

Generic path confinement for portable tools is imported directly from hugpy_resources.imports.functions.paths; Resources is an explicit dependency.

Shared local settings

Use /settings local in the terminal to edit this machine's shared settings profile without requiring a Wrapper endpoint. The panel is hugpy-settings' local_panel: one section per settings domain (shared, discovery, database), with the same widgets, directory picker and provenance display as the Wrapper settings editor. Discovery opens the same panel for its own domains with hugpy-discovery settings and on unconfigured first launch; it can also run directly with python -m hugpy_settings.local_panel.

Definitions come from Resources settings.domains; hugpy-settings owns validation, provenance and private persistence. Secrets are hidden during input and masked in the panel.

Metadata

Release files for hugpy-terminal 0.1.32

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hugpy-terminal 0.1.32
File Size Uploaded Provenance Actions
hugpy_terminal-0.1.32.tar.gz 368.0 kB Without provenance Details for hugpy_terminal-0.1.32.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hugpy-terminal 0.1.32
File Interpreter ABI Platform Actions
hugpy_terminal-0.1.32-py3-none-any.whl Python 3 none any Details for hugpy_terminal-0.1.32-py3-none-any.whl

Total release size: 766.8 kB

Release files / hugpy_terminal-0.1.32.tar.gz

Download URL hugpy_terminal-0.1.32.tar.gz
Size 368.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8ea3704bc8cda3e6f235546ee055ff3677d2e2b5c3b56abe83674ba93d803036
BLAKE2b-256 checksum
How to use checksums
a39f3f2a186b2de96cdefacbb59cf6c40027f227f8162ca9c32e931b43e19984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / hugpy_terminal-0.1.32-py3-none-any.whl

Download URL hugpy_terminal-0.1.32-py3-none-any.whl
Size 398.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8d8757bce3c819fa3083c2bcacbf817b4e55472f69aeda1446e0a8b4b820e1a
BLAKE2b-256 checksum
How to use checksums
0c2fa5727b0dbe9f24b5d3b3f311ab9be34651107fccce1800f213a408cbff4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for hugpy-terminal 0.1.32

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.32 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page