@gcunharodrigues/wrxn 0.14.0 → 0.15.0

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/manifest.json CHANGED
@@ -528,6 +528,11 @@
528
528
  "class": "seeded",
529
529
  "profile": "project"
530
530
  },
531
+ {
532
+ "path": ".env.example",
533
+ "class": "managed",
534
+ "profile": "project"
535
+ },
531
536
  {
532
537
  "path": ".wrxn/sync.cjs",
533
538
  "class": "managed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcunharodrigues/wrxn",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "WRXN Kernel — installable AI operating system. Two profiles (project | workspace), pull-based updates, managed/seeded/state file classes.",
5
5
  "bin": {
6
6
  "wrxn": "bin/wrxn.cjs"
@@ -0,0 +1,6 @@
1
+ # WRXN memory-synth — secret config. Copy this file to `.env` and fill in the value below.
2
+ # `.env` is gitignored (the secret is never committed); this `.env.example` is the tracked template.
3
+ #
4
+ # GEMINI_API_KEY powers the `gemini` engine for handoff + dream synthesis — the shipped DEFAULT
5
+ # primary for both. Without it, synth falls back to `claude`, which uses your CLI auth (no key needed).
6
+ GEMINI_API_KEY=
@@ -25,12 +25,13 @@ const https = require('https');
25
25
  const { spawnSync } = require('child_process');
26
26
 
27
27
  // ── default tiering (PRD) ──────────────────────────────────────────────────────
28
- // handoff + dream default to claude/claude-sonnet-4-6, falling back to gemini/gemini-3.1-flash-lite.
28
+ // handoff + dream default to gemini/gemini-3.1-flash-lite, falling back to claude/claude-sonnet-4-6.
29
29
  // The seeded memory.config.json is this object serialized; an operator edits it and `wrxn update`
30
- // preserves it (seeded class).
30
+ // preserves it (seeded class). Claude stays the fallback so a keyless fresh install still writes a
31
+ // baton via the operator's CLI auth (no GEMINI_API_KEY → gemini gated → claude carries it).
31
32
  const DEFAULT_TASK = {
32
- primary: { engine: 'claude', model: 'claude-sonnet-4-6' },
33
- fallback: { engine: 'gemini', model: 'gemini-3.1-flash-lite' },
33
+ primary: { engine: 'gemini', model: 'gemini-3.1-flash-lite' },
34
+ fallback: { engine: 'claude', model: 'claude-sonnet-4-6' },
34
35
  };
35
36
  const DEFAULTS = {
36
37
  tasks: {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "tasks": {
3
3
  "handoff": {
4
- "primary": { "engine": "claude", "model": "claude-sonnet-4-6" },
5
- "fallback": { "engine": "gemini", "model": "gemini-3.1-flash-lite" }
4
+ "primary": { "engine": "gemini", "model": "gemini-3.1-flash-lite" },
5
+ "fallback": { "engine": "claude", "model": "claude-sonnet-4-6" }
6
6
  },
7
7
  "dream": {
8
- "primary": { "engine": "claude", "model": "claude-sonnet-4-6" },
9
- "fallback": { "engine": "gemini", "model": "gemini-3.1-flash-lite" }
8
+ "primary": { "engine": "gemini", "model": "gemini-3.1-flash-lite" },
9
+ "fallback": { "engine": "claude", "model": "claude-sonnet-4-6" }
10
10
  }
11
11
  }
12
12
  }