genesis-ai-cli 7.4.5 → 7.4.6

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
@@ -1,4 +1,4 @@
1
- # Genesis 6.8
1
+ # Genesis 7.4.5
2
2
 
3
3
  **Claude Code Equivalent - Autonomous AI System Creator**
4
4
 
@@ -14,7 +14,7 @@ Genesis is a self-improving AI system powered by 13 MCP servers. It doesn't just
14
14
  ║ ╚██████╔╝███████╗██║ ╚████║███████╗███████║██║███████║ ║
15
15
  ║ ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚══════╝╚═╝╚══════╝ ║
16
16
  ║ ║
17
- ║ "Not just intelligent, but alive." v6.8.0
17
+ ║ "Not just intelligent, but alive." v7.4.5
18
18
  ║ ║
19
19
  ╚═══════════════════════════════════════════════════════════════════════╝
20
20
  ```
@@ -22,20 +22,21 @@ Genesis is a self-improving AI system powered by 13 MCP servers. It doesn't just
22
22
  ## Quick Start
23
23
 
24
24
  ```bash
25
- # Clone and build
25
+ # Install from npm (recommended)
26
+ npm install -g genesis-ai-cli
27
+
28
+ # Or clone and build from source
26
29
  git clone https://github.com/rossignoliluca/genesis.git
27
30
  cd genesis
28
31
  npm install
29
32
  npm run build
33
+ npm link
30
34
 
31
35
  # Configure API keys
32
36
  cp .env.example .env
33
37
  # Edit .env with your API keys (see below)
34
38
  chmod 600 .env
35
39
 
36
- # Install globally (optional)
37
- npm link
38
-
39
40
  # Start!
40
41
  genesis help
41
42
  genesis chat
@@ -162,7 +163,7 @@ genesis infer mcp --cycles 20 --verbose
162
163
 
163
164
  ```
164
165
  ┌─────────────────────────────────────────────────────────────────────┐
165
- │ GENESIS 6.7
166
+ │ GENESIS 7.4
166
167
  ├─────────────────────────────────────────────────────────────────────┤
167
168
  │ │
168
169
  │ ┌─────────────────────────────────────────────────────────────┐ │
@@ -232,7 +233,9 @@ GENESIS_MCP_LOG=false # Enable debug logging
232
233
 
233
234
  | Version | Codename | Key Features |
234
235
  |---------|----------|--------------|
235
- | **v6.7.0** | **Standalone Complete** | Human-in-Loop, Tool Orchestration, Claude Code equivalent |
236
+ | **v7.4.5** | **Claude Code Parity** | Subagents, Background Tasks, Headless Mode, Session Management, Extended Thinking, Hooks System |
237
+ | v6.8.0 | Local-First | Ollama integration, offline mode, hybrid routing |
238
+ | v6.7.0 | Standalone Complete | Human-in-Loop, Tool Orchestration, Claude Code equivalent |
236
239
  | v6.6.0 | Tool Orchestration | Dispatcher, Interactive REPL |
237
240
  | v6.5.0 | Grounding | Output verification, feedback loop |
238
241
  | v6.4.x | Self-Healing | Bash sandbox, Edit tool, Git operations, Darwin-Gödel |
@@ -279,4 +282,6 @@ Created by **rossignoliluca**
279
282
 
280
283
  ---
281
284
 
282
- *Genesis 6.7 - Claude Code Equivalent*
285
+ *Genesis 7.4.5 - Claude Code Parity*
286
+
287
+ [![npm version](https://badge.fury.io/js/genesis-ai-cli.svg)](https://www.npmjs.com/package/genesis-ai-cli)
package/dist/src/index.js CHANGED
@@ -334,14 +334,19 @@ async function cmdChat(options, promptArg) {
334
334
  const model = options.model || (provider === 'ollama' ? 'qwen2.5-coder' : undefined);
335
335
  const verbose = options.verbose === 'true';
336
336
  // v7.4: Headless mode with -p/--print flag
337
- const isHeadless = options.print === 'true' || options.p === 'true';
337
+ // -p "text" options.p = "text" (prompt from flag)
338
+ // -p (no arg) → options.p = 'true' (prompt from stdin/positional)
339
+ const headlessFlag = options.print || options.p;
340
+ const isHeadless = !!headlessFlag;
338
341
  const outputFormat = (options.format || options.output || 'text');
339
342
  // v7.4: Session resume
340
343
  const resume = options.resume || options.r;
341
344
  const sessionName = options.name;
342
345
  if (isHeadless) {
343
- // Get prompt from argument or stdin
344
- let prompt = promptArg || '';
346
+ // Get prompt from -p argument (if string), positional arg, or stdin
347
+ let prompt = (typeof headlessFlag === 'string' && headlessFlag !== 'true')
348
+ ? headlessFlag
349
+ : (promptArg || '');
345
350
  // If no prompt argument, try reading from stdin
346
351
  if (!prompt) {
347
352
  prompt = await (0, chat_js_1.readStdin)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesis-ai-cli",
3
- "version": "7.4.5",
3
+ "version": "7.4.6",
4
4
  "description": "Autonomous AI System Creator - Brain ON by default, Active Inference integrated, Curiosity-driven, Φ monitoring in every response",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",