woclaw-codex 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/session_start.py +10 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "woclaw-codex",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "WoClaw integration for OpenAI Codex CLI — shared context across sessions",
5
5
  "keywords": [
6
6
  "woclaw",
package/session_start.py CHANGED
@@ -57,18 +57,20 @@ def main():
57
57
 
58
58
  context = read_memory(MEMORY_KEY)
59
59
 
60
+ output = {
61
+ "continue": True
62
+ }
60
63
  if context:
61
64
  # Emit JSON output to inject as additional context
62
- output = {
63
- "hookSpecificOutput": {
64
- "hookEventName": "SessionStart",
65
- "additionalContext": f"[WoClaw] Shared project context:\n{context}"
66
- }
65
+ output["hookSpecificOutput"] = {
66
+ "hookEventName": "SessionStart",
67
+ "additionalContext": f"[WoClaw] Shared project context:\n{context}"
67
68
  }
68
- print(json.dumps(output))
69
+ print(f"[WoClaw] Loaded shared context from {MEMORY_KEY}", file=sys.stderr)
69
70
  else:
70
- # No shared context found just continue silently
71
- pass
71
+ print(f"[WoClaw] No shared context found at {MEMORY_KEY}, starting fresh", file=sys.stderr)
72
+
73
+ print(json.dumps(output))
72
74
 
73
75
 
74
76
  if __name__ == "__main__":