heyterm 0.1.1 → 0.1.2
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 +4 -1
- package/dist/server/cli.js +5 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<p align="center"><img src="assets/logo-mark.svg" width="96" height="96" alt="HeyTerm"></p>
|
|
2
2
|
|
|
3
|
-
<p align="center"><a href="https://www.npmjs.com/package/heyterm">npm</a> · <a href="LICENSE">MIT</a> · <a href="SECURITY.md">Security</a></p>
|
|
3
|
+
<p align="center"><a href="https://heyterm.vercel.app">Website</a> · <a href="https://heyterm.vercel.app/playground/">Playground</a> · <a href="https://www.npmjs.com/package/heyterm">npm</a> · <a href="LICENSE">MIT</a> · <a href="SECURITY.md">Security</a></p>
|
|
4
4
|
|
|
5
5
|
# HeyTerm
|
|
6
6
|
|
|
@@ -40,6 +40,9 @@ HeyTerm speaks with your Mac's own voice (whatever is set in System Settings, Ac
|
|
|
40
40
|
|
|
41
41
|
## Getting started
|
|
42
42
|
|
|
43
|
+
To see it without installing anything, open the [playground](https://heyterm.vercel.app/playground/): the same interface on three simulated agents.
|
|
44
|
+
|
|
45
|
+
|
|
43
46
|
You need Node.js 20 or newer on macOS, Linux or Windows, and at least one coding agent signed in once: [Claude Code](https://code.claude.com), [Codex](https://github.com/openai/codex) (`npm install -g @openai/codex`), [Gemini CLI](https://github.com/google-gemini/gemini-cli) (`npm install -g @google/gemini-cli`), Grok Build (`curl -fsSL https://x.ai/cli/install.sh | bash`, then `grok login`) or Cursor (`curl https://cursor.com/install -fsS | bash`, then `cursor-agent login`). The assistant in the middle runs on Claude Code.
|
|
44
47
|
|
|
45
48
|
```bash
|
package/dist/server/cli.js
CHANGED
|
@@ -2762,6 +2762,7 @@ import { promisify } from "node:util";
|
|
|
2762
2762
|
var trustOptionText = /Yes, I trust this folder|\bTrust (?:all )?and continue\b/;
|
|
2763
2763
|
var hookReviewText = /Hooks need review/;
|
|
2764
2764
|
var grokTrustText = /Do you trust the contents of this directory\?[\s\S]*Yes, proceed\s+y\b/;
|
|
2765
|
+
var cursorTrustText = /Do you trust the contents of this directory\?[\s\S]*\[a\] Trust this workspace[\s\S]*press the key shown/;
|
|
2765
2766
|
var selectionMarkers = ["\u276F", "\u203A"];
|
|
2766
2767
|
var greatestOptionDistance = 4;
|
|
2767
2768
|
var ScreenReader = class _ScreenReader {
|
|
@@ -2771,6 +2772,7 @@ var ScreenReader = class _ScreenReader {
|
|
|
2771
2772
|
// Keys that select "Yes, I trust this folder" and confirm it, or undefined when the dialog is not showing.
|
|
2772
2773
|
static trustDialogKeys(screenText) {
|
|
2773
2774
|
if (grokTrustText.test(screenText)) return ["y"];
|
|
2775
|
+
if (cursorTrustText.test(screenText)) return ["a"];
|
|
2774
2776
|
const lines = screenText.split("\n");
|
|
2775
2777
|
const trustLineIndex = lines.findIndex((line) => trustOptionText.test(line));
|
|
2776
2778
|
if (trustLineIndex === -1) return void 0;
|
|
@@ -3491,8 +3493,9 @@ var keySequences = {
|
|
|
3491
3493
|
Down: "\x1B[B",
|
|
3492
3494
|
Right: "\x1B[C",
|
|
3493
3495
|
Left: "\x1B[D",
|
|
3494
|
-
// Grok Build's dialogs answer to a letter.
|
|
3495
|
-
y: "y"
|
|
3496
|
+
// Grok Build's and Cursor's dialogs answer to a letter.
|
|
3497
|
+
y: "y",
|
|
3498
|
+
a: "a"
|
|
3496
3499
|
};
|
|
3497
3500
|
var pasteStart = "\x1B[200~";
|
|
3498
3501
|
var pasteEnd = "\x1B[201~";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heyterm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Run your coding agents by voice: Claude Code, Codex and Gemini CLI in one window, with an assistant that hears you and speaks up when a session needs you.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "vitest run",
|