learnship 1.9.6 → 1.9.7

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "learnship",
3
3
  "description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system. Works with Claude Code, Windsurf, Cursor, Gemini CLI, OpenCode, and Codex.",
4
- "version": "1.9.6",
4
+ "version": "1.9.7",
5
5
  "author": {
6
6
  "name": "Favio Vazquez",
7
7
  "email": "favio.vazquezp@gmail.com"
@@ -2,7 +2,7 @@
2
2
  "name": "learnship",
3
3
  "displayName": "learnship",
4
4
  "description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system.",
5
- "version": "1.9.6",
5
+ "version": "1.9.7",
6
6
  "logo": "assets/logo.png",
7
7
  "author": {
8
8
  "name": "Favio Vazquez",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "learnship",
3
- "version": "1.9.6",
3
+ "version": "1.9.7",
4
4
  "description": "Agentic engineering done right — 42 structured workflows, persistent memory across sessions, integrated learning partner, and impeccable UI design system.",
5
5
  "author": "Favio Vazquez",
6
6
  "homepage": "https://faviovazquez.github.io/learnship/",
@@ -8,35 +8,24 @@ Initialize a new project with full context gathering, optional research, require
8
8
 
9
9
  ## Step 1: Setup
10
10
 
11
- **Detect the current platform** using environment variables and known platform indicators:
11
+ **Detect the current platform** by inspecting the path of the file you are currently reading (this file). The install path uniquely identifies the platform:
12
12
 
13
- ```bash
14
- # Detect platform via environment variables set by each AI tool
15
- if [ -n "$CLAUDE_CONFIG_DIR" ] || [ -n "$ANTHROPIC_API_KEY" ] || command -v claude >/dev/null 2>&1; then
16
- echo "CLAUDE"
17
- elif [ -n "$OPENCODE_CONFIG_DIR" ] || command -v opencode >/dev/null 2>&1; then
18
- echo "OPENCODE"
19
- elif [ -n "$GEMINI_API_KEY" ] || command -v gemini >/dev/null 2>&1; then
20
- echo "GEMINI"
21
- elif [ -n "$OPENAI_API_KEY" ] && command -v codex >/dev/null 2>&1; then
22
- echo "CODEX"
23
- elif [ -d "$HOME/.codeium" ] || [ -n "$WINDSURF_CONFIG_DIR" ]; then
24
- echo "WINDSURF"
25
- else
26
- echo "UNKNOWN"
27
- fi
28
- ```
29
-
30
- **If result is `UNKNOWN`:** Ask the user directly: "Which platform are you running? (Windsurf / Claude Code / OpenCode / Gemini CLI / Codex CLI)"
13
+ | If this file's path contains | Platform |
14
+ |---|---|
15
+ | `/.claude/` | Claude Code |
16
+ | `/.codeium/` | Windsurf |
17
+ | `/.config/opencode/` or `/.opencode/` | OpenCode |
18
+ | `/.gemini/` | Gemini CLI |
19
+ | `/.codex/` | Codex CLI |
31
20
 
32
- Set `PLATFORM` to the detected value.
21
+ Set `PLATFORM` accordingly. If you cannot determine the path, ask: "Which platform are you running? (Windsurf / Claude Code / OpenCode / Gemini CLI / Codex CLI)"
33
22
 
34
23
  Platform determines:
35
24
  - Which directory to add to `.gitignore` (so AI config files aren't tracked)
36
25
  - Whether to ask the parallelization question (Group D below)
37
26
  - The gitignore directory by platform:
38
- - **Windsurf** → `.windsurf/`
39
27
  - **Claude Code** → `.claude/`
28
+ - **Windsurf** → `.windsurf/`
40
29
  - **OpenCode** → `.opencode/`
41
30
  - **Gemini CLI** → `.gemini/`
42
31
  - **Codex CLI** → `.codex/`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "learnship",
3
- "version": "1.9.6",
3
+ "version": "1.9.7",
4
4
  "description": "Learn as you build. Build with intent. — A multi-platform agentic engineering system for Windsurf, Claude Code, Cursor, OpenCode, Gemini CLI, and Codex: spec-driven workflows, integrated learning, and production-grade design.",
5
5
  "keywords": [
6
6
  "agentic",