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.34
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hugpy_terminal-0.1.34.tar.gz | 374.9 kB | Without provenance | Details for hugpy_terminal-0.1.34.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hugpy_terminal-0.1.34-py3-none-any.whl | Python 3 | none | any | Details for hugpy_terminal-0.1.34-py3-none-any.whl |
Total release size: 778.7 kB
Release files / hugpy_terminal-0.1.34.tar.gz
| Download URL | hugpy_terminal-0.1.34.tar.gz |
|---|---|
| Size | 374.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5243f2e2b2da8f76e579451a4137760cd8e479084f6aa8b2362dfda53ef5ef0
|
|
BLAKE2b-256 checksum How to use checksums |
f57bd60fce21b228f18f89761336ce3cb4e84461021b1d36622bf1e2e9f8c4dc
|
| 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.34-py3-none-any.whl
| Download URL | hugpy_terminal-0.1.34-py3-none-any.whl |
|---|---|
| Size | 403.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03a1e66b440d84fa2382a3c0ee6a450ca057964e9e2bc909a59249bcc747c068
|
|
BLAKE2b-256 checksum How to use checksums |
d76876213e7148b27d8b718c0282aa1656306b96a29eddec688c6f33c4fca531
|
| 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.34
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.