@agentikos/omega-os 0.19.51 → 0.19.52
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/bootstrap/lib/common.sh +1 -1
- package/bootstrap/lib/steps.sh +47 -20
- package/omega/Agentik_Engine/omega_engine/__init__.py +1 -1
- package/omega/Agentik_Engine/omega_engine/__pycache__/__init__.cpython-313.pyc +0 -0
- package/omega/Agentik_Engine/pyproject.toml +1 -1
- package/omega/Agentik_SSOT/VERSION +1 -1
- package/package.json +1 -1
package/bootstrap/lib/common.sh
CHANGED
|
@@ -101,7 +101,7 @@ run_step() {
|
|
|
101
101
|
# from refreshing cli.py — the bug the user hit on v0.19.43.
|
|
102
102
|
local _force_step=0
|
|
103
103
|
case "$name" in
|
|
104
|
-
*structure*|*aisb-suite*|*audit-skills*|*engine*|*personas*)
|
|
104
|
+
*structure*|*aisb-suite*|*audit-skills*|*engine*|*personas*|*claude-plugins*|*tmux-config*)
|
|
105
105
|
local _installed_v=""
|
|
106
106
|
[ -f "$OMEGA_HOME/Agentik_SSOT/VERSION" ] \
|
|
107
107
|
&& _installed_v="$(cat "$OMEGA_HOME/Agentik_SSOT/VERSION" 2>/dev/null || echo '')"
|
package/bootstrap/lib/steps.sh
CHANGED
|
@@ -1064,39 +1064,66 @@ PY
|
|
|
1064
1064
|
# whiptail checklist (interactive). Failures on individual plugins are
|
|
1065
1065
|
# recorded but do not abort the step — Claude plugins are nice-to-have.
|
|
1066
1066
|
_disable_broken_claude_plugins() {
|
|
1067
|
-
# v0.19.
|
|
1068
|
-
#
|
|
1069
|
-
#
|
|
1070
|
-
#
|
|
1071
|
-
#
|
|
1067
|
+
# v0.19.52 — STRONGER detection. Previously the grep on `require.*zod/v3`
|
|
1068
|
+
# missed minified/bundled .cjs files where the import gets obfuscated.
|
|
1069
|
+
# New behavior:
|
|
1070
|
+
# 1. Match ANY mention of `zod/v3` in the .cjs (not just `require(...)`).
|
|
1071
|
+
# 2. As a fallback for known-broken VERSIONS, disable claude-mem 13.x
|
|
1072
|
+
# unconditionally (every 13.x release has the bug as of 2026-05-26).
|
|
1073
|
+
# 3. Log loud + clear so the user sees the action in --full mode.
|
|
1072
1074
|
#
|
|
1073
|
-
#
|
|
1074
|
-
# * thedotmack/claude-mem@13.x — imports `zod/v3` which zod 4
|
|
1075
|
-
# removed; the SessionStart hook crashes on every claude start.
|
|
1076
|
-
# Upstream issue (no fix as of 2026-05-26).
|
|
1075
|
+
# Reversible: rename `*.disabled-by-omegaos` back to its original name.
|
|
1077
1076
|
local cache_dir="${HOME}/.claude/plugins/cache"
|
|
1078
1077
|
[ -d "$cache_dir" ] || return 0
|
|
1079
1078
|
local found=0
|
|
1080
|
-
# claude-mem: look for the broken worker-service.cjs path.
|
|
1081
1079
|
local cm
|
|
1082
1080
|
for cm in "$cache_dir"/thedotmack/claude-mem/*/; do
|
|
1083
1081
|
[ -d "$cm" ] || continue
|
|
1082
|
+
local version_dir
|
|
1083
|
+
version_dir="$(basename "$cm")"
|
|
1084
|
+
# 1. Broader content match — any `zod/v3` reference anywhere.
|
|
1085
|
+
local broken_by_content=0
|
|
1084
1086
|
if [ -f "$cm/scripts/worker-service.cjs" ]; then
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1087
|
+
if grep -q "zod/v3" "$cm/scripts/worker-service.cjs" 2>/dev/null; then
|
|
1088
|
+
broken_by_content=1
|
|
1089
|
+
fi
|
|
1090
|
+
fi
|
|
1091
|
+
# Also probe any .cjs / .js file in the plugin (the broken import
|
|
1092
|
+
# may have moved to a different file in newer 13.x point releases).
|
|
1093
|
+
if [ "$broken_by_content" = "0" ]; then
|
|
1094
|
+
if find "$cm" -type f \( -name "*.cjs" -o -name "*.js" \) -print0 2>/dev/null \
|
|
1095
|
+
| xargs -0 grep -l "zod/v3" 2>/dev/null | head -1 | grep -q .; then
|
|
1096
|
+
broken_by_content=1
|
|
1097
|
+
fi
|
|
1098
|
+
fi
|
|
1099
|
+
# 2. Version-based fallback — claude-mem 13.x is known broken.
|
|
1100
|
+
local broken_by_version=0
|
|
1101
|
+
case "$version_dir" in
|
|
1102
|
+
13.*) broken_by_version=1 ;;
|
|
1103
|
+
esac
|
|
1104
|
+
# Disable if EITHER signal fires.
|
|
1105
|
+
if [ "$broken_by_content" = "1" ] || [ "$broken_by_version" = "1" ]; then
|
|
1106
|
+
local disabled="${cm%/}.disabled-by-omegaos"
|
|
1107
|
+
if [ ! -d "$disabled" ]; then
|
|
1108
|
+
if mv "$cm" "$disabled" 2>/dev/null; then
|
|
1109
|
+
local reason=""
|
|
1110
|
+
[ "$broken_by_content" = "1" ] && reason="zod/v3 import"
|
|
1111
|
+
[ "$broken_by_version" = "1" ] && reason="${reason:+$reason + }known-broken 13.x"
|
|
1112
|
+
info " neutralized claude-mem $version_dir ($reason)"
|
|
1113
|
+
info " → SessionStart hook will no longer crash on \`claude\` start"
|
|
1114
|
+
found=1
|
|
1115
|
+
else
|
|
1116
|
+
warn " could not disable claude-mem at $cm — manual: \`mv $cm $disabled\`"
|
|
1094
1117
|
fi
|
|
1118
|
+
else
|
|
1119
|
+
info " claude-mem $version_dir already neutralized"
|
|
1095
1120
|
fi
|
|
1096
1121
|
fi
|
|
1097
1122
|
done
|
|
1098
1123
|
if [ "$found" = "1" ]; then
|
|
1099
|
-
info " → re-enable later
|
|
1124
|
+
info " → re-enable later (when upstream ships zod 4 fix):"
|
|
1125
|
+
info " mv ${cache_dir}/thedotmack/claude-mem.*.disabled-by-omegaos \\"
|
|
1126
|
+
info " ${cache_dir}/thedotmack/claude-mem/<version>"
|
|
1100
1127
|
fi
|
|
1101
1128
|
return 0
|
|
1102
1129
|
}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.19.
|
|
1
|
+
0.19.52
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentikos/omega-os",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.52",
|
|
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"
|