hyperflash 1.1.0__tar.gz → 1.1.2__tar.gz
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.
- {hyperflash-1.1.0 → hyperflash-1.1.2}/PKG-INFO +37 -4
- hyperflash-1.1.0/src/hyperflash.egg-info/PKG-INFO → hyperflash-1.1.2/README.md +720 -712
- {hyperflash-1.1.0 → hyperflash-1.1.2}/pyproject.toml +1 -1
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash/__init__.py +1 -1
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash/cli.py +30 -13
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash/polyglot.py +127 -48
- hyperflash-1.1.0/README.md → hyperflash-1.1.2/src/hyperflash.egg-info/PKG-INFO +745 -687
- {hyperflash-1.1.0 → hyperflash-1.1.2}/tests/test_cli.py +82 -4
- {hyperflash-1.1.0 → hyperflash-1.1.2}/tests/test_core.py +71 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/LICENSE +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/setup.cfg +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash/core.py +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash/mcp_server.py +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash.egg-info/SOURCES.txt +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash.egg-info/dependency_links.txt +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash.egg-info/entry_points.txt +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash.egg-info/requires.txt +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/src/hyperflash.egg-info/top_level.txt +0 -0
- {hyperflash-1.1.0 → hyperflash-1.1.2}/tests/test_mcp.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hyperflash
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: Universal Engineering Reliability Runtime & Multi-Agent Verification Guardrails
|
|
5
5
|
Author: Virat Ghatge
|
|
6
6
|
License: MIT
|
|
@@ -74,6 +74,10 @@ HyperFlash is a **model-agnostic, harness-agnostic engineering reliability runti
|
|
|
74
74
|
|
|
75
75
|
Whether you are using fast economy engines (**Gemini 3.8 Flash**, **Claude 3.5 Haiku**, **GPT-4o-mini**) or frontier reasoning models (**Claude 3.7 Sonnet**, **OpenAI o1/o3**, **Gemini 3 Pro / Hydrogen**, **DeepSeek-R1**), HyperFlash guarantees that code modifications are surgical, complete, type-safe, and empirically verified before completion is ever granted.
|
|
76
76
|
|
|
77
|
+
> [!NOTE]
|
|
78
|
+
> **Origins & Multi-Platform Evolution:**
|
|
79
|
+
> HyperFlash was originally conceived and engineered specifically with **Google Antigravity** in mind to solve the notorious `/boost` token burn, lazy code truncation (`// ... rest of code`), and premature victory hallucinations. Having achieved rock-solid reliability in Antigravity through native lifecycle hooks and permission asymmetry, we are now actively expanding HyperFlash to bring that same disciplined engineering rigor to **all major platforms**—including **OpenCode**, **Claude Code**, **Cursor**, **Windsurf**, and standalone CLI workflows.
|
|
80
|
+
|
|
77
81
|
---
|
|
78
82
|
|
|
79
83
|
## 🌐 Universal Model & Harness Compatibility
|
|
@@ -180,7 +184,12 @@ Scaffold your preferred IDE or agent harness in 1 second:
|
|
|
180
184
|
# Configure Cursor, Claude Code, Windsurf, Git Hooks, Antigravity, and OpenCode in one command
|
|
181
185
|
hyperflash init
|
|
182
186
|
|
|
183
|
-
#
|
|
187
|
+
# Configure globally across ALL workspaces (user home directory):
|
|
188
|
+
# Sets up OpenCode (~/.config/opencode/opencode.json), Claude Code (~/.claude.json), and Antigravity globally
|
|
189
|
+
hyperflash init --global # or: hyperflash init -g
|
|
190
|
+
|
|
191
|
+
# Or target your specific harness globally or locally:
|
|
192
|
+
hyperflash init --target opencode --global
|
|
184
193
|
hyperflash init --target cursor
|
|
185
194
|
hyperflash init --target claude
|
|
186
195
|
hyperflash init --target windsurf
|
|
@@ -189,6 +198,14 @@ hyperflash init --target antigravity
|
|
|
189
198
|
hyperflash init --target opencode
|
|
190
199
|
```
|
|
191
200
|
|
|
201
|
+
> [!TIP]
|
|
202
|
+
> **Global Configuration Mode (`--global` / `-g`):**
|
|
203
|
+
> When running `hyperflash init --global` (or `-g`), HyperFlash configures your user home directory rather than the current working folder. This means:
|
|
204
|
+
> - **OpenCode:** Registers HyperFlash agent persona and MCP server in `~/.config/opencode/opencode.json` so `opencode --agent hyperflash` works anywhere on your system.
|
|
205
|
+
> - **Claude Code:** Registers the MCP server in `~/.claude.json` and slash command in `~/.claude/commands/hyperflash.md`.
|
|
206
|
+
> - **Antigravity:** Installs skills, agents, and rules globally in `~/.gemini/config/`.
|
|
207
|
+
> You only need to run this once—no per-repository initialization required!
|
|
208
|
+
|
|
192
209
|
### 🚀 Universal Agent Launcher
|
|
193
210
|
Launch your preferred coding environment with the native HyperFlash agent persona pre-activated:
|
|
194
211
|
|
|
@@ -348,9 +365,17 @@ OpenCode supports dedicated named agents natively. HyperFlash installs as a firs
|
|
|
348
365
|
|
|
349
366
|
#### Step 1: Automatic Setup via CLI
|
|
350
367
|
```bash
|
|
368
|
+
# Option A: Global setup (recommended) - works across all folders on your system:
|
|
369
|
+
hyperflash init --target opencode --global
|
|
370
|
+
|
|
371
|
+
# Option B: Local workspace setup - configures current repository:
|
|
351
372
|
hyperflash init --target opencode
|
|
352
373
|
```
|
|
353
|
-
|
|
374
|
+
|
|
375
|
+
**Global Setup (`--global`) configures:**
|
|
376
|
+
- `~/.config/opencode/opencode.json`: Declares the global `hyperflash` agent persona and registers the stdio MCP server without overwriting existing agents or servers.
|
|
377
|
+
|
|
378
|
+
**Local Setup configures:**
|
|
354
379
|
- `OPENCODE.md`: OpenCode engineering constitution.
|
|
355
380
|
- `.opencode/agents/hyperflash.json`: Dedicated agent persona definition.
|
|
356
381
|
- `opencode.json`: Declares `agent: "hyperflash"`, registers agent configuration, and wires the `hyperflash` stdio MCP server.
|
|
@@ -423,7 +448,7 @@ hyperflash init --target git
|
|
|
423
448
|
```yaml
|
|
424
449
|
repos:
|
|
425
450
|
- repo: https://github.com/Virat-Ghatge/hyperflash
|
|
426
|
-
rev: v1.1.
|
|
451
|
+
rev: v1.1.1
|
|
427
452
|
hooks:
|
|
428
453
|
- id: hyperflash-zero-elision
|
|
429
454
|
- id: hyperflash-verify
|
|
@@ -652,6 +677,14 @@ hyperflash/
|
|
|
652
677
|
<b>Yes.</b> HyperFlash is completely harness-agnostic. The repository includes configurations, constitutions, and CLI scripts for <b>Claude Code</b>, <b>OpenCode / OpenHands</b>, <b>Cursor</b>, <b>Windsurf</b>, standalone terminal workflows, and Git pre-commit hooks.
|
|
653
678
|
</details>
|
|
654
679
|
|
|
680
|
+
<details>
|
|
681
|
+
<summary><b>Wasn't HyperFlash originally built for Google Antigravity?</b></summary>
|
|
682
|
+
<br/>
|
|
683
|
+
<b>Yes!</b> HyperFlash was originally created specifically for Google Antigravity to solve real-world autonomous coding frustrations: ungrounded mutations, code truncation, and the heavy token burn of Antigravity's default <code>/boost</code> swarm.
|
|
684
|
+
<br/><br/>
|
|
685
|
+
However, software engineering reliability is a universal challenge across all AI developer tools. We are actively bringing HyperFlash to the entire ecosystem—supporting <b>OpenCode</b>, <b>Claude Code</b>, <b>Cursor</b>, <b>Windsurf</b>, and custom agent runtimes through our universal <code>hyperflash init</code> CLI and local MCP server.
|
|
686
|
+
</details>
|
|
687
|
+
|
|
655
688
|
<details>
|
|
656
689
|
<summary><b>How does HyperFlash physically prevent code truncation (`// ... rest of code`)?</b></summary>
|
|
657
690
|
<br/>
|