hypeframe 0.3.0 → 0.5.0
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.
- package/README.md +50 -7
- package/dist/index.js +1741 -289
- 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
|
|
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)
|
|
@@ -108,7 +109,7 @@ npm i -g hypeframe # keep it installed
|
|
|
108
109
|
│ ○ Open HypeFrame Web
|
|
109
110
|
│ ○ Render speed test
|
|
110
111
|
│ ○ Render history
|
|
111
|
-
│ ○ ✦ AI assistant
|
|
112
|
+
│ ○ ✦ AI assistant (agents used from HypeFrame Web)
|
|
112
113
|
│ ○ Start automatically
|
|
113
114
|
│ ○ Settings
|
|
114
115
|
│ ○ Check this machine
|
|
@@ -161,6 +162,8 @@ engine directly. Every menu item is also a command:
|
|
|
161
162
|
| `hypeframe clean` | Remove the downloaded Chrome, cached render pages, old logs and failed renders. Finished videos stay |
|
|
162
163
|
| `hypeframe report` | Write a problem report (versions, settings, recent log) with tokens masked |
|
|
163
164
|
| `hypeframe update` | Update to the latest version (runs the installer again, or `npm i -g hypeframe@latest` for an npm install) |
|
|
165
|
+
| `hypeframe agent list` | AI agents on this machine and whether they are ready |
|
|
166
|
+
| `hypeframe agent add\|login\|remove <id>` | Install an agent and log in (`claude-acp`, `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
167
|
|
|
165
168
|
| Option | Meaning |
|
|
166
169
|
|---|---|
|
|
@@ -208,11 +211,47 @@ render server on the Max plan, then the browser).
|
|
|
208
211
|
need a Chrome that can encode VP9 with alpha. Headless Chrome on Windows cannot, so the engine refuses those quickly and
|
|
209
212
|
the web makes them elsewhere; the terminal says so when the engine starts.
|
|
210
213
|
|
|
214
|
+
## AI agents
|
|
215
|
+
|
|
216
|
+
Chat with an AI agent that runs on this machine, from the Assistant page of HypeFrame Web (on this computer, or on a
|
|
217
|
+
phone or tablet while the engine runs). Set each agent up once in the terminal: run `hypeframe`, choose **✦ AI
|
|
218
|
+
assistant**, pick the agent, then **Install** and **Log in** (or `hypeframe agent add <id>`).
|
|
219
|
+
|
|
220
|
+
| Agent | Id | Account |
|
|
221
|
+
|---|---|---|
|
|
222
|
+
| Claude Code | `claude-acp` | Anthropic API key (Anthropic allows subscription logins only in its own apps) |
|
|
223
|
+
| Antigravity | `antigravity-acp` | its own login |
|
|
224
|
+
| Codex | `codex-acp` | its own login |
|
|
225
|
+
| OpenCode | `opencode` | its own login |
|
|
226
|
+
|
|
227
|
+
- Agents are downloaded from the official [ACP Registry](https://agentclientprotocol.com) and checked against its
|
|
228
|
+
sha256. They run unmodified; HypeFrame talks to them over the Agent Client Protocol. An agent you installed yourself
|
|
229
|
+
before (the same program on `PATH`; on Windows an `.exe`) is used instead of a second download, and **Remove** leaves
|
|
230
|
+
your copy alone.
|
|
231
|
+
- The agent's model, mode and other choices can be picked on the web. Modes that skip asking are not offered there.
|
|
232
|
+
- Chat history is kept in the project folder (`riwayat/`, up to 2 MB per chat) and in the browser. The gateway only
|
|
233
|
+
passes messages on.
|
|
234
|
+
- A file the agent makes in the project folder (image, audio, video, font, Lottie/JSON, up to 4 MB) goes into the open
|
|
235
|
+
project with the `add_file_from_computer` tool.
|
|
236
|
+
- Each chat works in `~/.hypeframe/proyek/<project>`. What HypeFrame enforces:
|
|
237
|
+
- file reads and writes the agent asks HypeFrame to do outside that folder are refused;
|
|
238
|
+
- permission requests that name a place outside it are rejected without asking;
|
|
239
|
+
- requests that name no place, and every terminal command, wait for your approval on the web, whatever the
|
|
240
|
+
permission setting;
|
|
241
|
+
- agent modes that skip asking (such as Claude Code's "bypass permissions" or "accept edits" in your own Claude
|
|
242
|
+
settings) are switched back to the normal mode for every chat.
|
|
243
|
+
- An agent's own built-in tools that never ask (for example reading files) follow that agent's own settings, and
|
|
244
|
+
HypeFrame does not sandbox the agent process. Keep each agent on its normal "ask" setting.
|
|
245
|
+
- HypeFrame tools (create a project, add clips, render…) reach the agent through `hypeframe mcp-bridge` and run in the
|
|
246
|
+
HypeFrame Web tab that sent the message, with the same permission rules as any AI. When no tab is open, the agent
|
|
247
|
+
gets a clear error and the terminal says so.
|
|
248
|
+
|
|
211
249
|
## Security and privacy
|
|
212
250
|
|
|
213
|
-
- **Allowed messages only.** The engine accepts `status
|
|
214
|
-
|
|
215
|
-
|
|
251
|
+
- **Allowed messages only.** The engine accepts `status`, `kunci` (render key) and the agent chat messages
|
|
252
|
+
`agen.mulai`, `agen.kirim`, `agen.izin`, `agen.batal`, `agen.opsi` and `agen.riwayat`, and nothing else. The gateway filters too, but the engine
|
|
253
|
+
never relies on that. A chat message can only reach an agent you installed and logged in to on this machine; there is
|
|
254
|
+
no remote terminal.
|
|
216
255
|
- **Local render service** listens on `127.0.0.1` only. CORS is limited to the HypeFrame Web origin, with Chrome's
|
|
217
256
|
local network access permission. Every render needs a ticket signed (HMAC-SHA256) with a random key made each time
|
|
218
257
|
the engine starts; the key is only handed, through the gateway, to tabs signed in as the engine's owner.
|
|
@@ -222,8 +261,9 @@ the web makes them elsewhere; the terminal says so when the engine starts.
|
|
|
222
261
|
masked in the log file and problem reports. The gateway stores only its sha256.
|
|
223
262
|
- **Phishing codes.** Never approve a code you did not run yourself. When a code was requested from a different
|
|
224
263
|
network than your browser, the approval page shows a warning.
|
|
225
|
-
- **Sent to the server:** device name, operating system, engine version, render capabilities
|
|
226
|
-
|
|
264
|
+
- **Sent to the server:** device name, operating system, engine version, render capabilities, the local port and the
|
|
265
|
+
list of agents (id, name, ready). Agent chats pass through the gateway to your own browser tabs and are not stored
|
|
266
|
+
there. Projects and videos are not sent.
|
|
227
267
|
|
|
228
268
|
Found a vulnerability? See [SECURITY.md](SECURITY.md).
|
|
229
269
|
|
|
@@ -235,6 +275,9 @@ Found a vulnerability? See [SECURITY.md](SECURITY.md).
|
|
|
235
275
|
├── akun.json device token (owner-readable only)
|
|
236
276
|
├── settings.json name, GPU, language, addresses
|
|
237
277
|
├── mesin.kunci one engine per folder
|
|
278
|
+
├── agen/<id>/ installed AI agents (how to start them; API keys you typed, owner-readable only;
|
|
279
|
+
│ kerja/ = the empty folder the agent process starts in)
|
|
280
|
+
├── proyek/<project>/ agent working folders (the only place agents may read and write); riwayat/ = chat history
|
|
238
281
|
├── log/hypeframe.log plain-text log, tokens masked (rotated at 1 MB)
|
|
239
282
|
├── cache/
|
|
240
283
|
│ ├── chrome/ Chrome for Testing (when downloaded)
|