insta 0.0.14 → 0.0.15

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.
@@ -71,11 +71,14 @@ export function summarizeInstall(output) {
71
71
  : `${count} agent${count === 1 ? '' : 's'}`;
72
72
  return `✓ Agent skills — ${list}`;
73
73
  }
74
- // Capture stdout+stderr silently (don't stream) so we can print our own clean summary. We keep
75
- // the child's stdin inherited in case the tool ever needs a TTY, but with -y it shouldn't.
74
+ // Capture stdout+stderr silently (don't stream) so we can print our own clean summary.
75
+ // stdin is 'ignore', NOT 'inherit': under the canonical `curl … | sh` install, stdin is the
76
+ // piped install script itself — a child that inherits it (npx/skills reads for keypresses even
77
+ // with -y) consumes the rest of the script, so the shell never runs the trailing "Get started"
78
+ // guidance. Ignoring stdin keeps the installer's own output intact. (-y means no prompt anyway.)
76
79
  const defaultRunner = (cmd, args) => new Promise((resolve) => {
77
80
  const env = { ...process.env, AI_AGENT: process.env.AI_AGENT || 'insta', FORCE_COLOR: '0' };
78
- const p = spawn(cmd, args, { stdio: ['inherit', 'pipe', 'pipe'], env });
81
+ const p = spawn(cmd, args, { stdio: ['ignore', 'pipe', 'pipe'], env });
79
82
  let output = '';
80
83
  const grab = (chunk) => { output += chunk.toString(); };
81
84
  p.stdout?.on('data', grab);
@@ -90,7 +93,7 @@ export async function setupAgent(opts, run = defaultRunner) {
90
93
  if (!opts.yes && !process.stdout.isTTY) {
91
94
  info('non-interactive shell — assuming -y');
92
95
  }
93
- info('setting up coding-agent skills … (~20s)');
96
+ info('setting up coding-agent skills …');
94
97
  const res = await run('npx', SETUP_ARGS);
95
98
  if (!res.ok) {
96
99
  info(' skill install failed — install manually with:');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "insta",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "description": "InstaCloud CLI — a thin client of the platform control-plane API.",
6
6
  "keywords": [