Environment:3641397194 wq Gpt6 Astra Node js
| Knowledge Sources | |
|---|---|
| Domains | Infrastructure, Runtime |
| Last Updated | 2026-10-26 14:00 GMT |
Overview
Cross-platform Node.js runtime environment supporting Windows, macOS, and Linux for the ColdBrew Zero desktop workbench and all seat-pack implementations.
Description
This environment provides the standard Node.js JavaScript runtime that powers every implementation in the ColdBrew Zero repository. All library modules use `'use strict';` and require only Node.js built-in modules (`node:fs`, `node:path`, `node:crypto`, `node:os`, `node:util`, `node:http`, `node:https`, `node:net`, `node:dns`, `node:child_process`). The desktop application is packaged as an Electron app (Electron 35.7.5+), which bundles a compatible Node.js runtime. The REA upstream launcher additionally requires Node.js `^22.19.0 || ^24.11.0 || >=26.0.0`.
Usage
Use this environment for all ColdBrew Zero implementations — every seat-pack, transaction, relay adapter, agent loop, toolbox engine, and upstream REA preparation runs on the Node.js runtime. It is the mandatory prerequisite for running any implementation in the repository.
System Requirements
| Category | Requirement | Notes |
|---|---|---|
| OS | Windows / macOS / Linux | Cross-platform; path handling adapts via `process.platform` |
| Hardware | Any modern CPU | No GPU required; standard desktop-class CPU |
| Disk | 500 MB SSD | For Electron app + REA runtime dependencies |
| Node.js (desktop) | Bundled via Electron 35.7.5+ | No separate install needed for desktop app |
| Node.js (REA) | \| ^24.11.0 \|\| >=26.0.0 | Required for upstream REA launcher |
Dependencies
System Packages
- Node.js runtime (bundled with Electron for desktop; standalone for REA prepare)
- npm CLI (for REA dependency preparation only)
JavaScript Packages
- `jsonc-parser` = 3.3.1 (JSONC parsing for settings.json edits)
- `smol-toml` = 1.9.0 (TOML config merging)
- `yaml` = 2.9.0 (YAML config merging)
Dev Dependencies
- `electron` >= 35.7.5
- `electron-builder` >= 26.15.3
- `playwright` >= 1.64.0
Credentials
This environment does not require external credentials. Seat-specific API keys and relay tokens are managed at runtime via the RelayAdapter configuration, not by the Node.js runtime itself.
Quick Install
# Desktop app — Node.js is bundled with Electron
cd desktop && npm install
# For REA upstream preparation — requires standalone Node.js
# Ensure Node.js ^22.19.0 || ^24.11.0 || >=26.0.0 is installed
node --version # verify version
Code Evidence
Node.js version validation from `upstream/rea-launcher.cjs:13,26-31`:
const NODE_RANGE = '^22.19.0 || ^24.11.0 || >=26.0.0';
function supportedNode(value) {
const match = /^v?(\d+)\.(\d+)\.(\d+)$/.exec(String(value || ''));
if (!match) return false;
const major = Number(match[1]), minor = Number(match[2]);
return (major === 22 && minor >= 19) || (major === 24 && minor >= 11) || major >= 26;
}
Built-in module usage from `seat-transactions.js:1-6`:
'use strict';
const fs = require('node:fs');
const path = require('node:path');
const crypto = require('node:crypto');
const { TextDecoder } = require('node:util');
Package dependencies from `desktop/package.json:33-37`:
"dependencies": {
"jsonc-parser": "3.3.1",
"smol-toml": "1.9.0",
"yaml": "2.9.0"
}
Common Errors
| Error Message | Cause | Solution |
|---|---|---|
| `REA_NODE_UNSUPPORTED` | Node.js version outside supported range | \| ^24.11.0 \|\| >=26.0.0 |
| `REA_NODE_MISSING` / `找不到 Node.js` | Node.js binary not found on PATH | Install Node.js or configure `nodeCommand` parameter |
| `Cannot find module 'jsonc-parser'` | npm dependencies not installed | Run `npm install` in the `desktop/` directory |
Compatibility Notes
- Windows: Full support; DOS/UNC namespace prefixes stripped in `absolutePath()` for path guard traversal.
- macOS: Full support; `platformDataHome()` returns `~/Library/Application Support`.
- Linux: Full support; XDG directories (`XDG_DATA_HOME`, `XDG_CONFIG_HOME`) respected.
- Electron: Desktop app bundles its own Node.js runtime; no separate install required for desktop usage.
- REA launcher: Requires standalone Node.js installation meeting the version range; Electron-bundled Node is not used for REA preparation.
Related Pages
- Implementation:3641397194_wq_Gpt6_Astra_detectDirectory
- Implementation:3641397194_wq_Gpt6_Astra_beginner_install
- Implementation:3641397194_wq_Gpt6_Astra_renderPack
- Implementation:3641397194_wq_Gpt6_Astra_basePlan
- Implementation:3641397194_wq_Gpt6_Astra_SeatTransactions
- Implementation:3641397194_wq_Gpt6_Astra_ActivationGate
- Implementation:3641397194_wq_Gpt6_Astra_RelayAdapter
- Implementation:3641397194_wq_Gpt6_Astra_redact
- Implementation:3641397194_wq_Gpt6_Astra_runAgent
- Implementation:3641397194_wq_Gpt6_Astra_scopeCheck
- Implementation:3641397194_wq_Gpt6_Astra_ToolboxEngine
- Implementation:3641397194_wq_Gpt6_Astra_prepareRea