@agentikos/omega-os 0.19.7 → 0.19.9

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.
@@ -234,23 +234,28 @@ ask() {
234
234
 
235
235
  if [ -t 1 ]; then
236
236
  C_BOLD=$'\033[1m'
237
- C_DIM=$'\033[2m'
238
- # Claude-Code brand orange (#D97757) in 24-bit truecolor. Every modern
239
- # macOS/Linux terminal (iTerm2, Termius, kitty, alacritty, gnome-terminal,
240
- # WezTerm) supports truecolor. We expose the legacy C_CYAN/etc names
241
- # below for back-compat the banner + boxes use C_ORANGE.
242
- C_ORANGE=$'\033[38;2;217;119;87m'
243
- C_CYAN="$C_ORANGE"
244
- C_GREEN=$'\033[32m'
245
- C_YELLOW=$'\033[33m'
246
- C_RED=$'\033[31m'
247
- C_MAGENTA=$'\033[35m'
248
- C_BLUE=$'\033[34m'
237
+ # Claude Code light theme — derived from tweakcn.com/r/themes/claude.json.
238
+ # All truecolor (24-bit) every modern terminal (iTerm2, Termius, kitty,
239
+ # alacritty, gnome-terminal, WezTerm) supports it.
240
+ C_ORANGE=$'\033[38;2;217;119;87m' # #D97757 Claude primary (brand)
241
+ C_MUTED=$'\033[38;2;136;131;122m' # #88837Awarm gray (muted-foreground)
242
+ C_BORDER=$'\033[38;2;168;162;158m' # #A8A29E — soft border line
243
+ C_INK=$'\033[38;2;61;57;41m' # #3D3929 — body text (used sparingly,
244
+ # only on light terminals; on dark BG
245
+ # we fall back to default fg)
246
+ C_DIM="$C_MUTED" # alias — "dim" now means warm gray
247
+ C_CYAN="$C_ORANGE" # back-compat alias for old printf calls
248
+ C_GREEN=$'\033[38;2;132;161;130m' # muted sage — used only for "ok"
249
+ C_YELLOW=$'\033[38;2;201;161;91m' # muted amber — used only for "warn"
250
+ C_RED=$'\033[38;2;188;102;88m' # muted brick — used only for "err"
251
+ C_MAGENTA=$'\033[38;2;156;120;162m'
252
+ C_BLUE=$'\033[38;2;120;142;168m'
249
253
  else
250
254
  # Non-TTY (CI, --non-interactive, pipe) — make every colour var safe
251
255
  # to reference. Without these the install.sh plan-mode block crashes
252
256
  # on `set -u` when running headless.
253
- C_BOLD=''; C_DIM=''; C_ORANGE=''; C_CYAN=''; C_GREEN=''; C_YELLOW=''
257
+ C_BOLD=''; C_DIM=''; C_MUTED=''; C_BORDER=''; C_INK=''
258
+ C_ORANGE=''; C_CYAN=''; C_GREEN=''; C_YELLOW=''
254
259
  C_RED=''; C_MAGENTA=''; C_BLUE=''
255
260
  fi
256
261
 
@@ -32,6 +32,47 @@ step_system_deps() {
32
32
  brew) brew install $pkgs newt 2>/dev/null || true ;;
33
33
  *) err "install manually: $pkgs (and whiptail/newt for the menu)"; return 1 ;;
34
34
  esac
35
+
36
+ # PyYAML — required by every install-side helper that reads the manifest
37
+ # or audit YAMLs (bootstrap/lib/llm-clis.py, manifest-helpers.py, audit
38
+ # generator). apt/dnf already deliver it via the system package above.
39
+ #
40
+ # macOS Tahoe / Sonoma ship externally-managed Pythons (PEP 668) AND
41
+ # often deny `pip install --user --break-system-packages` for security
42
+ # policy reasons. The 100% reliable path is a dedicated venv that we
43
+ # own, isolated from system Python rules.
44
+ #
45
+ # We prepend the venv's bin/ to PATH so every subsequent `python3 ...`
46
+ # call (37 sites across steps.sh) automatically uses this isolated
47
+ # Python WITHOUT touching the user's system Python or site-packages.
48
+ local installer_venv="$STATE_DIR/installer-venv"
49
+ if ! python3 -c "import yaml" 2>/dev/null; then
50
+ info "creating dedicated installer venv (PEP-668 / Tahoe-safe path)"
51
+ if [ ! -f "$installer_venv/bin/python3" ]; then
52
+ if ! python3 -m venv "$installer_venv" 2>>"$LOG_FILE"; then
53
+ err "python3 -m venv failed — see $LOG_FILE"
54
+ err "manual fix: ensure 'ensurepip' is available in your python3"
55
+ return 1
56
+ fi
57
+ fi
58
+ if ! "$installer_venv/bin/pip" install --quiet pyyaml 2>>"$LOG_FILE"; then
59
+ err "pip install pyyaml inside venv failed — see $LOG_FILE"
60
+ err "diagnose: $installer_venv/bin/pip install pyyaml"
61
+ return 1
62
+ fi
63
+ ok "installer venv ready: $installer_venv (python3 + pyyaml)"
64
+ fi
65
+ # PATH prepend — persists for the rest of install.sh because steps are
66
+ # called as bash functions in the SAME shell. We do this on every run,
67
+ # not only when we just created the venv, so a resumed install with a
68
+ # pre-existing venv still gets `python3 -c "import yaml"` resolving here.
69
+ if [ -x "$installer_venv/bin/python3" ]; then
70
+ export PATH="$installer_venv/bin:$PATH"
71
+ if ! python3 -c "import yaml" 2>/dev/null; then
72
+ err "venv python3 on PATH but yaml not importable — corrupted venv?"
73
+ return 1
74
+ fi
75
+ fi
35
76
  # age (optional, non-fatal) — powers the encrypted vault. If missing, the
36
77
  # vault transparently falls back to chmod 600 plaintext and the doctor
37
78
  # flags it.
package/install.sh CHANGED
@@ -86,6 +86,14 @@ STATE_FILE="$STATE_DIR/.install-state"
86
86
  LOG_FILE="$STATE_DIR/logs/install.log"
87
87
  mkdir -p "$STATE_DIR/logs"
88
88
 
89
+ # Installer-venv guard — if a previous run created the PEP-668-safe venv,
90
+ # prepend it to PATH NOW so subsequent steps that get skipped as
91
+ # "already done" (step 10) still pick up its python3 with pyyaml. Without
92
+ # this, a resumed install skips step 10 → step 15 hits "no module yaml".
93
+ if [ -x "$STATE_DIR/installer-venv/bin/python3" ]; then
94
+ export PATH="$STATE_DIR/installer-venv/bin:$PATH"
95
+ fi
96
+
89
97
  # Bundled version — used to detect state drift across upgrades. We read it
90
98
  # from the SSOT VERSION file shipped in the package, falling back to the
91
99
  # engine's pyproject.toml so a partially-installed system still works.
@@ -188,7 +188,7 @@ from omega_engine.genesis import (
188
188
  )
189
189
  from omega_engine import plan as plan_v7
190
190
 
191
- __version__ = "0.19.7"
191
+ __version__ = "0.19.9"
192
192
 
193
193
  __all__ = [
194
194
  "__version__",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "omega-engine"
3
- version = "0.19.7"
3
+ version = "0.19.9"
4
4
  description = "The Omega OS orchestration engine — event-sourced, verified-completion agent graphs."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1 +1 @@
1
- 0.19.7
1
+ 0.19.9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentikos/omega-os",
3
- "version": "0.19.7",
3
+ "version": "0.19.9",
4
4
  "description": "Omega OS — installable agentic operating system with verified-completion orchestration. Event-sourced engine, 8-block rack, autonomous agents, MCP.",
5
5
  "bin": {
6
6
  "omega-os": "bin/omega-os.js"