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.roles fixes host identity and endpoint discovery. hugpy_terminal.control supplies headless Wrapper/Core adapters without loading curses, an engine or a web server. hugpy_terminal.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.25

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.25
File Size Uploaded Provenance Actions
hugpy_terminal-0.1.25.tar.gz 286.9 kB Without provenance Details for hugpy_terminal-0.1.25.tar.gz

Built distribution (wheel)

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

Total release size: 615.2 kB

Release files / hugpy_terminal-0.1.25.tar.gz

Download URL hugpy_terminal-0.1.25.tar.gz
Size 286.9 kB
Tags Source
SHA-256 checksum
How to use checksums
26d2814b4f22dae68e8628150145bc1fae7e0de278443a66b703e9f5621960c6
BLAKE2b-256 checksum
How to use checksums
822b2731c2cd6802f46d1663927d03f51cce85e4a7f444b85aa3b6778fe3fff4
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.25-py3-none-any.whl

Download URL hugpy_terminal-0.1.25-py3-none-any.whl
Size 328.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d96d54fdb1d5eb75d9556871b7e4150c23e04f5ea89f80f44ec6d14e2620f10
BLAKE2b-256 checksum
How to use checksums
71ad4035ec2ed05d09ffa18afd50ee01b26e62235980d93e0d7efc227f275483
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.25

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.25 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