gyoshu 0.2.2 → 0.2.4

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/AGENTS.md CHANGED
@@ -25,7 +25,7 @@ Gyoshu uses free OpenCode models by default for zero-configuration setup:
25
25
  | Agent | Default Model | Role |
26
26
  |-------|---------------|------|
27
27
  | **Gyoshu** | `opencode/glm-4.7-free` | Research planner |
28
- | **Baksa** | `opencode/alpha-minimax-m2` | Adversarial verifier |
28
+ | **Baksa** | `opencode/minimax-m2.1-free` | Adversarial verifier |
29
29
  | **Jogyo** | `opencode/grok-code` | Research executor |
30
30
  | **Jogyo Paper Writer** | `opencode/grok-code` | Report writer |
31
31
  | **Jogyo Feedback** | `opencode/grok-code` | Feedback explorer |
package/README.ja.md CHANGED
@@ -44,30 +44,34 @@
44
44
 
45
45
  ---
46
46
 
47
- ## 🚀 ワンクリックインストール
48
-
49
- ### オプション1:curl(推奨)
47
+ ## 🚀 インストール
50
48
 
51
49
  ```bash
52
50
  curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/My-Jogyo/main/install.sh | bash
53
51
  ```
54
52
 
55
- ### オプション2:クローン&インストール
53
+ <details>
54
+ <summary>📦 その他のインストール方法</summary>
56
55
 
56
+ **クローン&インストール**(貢献や変更を行う場合)
57
57
  ```bash
58
58
  git clone https://github.com/Yeachan-Heo/My-Jogyo.git
59
59
  cd My-Jogyo && ./install.sh
60
60
  ```
61
61
 
62
- ### オプション3:手動インストール
63
-
62
+ **npm/bunx**(パッケージマネージャー)
64
63
  ```bash
65
- # リポジトリをクローン
66
- git clone https://github.com/Yeachan-Heo/My-Jogyo.git
64
+ npm install -g gyoshu && gyoshu install
65
+ # または
66
+ bunx gyoshu install
67
+ ```
68
+
69
+ </details>
67
70
 
