insta 0.0.44 → 0.0.45

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 CHANGED
@@ -33,7 +33,7 @@ version-pinned `npm install -g` fallback to run yourself). E2e-validated on macO
33
33
  and Windows (PowerShell + cmd):
34
34
 
35
35
  ```bash
36
- npx -y insta setup agent
36
+ npx -y insta@latest setup agent
37
37
  ```
38
38
 
39
39
  This command means **production** (CLI ≥ 0.0.38): if the machine was previously switched to
@@ -41,7 +41,7 @@ staging it switches back — announced, session dropped, like `insta env use pro
41
41
  its own explicit command, which also persists the choice:
42
42
 
43
43
  ```bash
44
- npx -y insta setup agent --env staging
44
+ npx -y insta@latest setup agent --env staging
45
45
  ```
46
46
 
47
47
  On macOS/Linux without Node, the native-binary installer puts the `insta` CLI on PATH (the
@@ -59,7 +59,10 @@ export function parseInstalledAgents(output) {
59
59
  for (const line of output.split('\n')) {
60
60
  const plain = line.replace(/\x1b\[[0-9;]*m/g, '');
61
61
  // The tool boxes each line ("│ → ~/.claude/skills/insta │"), so don't anchor to EOL.
62
- const m = plain.match(/→\s*(\S+)\/skills\/[A-Za-z0-9_-]+/);
62
+ // Separator-agnostic: on Windows the tool prints C:\Users\…\.claude\skills\insta — a
63
+ // forward-slash-only match found nothing there, collapsing the summary to a nameless
64
+ // "Agents set up" (user report).
65
+ const m = plain.match(/→\s*(\S+)[\\/]skills[\\/][A-Za-z0-9_-]+/);
63
66
  if (m && m[1])
64
67
  paths.add(m[1]);
65
68
  }
@@ -485,7 +488,7 @@ export async function setupAgent(opts, run = defaultRunner, mint, installConfigs
485
488
  // THE summary line. The restart note exists because config-file agents only read their MCP
486
489
  // config at startup; the skill files need no restart.
487
490
  const mcpOk = claude === 'new' || claude === 'existing' || others.length > 0;
488
- info(`${summarizeInstall(res.output ?? '')} — ready to use InstaCloud${mcpOk ? ' (skill + MCP; restart any open tools)' : ''}`);
491
+ info(`${summarizeInstall(res.output ?? '')} — ready to use InstaCloud${mcpOk ? ' (CLI + skill + MCP; restart any open tools)' : ''}`);
489
492
  if (claude === 'new' && !opts.mcpToken) {
490
493
  info(' Claude Code first use: run `/mcp` and authorize in the browser (headless machines: `insta setup agent --mcp-token`)');
491
494
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "insta",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "type": "module",
5
5
  "description": "InstaCloud CLI — a thin client of the platform control-plane API.",
6
6
  "keywords": [