squidcloudctl 3.0.10 → 3.0.11

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.
@@ -2,6 +2,7 @@ import { spawn } from 'node:child_process';
2
2
  import chalk from 'chalk';
3
3
  import { apiPost } from '../../lib/api/client.js';
4
4
  import { muted } from '../../lib/output/brand.js';
5
+ import path from 'node:path';
5
6
  import { ensureSquidFsBinary, writeSession } from './binary.js';
6
7
  /** Mint an API key for the SquidFS bridge (it authenticates cb_ keys). */
7
8
  async function ensureApiKey() {
@@ -42,6 +43,11 @@ export default async function fsMount(...args) {
42
43
  authToken = sbToken;
43
44
  }
44
45
  catch { }
46
+ // Start the Node.js decrypt microservice
47
+ const dsvc = spawn('node', [
48
+ path.join(__dirname, 'decrypt-service.cjs')
49
+ ], { stdio: 'ignore' });
50
+ dsvc.unref();
45
51
  const child = spawn(argv[0], argv.slice(1), {
46
52
  env: {
47
53
  ...process.env,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squidcloudctl",
3
- "version": "3.0.10",
3
+ "version": "3.0.11",
4
4
  "description": "SquidCloud CLI (squidcloudctl) — encrypted storage, shares and secrets from your terminal",
5
5
  "main": "dist/bin/squidcloud.js",
6
6
  "bin": {