hypeframe 0.3.0 → 0.5.1

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.
Files changed (3) hide show
  1. package/README.md +66 -8
  2. package/dist/index.js +1777 -313
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <p align="center">
2
2
  <b>◆ hypeframe</b><br>
3
3
  The local engine for <a href="https://hype-frame.com">HypeFrame Web</a>.<br>
4
- Code clips, video renders and (soon) AI assistants run on your own machine. The web is just the screen.
4
+ Code clips, video renders and AI agents run on your own machine. The web is just the screen.
5
5
  </p>
6
6
 
7
7
  <p align="center">
@@ -23,6 +23,7 @@ curl -fsSL https://hype-frame.com/install | bash
23
23
  - [Quick start](#quick-start)
24
24
  - [Commands](#commands)
25
25
  - [Rendering](#rendering)
26
+ - [AI agents](#ai-agents)
26
27
  - [Security and privacy](#security-and-privacy)
27
28
  - [Data folder](#data-folder)
28
29
  - [Troubleshooting](#troubleshooting)
@@ -70,6 +71,17 @@ The installer downloads a single `hypeframe` program from
70
71
  `hypeframe`. To pick a version: `HYPEFRAME_VERSION=0.3.0` (bash: `curl … | HYPEFRAME_VERSION=0.3.0 bash`). To update
71
72
  later: `hypeframe update`.
72
73
 
74
+ **Android** (in [Termux from F-Droid](https://f-droid.org/packages/com.termux/); the Play Store build is outdated)
75
+
76
+ ```bash
77
+ pkg install -y curl && curl -fsSL https://hype-frame.com/install | bash
78
+ termux-wake-lock; hypeframe start
79
+ ```
80
+
81
+ On Termux the same installer sets everything up by itself with `pkg`: Node.js, ffmpeg and Chromium (for renders; a
82
+ large download, once; skip it with `--no-render`), then hypeframe from npm. `termux-wake-lock` keeps Android from
83
+ stopping the engine while the screen is off; keep Termux open.
84
+
73
85
  **With Node.js** (20.3 or newer), the npm package works the same:
74
86
 
75
87
  ```bash
@@ -80,7 +92,7 @@ npm i -g hypeframe # keep it installed
80
92
  | | |
81
93
  |---|---|
82
94
  | System | Windows 10/11 (x64; ARM64 through emulation), macOS (Apple Silicon or Intel), Linux x64 or arm64 (glibc or musl/Alpine) |
83
- | Android | Through Termux with Node.js (`pkg install nodejs`, then `npx hypeframe`); the installer switches to npm there. Rendering needs Chromium; the HypeFrame app (APK) is the easier route. |
95
+ | Android | Through Termux: the installer adds Node.js, ffmpeg and Chromium with `pkg`. Whether renders work depends on that Chromium build (`hypeframe doctor` tells); agents that ship only glibc programs cannot run there. |
84
96
  | iPhone / iPad | Cannot run the engine. Use HypeFrame Web with "In this browser" rendering. |
85
97
  | Chrome | Uses the installed Chrome or Edge. Without one, Chrome for Testing is downloaded once (about 150 MB). |
86
98
  | ffmpeg | Comes with the npm package. The standalone program downloads the same build once (about 28 MB) and checks its sha256. |
@@ -108,7 +120,7 @@ npm i -g hypeframe # keep it installed
108
120
  │ ○ Open HypeFrame Web
109
121
  │ ○ Render speed test
110
122
  │ ○ Render history
111
- │ ○ ✦ AI assistant on this machine (coming soon)
123
+ │ ○ ✦ AI assistant (agents used from HypeFrame Web)
112
124
  │ ○ Start automatically
113
125
  │ ○ Settings
114
126
  │ ○ Check this machine
@@ -161,6 +173,8 @@ engine directly. Every menu item is also a command:
161
173
  | `hypeframe clean` | Remove the downloaded Chrome, cached render pages, old logs and failed renders. Finished videos stay |
162
174
  | `hypeframe report` | Write a problem report (versions, settings, recent log) with tokens masked |
163
175
  | `hypeframe update` | Update to the latest version (runs the installer again, or `npm i -g hypeframe@latest` for an npm install) |
176
+ | `hypeframe agent list` | AI agents on this machine and whether they are ready |
177
+ | `hypeframe agent add\|login\|remove <id>` | Install an agent and log in with your own account (`antigravity-acp`, `codex-acp`, `opencode`), log in again, or remove it. An agent you already installed yourself is used as it is; `--download` takes the official download anyway |
164
178
 
165
179
  | Option | Meaning |
166
180
  |---|---|
@@ -208,11 +222,51 @@ render server on the Max plan, then the browser).
208
222
  need a Chrome that can encode VP9 with alpha. Headless Chrome on Windows cannot, so the engine refuses those quickly and
209
223
  the web makes them elsewhere; the terminal says so when the engine starts.
210
224
 
225
+ ## AI agents
226
+
227
+ Chat with an AI agent that runs on this machine, from the Assistant page of HypeFrame Web (on this computer, or on a
228
+ phone or tablet while the engine runs). Set each agent up once in the terminal: run `hypeframe`, choose **✦ AI
229
+ assistant**, pick the agent, then **Install** and **Log in** (or `hypeframe agent add <id>`).
230
+
231
+ Each agent signs in with **your own account and subscription**; HypeFrame pays for and passes on no AI service.
232
+
233
+ | Agent | Id | Account |
234
+ |---|---|---|
235
+ | Antigravity | `antigravity-acp` | your Google account (including Google AI plans) |
236
+ | Codex | `codex-acp` | your ChatGPT account (Plus, Pro…), through "Sign in with ChatGPT" |
237
+ | OpenCode | `opencode` | the providers you set up in OpenCode |
238
+
239
+ Claude Code is not offered: Anthropic does not allow Claude Pro/Max sign-in in other apps, only API keys. With a Claude
240
+ subscription, use Claude's own apps and connect HypeFrame over MCP (HypeFrame Web → Settings → MCP).
241
+
242
+ - Agents are downloaded from the official [ACP Registry](https://agentclientprotocol.com) and checked against its
243
+ sha256. They run unmodified; HypeFrame talks to them over the Agent Client Protocol. An agent you installed yourself
244
+ before (the same program on `PATH`; on Windows an `.exe`) is used instead of a second download, and **Remove** leaves
245
+ your copy alone.
246
+ - The agent's model, mode and other choices can be picked on the web. Modes that skip asking are not offered there.
247
+ - Chat history is kept in the project folder (`riwayat/`, up to 2 MB per chat) and in the browser. The gateway only
248
+ passes messages on.
249
+ - A file the agent makes in the project folder (image, audio, video, font, Lottie/JSON, up to 4 MB) goes into the open
250
+ project with the `add_file_from_computer` tool.
251
+ - Each chat works in `~/.hypeframe/proyek/<project>`. What HypeFrame enforces:
252
+ - file reads and writes the agent asks HypeFrame to do outside that folder are refused;
253
+ - permission requests that name a place outside it are rejected without asking;
254
+ - requests that name no place, and every terminal command, wait for your approval on the web, whatever the
255
+ permission setting;
256
+ - agent modes that skip asking (such as "bypass permissions", "accept edits" or "full access" in your own agent
257
+ settings) are switched back to the normal mode for every chat.
258
+ - An agent's own built-in tools that never ask (for example reading files) follow that agent's own settings, and
259
+ HypeFrame does not sandbox the agent process. Keep each agent on its normal "ask" setting.
260
+ - HypeFrame tools (create a project, add clips, render…) reach the agent through `hypeframe mcp-bridge` and run in the
261
+ HypeFrame Web tab that sent the message, with the same permission rules as any AI. When no tab is open, the agent
262
+ gets a clear error and the terminal says so.
263
+
211
264
  ## Security and privacy
212
265
 
213
- - **Allowed messages only.** The engine accepts `status` and `kunci` (render key) and nothing else. The gateway filters
214
- too, but the engine never relies on that, so a server cannot make the engine run arbitrary commands. There is no
215
- remote terminal.
266
+ - **Allowed messages only.** The engine accepts `status`, `kunci` (render key) and the agent chat messages
267
+ `agen.mulai`, `agen.kirim`, `agen.izin`, `agen.batal`, `agen.opsi` and `agen.riwayat`, and nothing else. The gateway filters too, but the engine
268
+ never relies on that. A chat message can only reach an agent you installed and logged in to on this machine; there is
269
+ no remote terminal.
216
270
  - **Local render service** listens on `127.0.0.1` only. CORS is limited to the HypeFrame Web origin, with Chrome's
217
271
  local network access permission. Every render needs a ticket signed (HMAC-SHA256) with a random key made each time
218
272
  the engine starts; the key is only handed, through the gateway, to tabs signed in as the engine's owner.
@@ -222,8 +276,9 @@ the web makes them elsewhere; the terminal says so when the engine starts.
222
276
  masked in the log file and problem reports. The gateway stores only its sha256.
223
277
  - **Phishing codes.** Never approve a code you did not run yourself. When a code was requested from a different
224
278
  network than your browser, the approval page shows a warning.
225
- - **Sent to the server:** device name, operating system, engine version, render capabilities and the local port.
226
- Projects and videos are not.
279
+ - **Sent to the server:** device name, operating system, engine version, render capabilities, the local port and the
280
+ list of agents (id, name, ready). Agent chats pass through the gateway to your own browser tabs and are not stored
281
+ there. Projects and videos are not sent.
227
282
 
228
283
  Found a vulnerability? See [SECURITY.md](SECURITY.md).
229
284
 
@@ -235,6 +290,9 @@ Found a vulnerability? See [SECURITY.md](SECURITY.md).
235
290
  ├── akun.json device token (owner-readable only)
236
291
  ├── settings.json name, GPU, language, addresses
237
292
  ├── mesin.kunci one engine per folder
293
+ ├── agen/<id>/ installed AI agents (how to start them; API keys you typed, owner-readable only;
294
+ │ kerja/ = the empty folder the agent process starts in)
295
+ ├── proyek/<project>/ agent working folders (the only place agents may read and write); riwayat/ = chat history
238
296
  ├── log/hypeframe.log plain-text log, tokens masked (rotated at 1 MB)
239
297
  ├── cache/
240
298
  │ ├── chrome/ Chrome for Testing (when downloaded)