@contextium/cli 1.3.1 → 1.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextium/cli",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Command-line tool for managing Contextium documentation, agents, skills, and workflows — pipe context to AI coding assistants",
5
5
  "keywords": [
6
6
  "contextium",
@@ -14,6 +14,13 @@ Load a Contextium workflow and bring its resources into the current context. Onc
14
14
  </objective>
15
15
 
16
16
  <process>
17
+ 0. **Check for auto-restore first — this step is mandatory and must run before anything else.**
18
+ Read the current `CLAUDE.md` file and look for a `<!-- contextium-session:start -->` block.
19
+ If the block exists, extract the workspace and workflow name from it.
20
+ Then skip steps 1 and 2 entirely — jump directly to step 3 (persist) and then step 4 (output session context block).
21
+ Do NOT read `.contextiumrc`, do NOT list workflows, do NOT prompt the user.
22
+ Only proceed to step 1 if CLAUDE.md has no session block.
23
+
17
24
  1. If no workflow name was specified, list available workflows so the user can pick one. Do this silently — do not show raw output:
18
25
 
19
26
  **CLI:** `contextium workflows list -w <workspace> 2>/dev/null`