my-gate 0.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gate/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # `gate`: Hook and CLI package
2
+
3
+ The package has five deliberately small modules:
4
+
5
+ - `hook` contains the stdlib-only decision engine and hook entrypoint.
6
+ - `cli` registers the hook, diagnoses installations, runs self-tests, manages grants,
7
+ and drives terminal tinting.
8
+ - `telemetry` records content-free local counters and event state without network I/O.
9
+ - `paths` migrates pre-rename (`superheavy-gate`) state locations once, best-effort.
10
+ - `tint` decides and emits OSC 11 terminal background colors from triggers and gate
11
+ events (a stdlib port of irix's `colorcode`).
12
+
13
+ Start with the [project README](../README.md), follow the
14
+ [quickstart](../docs/quickstart.md), or browse the rendered
15
+ [Python API](../docs/api.md).
gate/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ """myGate: deny or flag nested AI-agent launches on superheavy models."""
2
+
3
+ from gate.hook import __version__, process
4
+
5
+ __all__ = ['__version__', 'process']
gate/__main__.py ADDED
@@ -0,0 +1,8 @@
1
+ """Module entrypoint: ``python -m gate`` runs the CLI."""
2
+
3
+ import sys
4
+
5
+ from gate.cli import main
6
+
7
+ if __name__ == '__main__':
8
+ sys.exit(main())