claude-scionos 2.0.0 → 2.0.1

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/CHANGELOG.md CHANGED
@@ -55,7 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55
55
  ### Added
56
56
  - Initial release
57
57
  - Ephemeral and secure token handling (memory-only storage)
58
- - Support for SNIA environment (`https://hubs02225.snia.ch`)
58
+ - Support for ScioNos environment (`https://routerlab.ch`)
59
59
  - Bilingual documentation (English and French)
60
60
  - Command-line interface with `--version` flag
61
61
  - Secure token input with masking
package/CLAUDE.md CHANGED
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
4
4
 
5
5
  ## Project Overview
6
6
 
7
- claude-scionos is a lightweight Node.js CLI wrapper that provides ephemeral and secure execution of the official Claude Code CLI. It's designed for the SNIA environment and focuses on in-memory credential management with zero disk persistence.
7
+ claude-scionos is a lightweight Node.js CLI wrapper that provides ephemeral and secure execution of the official Claude Code CLI. It's designed for the ScioNos environment and focuses on in-memory credential management with zero disk persistence.
8
8
 
9
9
  ## Architecture
10
10
 
@@ -14,7 +14,7 @@ The project is a single-file Node.js application (`index.js`) that:
14
14
  2. **Windows-specific check**: Verifies Git Bash installation (required by Claude Code on Windows)
15
15
  3. **Secure token collection**: Uses `@inquirer/prompts` for masked password input
16
16
  4. **Environment isolation**: Creates isolated environment variables with:
17
- - `ANTHROPIC_BASE_URL`: Set to `https://routerlab.ch` (hardcoded SNIA endpoint)
17
+ - `ANTHROPIC_BASE_URL`: Set to `https://routerlab.ch` (hardcoded ScioNos endpoint)
18
18
  - `ANTHROPIC_AUTH_TOKEN`: User-provided token (memory only)
19
19
  - `ANTHROPIC_API_KEY`: Explicitly set to empty string
20
20
  5. **Process spawning**: Launches Claude Code CLI with inherited stdio and custom environment
@@ -77,7 +77,7 @@ Currently no automated tests are configured. When implementing tests, focus on:
77
77
 
78
78
  ## Important Constants
79
79
 
80
- - `ANTHROPIC_BASE_URL`: `"https://routerlab.ch"` (SNIA-specific endpoint)
80
+ - `ANTHROPIC_BASE_URL`: `"https://routerlab.ch"` (ScioNos-specific endpoint)
81
81
  - Minimum Node.js version: 22
82
82
  - Package entry point: `index.js` with shebang for direct execution
83
83
 
package/README.fr.md CHANGED
@@ -34,7 +34,7 @@ _[🇬🇧 Read in English](./README.md)_
34
34
 