68
- # グローバル設定にコピー
69
- mkdir -p ~/.config/opencode/
70
- cp -r My-Jogyo/src/* ~/.config/opencode/
71
+ **インストールの確認:**
72
+ ```bash
73
+ ./install.sh --check # リポジトリをクローンした場合
74
+ # またはopencodeを実行して/gyoshuを試す
71
75
  ```
72
76
 
73
77
  ---
package/README.ko.md CHANGED
@@ -44,30 +44,34 @@
44
44
 
45
45
  ---
46
46
 
47
- ## 🚀 원클릭 설치
48
-
49
- ### 옵션 1: curl (권장)
47
+ ## 🚀 설치
50
48
 
51
49
  ```bash
52
50
  curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/My-Jogyo/main/install.sh | bash
53
51
  ```
54
52
 
55
- ### 옵션 2: Clone & 설치
53
+ <details>
54
+ <summary>📦 기타 설치 방법</summary>
56
55
 
56
+ **Clone & 설치** (기여하거나 수정하려는 경우)
57
57
  ```bash
58
58
  git clone https://github.com/Yeachan-Heo/My-Jogyo.git
59
59
  cd My-Jogyo && ./install.sh
60
60
  ```
61
61
 
62
- ### 옵션 3: 수동 설치
63
-
62
+ **npm/bunx** (패키지 매니저)
64
63
  ```bash
65
- # 저장소 클론
66
- git clone https://github.com/Yeachan-Heo/My-Jogyo.git
64
+ npm install -g gyoshu && gyoshu install
65
+ # 또는
66
+ bunx gyoshu install
67
+ ```
68
+
69
+ </details>
67
70
 
68
- # 전역 설정에 복사
69
- mkdir -p ~/.config/opencode/
70
- cp -r My-Jogyo/src/* ~/.config/opencode/
71
+ **설치 확인:**
72
+ ```bash
73
+ ./install.sh --check # 저장소를 클론한 경우
74
+ # 또는 opencode를 실행하고 /gyoshu 시도
71
75
  ```
72
76
 
73
77
  ---
package/README.md CHANGED
@@ -44,32 +44,34 @@ Think of it like a research lab:
44
44
 
45
45
  ---
46
46
 
47
- ## 🚀 One-Click Installation
48
-
49
- ### Option 1: bunx (Recommended)
47
+ ## 🚀 Installation
50
48
 
51
49
  ```bash
52
- bunx gyoshu install
50
+ curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/My-Jogyo/main/install.sh | bash
53
51
  ```
54
52
 
55
- ### Option 2: curl
53
+ <details>
54
+ <summary>📦 Alternative installation methods</summary>
56
55
 
56
+ **Clone & Install** (if you want to contribute or modify)
57
57
  ```bash
58
- curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/My-Jogyo/refs/heads/main/install.sh | bash
58
+ git clone https://github.com/Yeachan-Heo/My-Jogyo.git
59
+ cd My-Jogyo && ./install.sh
59
60
  ```
60
61
 
61
- ### Option 3: Clone & Install
62
-
62
+ **npm/bunx** (package manager)
63
63
  ```bash
64
- git clone https://github.com/Yeachan-Heo/My-Jogyo.git
65
- cd My-Jogyo && ./install.sh
64
+ npm install -g gyoshu && gyoshu install
65
+ # or
66
+ bunx gyoshu install
66
67
  ```
67
68
 
68
- ### Option 4: npm global install
69
+ </details>
69
70
 
71
+ **Verify installation:**
70
72
  ```bash
71
- npm install -g gyoshu
72
- gyoshu install
73
+ ./install.sh --check # If you cloned the repo
74
+ # or just run opencode and try /gyoshu
73
75
  ```
74
76
 
75
77
  ---
@@ -349,28 +351,18 @@ python3 -m venv .venv
349
351
 
350
352
  ## 🔄 Updating
351
353
 
352
- ### Option 1: Re-run the installer
353
-
354
354
  ```bash
355
355
  curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/My-Jogyo/main/install.sh | bash
356
356
  ```
357
357
 
358
- ### Option 2: Pull and re-install (if you cloned)
359
-
358
+ Or if you cloned the repo:
360
359
  ```bash
361
- cd My-Jogyo
362
- git pull
363
- ./install.sh
360
+ cd My-Jogyo && git pull && ./install.sh
364
361
  ```
365
362
 
366
- ### Verify your update
367
-
368
- ```bash
369
- opencode
370
- /gyoshu doctor
371
- ```
363
+ Verify: `opencode` then `/gyoshu doctor`
372
364
 
373
- See [CHANGELOG.md](CHANGELOG.md) for what's new in each release.
365
+ See [CHANGELOG.md](CHANGELOG.md) for what's new.
374
366
 
375
367
  ---
376
368
 
package/README.zh.md CHANGED
@@ -44,30 +44,34 @@
44
44
 
45
45
  ---
46
46
 
47
- ## 🚀 一键安装
48
-
49
- ### 选项 1:curl(推荐)
47
+ ## 🚀 安装
50
48
 
51
49
  ```bash
52
50
  curl -fsSL https://raw.githubusercontent.com/Yeachan-Heo/My-Jogyo/main/install.sh | bash
53
51
  ```
54
52
 
55
- ### 选项 2:克隆并安装
53
+ <details>
54
+ <summary>📦 其他安装方式</summary>
56
55
 
56
+ **克隆并安装**(如果您想贡献或修改)
57
57
  ```bash
58
58
  git clone https://github.com/Yeachan-Heo/My-Jogyo.git
59
59
  cd My-Jogyo && ./install.sh
60
60
  ```
61
61
 
62
- ### 选项 3:手动安装
63
-
62
+ **npm/bunx**(包管理器)
64
63
  ```bash
65
- # 克隆仓库
66
- git clone https://github.com/Yeachan-Heo/My-Jogyo.git
64
+ npm install -g gyoshu && gyoshu install
65
+ #
66
+ bunx gyoshu install
67
+ ```
68
+
69
+ </details>
67
70
 
68
- # 复制到全局配置目录
69
- mkdir -p ~/.config/opencode/
70
- cp -r My-Jogyo/src/* ~/.config/opencode/
71
+ **验证安装:**
72
+ ```bash
73
+ ./install.sh --check # 如果您克隆了仓库
74
+ # 或直接运行 opencode 并尝试 /gyoshu
71
75
  ```
72
76
 
73
77
  ---
package/install.sh CHANGED
@@ -71,15 +71,21 @@ check_requirements() {
71
71
  }
72
72
 
73
73
  get_source_dir() {
74
- # If running from cloned repo, use that
75
74
  local script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
76
75
  if [ -d "$script_dir/src" ]; then
77
76
  echo "$script_dir"
78
77
  else
79
- # Clone to temp dir
80
- echo -e "📥 ${CYAN}Downloading Gyoshu...${NC}"
78
+ echo -e "📥 ${CYAN}Downloading Gyoshu...${NC}" >&2
81
79
  local temp_dir=$(mktemp -d)
82
- git clone --depth 1 https://github.com/Yeachan-Heo/My-Jogyo.git "$temp_dir" 2>/dev/null
80
+ set +e
81
+ git clone --depth 1 --quiet https://github.com/Yeachan-Heo/My-Jogyo.git "$temp_dir" >&2
82
+ local clone_status=$?
83
+ set -e
84
+ if [ $clone_status -ne 0 ] || [ ! -d "$temp_dir/src" ]; then
85
+ rm -rf "$temp_dir" 2>/dev/null || true
86
+ echo -e "${RED}Failed to clone repository. Check your network connection.${NC}" >&2
87
+ exit 1
88
+ fi
83
89
  echo "$temp_dir"
84
90
  fi
85
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gyoshu",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Scientific research agent extension for OpenCode - turns research goals into reproducible Jupyter notebooks",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  mode: subagent
3
3
  description: Adversarial PhD reviewer that challenges Jogyo's research claims and verifies evidence
4
- model: opencode/alpha-minimax-m2
4
+ model: opencode/minimax-m2.1-free
5
5
  temperature: 0.3
6
6
  maxSteps: 15
7
7
  tools: