@agentikos/omega-os 0.19.43 → 0.19.44

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.
@@ -95,7 +95,25 @@ record_state_version() {
95
95
  # card prints normally.
96
96
  run_step() {
97
97
  local name="$1" fn="$2"
98
- if step_done "$name" && [ "${FORCE:-0}" != "1" ]; then
98
+ # v0.19.44 code-deploy steps NEVER skip when the bundled version
99
+ # differs from the installed version, even if state file marks done.
100
+ # Without this, a stale `.install-state` entry blocks step_structure
101
+ # from refreshing cli.py — the bug the user hit on v0.19.43.
102
+ local _force_step=0
103
+ case "$name" in
104
+ *structure*|*aisb-suite*|*audit-skills*|*engine*|*personas*)
105
+ local _installed_v=""
106
+ [ -f "$OMEGA_HOME/Agentik_SSOT/VERSION" ] \
107
+ && _installed_v="$(cat "$OMEGA_HOME/Agentik_SSOT/VERSION" 2>/dev/null || echo '')"
108
+ if [ -n "$_installed_v" ] \
109
+ && [ "$_installed_v" != "${OMEGA_BUNDLED_VERSION:-}" ]; then
110
+ _force_step=1
111
+ fi
112
+ ;;
113
+ esac
114
+ if step_done "$name" \
115
+ && [ "${FORCE:-0}" != "1" ] \
116
+ && [ "$_force_step" != "1" ]; then
99
117
  if [ "${INSTALL_FULL:-0}" = "1" ]; then
100
118
  _full_progress "$name" "skip"
101
119
  return 0
@@ -103,6 +121,9 @@ run_step() {
103
121
  log "${C_DIM}-- skip $name (already done)${C_RST}"
104
122
  return 0
105
123
  fi
124
+ if [ "$_force_step" = "1" ]; then
125
+ log "${C_YELLOW}!${C_RST} force-rerun $name (installed v${_installed_v} ≠ bundled v${OMEGA_BUNDLED_VERSION:-?})"
126
+ fi
106
127
 
107
128
  if [ "${INSTALL_FULL:-0}" = "1" ]; then
108
129
  # Redirect step output to the log; only the progress bar stays on screen.
@@ -429,14 +450,17 @@ omega_version() {
429
450
  install_banner() {
430
451
  local v; v="$(omega_version)"
431
452
  printf '\n'
432
- printf '%s ▄██████▄ ▄▄▄▄███▄▄▄▄ ▄████████ ▄██████▄ ▄████████%s\n' "$C_ORANGE" "$C_RST"
433
- printf '%s ███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███%s\n' "$C_ORANGE" "$C_RST"
434
- printf '%s ███ ███ ███ ███ ███ ███ █▀ ███ ███ ███%s\n' "$C_ORANGE" "$C_RST"
435
- printf '%s ███ ███ ███ ███ ███ ▄███▄▄▄ ▄███ ▄███▄▄▄▄██▀%s\n' "$C_ORANGE" "$C_RST"
436
- printf '%s ███ ███ ███ ███ ███ ▀▀███▀▀▀ ▀▀███ ████▄ ▀▀███▀▀▀▀▀ %s\n' "$C_ORANGE" "$C_RST"
437
- printf '%s ███ ███ ███ ███ ███ ███ █▄ ███ ███ ▀███████████%s\n' "$C_ORANGE" "$C_RST"
438
- printf '%s ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███%s\n' "$C_ORANGE" "$C_RST"
439
- printf '%s ▀██████▀ ▀█ ███ █▀ ██████████ ▀██████▀ ███ ███%s\n' "$C_ORANGE" "$C_RST"
453
+ # v0.19.44 clean blocky A consistent with O/M/E/G shapes. The old A
454
+ # used half-diagonal characters (▄███▄▄▄▄██▀ / ▀▀███▀▀▀▀▀ / ▀███████████)
455
+ # that looked like noise — the new A has a clean horizontal crossbar.
456
+ printf '%s ▄██████▄ ▄▄▄▄███▄▄▄▄ ▄████████ ▄██████▄ ▄████████ %s\n' "$C_ORANGE" "$C_RST"
457
+ printf '%s ███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███%s\n' "$C_ORANGE" "$C_RST"
458
+ printf '%s ███ ███ ███ ███ ███ ███ █▀ ███ ███ ███%s\n' "$C_ORANGE" "$C_RST"
459
+ printf '%s ███ ███ ███ ███ ███ ▄███▄▄▄ ▄███ ███ ███%s\n' "$C_ORANGE" "$C_RST"
460
+ printf '%s ███ ███ ███ ███ ███ ▀▀███▀▀▀ ▀▀███ ████▄ ██████████%s\n' "$C_ORANGE" "$C_RST"
461
+ printf '%s ███ ███ ███ ███ ███ ███ █▄ ███ ███ ███ ███%s\n' "$C_ORANGE" "$C_RST"
462
+ printf '%s ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███%s\n' "$C_ORANGE" "$C_RST"
463
+ printf '%s ▀██████▀ ▀█ ███ █▀ ██████████ ▀██████▀ ███ ███%s\n' "$C_ORANGE" "$C_RST"
440
464
  printf '\n'
441
465
  printf ' %sOmega OS%s %sv%s%s · %sagentik-os/OmegaOS%s\n' \
442
466
  "$C_BOLD" "$C_RST" "$C_DIM" "$v" "$C_RST" "$C_DIM" "$C_RST"
@@ -315,9 +315,30 @@ var/
315
315
  staging/
316
316
  EOF
317
317
  # deploy the repo's source blocks into the live tree
318
+ #
319
+ # v0.19.44 — explicit `/bin/cp -Rf` (not bare `cp`) for two reasons:
320
+ # 1. Bypass any `alias cp='cp -i'` on macOS — interactive cp fails
321
+ # SILENTLY when stdin is piped (the --full case via npx). The user
322
+ # hit this on v0.19.43: re-install showed success but cli.py was
323
+ # never refreshed → bare `omega` kept printing the v0.19.40 message.
324
+ # 2. `-f` forces overwrite even when the destination is read-only or
325
+ # a stale immutable bit lingers from a previous install.
318
326
  if [ -d "${OMEGA_REPO:-}/omega" ]; then
319
- cp -R "$OMEGA_REPO/omega/." "$OMEGA_HOME/"
320
- ok "deployed source blocks from $OMEGA_REPO/omega"
327
+ local prev_v=""
328
+ [ -f "$OMEGA_HOME/Agentik_SSOT/VERSION" ] \
329
+ && prev_v="$(cat "$OMEGA_HOME/Agentik_SSOT/VERSION" 2>/dev/null || echo '')"
330
+ /bin/cp -Rf "$OMEGA_REPO/omega/." "$OMEGA_HOME/" || {
331
+ err "cp -Rf failed deploying $OMEGA_REPO/omega → $OMEGA_HOME/"
332
+ return 1
333
+ }
334
+ local new_v=""
335
+ [ -f "$OMEGA_HOME/Agentik_SSOT/VERSION" ] \
336
+ && new_v="$(cat "$OMEGA_HOME/Agentik_SSOT/VERSION" 2>/dev/null || echo '')"
337
+ if [ -n "$prev_v" ] && [ "$prev_v" != "$new_v" ]; then
338
+ ok "code refreshed: ${prev_v} → ${new_v}"
339
+ else
340
+ ok "deployed source blocks from \$OMEGA_REPO/omega (v${new_v:-?})"
341
+ fi
321
342
  else
322
343
  err "repo source not found at \$OMEGA_REPO/omega"; return 1
323
344
  fi
@@ -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.43"
191
+ __version__ = "0.19.44"
192
192
 
193
193
  __all__ = [
194
194
  "__version__",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "omega-engine"
3
- version = "0.19.43"
3
+ version = "0.19.44"
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.43
1
+ 0.19.44
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentikos/omega-os",
3
- "version": "0.19.43",
3
+ "version": "0.19.44",
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"