35
35
  **claude-scionos** est un exécuteur éphémère et sécurisé pour la CLI officielle [Claude Code](https://github.com/anthropics/claude-code). Il initialise toutes les variables d'environnement nécessaires **directement en mémoire**, garantissant qu'aucun fichier de configuration ni aucune donnée d'authentification n'est jamais écrit sur le disque.
36
36
 
37
- L'objectif est d'offrir une couche d'exécution propre, isolée et professionnelle, entièrement compatible avec Claude Code, spécifiquement conçue pour **l'environnement SNIA**.
37
+ L'objectif est d'offrir une couche d'exécution propre, isolée et professionnelle, entièrement compatible avec Claude Code, spécifiquement conçue pour **l'environnement ScioNos**.
38
38
 
39
39
  ---
40
40
 
@@ -127,6 +127,18 @@ npx claude-scionos --version
127
127
  npx claude-scionos -v
128
128
  ```
129
129
 
130
+ #### Compatibilité totale avec Claude Code
131
+
132
+ **`claude-scionos` est un wrapper transparent** — il accepte **tous les flags et commandes** supportés par la CLI officielle Claude Code.
133
+
134
+ Vous pouvez utiliser n'importe quel flag ou commande Claude Code, comme :
135
+ - `npx claude-scionos --model opus "expliquer ce code"`
136
+ - `npx claude-scionos --verbose --continue`
137
+ - `npx claude-scionos -p --output-format json "requête"`
138
+ - `npx claude-scionos --chrome --agents '{"reviewer":{...}}'`
139
+
140
+ Pour une liste complète des flags et commandes disponibles, consultez la [documentation officielle de la CLI Claude Code](https://code.claude.com/docs/cli-reference).
141
+
130
142
  ---
131
143
 
132
144
  ### 🔍 Fonctionnement
package/README.md CHANGED
@@ -34,7 +34,7 @@ _[🇫🇷 Lire en français](./README.fr.md)_
34
34
 
35
35
  **claude-scionos** is an ephemeral and secure runner for the official [Claude Code](https://github.com/anthropics/claude-code) CLI. It initializes all required environment variables **directly in memory**, ensuring that no configuration files or authentication data are ever written to disk.
36
36
 
37
- The goal is to offer a clean, isolated, and professional execution layer fully compatible with Claude Code, specifically designed for the **SNIA environment**.
37
+ The goal is to offer a clean, isolated, and professional execution layer fully compatible with Claude Code, specifically designed for the **ScioNos environment**.
38
38
 
39
39
  ---
40
40
 
@@ -127,6 +127,18 @@ npx claude-scionos --version
127
127
  npx claude-scionos -v
128
128
  ```
129
129
 
130
+ #### Full Claude Code Compatibility
131
+
132
+ **`claude-scionos` is a transparent wrapper** — it accepts **all flags and commands** supported by the official Claude Code CLI.
133
+
134
+ You can use any Claude Code flag or command, such as:
135
+ - `npx claude-scionos --model opus "explain this code"`
136
+ - `npx claude-scionos --verbose --continue`
137
+ - `npx claude-scionos -p --output-format json "query"`
138
+ - `npx claude-scionos --chrome --agents '{"reviewer":{...}}'`
139
+
140
+ For a complete list of available flags and commands, see the [official Claude Code CLI documentation](https://code.claude.com/docs/cli-reference).
141
+
130
142
  ---
131
143
 
132
144
  ### 🔍 How It Works
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "claude-scionos",
3
- "version": "2.0.0",
4
- "description": "Ephemeral and secure runner for Claude Code CLI in SNIA environment",
3
+ "version": "2.0.1",
4
+ "description": "Ephemeral and secure runner for Claude Code CLI in ScioNos environment",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "bin": {
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "keywords": [
18
18
  "claude",
19
- "snia",
19
+ "scionos",
20
20
  "cli",
21
21
  "wrapper"
22
22
  ],
@@ -35,15 +35,15 @@
35
35
  },
36
36
  "private": false,
37
37
  "dependencies": {
38
- "@inquirer/prompts": "^8.0.2",
38
+ "@inquirer/prompts": "^8.1.0",
39
39
  "chalk": "^5.6.2",
40
40
  "cross-spawn": "^7.0.6",
41
41
  "update-notifier": "^7.3.1",
42
42
  "which": "^6.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@eslint/js": "^9.39.1",
46
- "eslint": "^9.39.1",
47
- "globals": "^16.5.0"
45
+ "@eslint/js": "^9.39.2",
46
+ "eslint": "^9.39.2",
47
+ "globals": "^17.0.0"
48
48
  }
49
49
  }
@@ -35,7 +35,7 @@ function isClaudeCodeInstalled() {
35
35
  details.push(`ℹ Claude Code installed but not configured`);
36
36
  }
37
37
  } catch (error) {
38
- details.push(`⚠ Could not read configuration file`);
38
+ details.push(`⚠ Could not read configuration file: ${error.message}`);
39
39
  }
40
40
 
41
41
  return {
@@ -63,7 +63,7 @@ function isClaudeCodeInstalled() {
63
63
  const version = execSync('claude --version', { encoding: 'utf8' }).trim();
64
64
  details.push(`✓ Version: ${version}`);
65
65
  } catch (error) {
66
- details.push(`⚠ CLI found but version check failed`);
66
+ details.push(`⚠ CLI found but version check failed: ${error.message}`);
67
67
  }
68
68
 
69
69
  return {
@@ -78,7 +78,7 @@ function isClaudeCodeInstalled() {
78
78
  };
79
79
  }
80
80
  } catch (error) {
81
- details.push(`✗ Claude CLI not found in PATH`);
81
+ details.push(`✗ Claude CLI not found in PATH: ${error.message}`);
82
82
  }
83
83
 
84
84
  return {
@@ -180,10 +180,9 @@ function checkGitBashOnWindows() {
180
180
  /**
181
181
  * Provides installation instructions based on OS and current state
182
182
  * @param {Object} osInfo - OS detection result
183
- * @param {Object} claudeStatus - Claude Code detection result
184
183
  * @returns {string} Installation instructions
185
184
  */
186
- function getInstallationInstructions(osInfo, claudeStatus) {
185
+ function getInstallationInstructions(osInfo) {
187
186
  let instructions = [];
188
187
 
189
188
  if (osInfo.type === 'Windows') {