@thegitai/cli 1.1.2 → 1.1.4
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 +3 -3
- package/dist/src/browser/native-host.js +3 -2
- package/dist/src/help-text.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -15,9 +15,9 @@ This package is the CLI. The same agent is also available as a
|
|
|
15
15
|
running in the background while it reproduces a bug and reads the logs.
|
|
16
16
|
- **Your signed-in Chrome** - with the TheGitAI Chrome extension it works in the
|
|
17
17
|
browser you already have open, signed in as you, in its own tab group.
|
|
18
|
-
- **Computer Control** - it uses the apps on your computer on
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
- **Computer Control** - it uses the apps on your computer on Linux and macOS:
|
|
19
|
+
in front of you, or on a screen of its own while you keep working.
|
|
20
|
+
[Setup guide](https://thegit.ai/docs/computer-control/overview).
|
|
21
21
|
- **Skills** - teach it your team's workflows as `SKILL.md` folders. It uses one
|
|
22
22
|
when a request calls for it, or when you type `/<name>`.
|
|
23
23
|
- **MCP servers** - connect local or remote MCP servers with `ai mcp add`.
|
|
@@ -68,10 +68,11 @@ function writeLauncher(env, hostScript, platform = process.platform) {
|
|
|
68
68
|
}
|
|
69
69
|
const launcherPath = path.join(dir, 'browser-bridge-host.sh');
|
|
70
70
|
const quote = (value) => "'" + value.replaceAll("'", "'\\''") + "'";
|
|
71
|
-
const
|
|
71
|
+
const electronAsNode = Boolean(process.versions.electron) && platform === 'darwin';
|
|
72
|
+
const command = process.versions.electron && !electronAsNode
|
|
72
73
|
? `${quote(process.execPath)}${platform === 'linux' ? ' --no-sandbox' : ''} --thegitai-browser-host`
|
|
73
74
|
: `${quote(process.execPath)} ${quote(hostScript)}`;
|
|
74
|
-
const contents = `#!/bin/sh\
|
|
75
|
+
const contents = `#!/bin/sh\n${electronAsNode ? 'ELECTRON_RUN_AS_NODE=1 ' : ''}exec ${command} "$@"\n`;
|
|
75
76
|
const existing = fs.existsSync(launcherPath) ? fs.readFileSync(launcherPath, 'utf8') : null;
|
|
76
77
|
if (existing === contents) {
|
|
77
78
|
try {
|
package/dist/src/help-text.js
CHANGED
|
@@ -192,7 +192,7 @@ const HELP_MARKDOWN = [
|
|
|
192
192
|
' command and keeps the password masked and local.',
|
|
193
193
|
'- `-y` / `--yes` at startup auto-approves every shell command and file',
|
|
194
194
|
' edit for the whole session - use with care.',
|
|
195
|
-
'- Using desktop apps (
|
|
195
|
+
'- Using desktop apps (Linux and macOS, preview) always asks first, even in',
|
|
196
196
|
' Bypass all permissions mode: in the background, on a screen of its own',
|
|
197
197
|
' you watch in a small window while you keep your mouse and keyboard, or on',
|
|
198
198
|
' your screen, where Esc takes over. The answer lasts for the task, or for',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegitai/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "TheGitAI is an agentic AI coding tool for your terminal. It reads and searches your repository, writes and edits files, runs your tests, and verifies the change before handing it back.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentic-ai",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"@lydell/node-pty-linux-x64": "1.1.0",
|
|
46
46
|
"@lydell/node-pty-win32-arm64": "1.1.0",
|
|
47
47
|
"@lydell/node-pty-win32-x64": "1.1.0",
|
|
48
|
-
"@thegitai/tui-darwin-arm64": "1.1.
|
|
49
|
-
"@thegitai/tui-darwin-x64": "1.1.
|
|
50
|
-
"@thegitai/tui-linux-arm64": "1.1.
|
|
51
|
-
"@thegitai/tui-linux-x64": "1.1.
|
|
52
|
-
"@thegitai/tui-win32-x64": "1.1.
|
|
48
|
+
"@thegitai/tui-darwin-arm64": "1.1.4",
|
|
49
|
+
"@thegitai/tui-darwin-x64": "1.1.4",
|
|
50
|
+
"@thegitai/tui-linux-arm64": "1.1.4",
|
|
51
|
+
"@thegitai/tui-linux-x64": "1.1.4",
|
|
52
|
+
"@thegitai/tui-win32-x64": "1.1.4",
|
|
53
53
|
"@vscode/ripgrep": "1.18.0"
|
|
54
54
|
},
|
|
55
55
|
"repository": {
|