mstro-app 0.1.47 → 0.1.48
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 +2 -2
- package/bin/mstro.js +1 -30
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# mstro
|
|
2
2
|
|
|
3
|
-
Luxurious remote
|
|
3
|
+
Luxurious remote workspace for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Run AI-powered coding sessions from any browser while Claude executes locally on any of your machines.
|
|
4
4
|
|
|
5
5
|
**mstro** is the CLI client for [mstro.app](https://mstro.app). It runs on your machine (laptop, cloud VM, CI server) and connects to the mstro.app web interface via a secure relay. You write prompts in the browser, Claude Code runs in your terminal.
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ Run Claude Code on a powerful remote machine and interact with it from your phon
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npm install -g mstro
|
|
28
|
+
npm install -g mstro-app
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Requires [Claude Code](https://docs.anthropic.com/en/docs/claude-code) installed and authenticated (`claude` CLI available in your PATH).
|
package/bin/mstro.js
CHANGED
|
@@ -47,7 +47,6 @@ const USER_CWD = process.cwd();
|
|
|
47
47
|
const MSTRO_CONFIG_DIR = join(homedir(), '.mstro');
|
|
48
48
|
const MSTRO_FIRST_RUN_FLAG = join(MSTRO_CONFIG_DIR, '.configured');
|
|
49
49
|
const MSTRO_TERMINAL_CHECKED_FLAG = join(MSTRO_CONFIG_DIR, '.terminal-checked');
|
|
50
|
-
const MSTRO_TELEMETRY_NOTICE_FLAG = join(MSTRO_CONFIG_DIR, '.telemetry-notice-shown');
|
|
51
50
|
const CLAUDE_SETTINGS_FILE = join(homedir(), '.claude', 'settings.json');
|
|
52
51
|
const CLAUDE_HOOKS_DIR = join(homedir(), '.claude', 'hooks');
|
|
53
52
|
const BOUNCER_HOOK_FILE = join(CLAUDE_HOOKS_DIR, 'bouncer.sh');
|
|
@@ -151,34 +150,6 @@ function showBouncerWarning() {
|
|
|
151
150
|
log(' Security Bouncer not configured. Run: mstro configure-hooks', colors.dim);
|
|
152
151
|
}
|
|
153
152
|
|
|
154
|
-
/**
|
|
155
|
-
* Show telemetry notice on first run (one-time)
|
|
156
|
-
*/
|
|
157
|
-
function showTelemetryNotice() {
|
|
158
|
-
if (existsSync(MSTRO_TELEMETRY_NOTICE_FLAG)) {
|
|
159
|
-
return; // Already shown
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
log('');
|
|
163
|
-
log(' Telemetry Notice', colors.bold);
|
|
164
|
-
log(' Mstro collects anonymous error reports and usage data to improve', colors.dim);
|
|
165
|
-
log(' the software. No personal data or code is collected.', colors.dim);
|
|
166
|
-
log('');
|
|
167
|
-
log(' To disable: mstro telemetry off', colors.dim);
|
|
168
|
-
log(' Privacy policy: https://github.com/mstro-app/mstro/blob/main/cli/PRIVACY.md', colors.dim);
|
|
169
|
-
log('');
|
|
170
|
-
|
|
171
|
-
// Mark as shown
|
|
172
|
-
try {
|
|
173
|
-
if (!existsSync(MSTRO_CONFIG_DIR)) {
|
|
174
|
-
mkdirSync(MSTRO_CONFIG_DIR, { recursive: true, mode: 0o700 });
|
|
175
|
-
}
|
|
176
|
-
writeFileSync(MSTRO_TELEMETRY_NOTICE_FLAG, new Date().toISOString());
|
|
177
|
-
} catch {
|
|
178
|
-
// Ignore errors - non-critical
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
153
|
/**
|
|
183
154
|
* Prompt user to configure hooks
|
|
184
155
|
* Returns: 'configure' | 'skip' | 'never'
|
|
@@ -224,7 +195,7 @@ async function promptBouncerSetup() {
|
|
|
224
195
|
}
|
|
225
196
|
|
|
226
197
|
function showHelp() {
|
|
227
|
-
log('\n Mstro - No-code AI
|
|
198
|
+
log('\n Mstro - No-code AI Workspace\n', colors.bold + colors.cyan);
|
|
228
199
|
log(' Run Claude Code workflows from your laptop, cloud VM, or any machine.\n', colors.dim);
|
|
229
200
|
log(' Usage:', colors.bold);
|
|
230
201
|
log(' mstro Start Mstro (auto-finds available port)', colors.dim);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mstro-app",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "No-code AI
|
|
3
|
+
"version": "0.1.48",
|
|
4
|
+
"description": "No-code AI workspace - run Claude Code workflows from your laptop, cloud VM, or any machine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Mstro",
|