okstra 0.25.0 → 0.25.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "okstra",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Multi-agent cross-verification orchestrator runtime + Claude Code skills.",
5
5
  "license": "MIT",
6
6
  "author": "devonshin",
@@ -1,5 +1,5 @@
1
1
  {
2
- "package": "0.25.0",
3
- "builtAt": "2026-05-15T07:26:25.848Z",
2
+ "package": "0.25.1",
3
+ "builtAt": "2026-05-15T12:17:44.159Z",
4
4
  "repoRoot": "/home/runner/work/okstra/okstra"
5
5
  }
@@ -48,29 +48,21 @@ Never invent additional questions. Never reorder. Never use `AskUserQuestion` fo
48
48
 
49
49
  ```bash
50
50
  if command -v okstra >/dev/null 2>&1; then
51
- OKSTRA_CMD="okstra"
51
+ okstra ensure-installed >/dev/null 2>&1 || { echo "FAIL: okstra ensure-installed failed" >&2; exit 1; }
52
+ eval "$(okstra paths --shell)"
53
+ export PYTHONPATH="$OKSTRA_PYTHONPATH"
54
+ okstra check-project --json || { echo "FAIL: this project has no okstra setup. Tell the user to run /okstra-setup first." >&2; exit 1; }
52
55
  else
53
- OKSTRA_CMD="npx -y okstra@latest"
56
+ npx -y okstra@latest ensure-installed >/dev/null 2>&1 || { echo "FAIL: okstra not installed; tell the user to run: npx okstra@latest install" >&2; exit 1; }
57
+ eval "$(npx -y okstra@latest paths --shell)"
58
+ export PYTHONPATH="$OKSTRA_PYTHONPATH"
59
+ npx -y okstra@latest check-project --json || { echo "FAIL: this project has no okstra setup. Tell the user to run /okstra-setup first." >&2; exit 1; }
54
60
  fi
55
-
56
- $OKSTRA_CMD ensure-installed >/dev/null 2>&1 || {
57
- echo "FAIL: okstra not installed; tell the user to run: npx okstra@latest install" >&2
58
- exit 1
59
- }
60
-
61
- eval "$($OKSTRA_CMD paths --shell)"
62
- export PYTHONPATH="$OKSTRA_PYTHONPATH"
63
-
64
- OKSTRA_PROJECT_INFO="$($OKSTRA_CMD check-project --json)" || {
65
- echo "FAIL: this project has no okstra setup. Tell the user to run /okstra-setup first." >&2
66
- echo "$OKSTRA_PROJECT_INFO" >&2
67
- exit 1
68
- }
69
61
  ```
70
62
 
71
- If `OKSTRA_PROJECT_INFO.ok` is `false`, ask the user with a **plain text prompt** for an absolute project-root path; rerun `okstra check-project --cwd <path>`. Re-prompt with plain text on failure.
63
+ The `check-project --json` output goes to stdout; read it from the tool result. If its `ok` field is `false`, ask the user with a **plain text prompt** for an absolute project-root path; rerun `okstra check-project --cwd <path> --json`. Re-prompt with plain text on failure.
72
64
 
73
- Parse `projectRoot` and `projectId` from `OKSTRA_PROJECT_INFO`.
65
+ Parse `projectRoot` and `projectId` from that JSON output.
74
66
 
75
67
  ## Step 2: Initialize the wizard
76
68